Python seg fault

Python seg fault

Postby PJTanner » Tue Jan 15, 2013 11:29 pm

I added python to my freshly set up ns1 with firmware 14 following the guide in the 'Add-ons fvdw-sl firmware' forum but cannot get it to run. Whenever I try to run a python script I get 'Segmentation fault' returned after about 2 seconds.

Any ideas?

Cheers

Paul
PJTanner
 
Posts: 5
Joined: Fri Jan 11, 2013 11:23 pm

Re: Python seg fault

Postby fvdw » Wed Jan 16, 2013 9:11 am

you ar running it on a networkspace 1, that has only 16 MB of RAM, python is taken too much memory to run it on the nwsp 1.
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Python seg fault

Postby PJTanner » Wed Jan 16, 2013 11:34 pm

fair enough .. now my challenge -- how to cleanly remove python
PJTanner
 
Posts: 5
Joined: Fri Jan 11, 2013 11:23 pm

Re: Python seg fault

Postby fvdw » Thu Jan 17, 2013 6:06 pm

did you install more add ons ?, if not just empty the addons folder. But you leave it also were it is it won't harm
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Python seg fault

Postby favroom » Fri May 24, 2013 11:24 am

PJTanner wrote:Whenever I try to run a python script I get 'Segmentation fault' returned after about 2 seconds.

I am trying to install Flexget. When I run it on my NWSP2, I also get a Segmentation fault...
Should I forget about Flexget?
favroom
 
Posts: 71
Joined: Thu Dec 13, 2012 7:09 am
Location: Netherlands

Re: Python seg fault

Postby fvdw » Fri May 24, 2013 6:25 pm

it is not necessary a python problem, how did you install flexget, ipkg ?
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Python seg fault

Postby fvdw » Fri May 24, 2013 6:27 pm

I will try to install it myself and see what happens
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Python seg fault

Postby fvdw » Fri May 24, 2013 6:59 pm

confirmed , I also get a seg fault now, need to recompile it I guess for the new kernels we use nowadays.
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Python seg fault

Postby fvdw » Fri May 24, 2013 10:47 pm

the seg fault is solved by recompiling, now I will look at flexget needs... ;)
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Python seg fault

Postby fvdw » Sat May 25, 2013 9:38 am

got flexget installed

Code: Select all
<snip>
...
Successfully installed flexget FeedParser SQLAlchemy PyYAML BeautifulSoup beautifulsoup4 html5lib PyRSS2Gen pynzb progressbar jinja2 flask cherrypy requests python-dateutil jsonschema python-tvrage six markupsafe Werkzeug
Cleaning up...
root@fvdwsl-nwsp2:/share/1000/fvdw #


and it is responding
Code: Select all
root@fvdwsl-nwsp2:/share/1000/fvdw # flexget -V
1.1.3
You are on the latest release.
root@fvdwsl-nwsp2:/share/1000/fvdw #


will post the update of python today
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands


Return to Lacie Network Space vs1

Who is online

Users browsing this forum: No registered users and 6 guests