lottanzb team mailing list archive
-
lottanzb team
-
Mailing list archive
-
Message #00022
[Bug 434199] [NEW] 'local' object has no attribute 'bindtextdomain' on FreeBSD using Python 2.6.2
Public bug reported:
Hi, I maintain the lottanzb port on FreeBSD and am trying to update it
from 0.4.1 to 0.5.1. When trying to run it I get the following error:
Traceback (most recent call last):
File "/usr/local/bin/lottanzb", line 6, in <module>
app = App()
File "/usr/local/lib/python2.6/site-packages/lottanzb/util.py", line 59, in __call__
mcs.__instance = GObjectMeta.__call__(mcs, *args, **kwargs)
File "/usr/local/lib/python2.6/site-packages/lottanzb/core.py", line 114, in __init__
self.setup_translation()
File "/usr/local/lib/python2.6/site-packages/lottanzb/core.py", line 138, in setup_translation
module.bindtextdomain(domain, resources.get_locale())
AttributeError: 'module' object has no attribute 'bindtextdomain'
This is with python 2.6.2. The "module" in question I believe is locale
and if I remove it from the list in setup_translation it *seems* to work
ok. Any ideas?
Cheers,
Zach
** Affects: lottanzb
Importance: Undecided
Status: New
--
'local' object has no attribute 'bindtextdomain' on FreeBSD using Python 2.6.2
https://bugs.launchpad.net/bugs/434199
You received this bug notification because you are a member of LottaNZB
Development Team, which is subscribed to LottaNZB.
Status in LottaNZB • Automated Usenet Client: New
Bug description:
Hi, I maintain the lottanzb port on FreeBSD and am trying to update it from 0.4.1 to 0.5.1. When trying to run it I get the following error:
Traceback (most recent call last):
File "/usr/local/bin/lottanzb", line 6, in <module>
app = App()
File "/usr/local/lib/python2.6/site-packages/lottanzb/util.py", line 59, in __call__
mcs.__instance = GObjectMeta.__call__(mcs, *args, **kwargs)
File "/usr/local/lib/python2.6/site-packages/lottanzb/core.py", line 114, in __init__
self.setup_translation()
File "/usr/local/lib/python2.6/site-packages/lottanzb/core.py", line 138, in setup_translation
module.bindtextdomain(domain, resources.get_locale())
AttributeError: 'module' object has no attribute 'bindtextdomain'
This is with python 2.6.2. The "module" in question I believe is locale and if I remove it from the list in setup_translation it *seems* to work ok. Any ideas?
Cheers,
Zach
Follow ups
References