Paul McNary wrote:
> Hello
> 
> I just installed the current SVN version.
> I had problems before with Python's getFileSystemEncoding
> returning 'None'.
> 
> When I try to run an app the first error I get now is
> 
> File "....../dabo/db/dbSQLite.py", line 60, in getConnection
>     pth = pth.decode(dabo.fielSystemEncoding).encode("utf-8")
> TypeError: decode() argument 1 must be string, not None
> 
> 
> On the 4811 version I had to make 3 patches but I thought
> the "none" possibility had been handled.
> 
> My system will always return None, so how do I handle this
> with the current revisions? I would rather not have to hand
> patch every release.

You can try to set your encoding after you created your dApp object.

# lang = 'en_US'
# charset = 'UTF8'
app = dabo.dApp()
app.setLanguage(lang, charset)

If this doesn't help there is a something missing in Dabo.
I guess getting None as filesystemencoding isn't the normal thing to have.

Uwe

_______________________________________________
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