Page 1 of 1

Python seg fault

PostPosted: Tue Jan 15, 2013 11:29 pm
by PJTanner
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

Re: Python seg fault

PostPosted: Wed Jan 16, 2013 9:11 am
by fvdw
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.

Re: Python seg fault

PostPosted: Wed Jan 16, 2013 11:34 pm
by PJTanner
fair enough .. now my challenge -- how to cleanly remove python

Re: Python seg fault

PostPosted: Thu Jan 17, 2013 6:06 pm
by fvdw
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

Re: Python seg fault

PostPosted: Fri May 24, 2013 11:24 am
by favroom
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?

Re: Python seg fault

PostPosted: Fri May 24, 2013 6:25 pm
by fvdw
it is not necessary a python problem, how did you install flexget, ipkg ?

Re: Python seg fault

PostPosted: Fri May 24, 2013 6:27 pm
by fvdw
I will try to install it myself and see what happens

Re: Python seg fault

PostPosted: Fri May 24, 2013 6:59 pm
by fvdw
confirmed , I also get a seg fault now, need to recompile it I guess for the new kernels we use nowadays.

Re: Python seg fault

PostPosted: Fri May 24, 2013 10:47 pm
by fvdw
the seg fault is solved by recompiling, now I will look at flexget needs... ;)

Re: Python seg fault

PostPosted: Sat May 25, 2013 9:38 am
by fvdw
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