Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Nokia N9 app installed from Ovi Store behaves differently than locally compiled version (Digia Remote Camera)
- If you have a chance to try it out I'd be very grateful. I don't think I am the only one struggling to send email from the N9.
- This is what I did:
- git clone git://gitorious.org/remote-camera/remote-camera.git remote-camera
- Then I opened the .pro file in QtCreator
- Qt Creator 2.4.1
- Based on Qt 4.7.4 (32 bit)
- Built on Jan 25 2012 at 11:24:30
- I unchecked the desktop build and checked the box for Harmattan.
- Then I built (clicked the hammer icon).
- A couple of unimportant issues were raised (notification of unstable API) but no errors.
- Then I connected my N9 via USB and ran the program from QtCreator (Control-r)
- The Compile Output window looked like this:
- =======================================
- 23:02:41: Running build steps for project remotecamera...
- 23:02:41: Configuration unchanged, skipping qmake step.
- 23:02:41: Starting: "/usr/bin/make" -w
- make: Entering directory `/home/whitefoot/qt-projects/remotecamera-build-harmattan-Harmattan_Target_-_QEmu_PR1_2__Qt_SDK__Release'
- Makefile:393: warning: overriding commands for target `install_icon'
- Makefile:364: warning: ignoring old commands for target `install_icon'
- Makefile:398: warning: overriding commands for target `uninstall_icon'
- Makefile:369: warning: ignoring old commands for target `uninstall_icon'
- make: Nothing to be done for `first'.
- make: Leaving directory `/home/whitefoot/qt-projects/remotecamera-build-harmattan-Harmattan_Target_-_QEmu_PR1_2__Qt_SDK__Release'
- 23:02:41: The process "/usr/bin/make" exited normally.
- 23:02:41: Creating package file ...
- 23:02:41: Package Creation: Running command '/home/whitefoot/QtSDK/Madde/bin/mad dpkg-buildpackage -nc -uc -us'.
- dpkg-buildpackage: set CFLAGS to default value: -g -O2
- dpkg-buildpackage: set CPPFLAGS to default value:
- dpkg-buildpackage: set LDFLAGS to default value:
- dpkg-buildpackage: set FFLAGS to default value: -g -O2
- dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
- dpkg-buildpackage: source package remotecamera-digia
- dpkg-buildpackage: source version 1.3.0
- dpkg-buildpackage: source changed by Digia Plc <support.apps@digia.com>
- dpkg-buildpackage: host architecture armel
- debian/rules build
- dh_testdir
- # qmake PREFIX=/usr# Uncomment this line for use without Qt Creator
- touch configure-stamp
- dh_testdir
- # Add here commands to compile the package.
- # /usr/bin/make # Uncomment this line for use without Qt Creator
- #docbook-to-man debian/remotecamera-digia.sgml > surveillance.1
- touch build-stamp
- debian/rules binary
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- # Add here commands to install the package into debian/remotecamera-digia.
- /usr/bin/make INSTALL_ROOT="/home/whitefoot/qt-projects/remotecamera-build-harmattan-Harmattan_Target_-_QEmu_PR1_2__Qt_SDK__Release"/debian/remotecamera-digia install
- make[1]: Entering directory `/home/whitefoot/qt-projects/remotecamera-build-harmattan-Harmattan_Target_-_QEmu_PR1_2__Qt_SDK__Release'
- Makefile:393: warning: overriding commands for target `install_icon'
- Makefile:364: warning: ignoring old commands for target `install_icon'
- Makefile:398: warning: overriding commands for target `uninstall_icon'
- Makefile:369: warning: ignoring old commands for target `uninstall_icon'
- cp -f -r /home/whitefoot/qt-projects/remote-camera/qml/surveillance /home/whitefoot/qt-projects/remotecamera-build-harmattan-Harmattan_Target_-_QEmu_PR1_2__Qt_SDK__Release/debian/remotecamera-digia/opt/remotecamera/qml/
- install -m 644 -p /home/whitefoot/qt-projects/remote-camera/remotecamera80.png /home/whitefoot/qt-projects/remotecamera-build-harmattan-Harmattan_Target_-_QEmu_PR1_2__Qt_SDK__Release/debian/remotecamera-digia/usr/share/icons/hicolor/80x80/apps/
- install -m 644 -p /home/whitefoot/qt-projects/remote-camera/remotecamera_harmattan.desktop /home/whitefoot/qt-projects/remotecamera-build-harmattan-Harmattan_Target_-_QEmu_PR1_2__Qt_SDK__Release/debian/remotecamera-digia/usr/share/applications/
- install -m 755 -p "remotecamera" "/home/whitefoot/qt-projects/remotecamera-build-harmattan-Harmattan_Target_-_QEmu_PR1_2__Qt_SDK__Release/debian/remotecamera-digia/opt/remotecamera/bin/remotecamera"
- install -m 644 -p /home/whitefoot/qt-projects/remote-camera/LICENSE.LGPL-2.1 /home/whitefoot/qt-projects/remotecamera-build-harmattan-Harmattan_Target_-_QEmu_PR1_2__Qt_SDK__Release/debian/remotecamera-digia/usr/share/doc/remotecamera-digia/
- make[1]: Leaving directory `/home/whitefoot/qt-projects/remotecamera-build-harmattan-Harmattan_Target_-_QEmu_PR1_2__Qt_SDK__Release'
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps # Uncomment this line for use without Qt Creator
- dpkg-shlibdeps: warning: dependency on libdbus-1.so.3 could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dpkg-shlibdeps: warning: dependency on libQtOpenGL.so.4 could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dpkg-shlibdeps: warning: dependency on libQtMultimediaKit.so.1 could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dpkg-shlibdeps: warning: dependency on libxml2.so.2 could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dpkg-shlibdeps: warning: dependency on librt.so.1 could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dpkg-shlibdeps: warning: dependency on libpthread.so.0 could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dpkg-shlibdeps: warning: dependency on libdbus-qeventloop.so.1 could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dpkg-shlibdeps: warning: dependency on libgcc_s.so.1 could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dpkg-shlibdeps: warning: dependency on libgstbase-0.10.so.0 could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dpkg-shlibdeps: warning: dependency on libgmodule-2.0.so.0 could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dpkg-shlibdeps: warning: dependency on libGLESv2.so could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dpkg-shlibdeps: warning: dependency on libgthread-2.0.so.0 could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dpkg-shlibdeps: warning: dependency on libQtNetwork.so.4 could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dpkg-shlibdeps: warning: dependency on libresource.so.0 could be avoided if "debian/remotecamera-digia/opt/remotecamera/bin/remotecamera" were not uselessly linked against it (they use none of its symbols).
- dh_gencontrol
- dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
- dh_md5sums
- dh_builddeb
- aegis-manifest: Creating 'remotecamera-digia.aegis'.
- dpkg-genchanges -b -u.. >../remotecamera-digia_1.3.0_armel.changes
- dpkg-genchanges: binary-only upload - not including any source code
- dpkg-buildpackage: binary only upload (no source included)
- 23:02:56: Package created.
- 23:02:56: Installing package to sysroot ...
- Package 'remotecamera-digia' installed.
- 23:02:56: Connecting to device...
- 23:02:57: Preparing SFTP connection...
- 23:02:57: Starting upload...
- 23:02:57: Successfully uploaded package file.
- 23:02:57: Installing package to device...
- (Reading database ... 56518 files and directories currently installed.)
- Preparing to replace remotecamera-digia 1.3.0 (using .../remotecamera-digia_1.3.0_armel.deb) ...
- Unpacking replacement remotecamera-digia ...
- aegis-installing remotecamera-digia (from '')
- Setting up remotecamera-digia (1.3.0) ...
- Processing triggers for desktop-file-utils ...
- Processing triggers for hicolor-icon-theme ...
- Processing triggers for applauncherd-launcher ...
- 23:03:31: Package installed.
- 23:03:31: Deploy step finished.
- =======================================
- The program started, I touched the start button on the N9 screen waited for the timeout (10 seconds) and thenmoved it around to simulate movememnt so that it would take several shots. Then I closed the program with a swipe. The Application output window looked like this:
- =======================================
- Killing remote process(es)...
- Starting remote process ...
- Remote process started.
- Successfully resolved MeeGo graphics system: /usr/lib/qt4/plugins/graphicssystems/libqmeegographicssystem.so
- X Error: BadDamage (invalid Damage parameter) 153
- Extension: 146 (Uknown extension)
- Minor opcode: 2 (Unknown request)
- Resource id: 0x1e00007
- Found SGX/MBX driver, enabling FullClearOnEveryFrame
- Found v1.4 driver, enabling brokenTexSubImage
- MeegoGraphics: found EGL_NOK_image_shared
- MeegoGraphics: found EGL_KHR_lock_surface2
- MeegoGraphics: found EGL_KHR_fence_sync
- "org.freedesktop.DBus.Error.AccessDenied" "Rejected send message, 3 matched rules; type="method_call", sender=":1.13000" (uid=29999 pid=29132 comm="/opt/remotecamera/bin/remotecamera ") interface="com.nokia.mce.request" member="req_tklock_mode_change" error name="(unset)" requested_reply=0 destination="com.nokia.mce" (uid=0 pid=563 comm="/sbin/mce --force-syslog "))"
- "" ""
- hijackWindow() context created for QmlApplicationViewer(0xaed13a68) 1
- Found SGX/MBX driver, enabling FullClearOnEveryFrame
- Found v1.4 driver, enabling brokenTexSubImage
- QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x1f7b9d48)
- "org.freedesktop.DBus.Error.AccessDenied" "Rejected send message, 3 matched rules; type="method_call", sender=":1.13000" (uid=29999 pid=29132 comm="/opt/remotecamera/bin/remotecamera ") interface="com.nokia.mce.request" member="req_tklock_mode_change" error name="(unset)" requested_reply=0 destination="com.nokia.mce" (uid=0 pid=563 comm="/sbin/mce --force-syslog "))"
- "" ""
- libqtcontacts-tracker: initializing libqtcontacts-tracker 4.19.2-1+0m8 for /opt/remotecamera/bin/remotecamera [29132]
- ... The previous line is repeated about 120 times
- libqtcontacts-tracker: engine.cpp:1591: Not cleaning up obsolete resources for nao:hasTag property since the property's range is too generic (rdfs:Resource).
- send Cannot obtain default account
- message.type(): 4 msgType: 0
- void QtMobility::QMessageServicePrivate::stateChanged(QtMobility::QMessageService::State) emitting stateChanged( 3 )
- send Cannot obtain default account
- message.type(): 4 msgType: 0
- void QtMobility::QMessageServicePrivate::stateChanged(QtMobility::QMessageService::State) emitting stateChanged( 3 )
- send Cannot obtain default account
- message.type(): 4 msgType: 0
- void QtMobility::QMessageServicePrivate::stateChanged(QtMobility::QMessageService::State) emitting stateChanged( 3 )
- "org.freedesktop.DBus.Error.AccessDenied" "Rejected send message, 3 matched rules; type="method_call", sender=":1.13000" (uid=29999 pid=29132 comm="/opt/remotecamera/bin/remotecamera ") interface="com.nokia.mce.request" member="req_tklock_mode_change" error name="(unset)" requested_reply=0 destination="com.nokia.mce" (uid=0 pid=563 comm="/sbin/mce --force-syslog "))"
- "" ""
- send Cannot obtain default account
- message.type(): 4 msgType: 0
- void QtMobility::QMessageServicePrivate::stateChanged(QtMobility::QMessageService::State) emitting stateChanged( 3 )
- Meego graphics system destroyed
- QSqlDatabasePrivate::removeDatabase: connection 'qmailstore_sql_connection' is still in use, all queries will cease to work.
- libomap3camd 1.136
- libomap3camd 1.136
- Finished running remote process. Exit code was 0.
- =======================================
- The message:
- send Cannot obtain default account
- is exactly the same as I get when I try to execute similar code in my own programs.
- No email is sent. But if I remove the application and install the binary from the Ovi Store it works perfectly.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement