There are no directories under the dabo\locale directory. Only a file
named "dabo.pot". Here's my output from my python session:
C:\Users\dave\Documents\it-crm>c:\Python26\python.exe
Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> print locale.getdefaultlocale()
('en_US', 'cp1252')
>>> print locale.getlocale()
(None, None)
>>>
Here are the files from my application's biz directory. I have also
pasted my creatBizobjs method:
__init__.py
http://dabo.codepad.org/P9KLlmMj
PubliccustomerBizobj.py
http://dabo.codepad.org/ciROTqSm
PubliccustomerhistoryBizobj.py
http://dabo.codepad.org/fwXMZLvR
createBizobjs() method:
http://dabo.codepad.org/VaO82sua
Thanks again.
On 1/24/2011 7:30 AM, Ed Leafe wrote:
> On Jan 24, 2011, at 1:27 AM, David Martinez wrote:
>
>> Here's everything up to the point at which the error comes up.
>>
>>
>> C:\Users\dave>classdesigner.py
>> 2011-01-23 23:23:55 - ERROR -
>> No translation file found for domain 'dabo'.
>> Locale dir =
>> C:\Python26\lib\site-packages\dabo-0.9.3-py2.6.egg\dabo\locale
>> Languages = ['en_US']
>> Codeset = cp1252
> This is not good. Do you have directories within the dabo\locale
> directory?
>
> If you start an interactive Python session and type the following, what
> do you get:
>
> import locale
> print locale.getdefaultlocale()
> print locale.getlocale()
>
>> C:\Python26\lib\site-packages\dabo-0.9.3-py2.6.egg\dabo\lib\SimpleCrypt.py:52:
>> U
>> serWarning: WARNING: SimpleCrypt is not secure. Please see
>> http://wiki.dabodev.c
>> om/SimpleCrypt for more information warnings.warn("WARNING: SimpleCrypt
>> is not secure. Please see http://wiki.dabodev.com/SimpleCrypt for more
>> information")
>> C:\Python26\lib\site-packages\dabo-0.9.3-py2.6.egg\dabo\ui\uiwx\dGrid.py:4573:
>> D
>> eprecationWarning: ShowColumnLabels is deprecated. Use ShowHeaders instead
>> warnings.warn(_("ShowColumnLabels is deprecated. Use ShowHeaders
>> instead"), DeprecationWarning)
>> C:\Python26\scripts\ide\ClassDesigner.py:1879: DeprecationWarning:
>> BaseException
>> .message has been deprecated as of Python 2.6 dabo.ui.stop(_("Attribute
>> Error: %s") % e.message, _("AttributeError"))
> The rest of this is typical stuff that Dabo spits out on the theory
> that it's better to nag you constantly about things that aren't terribly
> important. :)
>
> I'm still surprised that you are getting a dialog instead of a
> traceback. If the code isn't top-secret or anything, can you paste the entire
> bizobj class files on dabo.codepad.org?
>
>
>
> -- 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]