Użytkownik Paul McNett napisał:
> Here's the relevant code in dCursorMixin (the error itself is raised on line
> 377):
>
> 369 try:
> 370 _records = self.fetchall()
> 371 except Exception, e:
> 372 _records = dabo.db.dDataSet()
> 373 # Database errors need to be decoded from database encoding.
> 374 try:
> 375 errMsg = ustr(e).decode(self.Encoding)
> 376 except UnicodeError:
> 377 errMsg = unicode(e)
> 378 dabo.log.error("Error fetching records: %s" % errMsg)
>
> I'm not boned-up enough on unicode encoding/decoding issues to know what to
> do. Other
> customers have upgraded just fine. This one customer is using the software in
> an
> unsupported way (putting the sqlite database on a network share and pointing
> multiple
> concurrent clients to it), so perhaps he's exposing something that wouldn't
> normally
> occur, but it could also be that we need to explicitly specify an encoding to
> the
> unicode(e) call...
>
Hi.
Did your bizobj.Encoding is differ than dabo.defaultEncoding?
And what encoding are you using?
Please, change line 376 to:
376 except UnicodeError, ex:
377 dabo.log.error("%r" % ex.message)
and give me log output.
--
Regards
Jacek Kałucki
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]