maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [pymetar] help / question (https://talk.maemo.org/showthread.php?t=50364)

boinger 2010-04-18 15:44

[pymetar] help / question
 
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 ?

arne.anka 2010-04-18 15:49

Re: [maemo 5] help / question
 
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.

boinger 2010-04-18 16:01

Re: [maemo 5] help / question
 
i tried that out said permission denied =(

i did read the readme didnt get much info from it.

arne.anka 2010-04-18 16:06

Re: [maemo 5] help / question
 
Quote:

Originally Posted by boinger (Post 616249)
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 2010-04-18 16:08

Re: [maemo 5] help / question
 
Quote:

Originally Posted by boinger (Post 616249)
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

boinger 2010-04-18 16:14

Re: [maemo 5] help / question
 
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 2010-04-18 16:19

Re: [maemo 5] help / question
 
Quote:

Originally Posted by boinger (Post 616266)
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.

boinger 2010-04-18 16:36

Re: [maemo 5] help / question
 
ok will try that out

boinger 2010-04-18 17:21

Re: [maemo 5] help / question
 
/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

arne.anka 2010-04-18 19:15

Re: [maemo 5] help / question
 
Quote:

Originally Posted by boinger (Post 616341)
/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.

boinger 2010-04-20 20:47

Re: [maemo 5] help / question
 
i wanted weather info in raw metar format for flying purposes, this app converts raw metar into easily understandable formating but even raw metar would be fine.

arne.anka 2010-04-20 20:55

Re: [maemo 5] help / question
 
ok, but i guess you have to bother the developers for information on how to make that thing work.
somehow that setup.py plays an important role, but i don't know if it will work with maemo as supposed.

boinger 2010-04-20 21:09

Re: [maemo 5] help / question
 
from my understanding maemo has python so it should work no ?

well the thread is up there if anyone can provide some input

arne.anka 2010-04-20 21:16

Re: [maemo 5] help / question
 
yepp, python is there -- but you need to check, if all necessary packages are available and if the setup will use the right pathes and stuff.

boinger 2010-04-20 21:41

Re: [maemo 5] help / question
 
hmm dont really know how to do all that

arne.anka 2010-04-20 21:53

Re: [maemo 5] help / question
 
that's why i proposed to bother the developers :-)

shahram 2010-04-22 09:17

Re: [maemo 5] help / question
 
hey thnk u 4 your post arne
i have a problem with my n900 app manager error log
:
hildon-application-manager 2.2.52.2
apt-worker: Ignoring version from wrong domain: xserver-xomap 2:1.6.99.1-0osso20090208.104+0m5
apt-worker: /var/lib/apt/lists/repository.maemo.org_extras-devel_dists_fremantle_free_binary-armel_Packages
how can i solve it

thnk u so much(shahram.hamed@gmail.com)
regardssss shahram

shahram 2010-04-22 09:19

Re: [maemo 5] help / question
 
:(...might it be bkz of unistallin RECALLER application?
what shall i do now?

arne.anka 2010-04-22 09:59

Re: [maemo 5] help / question
 
Quote:

Originally Posted by shahram (Post 622192)
apt-worker: Ignoring version from wrong domain: xserver-xomap 2:1.6.99.1-0osso20090208.104+0m5
apt-worker: /var/lib/apt/lists/repository.maemo.org_extras-devel_dists_fremantle_free_binary-armel_Packages

please, don't hijack a completely unrelated thread!
for any further questions/answers, open a new thread!

just to help you get started:
your issue produces a lot of results, if you search for it. for starters, you should probably disable extras-devel.
w/o further investigation, i'd suspect that xserver-xomap exists in different versions in the repositories you enabled.


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

vBulletin® Version 3.8.8