Error with Python 2.6 version

9 views
Skip to first unread message

MHCABI

unread,
Sep 19, 2010, 12:41:10 PM9/19/10
to blender-aid-users
Hi there,

Firstly, thanks for making blenderaid; it is a fantastic and very cool
tool :-)

I believe however that I have found a small error with it:
Please bear-with-me as I am slightly noob, so apologies if I don't
cite all the correct information etc, but here goes...

My details:
Linux 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010
x86_64 GNU/Linux
Python 2.6.5
blenderaid-py26-20100129

The issue (in shell output format):
me@computer:~$ ~/Downloads/blenderaid-py26-20100129/server.pyc
Traceback (most recent call last):
File "./server.py", line 223, in <module>
logging.basicConfig(level=logging.INFO)
OSError: [Errno 2] No such file or directory: 'www'

What I did to fix it:
It appears that the 'server.pyc' file makes a call for a folder named
'www' using the following code:
os.chdir("www")

I downloaded the source file 'server.py' from this location:
http://code.google.com/p/blender-aid/source/browse/trunk/src/server.py

And changed line 229 from this...
os.chdir("www")

...to this:
os.chdir("./www")

And this seemed to fix the problem!

I haven't had a chance to see exactly which and how many versions of
blenderaid this problem affects, so apologies if you're already aware
of it or have since updated it, but I felt I needed to at least bring
it to someone's attention.


Best Regards,

MHCABI


Jeroen Bakker

unread,
Sep 19, 2010, 2:08:59 PM9/19/10
to blender-...@googlegroups.com
Hi MHCABI

Thank you for your mail. To help you with your problem, please try the next thing:

cd ~/Downloads/blenderaid-py26-20100129
./server.pyc or
python ./server.pyc

This will make sure the correct "www" folder is found. The one distributed inside our package. I will review your fix and place it in trunk. Thanks!

Best regards,
Jeroen Bakker
--

Met vriendelijke groet,

Jeroen Bakker

  At Mind BV

Telefoon: 06 50 611 262
E-mail: j.ba...@atmind.nl


logo80x80.gif
Reply all
Reply to author
Forward
0 new messages