The path of the image file is the problem and I have corrected it. Why did the Class Designer not save the correct path on its own?
Rob. Begin forwarded message: > From: Robert Liebeskind <[EMAIL PROTECTED]> > Date: October 13, 2007 6:18:18 PM GMT+02:00 > To: [email protected] > Subject: Fwd: Unable open a cdxml file > > Here is the contents of the cdxml file which fails to load. > > <?xml version="1.0" encoding="utf-8" standalone="no"?> > <dForm Caption="Dabo Class Designer" Top="563" Height="392" > Width="651" designerClass="DesForm" UseSizers="True" Left="314"> > <dSizer SlotCount="1" designerClass="LayoutSizer" > Orientation="Vertical"> > <dPanel Width="651" sizerInfo="{'BorderSides': ['All'], > 'Proportion': 1, 'HAlign': 'Left', 'VAlign': 'Top', 'Border': 0, > 'Expand': True}" designerClass="controlMix" Height="352"> > <dSizer SlotCount="4" designerClass="LayoutSizer" > Orientation="Vertical"> > <dImage Picture="path://maintitle_welcome.gif" > sizerInfo="{'BorderSides': ['All'], 'Proportion': 0, 'HAlign': > 'Left', 'VAlign': 'Top', 'Border': 0, 'Expand': False}" Height="81" > Width="387" designerClass="controlMix" ScaleMode="Clip"></dImage> > <dPanel sizerInfo="{'BorderSides': ['All'], > 'Proportion': 1, > 'HAlign': 'Left', 'VAlign': 'Top', 'Border': 0, 'Expand': True}" > designerClass="LayoutPanel"></dPanel> > <dPanel sizerInfo="{'BorderSides': ['All'], > 'Proportion': 1, > 'HAlign': 'Left', 'VAlign': 'Top', 'Border': 0, 'Expand': True}" > designerClass="LayoutPanel"></dPanel> > <dPanel sizerInfo="{'BorderSides': ['All'], > 'Proportion': 1, > 'HAlign': 'Left', 'VAlign': 'Top', 'Border': 0, 'Expand': True}" > designerClass="LayoutPanel"></dPanel> > </dSizer> > </dPanel> > </dSizer> > </dForm> > > Thanks again. > > Rob. >> >> >> Begin forwarded message: >> >>> From: Robert Liebeskind <[EMAIL PROTECTED]> >>> Date: October 13, 2007 11:48:15 AM GMT+02:00 >>> To: [email protected] >>> Subject: Unable open a cdxml file >>> >>>> Hello Dabo people. I have just begun playing with Dabo. When I >>>> try to open a cdxml file that has not been touched by human >>>> hands I get the following: >>>> >>>> Traceback (most recent call last): >>>> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ >>>> python2.5/site-packages/Dabo-0.8.1s-py2.5.egg/dabo/lib/ >>>> eventMixin.py", line 98, in raiseEvent >>>> bindingFunction(event) >>>> File "/Users/robl/Desktop/daboide/ClassDesigner.py", line >>>> 1487, in onOpenDesign >>>> self.openClass(ff) >>>> File "/Users/robl/Desktop/daboide/ClassDesigner.py", line 593, >>>> in openClass >>>> obj = self.recreateChildren(frm.mainPanel, kids, None, False) >>>> File "/Users/robl/Desktop/daboide/ClassDesigner.py", line 731, >>>> in recreateChildren >>>> self.recreateChildren(parent, [kid], sz, True) >>>> File "/Users/robl/Desktop/daboide/ClassDesigner.py", line 907, >>>> in recreateChildren >>>> self.recreateChildren(obj, kids, None, False) >>>> File "/Users/robl/Desktop/daboide/ClassDesigner.py", line 731, >>>> in recreateChildren >>>> self.recreateChildren(parent, [kid], sz, True) >>>> File "/Users/robl/Desktop/daboide/ClassDesigner.py", line 807, >>>> in recreateChildren >>>> skipUpdate=True, attProperties=atts) >>>> File "/Users/robl/Desktop/daboide/ClassDesigner.py", line >>>> 2325, in addNewControl >>>> obj = mixedClass(parent, properties=props, >>>> attProperties=attProperties) >>>> File "/Users/robl/Desktop/daboide/ClassDesigner.py", line >>>> 2453, in __init__ >>>> apply(base.__init__,(self,) + args, kwargs) >>>> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ >>>> python2.5/site-packages/Dabo-0.8.1s-py2.5.egg/dabo/ui/uiwx/ >>>> dImage.py", line 39, in __init__ >>>> self.Picture = picName >>>> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ >>>> python2.5/site-packages/Dabo-0.8.1s-py2.5.egg/dabo/ui/uiwx/ >>>> dImage.py", line 195, in _setPic >>>> if not os.path.exists(val): >>>> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ >>>> python2.5/posixpath.py", line 171, in exists >>>> st = os.stat(path) >>>> TypeError: coercing to Unicode: need string or buffer, NoneType >>>> found >>>> -------------- End >>>> >>>> Thank you. >>>> >>> Robert Liebeskind >>> Perfect World Corp. >>> [EMAIL PROTECTED] >>> >>> >> >> Robert Liebeskind >> Perfect World Corp. >> [EMAIL PROTECTED] >> >> The information contained in the transmission is intended for the >> named receiver only. The transmission may contain privileged and >> confidential material. If you are not the named recipient, please >> be advised that any use, dissemination or unauthorized copying of >> the materials is strictly prohibited. If you have received this >> transmission in error, please notify the offices of Perfect World >> Corporation and delete the received transmission. Thank you. >> >> > > Robert Liebeskind > Perfect World Corp. > [EMAIL PROTECTED] > > The information contained in the transmission is intended for the > named receiver only. The transmission may contain privileged and > confidential material. If you are not the named recipient, please > be advised that any use, dissemination or unauthorized copying of > the materials is strictly prohibited. If you have received this > transmission in error, please notify the offices of Perfect World > Corporation and delete the received transmission. Thank you. > > Robert Liebeskind Perfect World Corp. [EMAIL PROTECTED] The information contained in the transmission is intended for the named receiver only. The transmission may contain privileged and confidential material. If you are not the named recipient, please be advised that any use, dissemination or unauthorized copying of the materials is strictly prohibited. If you have received this transmission in error, please notify the offices of Perfect World Corporation and delete the received transmission. Thank you. --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ 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/dabo-users/[EMAIL PROTECTED]
