Hi, another email..

In the past email I sent the reply back with the following:

Hi I already did the changes to the symbolic link, but still, it doesn't
work....

freddy@freddy-VirtualBox:/usr/local/lib/python2.7/site-packages$ ll
total 8
drwxrwsr-x 2 root staff 4096 2011-11-10 11:28 ./
drwxrwsr-x 4 root staff 4096 2011-11-10 11:27 ../
lrwxrwxrwx 1 root staff   26 2011-11-10 11:28 dabo ->
/home/freddy/src/dabo/dabo

and When I execute the DaboDemo, still get the same error:

freddy@freddy-VirtualBox:~/src/demo$ python DaboDemo.py
2011-11-10 11:28:47 - ERROR -
No translation file found for domain 'dabo'.
    Locale dir = /usr/lib/locale
    Languages = ['en_US']
    Codeset = UTF8
Traceback (most recent call last):
  File "DaboDemo.py", line 6, in <module>
    import dabo
  File "/usr/local/lib/python2.7/dist-packages/dabo/__init__.py", line 291,
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'


Looking for in Google, I found in the following link kind of part of the
answer to my problem:

http://comments.gmane.org/gmane.comp.python.dabo.user/8620

Basically, the locale directory wasn't copied by the installation script in
/usr/local/lib/python2.7/dist-packages/dabo  so I copied the LOCALE
directory in this path, and now everything is working.

when I enter python, then I type import dabo..  I got no errors, so that's
good.

when I execute now the DaboDemo.py it's working good.

thanks,
-Freddy.





On Thu, Nov 10, 2011 at 11:32 AM, Freddy Barboza Oviedo <
[email protected]> wrote:

