![]() |
[problem] python problem? -inner spin -msaber -papertoss
why papertoss, inner spin, msaber, all these python apps only work by open it via terminal, and not for his respectives icons??
anyone know if its an individual problem or something with cssu or missing libs with python apps?? thanks all |
Re: [problem] python problem? -inner spin -msaber -papertoss
Can't speak for the other apps but inner-spin should hopefully be functional now when run directly (let me know if not?)
|
Re: [problem] python problem? -inner spin -msaber -papertoss
fail to run directly... maybe is with my n900?
I run "apt-get install -f" and nothing is missing too... How can I test this? By the way, great game, u forgot to ANNOUNCE here in the forum :) |
Re: [problem] python problem? -inner spin -msaber -papertoss
Do you have any Linux knowledge? I would like to ask you the following:
1. Install Leafpad (if you don't have this program in your system yet) 2. Open terminal 3. Type Code:
root 4. Type Code:
leafpad /usr/bin/msaber Quote:
Quote:
6. Close Leafpad 7. Close terminal 8. Try to run msaber from shortcut in the menu What's the result? |
Re: [problem] python problem? -inner spin -msaber -papertoss
apt-get install libsdl-mixer1.2=1:1.2.6-5+0m5
|
Re: [problem] python problem? -inner spin -msaber -papertoss
@misiak did all that, and nothing =/
In your device, it works? |
Re: [problem] python problem? -inner spin -msaber -papertoss
Quote:
Could you edit msaber.desktop: Code:
root Quote:
|
Re: [problem] python problem? -inner spin -msaber -papertoss
woa, did like you ask, but no .txt was created... weird... copy exactly like you said, I even double checked after run it... =/
|
Re: [problem] python problem? -inner spin -msaber -papertoss
Quote:
|
Re: [problem] python problem? -inner spin -msaber -papertoss
Quote:
|
Re: [problem] python problem? -inner spin -msaber -papertoss
Yeah, nothing, maybe is a CSSU thing?
|
Re: [problem] python problem? -inner spin -msaber -papertoss
glad you are enjoying Inner-spin... am about to annouce, was holding off while I sorted a couple of issues and promoted into extras-testing.... there were issues with the config file (file permissions and also idiotic Tony code) - these should be fixed as of the latest version uploaded today (just before I responded so can you confirm you are definitely running with the latest), also you could quickly try
chmod 666 /opt/inner-spin/settings/issettings.cfg thanks |
Re: [problem] python problem? -inner spin -msaber -papertoss
Quote:
to OP: try searching the nightmareously long CSSU thread for other reports of bugs with launching apps or python, it is probable that your problem is related to CSSU. |
Re: [problem] python problem? -inner spin -msaber -papertoss
tpd, tryed what u said, and nothing, i will search latter for some solution on the cssu thread... also, i liked the new sounds, they are fun!
misiak, i think it is really some cssu problem, i hope someone can do these test? no one of you installed the cssu update? it is really awesome... btw, I didnt manage to run msaber from terminal, how is the procedure? didnt find the path, lol... thank you all guys |
Re: [problem] python problem? -inner spin -msaber -papertoss
Quote:
|
Re: [problem] python problem? -inner spin -msaber -papertoss
OK! Finded something to analyse!!!
Tried to rum msaber from terminal and got this... /home/user # /usr/bin/msaber process 3315: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757. This is normally a bug in some application using the D-Bus library. process 3315: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721. This is normally a bug in some application using the D-Bus library. Aborted /home/user # anyone? canīt find any sollution here in the forum... thanks |
Re: [problem] python problem? -inner spin -msaber -papertoss
bump? sorry
|
Re: [problem] python problem? -inner spin -msaber -papertoss
ok, msaber worked via terminal, I should not run sudo root to run it... but anyway, none of these programs runs via icon desktop yet =\
|
Re: [problem] python problem? -inner spin -msaber -papertoss
well If you just want a quick solution , you can have the icon actually run the application in terminal..
ex. for paper toss edit /usr/share/applications/hildon/papertoss.desktop change the line that starts with Exec=python /opt/papertoss/game.py to Exec=osso-xterm python\ /opt/papertoss/game.py note that after writing python DONOT leave a space then \ then leave a space then /opt/papertoss/game.py the same can be applied to other applications , just find the .desktop file for that application in /usr/share/applications/hildon/ and edit it |
Re: [problem] python problem? -inner spin -msaber -papertoss
Quote:
|
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 =/ |
Re: [problem] python problem? -inner spin -msaber -papertoss
maybe I should re-install all python related stuff? lol... how I do that? :P
|
Re: [problem] python problem? -inner spin -msaber -papertoss
Quote:
Code:
root 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 |
Re: [problem] python problem? -inner spin -msaber -papertoss
Quote:
Do not leave a space between python and \ so the correct form is : Exec=osso-xterm python\ /opt/papertoss/game.py |
Re: [problem] python problem? -inner spin -msaber -papertoss
Quote:
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! |
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 :) |
Re: [problem] python problem? -inner spin -msaber -papertoss
Quote:
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 |
Re: [problem] python problem? -inner spin -msaber -papertoss
|
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:48. |
vBulletin® Version 3.8.8