Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion mercurial-plugin-012 trunk bug with locale
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jorge Vargas  
View profile  
 More options Jan 25 2009, 12:29 pm
From: Jorge Vargas <jorge.var...@gmail.com>
Date: Sun, 25 Jan 2009 13:29:57 -0400
Local: Sun, Jan 25 2009 12:29 pm
Subject: mercurial-plugin-012 trunk bug with locale
Hello,

Please let me know if this isn't the place for this.

I just installed trac multirepo branch + mercurial plugin, and I'm
loving it awesome work and I hope this becomes the main branch for the
upcomming 0.12 release. That said I think I found a bug, but I'm not
100% sure. after the new i18n was added the following line was
introduced.

locale_dir = pkg_resources.resource_filename(__name__,'../locale')

I see two problems with this.
#1 __name__ is not supported in zipped eggs, which is the recommended
installation method for trac plugins.
#2 I believe the ../locale syntax isn't supported by said function.

ideally the first param should be the package name and the second only
"locale" but to be honest I don't know much of pkg_resources api to be
sure which will be the correct value.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.