Discussion:
Nodebox web library?
Stuart Axon
2010-01-14 01:02:52 UTC
Permalink
http://nodebox.net/code/index.php/Web

Has anybody tried this in shoebot yet ?

S++
Stuart Axon
2010-01-14 01:21:35 UTC
Permalink
OK, this does work, once a missing import for StringIO is added:
http://bitbucket.org/stuaxo/shoebot/


S++



----- Original Message ----
Sent: Thu, January 14, 2010 1:02:52 AM
Subject: [shoebot-devel] Nodebox web library?
http://nodebox.net/code/index.php/Web
Has anybody tried this in shoebot yet ?
S++
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Dave Crossland
2010-01-14 02:58:04 UTC
Permalink
Post by Stuart Axon
http://bitbucket.org/stuaxo/shoebot/
Sweet! Hope this can go into the SB libs :)
francesco fantoni
2010-01-14 09:33:12 UTC
Permalink
wasn't it already?
Post by Dave Crossland
Post by Stuart Axon
http://bitbucket.org/stuaxo/shoebot/
Sweet! Hope this can go into the SB libs :)
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
--
architetto Francesco Fantoni
<HVA - Hermanitos Verdes Architetti>
l.go san giacomo, 38
I-41100 modena (italia)
tel.& fax. +39.059.217554
skype: hva_studio
e.mail: francesco-***@public.gmane.org
web: http://www.hv-a.com
Stuart Axon
2010-01-14 10:40:20 UTC
Permalink
So it is :)
However ximport("web") doesn't work on my machine...
(TBH I tested the module by copying it into my python lib folder - a bit naughty but I was testing something else too)

Does ximport work for other people with stuff in the lib folder?

Possibly it's just my branch (or the filesystem branch upon which it's based) ?


S++



----- Original Message ----
Sent: Thu, January 14, 2010 9:33:12 AM
Subject: Re: [shoebot-devel] Nodebox web library?
wasn't it already?
Post by Dave Crossland
Post by Stuart Axon
http://bitbucket.org/stuaxo/shoebot/
Sweet! Hope this can go into the SB libs :)
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
--
architetto Francesco Fantoni
l.go san giacomo, 38
I-41100 modena (italia)
tel.& fax. +39.059.217554
skype: hva_studio
web: http://www.hv-a.com
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Stuart Axon
2010-01-14 10:57:36 UTC
Permalink
With further investigation it seems that python 2.6 doesn't do import by filename...
I guess we need to fix the path used for imports, I'm trying to remember how this stuff works again :)


S++



----- Original Message ----
Sent: Thu, January 14, 2010 10:40:20 AM
Subject: Re: [shoebot-devel] Nodebox web library?
So it is :)
However ximport("web") doesn't work on my machine...
(TBH I tested the module by copying it into my python lib folder - a bit naughty
but I was testing something else too)
Does ximport work for other people with stuff in the lib folder?
Possibly it's just my branch (or the filesystem branch upon which it's based) ?
S++
----- Original Message ----
From: francesco fantoni
Sent: Thu, January 14, 2010 9:33:12 AM
Subject: Re: [shoebot-devel] Nodebox web library?
wasn't it already?
Post by Dave Crossland
Post by Stuart Axon
http://bitbucket.org/stuaxo/shoebot/
Sweet! Hope this can go into the SB libs :)
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
--
architetto Francesco Fantoni
l.go san giacomo, 38
I-41100 modena (italia)
tel.& fax. +39.059.217554
skype: hva_studio
web: http://www.hv-a.com
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Stuart Axon
2010-01-14 11:39:23 UTC
Permalink
I'm officially talking rubbish:

I hadn't run
[c:\] python setup.py install


Doh !

S++



