Hello,

I downloaded the Linux version of Dabo from http://dabodev.com/download, today. 
I then followed the instructions under Latest Release. The version I downloaded 
is 0.9.14. The following errors were received:

---------------------------------------------------------------------------
This script requires setuptools version 0.6c9 to run (even to display
help).  I will attempt to download it for you (from
http://pypi.python.org/packages/2.7/s/setuptools/), but
you may need to enable firewall access for this script first.
I will start the download in 15 seconds.

(Note: if this machine does not have network access, please obtain the file

   http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c9-py2.7.egg

and place it in this directory before rerunning this script.)
---------------------------------------------------------------------------
Downloading 
http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c9-py2.7.egg
Traceback (most recent call last):
  File "setup.py", line 4, in <module>
    ez_setup.use_setuptools()
  File "/home/patrick/dabo-0.9.14/ez_setup.py", line 102, in use_setuptools
    return do_download()
  File "/home/patrick/dabo-0.9.14/ez_setup.py", line 80, in do_download
    egg = download_setuptools(version, download_base, to_dir, download_delay)
  File "/home/patrick/dabo-0.9.14/ez_setup.py", line 141, in download_setuptools
    src = urllib2.urlopen(url)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 406, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 438, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 406, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 444, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found


I navigated to 
http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c9-py2.7.egg and 
received a 404 error. I then navigated to 
http://pypi.python.org/packages/2.7/s/setuptools and found and downloaded 
setuptools-0.6c11-py2.7.egg<https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg>.
 I placed the egg file in the same directory as setup.py and ez_setup.pyc. I 
then ran the setup program again and received the same messages as above.



It appears that ez_setup.pyc doesn't automatically detect the version of 
setuptools to use. I do not wish to install the latest development release 
unless it is the only option or is guaranteed to be stable. Also, if setuptools 
is required I don't understand why it wasn't included in the tarball in the 
first place.



I then changed the file name of setuptools to match the reported missing 
version and got the setup to complete.



Next, I create the sample file with the following text:



import dabo

app = dabo.dApp()

app.start()



When run I see the following output:



2014-02-06 00:42:43 - ERROR -

No translation file found for domain 'dabo'.

    Locale dir = /usr/lib/locale

    Languages = ['en_US']

    Codeset = UTF-8

Traceback (most recent call last):

  File "sample.py", line 1, in <module>

    import dabo

  File "/usr/local/lib/python2.7/dist-packages/dabo/__init__.py", line 186, in 
<module>

    dLocalize.install("dabo")

  File "/usr/local/lib/python2.7/dist-packages/dabo/dLocalize.py", line 79, in 
install

    setLanguage(_defaultLanguage, _defaultEncoding)

  File "/usr/local/lib/python2.7/dist-packages/dabo/dLocalize.py", line 113, in 
setLanguage

    daboTranslation = gettext.translation("dabo", daboLocaleDir, 
languages=["en"], codeset=charset)

  File "/usr/lib/python2.7/gettext.py", line 484, in translation

    raise IOError(ENOENT, 'No translation file found for domain', domain)

IOError: [Errno 2] No translation file found for domain: 'dabo'





When I run the "import dabo" line in the python interpreter I see the same 
error message.



Please help,



Patrick


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
Post Messages to: Dabo-users@leafe.com
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/E53177F00BEC304993A095542AD81F1E01DF6B594F7A@LINX1002.linxconsulting.local

Reply via email to