Why not use stackless python inside pypy?

Use pypy to run whatever version Netsukuku-Vala expects with whatever 
platform stackless expects manually configured. instead of sys.platform,
replace it with a static assignment of whatever it wants.

On 09/01/2013 06:45 AM, Miss Valeska wrote:
> Alright so! I've been doing a lot of testing, And I kept getting stuck
> with that same error, That it was not available for my platform yet.
> So, I discovered the command sudo python setup.py install, And I
> thought about the other build commands that Luca wrote for the
> /opt/stackless folder.
>
> So, I've been using them myself, But I only used them as sudo python
> setup.py build and install etc. (Though, I did also do all of the
> /opt/stackless stuff too, Just in case.) Anyway, I discovered, I can,
> Like Netsukuku-Vala, Now run netsukuku by just typing ntkd into terminal.
>
> However! When I do that, I encounter this error.
>
> netsukuku@netsukuku-VirtualBox:~$ ntkd
> Traceback (most recent call last):
>     File "/usr/local/bin/ntkd", line 31, in <module>
>         from ntk.lib.micro import allmicro_run
>     File "/usr/local/lib/python2.7/dist-packages/ntk/lib/micro.py",
> line 23, in <module>
>         import stackless
> ImportError: No module named stackless
> netsukuku@netsukuku-VirtualBox:~$
>
> And when I run it normally, I get:
>
> netsukuku@netsukuku-VirtualBox:~/netsukuku/pyntk$ sudo
> /opt/stackless/bin/python2.7 ntkd -i eth0 -vvvv
> Traceback (most recent call last):
>     File "ntkd", line 29, in <module>
>         from ntk.config import settings, ImproperlyConfigured
>     File "/home/netsukuku/netsukuku/pyntk/ntk/config.py". line 87, in
> <module>
>         raise Exception('Your platform is not supported yet.')
> Exception: Your platform is not supported yet.
> netsukuku@netsukuku-VirtualBox:~/netsukuku/pyntk$
>
> I think this error might be due to me using Ubuntu 13.04? From reading
> the config files, It seems only linux kernel 2 works. In that
> config.py file, It says if sys.platform == 'linux2': then it says a
> bunch of configuration and data directories. And it says after that
> else and the raise exception platform not supported thing.
>
> So maybe, I need to use Ubuntu 12.04? Or is something else happening?
> Commenting that line out just makes it say the same basic thing,
> Except it complains about GLOBAL_SETTINGS not being defined instead of
> the system not being supported.
>
> Commenting out the improperlyconfigured line in ntkd in
> netsukuku/pyntk just says the same thing, Except ntkd starts
> complaining at line 30 with the int_logger line instead.
>
> I'll keep looking, But I really don't know what to do, Unless I
> shouldn't have gotten the python version from the netsukuku savannah
> page, I don't know how to fix it. Please please help me someone! I'll
> include the script I've been writting for this approach.
>
> Hopefully this helps somehow!

_______________________________________________
Netsukuku mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/netsukuku

Reply via email to