Ed thanks for your ongoing support, unfortunately still no luck, your script 
did not find any non-ASCII characters in cdxml and neither did changing the 
CxnName. Same traceback.
Seems to me to be an issue with classdesigner on my system rather than the 
cdxml as I cannot run classdesigner at all.

Finally tried downloading through subversion to revision 7033, could run 
cxneditor, reportdesigner but not classdesigner - gave the following traceback:

James-Bulls-MacBook-Pro:ide ONC$ python classdesigner.py
Traceback (most recent call last):
  File "classdesigner.py", line 4458, in <module>
    clsDes = ClassDesigner(f)
  File "classdesigner.py", line 238, in __init__
    self._initClassEvents()
  File "classdesigner.py", line 353, in _initClassEvents
    self._classEvents[cls] = evtsForClass(cls)
  File "classdesigner.py", line 341, in evtsForClass
    if safeApplies(v,cls)]
  File "classdesigner.py", line 337, in safeApplies
    return itm.appliesToClass(cls)
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Dabo-0.9.4-py2.6.egg/dabo/dEvents.py",
 line 233, in appliesToClass
    return issubclass(objectClass, (dabo.ui.dScrollPanel, dabo.ui.dGrid))
TypeError: issubclass() arg 1 must be a class

I don't know whether this helps or confuses things more.
regards
James Bull

On 26/12/2011, at 2:14 AM, Ed Leafe wrote:

> On Dec 21, 2011, at 4:28 AM, James Bull wrote:
> 
>> Platform: Mac
>> Python Version: 2.6.6 on darwin
>> Dabo Version: Version 0.9.4; Revision ~6879
>> UI Version: 2.8.11.0 on wxMac
>> 
>> installed dabo by downloading the MAC tarball (you may need more details, 
>> let me know), 
>> 
>> tried the last web update - no new updates required
> 
>       The cdxml you posted opens without a problem on my system, running 
> Python 2.7.
> 
> Platform: Mac
> Python Version: 2.7.1 on darwin
> Dabo Version: Version 0.9.4; Revision 7032M
> UI Version: 2.8.12.0 on wxMac
> 
>       I still have Python 2.6 installed, so I ran the Class Designer using 
> that, and reverted my Dabo code to revision 6879. It still opened normally.
> 
> Platform: Mac
> Python Version: 2.6.4 on darwin
> Dabo Version: Version 0.9.4; Revision 6879M
> UI Version: 2.8.11.0 on wxMac
> 
>       So the only two things I can think of is a) your cdxml has a non-ASCII 
> character somewhere that got stripped when you posted the source to codepad, 
> or b) your data connection is somehow changing things. So try these two 
> things: first, try running this simple program that checks for characters in 
> a file outside of the ASCII range: httphttp://codepad.org/1tTNYvWU. Just pass 
> in the path the cdxml file as the argument.
> 
>       If that comes up clean, then edit the cdxml with any text editor, and 
> change the part that says CxnName="ONCDatabaseConn" to CxnName="". See if 
> that makes any difference.      
> 
> 
> 
> -- 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]

_______________________________________________
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]

Reply via email to