maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [problem] python problem? -inner spin -msaber -papertoss (https://talk.maemo.org/showthread.php?t=72915)

amadeukaos 2011-05-12 17:07

Re: [problem] python problem? -inner spin -msaber -papertoss
 
Did just like you said

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Paper Toss
Exec=osso-xterm python \ /opt/papertoss/game.py
Icon=papertoss


Name[en_GB]=papertoss.desktop

and it FAILED, it opens the terminal as just like I typed python on it
=/

amadeukaos 2011-05-12 17:08

Re: [problem] python problem? -inner spin -msaber -papertoss
 
maybe I should re-install all python related stuff? lol... how I do that? :P

misiak 2011-05-12 21:48

Re: [problem] python problem? -inner spin -msaber -papertoss
 
Quote:

Originally Posted by amadeukaos (Post 1005005)
maybe I should re-install all python related stuff? lol... how I do that? :P

You could try in terminal
Code:

root
apt-get install --reinstall python* pygame*

and maybe adding more pysomething* at the end (i don't remember other python stuff now), if you want to reinstall all python stuff ;) If it's not python problem, maybe it is some system application launcher... (which hildon-blahblah app is responsible for running apps from app menu? hildon-home? hildon-desktop?)

And, could you tell if this works:
- create widget on your homescreen with shortcut to some python app
- try to run this app from there
- check if it works

ivyking 2011-05-16 18:05

Re: [problem] python problem? -inner spin -msaber -papertoss
 
Quote:

Originally Posted by amadeukaos (Post 1005004)
Did just like you said

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Paper Toss
Exec=osso-xterm python \ /opt/papertoss/game.py
Icon=papertoss


Name[en_GB]=papertoss.desktop

and it FAILED, it opens the terminal as just like I typed python on it
=/

sorry I made a mistake , and corrected the original post too ,
Do not leave a space between python and \

so the correct form is :

Exec=osso-xterm python\ /opt/papertoss/game.py

amadeukaos 2011-05-16 18:49

Re: [problem] python problem? -inner spin -msaber -papertoss
 
Quote:

Originally Posted by ivyking (Post 1007614)
sorry I made a mistake , and corrected the original post too ,
Do not leave a space between python and \

so the correct form is :

Exec=osso-xterm python\ /opt/papertoss/game.py

Thanks man, it worked this way, I think something is broken, but it will fix only if I flash the device, so Iīm happy with this solution, LOL

only didnt manage to get msaber to work, but its only to show off for my friends, so I donīt mind to open xterm and type msaber...

Thanks!

Khertan 2011-05-16 19:11

Re: [problem] python problem? -inner spin -msaber -papertoss
 
works also out of the box ...

There is really people using mSaber ? I ask because i mainly abandon it, and forgot i ve do that until recently. There is delay in audio playback ... i think it could be really really better ... i can probably improve it in short time. It was my first app for n900 developped on the n810 :)

amadeukaos 2011-05-16 22:32

Re: [problem] python problem? -inner spin -msaber -papertoss
 
Quote:

Originally Posted by Khertan (Post 1007652)
works also out of the box ...

There is really people using mSaber ? I ask because i mainly abandon it, and forgot i ve do that until recently. There is delay in audio playback ... i think it could be really really better ... i can probably improve it in short time. It was my first app for n900 developped on the n810 :)

cool man, I like msaber, its awesome to impress geek girls, LOL
if you have a symbian, search for light saber for symbian s60v5, you could try do something like this, there is a hit detector, actually if you push the acelerometer hard, it will bring a sound of sabers hiting thenselve, lol...

:D waiting for the msaber 2.0

amadeukaos 2011-05-16 22:35

Re: [problem] python problem? -inner spin -msaber -papertoss
 
http://www.youtube.com/watch?v=66FlHXJnLmk

tpd 2011-05-20 00:47

Re: [problem] python problem? -inner spin -msaber -papertoss
 
if this is still an issue could you try the following???

dpkg -i | grep libsdl-mixer1.2

1.2.6-5+0m5 is fine if it mentions ogg and mp3 in there aswell I think that may be the source of the issue. (I managed to get my phone in the same state after investigating this library)


All times are GMT. The time now is 10:52.

vBulletin® Version 3.8.8