johnsojc wrote:When I was looking for some little project to occupy my time, I considered trying to convert the scripts to Python3 but somewhere I read that PIL had not been updated to version 3 yet so I dropped that idea for now.
johnsojc wrote:I'm still trying to figure out where the SDL variables that are causing the errors live. They seem to be in both the vault and in the PRP files and then there are local data sets for the internal client and who knows where else.
Tsar Hoikas wrote: I just updated all my PCs to Windows 8
Deledrius wrote:johnsojc wrote:When I was looking for some little project to occupy my time, I considered trying to convert the scripts to Python3 but somewhere I read that PIL had not been updated to version 3 yet so I dropped that idea for now.
Plasma doesn't use PIL at all.
johnsojc wrote:Deledrius wrote:johnsojc wrote:When I was looking for some little project to occupy my time, I considered trying to convert the scripts to Python3 but somewhere I read that PIL had not been updated to version 3 yet so I dropped that idea for now.
Plasma doesn't use PIL at all.
resources.dat?
Deledrius wrote:That said, however, in addition to updating the scripts to be compliant with Python3, I suspect the engine will need to be tweaked for API changes in the Python library as well. Both the scripts you're working on and the engine itself will need work done to keep in step with each other. This is not a relatively high-priority task at this time, but if someone is interested in doing it the work is welcomed.
(07/22 14:57:58) xJournalBookGUIPopup: deprecated journal format, using name 'Sharper'
(07/22 14:57:58) cPythJournalPickup - Traceback (most recent call last):
(07/22 14:57:58) File ".\python\xJournalBookGUIPopup.py", line 111, in OnNotify
(07/22 14:57:58) self.IShowBook()
(07/22 14:57:58) File ".\python\xJournalBookGUIPopup.py", line 193, in IShowBook
(07/22 14:57:58) if journalContents == U"":
(07/22 14:57:58) UnboundLocalError: local variable 'journalContents' referenced before assignment
journalContents = "I'm an empty book"
# compile journal text
(07/23 18:46:58) ActScrollRight callback
(07/23 18:46:58) DEBUG: ercaControlRoom.ImgrView(): View = 1, and mode = exit
(07/23 18:46:58) DEBUG: ercaControlRoom.OnSDLNotify(): ercaCtrlImgrView = 2
(07/23 18:46:58) xAgeSDLBoolRespond.OnSDLNotify(): VARname:ercaCtrlImgrView, SDLname:Ercana, value:2, playerID:10104
(07/23 18:46:58) value=2
(07/23 18:46:58) ff=False
(07/23 18:46:58) avatar=<Plasma.ptSceneobject object at 0x18A7D6C0>
(07/23 18:46:58) cPythSDLRespOvenBtns - Traceback (most recent call last):
(07/23 18:46:58) File ".\python\xAgeSDLBoolRespond.py", line 91, in OnSDLNotify
(07/23 18:46:58) self._Execute(value, ff, avatar)
(07/23 18:46:58) File ".\python\xAgeSDLBoolRespond.py", line 99, in _Execute
(07/23 18:46:58) PtDebugPrint("xAgeSDLBoolRespond._Execute():\tRunning %s responder on %s ff=%d" % (resps[int(value)], self.sceneobject.getName(), ff), level=kDebugDumpLevel)
(07/23 18:46:58) IndexError: tuple index out of range
ageSDL = PtGetAgeSDL()
value = ageSDL[sdlName.value][0]
PtDebugPrint("xAgeSDLBoolRespond.OnSDLNotify():\tVARname:%s, SDLname:%s, value:%d, playerID:%d" % (VARname, SDLname, value, playerID), level=kDebugDumpLevel)
if value:
value = 1 # Hack to make value work properly as an index in _Execute()
Users browsing this forum: No registered users and 4 guests