Active Topics

 


Reply
Thread Tools
Posts: 287 | Thanked: 165 times | Joined on Oct 2009 @ The Netherlands
#1
I've installed the latest SDK in scratchbox and i'm able to run fremantle just fine for a while now. The browser works perfectly and i can connect to the network. Obviously there are some things that won't work as the camera and GPS. There are some other things that (imho) should work but doesn't:

- Desktop widgets
None of the desktop widgets appear on the desktop. Only the RSS feed widget shows in the list (and i think i had the weather widget running once)

- Contacts on desktop
Contact won't show on the desktop. I can choose the menu option once in the contact view but the contact won't show.

- Installing Hermes gives an error
Apt-get install gives some dependency errors. It's a 3rd party app so the error could be there but some people manage to run it just fine on their device.

- Uninstalling rootsh gives an error
It's an error in the uninstall script. I can file a bugreport but don't know if the same error applies on a real device.

These are just examples that i ran into. There will probably be more.

I did apt-get update and apt-get upgrade more than once but it won't help. I'm runing scratchbox in a Ubuntu 9.04/9.10 32 bits Virtualbox.

Any thoughts on this? Should it work 100% and thus is the error on my side?

Regards,

Rob
 
pH5's Avatar
Posts: 138 | Thanked: 375 times | Joined on Aug 2009 @ Berlin
#2
Originally Posted by robbie View Post
- Desktop widgets
None of the desktop widgets appear on the desktop. Only the RSS feed widget shows in the list (and i think i had the weather widget running once)
Seems to work here (OMWeather, Hello World applet, RSS feed). This is debian unstable on x86_64.

Originally Posted by robbie View Post
- Contacts on desktop
Contact won't show on the desktop. I can choose the menu option once in the contact view but the contact won't show.
I have the same problem. Actually, the contact window shows up, but it is empty and non-responsive. When I press a key while on the desktop, the contact window shows up with the list of contacts and the search bar containing the pressed character. But then it hangs.

Originally Posted by robbie View Post
- Installing Hermes gives an error
Apt-get install gives some dependency errors. It's a 3rd party app so the error could be there but some people manage to run it just fine on their device.
What dependency error exactly? Maybe everybody already had this missing dependency pre-installed so nobody ever noticed. (Worked fine here, btw.)

Originally Posted by robbie View Post
- Uninstalling rootsh gives an error
It's an error in the uninstall script. I can file a bugreport but don't know if the same error applies on a real device.
I think filing bug reports against the SDK is valid - people are expected to use it to develop, after all.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#3
Originally Posted by robbie View Post
- Uninstalling rootsh gives an error
It's an error in the uninstall script. I can file a bugreport but don't know if the same error applies on a real device.
It's a known error. It will get fixed soon, now that lma found a problem with ash's history files and sudo (not my fault - the history thing - but Nokia do not wish to fix it and I can workaround it in rootsh...).
 
Posts: 1,418 | Thanked: 1,541 times | Joined on Feb 2008
#4
Originally Posted by robbie View Post
Any thoughts on this? Should it work 100% and thus is the error on my side?
The main purpose of the emulator is to let you develop at least some apps without having a real device. The emulator is not supposed to completely replace the actual device for end users.
 

The Following 3 Users Say Thank You to fms For This Useful Post:
Posts: 287 | Thanked: 165 times | Joined on Oct 2009 @ The Netherlands
#5
Originally Posted by pH5 View Post
What dependency error exactly? Maybe everybody already had this missing dependency pre-installed so nobody ever noticed. (Worked fine here, btw.)
I can't try it right now. I had scratchbox running on Ubuntu 9.10 and after apt-get upgrade, i can't run fremantle anymore Looks something is wrong with dbus messages.

Originally Posted by fms View Post
The main purpose of the emulator is to let you develop at least some apps without having a real device. The emulator is not supposed to completely replace the actual device for end users.
I understand that. But how can you test your apps when the emulator isn't 100% functional?
 
