On Aug 11, 2011, at 3:22 PM, Ximo Nadal wrote:
> "/usr/local/lib/python2.6/dist-packages/dabo/lib/propertyHelperMixin.py",
> line
> 200, in _setProps
> propRef = eval("self.__class__.%s" % prop)
> File "<string>", line 1, in <module>
> AttributeError: type object 'dForm_99270' has no attribute 'HomeDirectory'
>
>
> Something is going wrong with the directory in pycon_hours but I can't
> find out what is it.
Actually, that's a different bug that has nothing to do with the
directory. There is a property for the form that is in the cdxml file that
shouldn't be there. Open up that file in any text editor, and look for the tag
(near the top) beginning with '<dForm '. There are several attributes in that
tag; one of them is 'HomeDirectory'. Delete that attribute and its value, save,
and try running the app again.
E.g.:
Original:
<dForm Name="dForm" Caption="Billable Hours"
HomeDirectory="/home/ed/apps/pycon_hours" SaveRestorePosition="False" ... >
Change to:
<dForm Name="dForm" Caption="Billable Hours"
SaveRestorePosition="False" ... >
-- Ed Leafe
_______________________________________________
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]