Now this is annoying. I made a second journal and coded it and it worked. I had two journals displaying two different things. Now, though, I can click on them, but the book never pops up and the code looks fine. What is going on here?
Edit: Here's something... The python log says:
Code: Select all
(04/23 19:10:31) Traceback (most recent call last):
(04/23 19:10:31) File "C:/Work/Ages/Fens/FensBookGUI.py", line 38, in ?
(04/23 19:10:31) modPageDefs = __import__('FensPageDefs')
(04/23 19:10:31) File "C:/Work/Ages/Fens/FensPageDefs.py", line 59, in ?
(04/23 19:10:31) BookPages = {'FensJournal': ((DefFensJournal % plyrName)),
(04/23 19:10:31) TypeError: not all arguments converted
(04/23 19:10:31) Python file FensBookGUI.py was not found.
(04/23 19:10:31) __init__FensBookGUI v.3.0
(04/23 19:10:55) FensBookGUI: OnNotify called
(04/23 19:10:55) Someone clicked on object book
(04/23 19:10:55) It was you
(04/23 19:10:55) Trying book book with page(s) ['FensJournal']
(04/23 19:10:55) Match found! Start opening book...
(04/23 19:10:55) FensBookGUI: IOpenBook: Page(s) requested ['FensJournal']
(04/23 19:10:55) Traceback (most recent call last):
(04/23 19:10:55) File "C:/Work/Ages/Fens/FensBookGUI.py", line 61, in OnNotify
(04/23 19:10:55) self.IOpenBook(a, b)
(04/23 19:10:55) File "C:/Work/Ages/Fens/FensBookGUI.py", line 122, in IOpenBook
(04/23 19:10:55) if (not (bkPage in modPageDefs.LinkDestinations)):
(04/23 19:10:55) AttributeError: 'module' object has no attribute 'LinkDestinations'
(04/23 19:10:56) FensBookGUI: OnNotify called
(04/23 19:10:58) FensBookGUI: OnNotify called
(04/23 19:10:58) Someone clicked on object book
(04/23 19:10:58) It was you
(04/23 19:10:58) Trying book book with page(s) ['FensJournal']
(04/23 19:10:58) Match found! Start opening book...
(04/23 19:10:58) FensBookGUI: IOpenBook: Page(s) requested ['FensJournal']
(04/23 19:10:58) Traceback (most recent call last):
(04/23 19:10:58) File "C:/Work/Ages/Fens/FensBookGUI.py", line 61, in OnNotify
(04/23 19:10:58) self.IOpenBook(a, b)
(04/23 19:10:58) File "C:/Work/Ages/Fens/FensBookGUI.py", line 122, in IOpenBook
(04/23 19:10:58) if (not (bkPage in modPageDefs.LinkDestinations)):
(04/23 19:10:58) AttributeError: 'module' object has no attribute 'LinkDestinations'
(04/23 19:10:58) FensBookGUI: OnNotify called