Posts: 1,418 | Thanked: 1,541 times | Joined on Feb 2008
#6
Originally Posted by robbie View Post
I understand that. But how can you test your apps when the emulator isn't 100% functional?
You can't. Ultimately, you still have to test them on a real device.
 

The Following 2 Users Say Thank You to fms For This Useful Post:
Posts: 287 | Thanked: 165 times | Joined on Oct 2009 @ The Netherlands
#7
This is the error i get when installing Hermes:

Code:
Setting up hermes (0.2.2) ...
gconftool-2[22088]: GLIB WARNING ** GConf - Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Error setting value: No D-BUS daemon running

dpkg: error processing hermes (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 hermes
E: Sub-process /scratchbox/devkits/debian-etch/bin/dpkg returned an error code (1)
It says: Error setting value: No D-BUS daemon running but that seems strange to me. Fremantle is running and that need D-Bus too. Right?
 

The Following User Says Thank You to robbie For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#8
Originally Posted by robbie View Post
This is the error i get when installing Hermes:
And you did run "af-sb-init.sh start" before doing so, right?

Works for me:
[sbox-FREMANTLE_X86: ~] > af-sb-init.sh start
Note: For remote X connections DISPLAY should contain hostname!
Sample files present.
Starting DBUS system bus
Starting D-BUS session bus daemon
Starting Maemo Launcher: maemo-launcher.
<cut>
[sbox-FREMANTLE_X86: ~] > Initializing tracker-indexer...
Starting log:
File:'/home/faheem/.local/share/tracker/tracker-indexer.log'

[sbox-FREMANTLE_X86: ~] > apt-get install hermes
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
gnome-python python-all python-cairo python-central python-evolution
python-facebook python-gobject python-gtk2 python-hildon python-imaging
python-notify python-numeric python-osso python-simplejson python-support
python-twitter python-xml
<cut>
The following NEW packages will be installed:
gnome-python hermes python-all python-cairo python-central
python-evolution python-facebook python-gobject python-gtk2 python-hildon
python-imaging python-notify python-numeric python-osso python-simplejson
python-support python-twitter python-xml
0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
Need to get 2674kB of archives.
After unpacking 10.7MB of additional disk space will be used.
Do you want to continue [Y/n]? y
<cut>
Fetched 2674kB in 4s (605kB/s)
/scratchbox/tools/bin/sh: /usr/sbin/dpkg-preconfigure: No such file or directory
Selecting previously deselected package python-central.
(Reading database ... 31768 files and directories currently installed.)
Unpacking python-central (from .../python-central_0.6.11.1maemo1_all.deb) ...
Selecting previously deselected package python-support.
Unpacking python-support (from .../python-support_1.0.2maemo1_all.deb) ...
Selecting previously deselected package python-all.
Unpacking python-all (from .../python-all_2.5.2-3maemo3_all.deb) ...
Selecting previously deselected package python-cairo.
Unpacking python-cairo (from .../python-cairo_1.4.12-1.2maemo1_i386.deb) ...
Selecting previously deselected package python-simplejson.
Unpacking python-simplejson (from .../python-simplejson_2.0.9-1maemo1_i386.deb) ...
Selecting previously deselected package python-xml.
Unpacking python-xml (from .../python-xml_0.8.4-10.1maemo4_i386.deb) ...
Selecting previously deselected package python-facebook.
Unpacking python-facebook (from .../python-facebook_0.svn20090225-0maemo1_i386.deb) ...
Selecting previously deselected package python-gobject.
Unpacking python-gobject (from .../python-gobject_2.16.1-1maemo1_i386.deb) ...
Selecting previously deselected package python-numeric.
Unpacking python-numeric (from .../python-numeric_24.2-9maemo4_i386.deb) ...
Selecting previously deselected package python-gtk2.
Unpacking python-gtk2 (from .../python-gtk2_2.12.1-6maemo9_i386.deb) ...
Selecting previously deselected package python-imaging.
Unpacking python-imaging (from .../python-imaging_1.1.6-3maemo2_i386.deb) ...
Selecting previously deselected package python-notify.
Unpacking python-notify (from .../python-notify_0.1.1-2maemo1_i386.deb) ...
Selecting previously deselected package python-osso.
Unpacking python-osso (from .../python-osso_0.4-0maemo1_i386.deb) ...
Selecting previously deselected package gnome-python.
Unpacking gnome-python (from .../gnome-python_2.18.0-2maemo6_i386.deb) ...
Selecting previously deselected package python-hildon.
Unpacking python-hildon (from .../python-hildon_0.9.0-1maemo13_i386.deb) ...
Selecting previously deselected package python-twitter.
Unpacking python-twitter (from .../python-twitter_0.6-maemo1_i386.deb) ...
Selecting previously deselected package python-evolution.
Unpacking python-evolution (from .../python-evolution_0.0.4-maemo1_i386.deb) ...
Selecting previously deselected package hermes.
Unpacking hermes (from .../archives/hermes_0.2.2_all.deb) ...
trackerd[13178]: GLIB CRITICAL ** Tracker - Could not open directory 'file:///usr/share/applications/hildon/hermes.desktop': Not a directory
Setting up python-central (0.6.11.1maemo1) ...

Setting up python-support (1.0.2maemo1) ...

Setting up python-all (2.5.2-3maemo3) ...
Setting up python-cairo (1.4.12-1.2maemo1) ...

Setting up python-simplejson (2.0.9-1maemo1) ...
Setting up python-xml (0.8.4-10.1maemo4) ...

Setting up python-facebook (0.svn20090225-0maemo1) ...
Setting up python-gobject (2.16.1-1maemo1) ...

Setting up python-numeric (24.2-9maemo4) ...

Setting up python-gtk2 (2.12.1-6maemo9) ...

Setting up python-imaging (1.1.6-3maemo2) ...

Setting up python-notify (0.1.1-2maemo1) ...

Setting up python-osso (0.4-0maemo1) ...

Setting up gnome-python (2.18.0-2maemo6) ...
Setting up python-hildon (0.9.0-1maemo13) ...

Setting up python-twitter (0.6-maemo1) ...
Setting up python-evolution (0.0.4-maemo1) ...
Setting up hermes (0.2.2) ...
Resolved address "xml:merged:/etc/gconf/gconf.xml.defaults" to a writable configuration source at position 0
Resolved address "xml:merged:/etc/gconf/gconf.xml.defaults" to a writable configuration source at position 0
No value set for `/apps/maemo/hermes/uid'
Resolved address "xml:merged:/etc/gconf/gconf.xml.defaults" to a writable configuration source at position 0
Resolved address "xml:merged:/etc/gconf/gconf.xml.defaults" to a writable configuration source at position 0
gtk-update-icon-cache: Cache file created successfully.

[sbox-FREMANTLE_X86: ~] >
 
Posts: 287 | Thanked: 165 times | Joined on Oct 2009 @ The Netherlands
#9
Originally Posted by qwerty12 View Post
And you did run "af-sb-init.sh start" before doing so, right?
Yep.

I'm beginning to think it has something to do with the d-bus version. I'm having this version:

Code:
rob@maemo:~$ dbus-daemon --version
D-Bus Message Bus Daemon 1.2.16
Copyright (C) 2002, 2003 Red Hat, Inc., CodeFactory AB, and others
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
But then again.. This is from 2002..

Last edited by robbie; 2009-11-01 at 12:33.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#10
D-Bus 1.2.16 is the latest stable version, released on 2009-07-14, 3 months ago...
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Reply

Tags
emulator, scratchbox


 
Forum Jump


All times are GMT. The time now is 17:45.