> Hi I already did the changes to the symbolic link, but still, it doesn't
> work....
>
>
> freddy@freddy-VirtualBox:/usr/local/lib/python2.7/site-packages$ ll
> total 8
> drwxrwsr-x 2 root staff 4096 2011-11-10 11:28 ./
> drwxrwsr-x 4 root staff 4096 2011-11-10 11:27 ../
> lrwxrwxrwx 1 root staff   26 2011-11-10 11:28 dabo ->
> /home/freddy/src/dabo/dabo
>
> and When I execute the DaboDemo, still get the same error:
>
> freddy@freddy-VirtualBox:~/src/demo$ python DaboDemo.py
> 2011-11-10 11:28:47 - ERROR -
> No translation file found for domain 'dabo'.
>     Locale dir = /usr/lib/locale
>     Languages = ['en_US']
>     Codeset = UTF8
> Traceback (most recent call last):
>   File "DaboDemo.py", line 6, in <module>
>     import dabo
>   File "/usr/local/lib/python2.7/dist-packages/dabo/__init__.py", line
> 291, 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'
>
>
>
>
> On Thu, Nov 10, 2011 at 11:00 AM, <[email protected]> wrote:
>
>> Send Dabo-users mailing list submissions to
>>        [email protected]
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        http://leafe.com/mailman/listinfo/dabo-users
>> or, via email, send a message with subject or body 'help' to
>>        [email protected]
>>
>> You can reach the person managing the list at
>>        [email protected]
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Dabo-users digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Dabo Installation problem. (Freddy Barboza Oviedo)
>>   2.  installation problems (freddyb)
>>   3. Re: installation problems (John Fabiani)
>>   4. Re: Dabo Installation problem. (Ed Leafe)
>>   5. Re: Dabo Installation problem. (John Fabiani)
>>   6. Re: Dabo Installation problem. (Ed Leafe)
>>   7. Re: Dabo Installation problem. (John Fabiani)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 9 Nov 2011 17:51:03 -0600
>> From: Freddy Barboza Oviedo <[email protected]>
>> To: [email protected]
>> Subject: [dabo-users] Dabo Installation problem.
>> Message-ID:
>>        <
>> cabudvelwetu-9zqcawg-sfxhw2hx-dh5kgvhuad1wfaehn-...@mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Hi,
>>
>> I am using ubuntu 11.04, python 2.7, latest stable dabo
>>
>> I am having a problem on the installation, when I test the demo, I got the
>> following error:
>>
>> freddy@freddy-VirtualBox:~/src/demo$ python DaboDemo.py
>> Traceback (most recent call last):
>>  File "DaboDemo.py", line 6, in <module>
>>    import dabo
>>  File "/usr/local/lib/python2.7/dist-packages/dabo/__init__.py", line 290,
>> in <module>
>>    import dLocalize
>>  File "/usr/local/lib/python2.7/dist-packages/dabo/dLocalize.py", line 10,
>> in <module>
>>    import dabo
>>  File "/usr/local/lib/python2.7/dist-packages/dabo/dabo/__init__.py", line
>> 291, in <module>
>>    dLocalize.install("dabo")
>>  File "/usr/local/lib/python2.7/dist-packages/dabo/dabo/dLocalize.py",
>> line 79, in install
>>    setLanguage(_defaultLanguage, _defaultEncoding)
>>  File "/usr/local/lib/python2.7/dist-packages/dabo/dabo/dLocalize.py",
>> line 93, in setLanguage
>>    from dabo.lib.utils import ustr
>>  File "/usr/local/lib/python2.7/dist-packages/dabo/lib/utils.py", line 17,
>> in <module>
>>    from dabo.dLocalize import _
>> ImportError: cannot import name _
>>
>> It is not finding dabo on the path.
>>
>> I already created a symbolic link in
>>
>> freddy@freddy-VirtualBox:/usr/local/lib/python2.7/site-packages$ ll
>> total 8
>> drwxrwsr-x 2 root staff 4096 2011-11-09 17:21 ./
>> drwxrwsr-x 4 root staff 4096 2011-04-25 16:52 ../
>> lrwxrwxrwx 1 root staff   22 2011-11-09 17:21 dabo.pth ->
>> /home/freddy/src/dabo/
>>
>> but still, I cant make it work.
>>
>> Can you please help me?
>>
>> Thanks,
>>
>> -Freddy.
>>
>>
>> --- StripMime Report -- processed MIME parts ---
>> multipart/alternative
>>  text/plain (text body -- kept)
>>  text/html
>> ---
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Wed, 9 Nov 2011 15:54:46 -0800 (PST)
>> From: freddyb <[email protected]>
>> To: [email protected]
>> Subject: [dabo-users]  installation problems
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=us-ascii
>>
>>
>> Hi,
>>
>> I am using ubuntu 11.04, python 2.7, latest stable dabo
>>
>> I am having a problem on the installation, when I test the demo, I got the
>> following error:
>>
>> freddy@freddy-VirtualBox:~/src/demo$ python DaboDemo.py
>> Traceback (most recent call last):
>>  File "DaboDemo.py", line 6, in <module>
>>    import dabo
>>  File "/usr/local/lib/python2.7/dist-packages/dabo/__init__.py", line 290,
>> in <module>
>>    import dLocalize
>>  File "/usr/local/lib/python2.7/dist-packages/dabo/dLocalize.py", line 10,
>> in <module>
>>    import dabo
>>  File "/usr/local/lib/python2.7/dist-packages/dabo/dabo/__init__.py", line
>> 291, in <module>
>>    dLocalize.install("dabo")
>>  File "/usr/local/lib/python2.7/dist-packages/dabo/dabo/dLocalize.py",
>> line
>> 79, in install
>>    setLanguage(_defaultLanguage, _defaultEncoding)
>>  File "/usr/local/lib/python2.7/dist-packages/dabo/dabo/dLocalize.py",
>> line
>> 93, in setLanguage
>>    from dabo.lib.utils import ustr
>>  File "/usr/local/lib/python2.7/dist-packages/dabo/lib/utils.py", line 17,
>> in <module>
>>    from dabo.dLocalize import _
>> ImportError: cannot import name _
>>
>>
>> It is not finding dabo on the path.
>>
>> I already created a symbolic link in
>>
>> freddy@freddy-VirtualBox:/usr/local/lib/python2.7/site-packages$ ll
>> total 8
>> drwxrwsr-x 2 root staff 4096 2011-11-09 17:21 ./
>> drwxrwsr-x 4 root staff 4096 2011-04-25 16:52 ../
>> lrwxrwxrwx 1 root staff   22 2011-11-09 17:21 dabo.pth ->
>> /home/freddy/src/dabo/
>>
>> but still, I cant make it work.
>>
>> Can you please help me?
>>
>> Thanks,
>> --
>> View this message in context:
>> http://old.nabble.com/installation-problems-tp32815043p32815043.html
>> Sent from the dabo-users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Wed, 9 Nov 2011 16:20:20 -0800
>> From: John Fabiani <[email protected]>
>> To: Dabo Users list <[email protected]>
>> Subject: Re: [dabo-users] installation problems
>> Message-ID: <[email protected]>
>> Content-Type: Text/Plain; charset="iso-8859-1"
>>
>> On Wednesday, November 09, 2011 03:54:46 pm freddyb wrote:
>> > Hi,
>> >
>> > I am using ubuntu 11.04, python 2.7, latest stable dabo
>> >
>> > I am having a problem on the installation, when I test the demo, I got
>> the
>> > following error:
>> >
>> > freddy@freddy-VirtualBox:~/src/demo$ python DaboDemo.py
>> > Traceback (most recent call last):
>> >   File "DaboDemo.py", line 6, in <module>
>> >     import dabo
>> >   File "/usr/local/lib/python2.7/dist-packages/dabo/__init__.py", line
>> 290,
>> > in <module>
>> >     import dLocalize
>> >   File "/usr/local/lib/python2.7/dist-packages/dabo/dLocalize.py", line
>> 10,
>> > in <module>
>> >     import dabo
>> >   File "/usr/local/lib/python2.7/dist-packages/dabo/dabo/__init__.py",
>> line
>> > 291, in <module>
>> >     dLocalize.install("dabo")
>> >   File "/usr/local/lib/python2.7/dist-packages/dabo/dabo/dLocalize.py",
>> > line 79, in install
>> >     setLanguage(_defaultLanguage, _defaultEncoding)
>> >   File "/usr/local/lib/python2.7/dist-packages/dabo/dabo/dLocalize.py",
>> > line 93, in setLanguage
>> >     from dabo.lib.utils import ustr
>> >   File "/usr/local/lib/python2.7/dist-packages/dabo/lib/utils.py", line
>> 17,
>> > in <module>
>> >     from dabo.dLocalize import _
>> > ImportError: cannot import name _
>> >
>> >
>> > It is not finding dabo on the path.
>> >
>> > I already created a symbolic link in
>> >
>> > freddy@freddy-VirtualBox:/usr/local/lib/python2.7/site-packages$ ll
>> > total 8
>> > drwxrwsr-x 2 root staff 4096 2011-11-09 17:21 ./
>> > drwxrwsr-x 4 root staff 4096 2011-04-25 16:52 ../
>> > lrwxrwxrwx 1 root staff   22 2011-11-09 17:21 dabo.pth ->
>> > /home/freddy/src/dabo/
>> >
>> > but still, I cant make it work.
>> >
>> > Can you please help me?
>> >
>> > Thanks,
>>
>> I think the "pth" file needs to in the distutils directory.  I could be
>> wrong
>> about this since I'm not using Ubuntu.
>>
>> Johnf
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Wed, 9 Nov 2011 20:03:03 -0600
>> From: Ed Leafe <[email protected]>
>> To: Dabo Users list <[email protected]>
>> Subject: Re: [dabo-users] Dabo Installation problem.
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=us-ascii
>>
>> On Nov 9, 2011, at 5:51 PM, Freddy Barboza Oviedo wrote:
>>
>> >  File "/usr/local/lib/python2.7/dist-packages/dabo/lib/utils.py", line
>> 17, in <module>
>> >    from dabo.dLocalize import _
>> > ImportError: cannot import name _
>> >
>> > It is not finding dabo on the path.
>> >
>> > I already created a symbolic link in
>> >
>> > freddy@freddy-VirtualBox:/usr/local/lib/python2.7/site-packages$ ll
>> > total 8
>> > drwxrwsr-x 2 root staff 4096 2011-11-09 17:21 ./
>> > drwxrwsr-x 4 root staff 4096 2011-04-25 16:52 ../
>> > lrwxrwxrwx 1 root staff   22 2011-11-09 17:21 dabo.pth ->
>> > /home/freddy/src/dabo/
>> >
>> > but still, I cant make it work.
>>
>>        The .pth file should be a text file whose content is the path to
>> the folder containing the main 'dabo' directory. You can either do that, or
>> create a symbolic link to the dabo directory in site-packages, but the link
>> should be named 'dabo', not 'dabo.pth'.
>>
>>
>> -- Ed Leafe
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 5
>> Date: Wed, 9 Nov 2011 18:07:53 -0800
>> From: John Fabiani <[email protected]>
>> To: Dabo Users list <[email protected]>
>> Subject: Re: [dabo-users] Dabo Installation problem.
>> Message-ID: <[email protected]>
>> Content-Type: Text/Plain; charset="iso-8859-1"
>>
>> On Wednesday, November 09, 2011 06:03:03 pm Ed Leafe wrote:
>> >  The .pth file should be a text file whose content is the path to the
>> > folder containing the main 'dabo' directory. You can either do that, or
>> > create a symbolic link to the dabo directory in site-packages, but the
>> > link should be named 'dabo', not 'dabo.pth'.
>> >
>> >
>> > -- Ed Leafe
>>
>> If your going to use a pth file should the file be in the distutils
>> directory
>> for Ubuntu?
>>
>> Johnf
>>
>>
>> ------------------------------
>>
>> Message: 6
>> Date: Wed, 9 Nov 2011 20:16:42 -0600
>> From: Ed Leafe <[email protected]>
>> To: Dabo Users list <[email protected]>
>> Subject: Re: [dabo-users] Dabo Installation problem.
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=us-ascii
>>
>> On Nov 9, 2011, at 8:07 PM, John Fabiani wrote:
>>
>> > If your going to use a pth file should the file be in the distutils
>> directory
>> > for Ubuntu?
>>
>>        That changes from release to release, so I'm not 100% sure. If
>> there are other packages in the directory he is using that are importable
>> in Python, then the .pth file should work there, too.
>>
>>
>> -- Ed Leafe
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 7
>> Date: Wed, 9 Nov 2011 18:36:21 -0800
>> From: John Fabiani <[email protected]>
>> To: Dabo Users list <[email protected]>
>> Subject: Re: [dabo-users] Dabo Installation problem.
>> Message-ID: <[email protected]>
>> Content-Type: Text/Plain; charset="iso-8859-1"
>>
>> On Wednesday, November 09, 2011 06:16:42 pm Ed Leafe wrote:
>> > On Nov 9, 2011, at 8:07 PM, John Fabiani wrote:
>> > > If your going to use a pth file should the file be in the distutils
>> > > directory for Ubuntu?
>> >
>> >       That changes from release to release, so I'm not 100% sure. If
>> there are
>> > other packages in the directory he is using that are importable in
>> Python,
>> > then the .pth file should work there, too.
>> >
>> >
>> > -- Ed Leafe
>>
>> Thanks
>> Johnf
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Dabo-users mailing list
>> [email protected]
>> http://leafe.com/mailman/listinfo/dabo-users
>> Searchable Archives: http://leafe.com/archives/search/dabo-users
>>
>>
>> End of Dabo-users Digest, Vol 89, Issue 8
>> *****************************************
>>
>
>


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
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/cabudvekvh+g0ukrrfvaeyi9i7yq++beovggxy-jf_08k1bq...@mail.gmail.com

Reply via email to