El 07/08/11 23:11, Ed Leafe escribió:
> On Aug 7, 2011, at 3:57 PM, Ed Leafe wrote:
>
>>> I was following this old thread[1] because I've the same problem, did
>>> you finally find the solution?
>>>
>>> My installed versions are:
>>> Platform: GTK
>>> Python Version: 2.6.6 on linux2
>>> Dabo Version: Version 0.9.3; Revision ~6018
>>> UI Version: 2.8.10.1 on wxGTK (gtk2)
>>>
>>> [1]<http://www.mail-archive.com/[email protected]/msg15846.html>
>>
>> Not that I recall - I'm reviewing the code now to see if I can figure
>> out a better solution when running the Class Designer.
>
> OK, I found that I had added an option to dApp to ignore the running
> script's location, but had never updated the Class Designer to use it. I just
> pushed that fix, but you'll have to update to the latest to get it, and I
> haven't been good at keeping up with the Web Update releases. I will work on
> getting this out as soon as I can.
>
Hello,
I've updated to revision 6754 by svn. But I've the same problem, when I
try to run the step 'Taking a Test Drive' of the PyCon 2010 Tutorial I
get the message "Attribute Error: 'NoneType' object has no attribute
'HoursBizobj'".
Two things changed with the update;
- I don't get the message
../ide/ClassDesigner.py:1879: DeprecationWarning: BaseException.message
has been deprecated as of Python 2.6
dabo.ui.stop(_("Attribute Error: %s") % e.message, _("Attribute Error"))
on the terminal window.
- When I run self.Application.HomeDirectory on the ClassDessigner
Command Window I get '/home/ximo/dabo/pycon_hours/ui'. Is that fine or
should it be without /ui?
If I run the application alone I get the exit:
/usr/local/lib/python2.6/dist-packages/dabo/lib/SimpleCrypt.py:52:
UserWarning: WARNING: SimpleCrypt is not secure. Please see
http://wiki.dabodev.com/SimpleCrypt for more information
warnings.warn("WARNING: SimpleCrypt is not secure. Please see
http://wiki.dabodev.com/SimpleCrypt for more information")
Traceback (most recent call last):
File "./main.py", line 13, in <module>
app.start()
File "/usr/local/lib/python2.6/dist-packages/dabo/dApp.py", line 395,
in start
self.setup()
File "/usr/local/lib/python2.6/dist-packages/dabo/dApp.py", line 347,
in setup
self.initUIApp()
File "/usr/local/lib/python2.6/dist-packages/dabo/dApp.py", line 387,
in initUIApp
self.uiApp.setup()
File "/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/uiApp.py",
line 418, in setup
frm = self.dApp.MainForm = dabo.ui.createForm(mfc)
File
"/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/__init__.py", line
1342, in createForm
frm = cls(*args, **kwargs)
File "/tmp/tmp_4CMxO.py", line 10, in __init__
super(dForm_1129, self).__init__(parent=parent,
attProperties=attProperties, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dForm.py",
line 957, in __init__
*args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dForm.py",
line 48, in __init__
attProperties=attProperties, *args, **kwargs)
File
"/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dFormMixin.py",
line 75, in __init__
attProperties=attProperties, *args, **kwargs)
File
"/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dPemMixin.py", line
195, in __init__
self._afterInit()
File "/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dForm.py",
line 75, in _afterInit
super(BaseForm, self)._afterInit()
File
"/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dFormMixin.py",
line 125, in _afterInit
self.createBizobjs()
File "/tmp/tmp_4CMxO.py", line 155, in createBizobjs
hoursBizobj = self.Application.biz.HoursBizobj(self.Connection)
AttributeError: 'NoneType' object has no attribute 'HoursBizobj'
Thanks,
--
[email protected]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]