Hi Robin,
On 03/05/2013 02:04, Robin Dunn wrote:
...
> However I think it is probably a case similar to this one where there
> is wxModule that is loaded after the initial start and which isn't
> getting initialized by something like the above. The part about it
> only happening when launching from a toolbar button seems strange though.
>
Nothing to do with toolbar, but it only happens if I import the module.
dreportspyreponly.py does nothing else then import the PythonReport stuff
dreports_run.py imports the above and when running it I see the error
I sometimes also see this exception.
Hhm, just changed the first file to just import the property grid only
and the error still happens.
Werner
H:\devProjectsT\aaTests\aaaWX>c:\python27\python.exe dreports_run.py
Traceback (most recent call last):
File "dreports_run.py", line 19, in <module>
with maintDlg (None).view as dlg:
File "c:\dev\twcbv4\twcbsrc\controllers\dreports.py", line 50, in
__init__
**kwds)
File "c:\dev\twcbv4\twcbsrc\controllers\base.py", line 1179, in __init__
super(BaseController, self).__init__(**kwds)
File "c:\dev\twcbv4\twcbsrc\controllers\base.py", line 118, in __init__
persFile = os.path.join(wx.GetApp().persistanceLoc,
AttributeError: 'InspectableApp' object has no attribute 'persistanceLoc'