----- Original Message ----
Sent: Thu, January 14, 2010 10:57:36 AM
Subject: Re: [shoebot-devel] Nodebox web library?
With further investigation it seems that python 2.6 doesn't do import by filename...
I guess we need to fix the path used for imports, I'm trying to remember how
this stuff works again :)
S++
----- Original Message ----
From: Stuart Axon
Sent: Thu, January 14, 2010 10:40:20 AM
Subject: Re: [shoebot-devel] Nodebox web library?
So it is :)
However ximport("web") doesn't work on my machine...
(TBH I tested the module by copying it into my python lib folder - a bit
naughty
but I was testing something else too)
Does ximport work for other people with stuff in the lib folder?
Possibly it's just my branch (or the filesystem branch upon which it's based)
?
S++
----- Original Message ----
From: francesco fantoni
Sent: Thu, January 14, 2010 9:33:12 AM
Subject: Re: [shoebot-devel] Nodebox web library?
wasn't it already?
Post by Dave Crossland
Post by Stuart Axon
http://bitbucket.org/stuaxo/shoebot/
Sweet! Hope this can go into the SB libs :)
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
--
architetto Francesco Fantoni
l.go san giacomo, 38
I-41100 modena (italia)
tel.& fax. +39.059.217554
skype: hva_studio
web: http://www.hv-a.com
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
ricardo lafuente
2010-01-14 17:21:27 UTC
Permalink
Post by Stuart Axon
So it is :)
One detail: when doing some changes to comply with the Debian packaging
standards, i noticed that the nodebox-web library came with a local copy
of the Python Feedparser module. This is a no-no -- it ought to ask for
a dependency instead of bundling extensions. So I took it out of the
filesystem branch (which i'll be pushing to the Goto10 servers in a moment).

Also, if you're using Ubuntu, there's this package:
http://packages.ubuntu.com/source/karmic/nodebox-web

Which might do away with the need to bundle it ourselves; still, i'm not
sure what to do regarding Win and Mac versions, should we bundle the Web
lib?
Post by Stuart Axon
However ximport("web") doesn't work on my machine...
(TBH I tested the module by copying it into my python lib folder - a bit naughty but I was testing something else too)
Does ximport work for other people with stuff in the lib folder?
Possibly it's just my branch (or the filesystem branch upon which it's based) ?
S++
----- Original Message ----
Sent: Thu, January 14, 2010 9:33:12 AM
Subject: Re: [shoebot-devel] Nodebox web library?
wasn't it already?
Post by Dave Crossland
Post by Stuart Axon
http://bitbucket.org/stuaxo/shoebot/
Sweet! Hope this can go into the SB libs :)
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
--
architetto Francesco Fantoni
l.go san giacomo, 38
I-41100 modena (italia)
tel.& fax. +39.059.217554
skype: hva_studio
web: http://www.hv-a.com
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Stuart Axon
2010-01-14 18:51:11 UTC
Permalink
I guess we should see if upstream can do things properly before we package our own one.
I was sort of thinking that the nodebox-web module should work independently of
nodebox/shoebot anyway... at the moment it's missing setup.py, apart from that it
works fine as a normal python module.

S++



----- Original Message ----
Sent: Thu, January 14, 2010 5:21:27 PM
Subject: Re: [shoebot-devel] Nodebox web library?
Post by Stuart Axon
So it is :)
One detail: when doing some changes to comply with the Debian packaging
standards, i noticed that the nodebox-web library came with a local copy
of the Python Feedparser module. This is a no-no -- it ought to ask for
a dependency instead of bundling extensions. So I took it out of the
filesystem branch (which i'll be pushing to the Goto10 servers in a moment).
http://packages.ubuntu.com/source/karmic/nodebox-web
Which might do away with the need to bundle it ourselves; still, i'm not
sure what to do regarding Win and Mac versions, should we bundle the Web
lib?
Post by Stuart Axon
However ximport("web") doesn't work on my machine...
(TBH I tested the module by copying it into my python lib folder - a bit
naughty but I was testing something else too)
Post by Stuart Axon
Does ximport work for other people with stuff in the lib folder?
Possibly it's just my branch (or the filesystem branch upon which it's based)
?
Post by Stuart Axon
S++
----- Original Message ----
From: francesco fantoni
Sent: Thu, January 14, 2010 9:33:12 AM
Subject: Re: [shoebot-devel] Nodebox web library?
wasn't it already?
Post by Dave Crossland
Post by Stuart Axon
http://bitbucket.org/stuaxo/shoebot/
Sweet! Hope this can go into the SB libs :)
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
--
architetto Francesco Fantoni
l.go san giacomo, 38
I-41100 modena (italia)
tel.& fax. +39.059.217554
skype: hva_studio
web: http://www.hv-a.com
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
francesco fantoni
2010-01-15 14:12:55 UTC
Permalink
I cloned the last shoebot tree today, opened the source code after
almost 7-8 months.... and totally got lost! :)
I've been away too long, and forgot too much :(

