Active Topics

 


Reply
Thread Tools
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#161
Originally Posted by joshua.maverick View Post
Nathan, I can't thank you enough dude. I started gathering some resources to build some test apps, but I noticed when I ran ./start.sh, I get a bunch of warnings, messages and criticals in scratchbox.

i.e. GLIB MESSAGE Tracker - Tracker couldn't read stopword...

or
GLIB CRITICAL Tracker - could not open directory "file:///home/maemo/MyDocs/.camera':No such file or directory exists

or
GLIB CRITICAL Tracker COuld not initialize the HAL context, no error, is hald running?

Are these normal, I tried googling, to no avail though.

Thanks again dude.
Yes, these are normal -- I wish they weren't their because it adds a lot of noise.

Also, I the shortcuts won't launch the browser and I can't download apps...
Yes, I noticed that also -- appears to be a issue with the SDK.

To download apps; the "easiest" method is to hold-click on the app in the application manager, and get "details" it will list the name of the package on the "catalogue" line.

Then in the window where you type "./start.sh" you type "apt-get install <appname>" so for the game eightyone I typed "apt-get install eightyone". (ignore the version number)

you can type in a list of programs, so you can do:
apt-get install eightyone qt-maemo-example
And it will install both of those programs.

Before you hit <enter> you need to quit out of the application manager; because only one "install/updater" program can be running at a time, and the App manager grabs the lock when it starts.

So I just made a list of things I wanted typing in each one on the command line; then I quit app manager, and hit enter....

Nathan
 

The Following User Says Thank You to Nathan For This Useful Post:
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#162
One more fix that I just found out about:

goto a Terminal; start scratchbox:

Code:
fakeroot apt-get install nokia-apps
Or you can run the updates scripts.

This adds several default apps that nokia has on the n900.

Nathan
 

The Following User Says Thank You to Nathan For This Useful Post:
Posts: 244 | Thanked: 155 times | Joined on Aug 2009 @ DC
#163
2 things maybe you guys can help me out with. I tried apt-get install <app-name> but I keep getting "Couldn't find package...". I'm pretty sure my sources.lst file is correct though.

Secondly whenever I click on the address bar within Xephyr it crashes. I think I read somewhere that moving to an older version of Xephyr fixes this but I can't find those instructions anymore. Anyone know off hand?
 
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#164
Originally Posted by sevla View Post
2 things maybe you guys can help me out with. I tried apt-get install <app-name> but I keep getting "Couldn't find package...". I'm pretty sure my sources.lst file is correct though.
Make sure that you are asking just the package name not the version; so for the game eighty one -- it is "apt-get install eightyone" not eightyone-0.11.22


Secondly whenever I click on the address bar within Xephyr it crashes. I think I read somewhere that moving to an older version of Xephyr fixes this but I can't find those instructions anymore. Anyone know off hand?
Yes, I use a upgraded version:
Add to your repository...
deb http://ppa.launchpad.net/openismus-team/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/openismus-team/ppa/ubuntu jaunty main

Run
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2E5DCB91

Run
sudo apt-get update
sudo apt-get upgrade

This should upgrade you to a "newer" compiled version of Xephyr that fixes this issue.

Nathan
 

The Following User Says Thank You to Nathan For This Useful Post:
Posts: 244 | Thanked: 155 times | Joined on Aug 2009 @ DC
#165
Originally Posted by Nathan View Post
Make sure that you are asking just the package name not the version; so for the game eighty one -- it is "apt-get install eightyone" not eightyone-0.11.22




Yes, I use a upgraded version:
Add to your repository...
deb http://ppa.launchpad.net/openismus-team/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/openismus-team/ppa/ubuntu jaunty main

Run
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2E5DCB91

Run
sudo apt-get update
sudo apt-get upgrade

This should upgrade you to a "newer" compiled version of Xephyr that fixes this issue.

Nathan
Thanks Nathan, your the man!

I was typing apt-get install eightyone but it still couldn't find the package. I'm running it within scratchbox which I assume to be the right way.

During my lunch break I'll log into VM machine at home and give the new Xephyr a try.

Thanks!
 
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#166
Make sure your sources.list inside the scratchbox has the following repositories:

Code:
# Standard fremantle SDK Repositories
deb http://repository.maemo.org/ fremantle/sdk free non-free
deb-src http://repository.maemo.org/ fremantle/sdk free
deb http://repository.maemo.org/ fremantle/tools free non-free
deb-src http://repository.maemo.org/ fremantle/tools free

# Extra fremantle Repositories
deb http://repository.maemo.org/extras/ fremantle free non-free
deb-src http://repository.maemo.org/extras/ fremantle free
deb http://repository.maemo.org/extras-devel/ fremantle free non-free
deb-src http://repository.maemo.org/extras-devel/ fremantle free
And then you should be find. You are probably missing one of the two "extras".

Nathan.
 
Posts: 244 | Thanked: 155 times | Joined on Aug 2009 @ DC
#167
Added that to sources.list and got more problems. I swear every little thing turns into a "project".

It still couldn't find the eightyone package so i ran apt-get uprade and got "No Such file or directory erros" so then I ran apt-get update and got.

Code:
[sbox-FREMANTLE_X86: ~] > apt-get update 
E: The method driver /scratchbox/devkits/debian-etch/lib/apt/methods/https could not be found.
/irritated..

Last edited by sevla; 2009-10-13 at 19:18.
 
Posts: 670 | Thanked: 367 times | Joined on Mar 2009
#168
I will add my thanks & remark that the VM is also seem to be well-suited to those who want to follow the Nokia setup instructions instead of using the scripts &/or want to install an older SDK version.
__________________
* n810 since Feb 2009
* Most-used apps: Opera, gPodder, Panucci, Tomiku, Canola, Quasar, MaemoMapper, ATI85, Maemopad+, AisleRiot Solitaire, Anagramarama, Rapier, Gnumeric, pyRDesktop
* Mobile-friendly URLs of popular sites
 
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#169
Originally Posted by sevla View Post
Added that to sources.list and got more problems. I swear every little thing turns into a "project".

It still couldn't find the eightyone package so i ran apt-get update and got "No Such file or directory erros" so then I ran apt-get update and got.

Code:
[sbox-FREMANTLE_X86: ~] > apt-get update 
E: The method driver /scratchbox/devkits/debian-etch/lib/apt/methods/https could not be found.
/irritated..
Not sure why it would trying to use https; do you have some repositories in your sources.list that are https?

Nathan.
 

The Following User Says Thank You to Nathan For This Useful Post:
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#170
Originally Posted by buurmas View Post
I will add my thanks & remark that the VM is also seem to be well-suited to those who want to follow the Nokia setup instructions instead of using the scripts &/or want to install an older SDK version.
Yes, you can follow the steps from Nokia, perfectly fine! That is basically all my "scripts" do is follow the steps with some additional error checking; and a couple shortcuts to eliminate some found issues.

Nathan.
 
Reply

Tags
development, fremantle, maemo, maemo 5, programming, sdk, virtual machine, virtualpc, windows, windows 7


 
Forum Jump


All times are GMT. The time now is 11:49.