That is interesting - you were able to set the Dabo path? I couldn't
get that to work. Of course I was not attempting to get the dabodemo
to work either.
At the moment I'm able to get almost everything working that I use -
that includes grids, etc... That said, I do not normally use
ClassDesigner, AppWizard or the ReportDesigner. I have been able to get
both scripts to open and run but many of the features are not working.
I can't recall why but I started hand coding all my Dabo apps many years
ago. ReportDesigner will open a rfxml file and I can move fields around
using the arrow keys but I'm unable to drag and drop. ClassDesigner will
open add a database, pick the tables, and fields - but stops. AppWizard
also opens and actually creates the required scripts but the script are
not python3.
Johnf
On 11/5/19 10:56 AM, Ralf Ullrich wrote:
Hello Ed,
no, that didn't work either. I even copied the whole dabo source into my
virtualenv's site-packages folder, but still got the same error.
But I fixed it then manually: my locale is german, and the last line in the
traceback that is dabo-specific before it calls standard python functionality
is in dLocalize.py, function setLanguage:
daboTranslation = gettext.translation("dabo", daboLocaleDir, languages=lang,
codeset=charset)
It seems that the german translation file is at least part of the problem, so I
changed that line and used the default
daboTranslation = gettext.translation("dabo", daboLocaleDir,
languages=["en"], codeset=charset)
At least now I can start the DaboDemo.py, though it has all kinds of problems
that can be seen in the console window.
Kind regards,
Ralf
Am 04.11.19 um 22:58 schrieb Ed Leafe:
On Nov 4, 2019, at 1:23 PM, Ralf Ullrich <[email protected]>
<mailto:[email protected]> wrote:
I then git-cloned dabo, checked out branch dabo3 and tried python
setup.py install, but I'm getting this error:
That really should work, but it doesn’t - too much has changed since that was
written. What I would recommend is set up a soft link to the dabo code in your
venv. Something like this:
cd <venv location>/lib/python3.6/lib/site-packages
ln -s /<path>/<to>/dabo/dabo
Test this by going to your home directory, activating your venv, starting
python, and typing ‘import dabo’. That should execute with no error. Something
like this (running ipython):
In [1]: import dabo
dabo
In [2]: dabo.__path__
Out[2]: ['/Users/ed/projects/dabo/vdabo/lib/python3.6/site-packages/dabo’]
-- Ed Leafe
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: https://leafe.com/archives
This message:
https://leafe.com/archives/byMID/[email protected]