francesco
Post by ricardo lafuente
Post by Stuart Axon
So it is :)
One detail: when doing some changes to comply with the Debian packaging
standards, i noticed that the nodebox-web library came with a local copy
of the Python Feedparser module. This is a no-no -- it ought to ask for
a dependency instead of bundling extensions. So I took it out of the
filesystem branch (which i'll be pushing to the Goto10 servers in a moment).
http://packages.ubuntu.com/source/karmic/nodebox-web
Which might do away with the need to bundle it ourselves; still, i'm not
sure what to do regarding Win and Mac versions, should we bundle the Web
lib?
Post by Stuart Axon
However ximport("web") doesn't work on my machine...
(TBH I tested the module by copying it into my python lib folder - a bit naughty but I was testing something else too)
Does ximport work for other people with stuff in the lib folder?
Possibly it's just my branch (or the filesystem branch upon which it's based) ?
S++
----- Original Message ----
Sent: Thu, January 14, 2010 9:33:12 AM
Subject: Re: [shoebot-devel] Nodebox web library?
wasn't it already?
Post by Dave Crossland
Post by Stuart Axon
http://bitbucket.org/stuaxo/shoebot/
Sweet! Hope this can go into the SB libs :)
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
--
architetto Francesco Fantoni
l.go san giacomo, 38
I-41100 modena (italia)
tel.& fax. +39.059.217554
skype: hva_studio
web: http://www.hv-a.com
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
--
architetto Francesco Fantoni
<HVA - Hermanitos Verdes Architetti>
l.go san giacomo, 38
I-41100 modena (italia)
tel.& fax. +39.059.217554
skype: hva_studio
e.mail: francesco-***@public.gmane.org
web: http://www.hv-a.com
ricardo lafuente
2010-01-15 17:43:59 UTC
Permalink
Post by francesco fantoni
I cloned the last shoebot tree today, opened the source code after
almost 7-8 months.... and totally got lost! :)
I've been away too long, and forgot too much :(
Well, let's try and tackle that together then :)
What are the issues that you're facing?
Anything that should be changed in the Shoebot core to make the libs
part more straightforward?
Post by francesco fantoni
Post by ricardo lafuente
Post by Stuart Axon
So it is :)
One detail: when doing some changes to comply with the Debian packaging
standards, i noticed that the nodebox-web library came with a local copy
of the Python Feedparser module. This is a no-no -- it ought to ask for
a dependency instead of bundling extensions. So I took it out of the
filesystem branch (which i'll be pushing to the Goto10 servers in a moment).
http://packages.ubuntu.com/source/karmic/nodebox-web
Which might do away with the need to bundle it ourselves; still, i'm not
sure what to do regarding Win and Mac versions, should we bundle the Web
lib?
Post by Stuart Axon
However ximport("web") doesn't work on my machine...
(TBH I tested the module by copying it into my python lib folder - a bit naughty but I was testing something else too)
Does ximport work for other people with stuff in the lib folder?
Possibly it's just my branch (or the filesystem branch upon which it's based) ?
S++
----- Original Message ----
Sent: Thu, January 14, 2010 9:33:12 AM
Subject: Re: [shoebot-devel] Nodebox web library?
wasn't it already?
Post by Dave Crossland
Post by Stuart Axon
http://bitbucket.org/stuaxo/shoebot/
Sweet! Hope this can go into the SB libs :)
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
--
architetto Francesco Fantoni
l.go san giacomo, 38
I-41100 modena (italia)
tel.& fax. +39.059.217554
skype: hva_studio
web: http://www.hv-a.com
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
francesco fantoni
2010-01-15 19:59:33 UTC
Permalink
no, it's ok: the new structure of the code looks great and very logic,
it's just me getting too old and loosing my memory ;)
I'll try to recall what I had learnt last year and re-pythonize a bit my
mind.
Great work ricardo!
(transformations seem really a lot faster!!! only thing I noticed is
rotation sense seems to have changed: wasn't it counter-clockwise
before?)
nice to see shoebot running again.
best to all,
francesco
Post by ricardo lafuente
Post by francesco fantoni
I cloned the last shoebot tree today, opened the source code after
almost 7-8 months.... and totally got lost! :)
I've been away too long, and forgot too much :(
Well, let's try and tackle that together then :)
What are the issues that you're facing?
Anything that should be changed in the Shoebot core to make the libs
part more straightforward?
Post by francesco fantoni
Post by ricardo lafuente
Post by Stuart Axon
So it is :)
One detail: when doing some changes to comply with the Debian packaging
standards, i noticed that the nodebox-web library came with a local copy
of the Python Feedparser module. This is a no-no -- it ought to ask for
a dependency instead of bundling extensions. So I took it out of the
filesystem branch (which i'll be pushing to the Goto10 servers in a moment).
http://packages.ubuntu.com/source/karmic/nodebox-web
Which might do away with the need to bundle it ourselves; still, i'm not
sure what to do regarding Win and Mac versions, should we bundle the Web
lib?
Post by Stuart Axon
However ximport("web") doesn't work on my machine...
(TBH I tested the module by copying it into my python lib folder - a bit naughty but I was testing something else too)
Does ximport work for other people with stuff in the lib folder?
Possibly it's just my branch (or the filesystem branch upon which it's based) ?
S++
----- Original Message ----
Sent: Thu, January 14, 2010 9:33:12 AM
Subject: Re: [shoebot-devel] Nodebox web library?
wasn't it already?
Post by Dave Crossland
Post by Stuart Axon
http://bitbucket.org/stuaxo/shoebot/
Sweet! Hope this can go into the SB libs :)
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
--
architetto Francesco Fantoni
l.go san giacomo, 38
I-41100 modena (italia)
tel.& fax. +39.059.217554
skype: hva_studio
web: http://www.hv-a.com
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Stuart Axon
2010-01-17 23:44:19 UTC
Permalink
Eeek, oops if rotation is going clockwise it might be my fault.

