Reply
Thread Tools
Posts: 25 | Thanked: 11 times | Joined on Sep 2009
#1
I want to install this application pymetar link is here

http://www.schwarzvogel.de/software-pymetar.shtml

how would i go about doing that ? its a command line only utility so i dont think it should be a problem to run on the n900 ?
 
Posts: 198 | Thanked: 76 times | Joined on Mar 2010
#2
basically it should be enough to unpack the archive somewhere, go to the created folder

cd pymetar-0.16/bin

and run the script

./pymetar

for more info you should bother the authors ton include a readme.
 
Posts: 25 | Thanked: 11 times | Joined on Sep 2009
#3
i tried that out said permission denied =(

i did read the readme didnt get much info from it.
 
Posts: 198 | Thanked: 76 times | Joined on Mar 2010
#4
Originally Posted by boinger View Post
i tried that out said permission denied =(
three possible solutions spring to mind:
- you did miss the leading ./
- the script is not set executable -- what does
ls -al pymetar-0.16/bin/pymetar
return?
- you don't have /usr/bin/python

what _exactly_ did you do and what _exactly_ happend/was returned?
 
Livinmalife's Avatar
Posts: 117 | Thanked: 48 times | Joined on Apr 2010 @ Manchester, England
#5
Originally Posted by boinger View Post
i tried that out said permission denied =(

i did read the readme didnt get much info from it.
You using root access?? You need to get rootish and in terminal you need to type: sudo gainroot
 
Posts: 25 | Thanked: 11 times | Joined on Sep 2009
#6
i did not miss the leading ./

the return from the command you told me

-rw-r--r-- 1 user root 1897 Jan 17 05:41 pymetar-0.16/bin/pymetar

i checked /usr/bin and /usr/bin/python is there

i did ./pymetar and it said /bin/sh: ./pymetar permission denied and that is all

tried it as root as well
 
omeriko9's Avatar
Posts: 385 | Thanked: 344 times | Joined on Jan 2010 @ Israel
#7
Originally Posted by boinger View Post
i did not miss the leading ./

the return from the command you told me

-rw-r--r-- 1 user root 1897 Jan 17 05:41 pymetar-0.16/bin/pymetar

i checked /usr/bin and /usr/bin/python is there

i did ./pymetar and it said /bin/sh: ./pymetar permission denied and that is all

tried it as root as well
1. You don't have execution permissions for the file, try
chmod 755 pymetar
2. Make sure you're not trying to run it from /home/user/MyDocs/... as this is FAT and chmod will not work, you'll have to move it to somewhere in /home/user before doing 1.
 
Posts: 25 | Thanked: 11 times | Joined on Sep 2009
#8
ok will try that out
 
Posts: 25 | Thanked: 11 times | Joined on Sep 2009
#9
/homee/user/pymetar-0.16/bin # ./pymetar
Traceback (most recent call last):
File "./pymetar", line 6, in <module>
import pymetar
ImportError: No module named pymetar


thats the message i get from that
 
Posts: 198 | Thanked: 76 times | Joined on Mar 2010
#10
Originally Posted by boinger View Post
/homee/user/pymetar-0.16/bin # ./pymetar
Traceback (most recent call last):
File "./pymetar", line 6, in <module>
import pymetar
ImportError: No module named pymetar


thats the message i get from that
yeah, i guess that setup.py needs to be run beforehand -- don't know, though, if that works flawlessly with maemo.
after all, the script is an example on how to use the actual lib.

if you only are looking for weather info, there are a few apps avaliable already.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 06:39.