Page 1 of 1

Page Num Error

PostPosted: Thu Mar 26, 2009 8:51 pm
by Valdez
Hello Everyone!

Today I came across an export error while attempting to export my age again. The error appears to be about Page Num errors:

Code: Select all
Compiled with Python version 2.5.2.
Checking for installed Python... got it!
WARNING: Python Crypto Toolkit not found!, support for Myst 5 files is disabled!
!
WARNING: Python Crypto Toolkit not found!, support for Myst 5 files is disabled!
!
WARNING: Python Crypto Toolkit not found!,    You need to install it to be able
to generate valid manifest files for Alcugs Dataservers
Exporting C:\Program Files\Ubi Soft\Cyan Worlds\Myst Uru Complete Chronicles\dat
\TINA_Testing.age ...
Args are e_age_final
['e', 'age', 'final']
Exporting age TINA_Testing
[AlcScript Parser]
{'DayLength': 24.0, 'LingerTime': 180, 'MaxCapacity': 10, 'StartDateTime': 0, 'S
equencePrefix': 9373}
{'AgeSDLHook': True}
[]
{'DayLength': 24.0, 'LingerTime': 180, 'MaxCapacity': 10, 'StartDateTime': 0, 'S
equencePrefix': 9373}
#########################################
##
## => Exporting page Textures -1 <=
##
#########################################
Traceback (most recent call last):
  File "E:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Export.
py", line 169, in open_file
    export_age(agename,basepath,selection,merge)
  File "E:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Export.
py", line 80, in export_age
    page.export_all(selection)
  File "E:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_ResMana
ger.py", line 280, in export_all
    pagenum = getStrIntPropertyOrDefault(obj,"page_num",0)
  File "E:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Functio
ns.py", line 285, in getStrIntPropertyOrDefault
    var=int(p.getData())
ValueError: invalid literal for int() with base 10: ''


Any idea what its really telling me? At first I thought I had a blank or corrupted page num value. I did in fact have a blank one, but I gave it its appropiate page num and still it gives me this same error. I checked over tons of my objects and none of them seemed to be incorrect. And also, some objects do not have a page num, and those objects use the default '0' page num. So, any ideas?

Thanks,
Valdez :geek:

Re: Page Num Error

PostPosted: Thu Mar 26, 2009 9:45 pm
by Paradox
You have a page_num property somewhere that is blank. It must have a number.

Re: Page Num Error

PostPosted: Fri Mar 27, 2009 4:08 pm
by Valdez
Ok I got it fixed, it was some empties created by this IPO script I ran.... I don't know what they have to do with page numbers but they were causing the problem, I forgot to delete them..

Thanks Anyway,
Valdez :geek: