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]

Reply via email to