On Oct 16, 2006, at 4:12 AM, Rick Graves wrote:
Do you have a terminal window open to see any
possible tracebacks?
I copied the text from the terminal window and put it
here:
http://www.advanced-app.com.hk/MiscJunk/ReportDesignerErrors.txt
Does that help?
OK, I think that I have a fix for this. Since you're using the
nightly tarballs instead of subversion, you can make this change
manually. Open up dabo/ui/uiwx/dDataControlMixin.py, and change the
beginning of the _coerceValue method so that it looks like this:
37 def _coerceValue(self, val, oldval):
38 convTypes = (str, unicode, int, float, long, complex)
39 oldType = type(oldval)
40 if isinstance(val, convTypes) and isinstance(oldval,
basestring):
41 if isinstance(oldType, str):
42 val = str(val)
43 else:
44 if not isinstance(val, unicode):
45 val = unicode(val,
self.Application.Encoding)
46 elif isinstance(oldval, int) and isinstance(val, basestring):
The lines that have changed are numbered 44-45 above; all I've done
is add a check to see if the value is already a unicode value, and if
so, skip it.
Once you make this change to your copy of dDataControlMixin.py, try
it again and let us know how it's working.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users