[dabo-users] Dabo Error When Opening Database File

2007-02-03 Thread Telly Williams
Hi,

I was following the screencast for starting up Dabo and creating a
database from MySQL.  Thing is, when I enter the command: python
test.py, and the screen appears for a hot second and then I see this
error (below) on the DOS screen.  I changed my version of wxPython to
2.6, but it didn't seem to make a difference.  Anyone have any clues as
to what's up?  Thanks!

Telly

#BEGIN ERROR MESSAGE

C:\Dabo\daboide\wizards\AppWizard\test>python test.py
Dabo Info Log: Sat Feb 03 17:52:04 2007: 1 database connection
definition(s) loa
ded.
Dabo Info Log: Sat Feb 03 17:52:04 2007: User interface already set to
'wx', so
dApp didn't touch it.
Dabo Info Log: Sat Feb 03 17:52:04 2007: wxPython Version: 2.6.3.3 wxMSW
(ascii)

Traceback (most recent call last):
  File "test.py", line 56, in ?
frm(app.MainForm).show()
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\lib\datanav\For
m.py", line 62, in __init__
super(Form, self).__init__(parent, *args, **kwargs)
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\ui\uiwx\dForm.p
y", line 782, in __init__
BaseForm.__init__(self, preClass, parent, properties, *args, **kwargs)
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\ui\uiwx\dForm.p
y", line 39, in __init__
fm.dFormMixin.__init__(self, preClass, parent, properties, *args,
**kwargs)
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\ui\uiwx\dFormMi
xin.py", line 62, in __init__
attProperties, *args, **kwargs)
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\ui\uiwx\dPemMix
in.py", line 180, in __init__
self._afterInit()
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\lib\datanav\For
m.py", line 71, in _afterInit
super(Form, self)._afterInit()
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\ui\uiwx\dForm.p
y", line 65, in _afterInit
super(BaseForm, self)._afterInit()
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\ui\uiwx\dFormMi
xin.py", line 102, in _afterInit
super(dFormMixin, self)._afterInit()
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\ui\uiwx\dPemMix
in.py", line 277, in _afterInit
self.afterInit()
  File "C:\Dabo\daboide\wizards\AppWizard\test\ui\FrmRepository.py",
line 32, in
 afterInit
self.creation()
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\lib\datanav\For
m.py", line 548, in creation
self.setupMenu()
  File "C:\Dabo\daboide\wizards\AppWizard\test\ui\FrmBase.py", line 19,
in setup
Menu
self.super()
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\lib\autosuper\a
utosuper.py", line 175, in __call__
return method(*p, **kw)
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\lib\datanav\For
m.py", line 293, in setupMenu
mb.insertMenu(menuIndex, self.getMenu())
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\lib\datanav\For
m.py", line 202, in getMenu
title = "&%s\tAlt+3" % (_(self.pageFrame.Pages[index].Caption))
  File
"c:\python24\lib\site-packages\Dabo-0.7.2s-py2.4.egg\dabo\dLocalize.py",
line 63, in _
return __trans.ugettext(str(s))
  File "C:\Python24\lib\gettext.py", line 217, in ugettext
return unicode(message)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf0 in position 4:
ordinal
not in range(128)

C:\Dabo\daboide\wizards\AppWizard\test>

#---END ERROR MESSAGE

___
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users


Re: [dabo-users] Dabo Error When Opening Database File

2007-02-03 Thread Paul McNett
Telly Williams wrote:
>   I was following the screencast for starting up Dabo and creating a
> database from MySQL.  Thing is, when I enter the command: python
> test.py, and the screen appears for a hot second and then I see this
> error (below) on the DOS screen.  I changed my version of wxPython to
> 2.6, but it didn't seem to make a difference.  Anyone have any clues as
> to what's up?  Thanks!

I think it is likely that the problem reduces down to you using the 
ascii version of wxPython instead of unicode. Can you install the 
unicode wxPython and try again?

-- 
pkm ~ http://paulmcnett.com


___
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users