Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. N950 Harmattan deployment - Error while 'Deploy Debian package via SFTP upload'

N950 Harmattan deployment - Error while 'Deploy Debian package via SFTP upload'

Scheduled Pinned Locked Moved Mobile and Embedded
21 Posts 11 Posters 12.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    feldifux
    wrote on last edited by
    #10

    Hi,
    I also experienced this error. In my case the problem was related to the file size of the debian package - if it was too big (everything above 3MB caused the error!) this message appeared and also as soon as it appeared for the first time, no other qt projects could be deployed to the device until I restarted the phone!

    A notification warning about the little remaining data storage appeared on the phone after trying to install the deb package, however, I had plenty of storage left in each memory category (in particular I had more than 1GB left for applications, application data and user data categories, and the test application was only 3 MB).

    Maybe you have the same file size issue?

    Founder of Felgo SDK - http://felgo.com/qt

    Felgo simplifies

    • Mobile App Dev with Qt esp. iOS & Android
    • Game Development with Qt

    What others say

    Felgo scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

    1 Reply Last reply
    0
    • G Offline
      G Offline
      geronik
      wrote on last edited by
      #11

      The problem disappeared after updating QtCreator to version 2.4.0 through the QtSDK Maintenance tool !

      1 Reply Last reply
      0
      • F Offline
        F Offline
        feldifux
        wrote on last edited by
        #12

        I am using 2.4 too but still having the issue..

        Founder of Felgo SDK - http://felgo.com/qt

        Felgo simplifies

        • Mobile App Dev with Qt esp. iOS & Android
        • Game Development with Qt

        What others say

        Felgo scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

        1 Reply Last reply
        0
        • S Offline
          S Offline
          srikanth_trulyit
          wrote on last edited by
          #13

          I am also experiencing file size problem where in a notification about device memory comes up. Any one solved it?

          1 Reply Last reply
          0
          • F Offline
            F Offline
            feldifux
            wrote on last edited by
            #14

            No I dont have a solution yet.

            Founder of Felgo SDK - http://felgo.com/qt

            Felgo simplifies

            • Mobile App Dev with Qt esp. iOS & Android
            • Game Development with Qt

            What others say

            Felgo scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on last edited by
              #15

              Please "report a bug":http://bugreports.qt.nokia.com/ about the file size problem.

              1 Reply Last reply
              0
              • L Offline
                L Offline
                ludde
                wrote on last edited by
                #16

                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...

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mekid
                  wrote on last edited by
                  #17

                  http://www.developer.nokia.com/Community/Discussion/showthread.php?232047-How-to-deploy-to-Harmattan-N950-getting-failure.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mlong
                    wrote on last edited by
                    #18

                    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.

                    Software Engineer
                    My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mekid
                      wrote on last edited by
                      #19

                      thanks mlong for adding this post.

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        ludde
                        wrote on last edited by
                        #20

                        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?

                        1 Reply Last reply
                        0
                        • Z Offline
                          Z Offline
                          Zarsky
                          wrote on last edited by
                          #21

                          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/

                          1 Reply Last reply
                          0

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved