Python script error

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Python script error

Postby Frits » Mon Mar 17, 2008 7:48 am

I have installed all the files mentioned in PRPBlenderInstallation, also unziped the PyPRP in the scripts folder.
When I try to import with PyPRP I get 'Python script error: check the console'.
Can anyone explain to me what goes wrong and what to do about this?

Regards Frits.
Frits
 
Posts: 132
Joined: Sun Feb 10, 2008 7:00 am

Re: Python script error

Postby D'Lanor » Mon Mar 17, 2008 8:03 am

Hard to tell without knowing the actual error message. You can find the error in the console like PyPRP says. The console is the black commandline box behind the Blender window.

Imports btw are not working well in the current PyPRP version. See here: viewtopic.php?f=59&t=1386
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Python script error

Postby Frits » Mon Mar 17, 2008 8:24 am

Sorry, I did not know that that was called the console.
It says;

File "<string>" , line 48, in <module>
ImpoertError: No module named alconfig

Regards Frits.
Frits
 
Posts: 132
Joined: Sun Feb 10, 2008 7:00 am

Re: Python script error

Postby Zander » Mon Mar 17, 2008 8:30 am

I had that too. I believe alcconfig is somewhere else in your Blender directories and you just need to move it. That or something equally simple: I have it all working now, so it's definitely fixable.
Image
User avatar
Zander
 
Posts: 195
Joined: Fri Nov 16, 2007 9:45 pm

Re: Python script error

Postby D'Lanor » Mon Mar 17, 2008 8:34 am

What Zander said. You probably have it in the src folder. All files in the src folder should be placed directly under the .scripts folder.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Python script error

Postby Frits » Mon Mar 17, 2008 9:13 am

Thanks guys, it works now. Unzipping the PyPRP file makes his own directory.

Regards, Frits
Frits
 
Posts: 132
Joined: Sun Feb 10, 2008 7:00 am


Return to Building

Who is online

Users browsing this forum: No registered users and 2 guests