I didn't have access to nodebox so assumed it should be clockwise.
- I thought I reversed that in my branch but maybe not :)

...Just to confuse things I tried the nodebox2 beta and in there
it is clockwise.

Enough confusion though: if were targeting nodebox1 I guess it
should be CCW.

S++



----- Original Message ----
Sent: Fri, January 15, 2010 7:59:33 PM
Subject: Re: [shoebot-devel] Nodebox web library?
no, it's ok: the new structure of the code looks great and very logic,
it's just me getting too old and loosing my memory ;)
I'll try to recall what I had learnt last year and re-pythonize a bit my
mind.
Great work ricardo!
(transformations seem really a lot faster!!! only thing I noticed is
rotation sense seems to have changed: wasn't it counter-clockwise
before?)
nice to see shoebot running again.
best to all,
francesco
Post by ricardo lafuente
Post by francesco fantoni
I cloned the last shoebot tree today, opened the source code after
almost 7-8 months.... and totally got lost! :)
I've been away too long, and forgot too much :(
Well, let's try and tackle that together then :)
What are the issues that you're facing?
Anything that should be changed in the Shoebot core to make the libs
part more straightforward?
Post by francesco fantoni
Post by ricardo lafuente
Post by Stuart Axon
So it is :)
One detail: when doing some changes to comply with the Debian packaging
standards, i noticed that the nodebox-web library came with a local copy
of the Python Feedparser module. This is a no-no -- it ought to ask for
a dependency instead of bundling extensions. So I took it out of the
filesystem branch (which i'll be pushing to the Goto10 servers in a
moment).
Post by ricardo lafuente
Post by francesco fantoni
Post by ricardo lafuente
http://packages.ubuntu.com/source/karmic/nodebox-web
Which might do away with the need to bundle it ourselves; still, i'm not
sure what to do regarding Win and Mac versions, should we bundle the Web
lib?
Post by Stuart Axon
However ximport("web") doesn't work on my machine...
(TBH I tested the module by copying it into my python lib folder - a bit
naughty but I was testing something else too)
Post by ricardo lafuente
Post by francesco fantoni
Post by ricardo lafuente
Post by Stuart Axon
Does ximport work for other people with stuff in the lib folder?
Possibly it's just my branch (or the filesystem branch upon which it's
based) ?
Post by ricardo lafuente
Post by francesco fantoni
Post by ricardo lafuente
Post by Stuart Axon
S++
----- Original Message ----
From: francesco fantoni
Sent: Thu, January 14, 2010 9:33:12 AM
Subject: Re: [shoebot-devel] Nodebox web library?
wasn't it already?
Post by Dave Crossland
Post by Stuart Axon
http://bitbucket.org/stuaxo/shoebot/
Sweet! Hope this can go into the SB libs :)
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
--
architetto Francesco Fantoni
l.go san giacomo, 38
I-41100 modena (italia)
tel.& fax. +39.059.217554
skype: hva_studio
web: http://www.hv-a.com
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Loading...