N950 Harmattan deployment - Error while 'Deploy Debian package via SFTP upload'
-
I am also experiencing file size problem where in a notification about device memory comes up. Any one solved it?
-
Please "report a bug":http://bugreports.qt.nokia.com/ about the file size problem.
-
Having the same problem, with my N9 - no matter what I do, I simply cannot deploy the .deb file to the device using Qt Creator. (Started "another thread":http://developer.qt.nokia.com/forums/viewthread/13599/ on this, before I realised that this one was dealing with the same problem).
Any help appreciated...
-
Copying the resolution in the above link as posted by "lostdev":http://www.developer.nokia.com/Community/Discussion/member.php?818895-lostdev :
bq.
I almost forgot to tell that I found the cause of this problem. It seems that Qt Creator use /tmp as temporary folder into which it places .deb archive before installation. However, /tmp space is very limited on Harmattan, so, if there is a large .deb file, it can not be completely copied to this folder over sftp, and that's it. The quick fix is to make a symlink with name of .deb file in /tmp pointed to the file with the same name but in different folder (e.g. /var/tmp):
Code:
ln -s /var/tmp/file.deb /tmp/file.deb
and voila - Qt Creator will upload, install and run application without any issue. -
Great, it works!
But it seems like the link is deleted when the installation is completed, so I have to create the link manually every time I want to deploy...Is there no other way to solve this, like increasing the size of /tmp, or making Qt Creator not use /tmp?
-
Thanks for the solution!
Is there no way to clear /tmp? Why did it work before but no more?
Found some more info about the problem, and it seems like it will be fixed in Qt Creator 2.5:
"http://blog.beford.org/2012/02/07/fix-for-failed-to-upload-package-failure-on-qtcreator/":http://blog.beford.org/2012/02/07/fix-for-failed-to-upload-package-failure-on-qtcreator/