My background: a Chartered Accountant (equivalent to CPA), CWA and more -
self learnt programmer to say it simple, I developed VFP based accounting
applications ever since VFP came into existence and before that on FoxBase
(and even before that on COBAL+ since 1980). I make a living by developing
these custom applications all along. I still have a few users not willing
to come out of my FxPro 2.6 and VFP8 applications. I am trying to convert
these to probably dabo based. I will be glad, if I can achieve it.
I bought a new MacPro (Yosemite) - default sqlite3 and python 2.7.6 pre
installed,
- created a new volume
- installed dabo 0.9.14
- set the path and tested+ve python -> import wx -> import dabo
I downloaded the The Step-By-Step Guide to Dabo Programming by Ed Leaf.
-Create a Sqlite3 datbase daboconsult with tables clients and hours. For
the time being I left it on the hours folder where I created them.
Also created the ConsultHours.cnxml successfully. Cretaed the BizObjects as
specified in the biz folder. (Chapter 2 completed)
*- Everything responded properly and fine till this.*
Chapter-3 - I ran the ClassDesigner.py and ended up with the error..
===========================================================
Traceback (most recent call last):
File "/Volumes/Gs-Applications/dabo-0.9.14/ide/ClassDesigner.py", line
4474, in <module>
clsDes = ClassDesigner(f)
File "/Volumes/Gs-Applications/dabo-0.9.14/ide/ClassDesigner.py", line
243, in __init__
self.setup()
File "/Volumes/GS-Applications/dabo-0.9.14/dabo/dApp.py", line 329, in
setup
self._initModuleNames()
File "/Volumes/GS-Applications/dabo-0.9.14/dabo/dApp.py", line 958, in
_initModuleNames
self.__setattr__(dd, __import__(dd, globals(), locals(), [], 0))
File "/Volumes/GS-Applications/Hours/hours/biz/__init__.py", line 17
from GsClasses import HoursBizobj
^
=====================================================
Then I changed to default mac volume and ran the same command. This time,
the class designer appeared to work initially but when I continued with
form creation, a dump was sent to my terminal as given below:
----------------------------------------------------------------
GS-MAC:~ gsubrama$ python
/Volumes/Gs-Applications/dabo-0.9.14/ide/ClassDesigner.py
Traceback (most recent call last):
File "/Volumes/Gs-Applications/dabo-0.9.14/ide/ClassDesigner.py", line
4474, in <module>
clsDes = ClassDesigner(f)
File "/Volumes/Gs-Applications/dabo-0.9.14/ide/ClassDesigner.py", line
294, in __init__
ed = self.EditorForm
File "/Volumes/Gs-Applications/dabo-0.9.14/ide/ClassDesigner.py", line
4341, in _getEditorForm
self._editorForm = EditorForm(None)
File "/Volumes/GS-Applications/dabo-0.9.14/dabo/ui/uiwx/dForm.py", line
1044, in __init__
*args, **kwargs)
File "/Volumes/GS-Applications/dabo-0.9.14/dabo/ui/uiwx/dForm.py", line
40, in __init__
attProperties=attProperties, *args, **kwargs)
File "/Volumes/GS-Applications/dabo-0.9.14/dabo/ui/uiwx/dFormMixin.py",
line 76, in __init__
attProperties=attProperties, *args, **kwargs)
File "/Volumes/GS-Applications/dabo-0.9.14/dabo/ui/uiwx/dPemMixin.py",
line 202, in __init__
self._afterInit()
File "/Volumes/GS-Applications/dabo-0.9.14/dabo/ui/uiwx/dForm.py", line
58, in _afterInit
super(BaseForm, self)._afterInit()
File "/Volumes/GS-Applications/dabo-0.9.14/dabo/ui/uiwx/dFormMixin.py",
line 128, in _afterInit
super(dFormMixin, self)._afterInit()
File "/Volumes/GS-Applications/dabo-0.9.14/dabo/ui/uiwx/dPemMixin.py",
line 340, in _afterInit
self.afterInit()
File "/Volumes/GS-Applications/dabo-0.9.14/ide/ClassDesignerEditor.py",
line 234, in afterInit
EditorControl(pnl, RegID="editor")
File "/Volumes/GS-Applications/dabo-0.9.14/dabo/ui/uiwx/dEditor.py", line
260, in __init__
self._encoding = dabo.getEncoding()
File "/Volumes/GS-Applications/dabo-0.9.14/dabo/__init__.py", line 19, in
getEncoding
encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1] or
defaultEncoding
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py",
line 530, in getlocale
return _parse_localename(localename)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py",
line 443, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
Exception AttributeError: "'EditorControl' object has no attribute
'_unRegisterFunc'" in <bound method EditorControl.deadCheckFunc of
<ClassDesignerEditor.EditorControl (baseclass dabo.ui.dEditor, id:227)>>
ignored
GS-MAC:~ gsubrama$
----------------------------------------------------------------------------
*Is there anything I am doing wrong ?. (obviously something is wrong). Can
I get a resolution ?*
Thanks in advance.
Warm regards
Subramanian G
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/CAMd3RhUt=bTBd8ZtPctpSkF_HfZt=p4ageit6_rkgnohsxc...@mail.gmail.com