Lost with Python
Re: Lost with Python
That is a link in my post.
"It is in self-limitation that a master first shows himself." - Goethe
Re: Lost with Python
Here is my Python log file (attatched). Looking through it I noticed that it can't find a .py file. If it makes a difference my Python Pak file is called TINA_Testing (The name of my age). My GUI file is named: TINA_TestingBookGUI My PageDefs file is named: TINA_TestingPageDefs And my Journals file is named: TINA_Testing_Journals
I have also attatched my AlcScript if you need it.
Tell me if you have any suggestions.
I have also attatched my AlcScript if you need it.

Tell me if you have any suggestions.
Fighting, Horrible disposition to others based on beliefs... What's the point anymore? Was there ever a point? Dead is what it is and always will be until peace is achieved through everyone.
Re: Lost with Python
Code: Select all
(05/15 17:04:59) Python file TINA_Testing.py was not found.
(05/15 17:05:02) Traceback (most recent call last):
(05/15 17:05:02) File "E:/Program Files/Blender Foundation/Blender/.blender/Blender Scripts/TINA_Testing/TINA_TestingBookGUI.py", line 38, in ?
(05/15 17:05:02) modPageDefs = __import__('TINA_TestingPageDefs')
(05/15 17:05:02) File "E:/Program Files/Blender Foundation/Blender/.blender/Blender Scripts/TINA_Testing/TINA_TestingPageDefs.py", line 8, in ?
(05/15 17:05:02) from TINA_Testing_Journals import *
(05/15 17:05:02) ImportError: No module named TINA_Testing_Journals
(05/15 17:05:02) Python file TINA_TestingBookGUI.py was not found.
Maybe you made a typo somewhere in the Python file references.
"It is in self-limitation that a master first shows himself." - Goethe
Re: Lost with Python
What puzzles me is the TINA_Testing.py file it tries to look for. That file is not need so therefore does not exist. There is a TINA_Testing.pak but that is it. What is that file it tries to look for?
And there were no mispellings in it, I triple checked.
And there were no mispellings in it, I triple checked.
Fighting, Horrible disposition to others based on beliefs... What's the point anymore? Was there ever a point? Dead is what it is and always will be until peace is achieved through everyone.
Re: Lost with Python
Can you zip up your Python files and post them?
And you also need to create the main age Python file TINA_Testing.py. Not sure if that is related to this problem though.
And you also need to create the main age Python file TINA_Testing.py. Not sure if that is related to this problem though.
"It is in self-limitation that a master first shows himself." - Goethe
Re: Lost with Python
Here are my Python files. And I must have to create this TINA_Testing.py file I am guessing? If this is the case I need to know how and what to put into it.
There you go, tell me if you find anything.
Thanks,
Valdez
There you go, tell me if you find anything.
Thanks,
Valdez

Fighting, Horrible disposition to others based on beliefs... What's the point anymore? Was there ever a point? Dead is what it is and always will be until peace is achieved through everyone.
Re: Lost with Python
You have to remove the .py extensions from these:
Then add the following file to your pak:
That will take care of the error: "Python file TINA_Testing.py was not found". It is just an empty placeholder file like most of the Cyan ages have.
Code: Select all
modPageDefs = __import__('TINA_TestingPageDefs.py')
from TINA_TestingJournals.py import *
Then add the following file to your pak:
That will take care of the error: "Python file TINA_Testing.py was not found". It is just an empty placeholder file like most of the Cyan ages have.
"It is in self-limitation that a master first shows himself." - Goethe
Re: Lost with Python
YAY! My journals work. But with a problem, it doesn't register my journal cover. I pointed it to the right file, but I don't know how it finds it. What are some common problems and how do you fix them?
Fighting, Horrible disposition to others based on beliefs... What's the point anymore? Was there ever a point? Dead is what it is and always will be until peace is achieved through everyone.
Re: Lost with Python
The image needs to be in your Age somewhere, at least thats the motto i'm following.
If the image is the exact same image used on your book model, then you should be ok
If the image is the exact same image used on your book model, then you should be ok
Better to have loved and lost than never to have loved at all
Re: Lost with Python
Wait, does that mean the image HAS to be the same as the one you used for the book model? Because I hope not
.

Fighting, Horrible disposition to others based on beliefs... What's the point anymore? Was there ever a point? Dead is what it is and always will be until peace is achieved through everyone.