Certainly I'm not going to discuss with you on Trac or Python related topics but I only see the Babel line on system information when the babel folders are in the plugins directories. Anyway finally this is not relevant if we need a Trac reinstallation to finish Babel installation.

I'm not sure if I will contact the admin about this. We can agree that the most critical point for our Trac system at this moment is to upgrade and not to reinstall and I will push for it.

Even so, thanks for your support. I still learned a lot.


Nicolas


On 02/08/2017 21:26, RjOllos wrote:


On Wednesday, August 2, 2017 at 12:19:06 PM UTC-7, Nicolas MARTIN wrote:

    Well small improvement but the problem remains after two different
    methods.

    In fact, I had an easy_install binary in my config that was broken
    (scraps from previous tests). After some cleaning, I got back to
    the /usr/bin/easy_install and retried my initial installation of
    babel from the repository. This time no runtime error but 'about'
    page still complains about the translations files.

    Then I followed your suggestion with wheels :

    $ pip install --user --find-links wheels/ babel
    Collecting babel
      Retrying (Retry(total=4, connect=None, read=None,
    redirect=None)) after connection broken by
    
'NewConnectionError("<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection
    object at 0x1efce90>: Failed to establish a new connection: [Errno
    101] Le r\xc3\xa9seau n'est pas accessible",)': /simple/babel/
      Retrying (Retry(total=3, connect=None, read=None,
    redirect=None)) after connection broken by
    
'NewConnectionError("<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection
    object at 0x1efcbd0>: Failed to establish a new connection: [Errno
    101] Le r\xc3\xa9seau n'est pas accessible",)': /simple/babel/
      Retrying (Retry(total=2, connect=None, read=None,
    redirect=None)) after connection broken by
    
'NewConnectionError("<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection
    object at 0x1efc990>: Failed to establish a new connection: [Errno
    101] Le r\xc3\xa9seau n'est pas accessible",)': /simple/babel/
      Retrying (Retry(total=1, connect=None, read=None,
    redirect=None)) after connection broken by
    
'NewConnectionError("<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection
    object at 0x1e58b90>: Failed to establish a new connection: [Errno
    101] Le r\xc3\xa9seau n'est pas accessible",)': /simple/babel/
      Retrying (Retry(total=0, connect=None, read=None,
    redirect=None)) after connection broken by
    
'NewConnectionError("<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection
    object at 0x1e58750>: Failed to establish a new connection: [Errno
    101] Le r\xc3\xa9seau n'est pas accessible",)': /simple/babel/
    Requirement already satisfied: pytz>=0a in
    /usr/lib/python2.7/site-packages (from babel)
    Installing collected packages: babel
    Successfully installed babel-2.4.0

    I found 2 folders in my local site-packages directory ('babel' &
    'Babel-2.4.0.dist-info') and copied them to '~/trac/plugins'.
    Finally I got almost the same outcome:

    Babel Failed to read PKG-INFO file for Babel 2.4.0: [Errno 2] No
    such file or directory:
    'xxxxxxxxxx/trac/plugins/Babel-2.4.0.dist-info/PKG-INFO'
    (translations unavailable)


    But I'm in doubt now that my attempts are in fact useless: on
    https://trac.edgewall.org/wiki/TracDownload#PreviousStableRelease
    <https://trac.edgewall.org/wiki/TracDownload#PreviousStableRelease>,
    the prerequisites section specifies "Babel: ​1.3
    <https://pypi.python.org/pypi/Babel/1.3> (or ​0.9.6
    <https://babel.edgewall.org/wiki/Download#LatestRelease:0.9.6-2011-03-17>,
    win32 installer available) needed for localizing Trac, otherwise
    optional. Note that it needs to be installed *before* Trac when
    installing the latter from source (.gz or .zip)."


You don't want to copy babel into the plugins directory, since it's not actually a plugin. It is enought to have it installed in site-packages. Revert that step, and you should be okay.

If translations are unavailable then you'll need to reinstall Trac now that Babel is installed.

- Ryan


--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to