Active Topics

 



Notices


Reply
Thread Tools
Posts: 210 | Thanked: 37 times | Joined on Nov 2010
#1
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
 
tpd's Avatar
Posts: 48 | Thanked: 109 times | Joined on May 2011 @ UK
#2
Can't speak for the other apps but inner-spin should hopefully be functional now when run directly (let me know if not?)
 
Posts: 210 | Thanked: 37 times | Joined on Nov 2010
#3
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
 
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#4
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
to become superuser
4. Type
Code:
leafpad /usr/bin/msaber
to edit it and replace the first line
Originally Posted by original
#!/usr/bin/env python
with
Originally Posted by replacement
#!/usr/bin/env python2.5
5. Save the file (tap the top bar and select "Save").
6. Close Leafpad
7. Close terminal
8. Try to run msaber from shortcut in the menu

What's the result?
 
towhatend's Avatar
Posts: 230 | Thanked: 185 times | Joined on Jul 2010 @ Sweden
#5
apt-get install libsdl-mixer1.2=1:1.2.6-5+0m5
 
Posts: 210 | Thanked: 37 times | Joined on Nov 2010
#6
@misiak did all that, and nothing =/
In your device, it works?
 
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#7
Originally Posted by amadeukaos View Post
@misiak did all that, and nothing =/
In your device, it works?
On my device I have problems with scripts, which have "#!/usr/bin/env python" in the beginning (when run from gui - nothing, when from command line - everything looks fine), while scripts with "#!/usr/bin/env python2.5" work in both situations... I have one more suggestion (I will stick to msaber):
Could you edit msaber.desktop:
Code:
root
leafpad /usr/share/applications/hildon/msaber.desktop
And change the line below in bold:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Icon=msaber
Name=mSaber
Exec=/usr/bin/msaber > /home/user/MyDocs/msaberlog.txt
Type=Application
X-Osso-Type=application/x-executable
X-Osso-Service=net.khertan.msaber
Then after running it from gui (shortcut in the menu) you should see file "msaberlog.txt" in file manager in internal N900 memory. What are it's contents?
 
Posts: 210 | Thanked: 37 times | Joined on Nov 2010
#8
woa, did like you ask, but no .txt was created... weird... copy exactly like you said, I even double checked after run it... =/
 
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#9
Originally Posted by amadeukaos View Post
woa, did like you ask, but no .txt was created... weird... copy exactly like you said, I even double checked after run it... =/
Yeah, my haven't created file either :P But on my device (PR1.3) msaber works out-of-the box from both gui shortcut and command line, so maybe my didn't create the file because there was no output... (everything seemed to work). What I would also try doing (just playing:P) is changing again the line "Exec=/usr/bin/msaber > /home/user/MyDocs/msaberlog.txt" to just "Exec=msaber" and checking if it works
 
Posts: 210 | Thanked: 37 times | Joined on Nov 2010
#10
Originally Posted by misiak View Post
....But on my device (PR1.3) msaber works out-of-the box from both gui shortcut....
Ops , mine is the last CSSU Update.... well, I´m gonna try what you said an already tell u
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:23.