Bug 11973

Summary: Transifex commandline instructions in gnome-terminal after installation doesn't work
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Normal CC: lovaren, marja11
Version: 3Keywords: Triaged
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: transifex CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 11737    

Description Kristoffer Grundström 2013-12-12 23:24:36 CET
Description of problem: I just freshly installed Mageia 3 on my Toshiba Satellite L755-1DR netbook and I'm not using any Testing or Backport-medias. Kernel used is 3.8.13.4-desktop-1.mga3 and I desided to install transifex and transifex-client, thatwent fine, but as I try to perform ./manage.py txcreatedirs as root I endup with this error:

[root@localhost ~]# cd /usr/share/transifex/
[root@localhost transifex]# ./manage.py txcreatedirs
Traceback (most recent call last):
  File "./manage.py", line 20, in <module>
    execute_manager(settings)
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 459, in execute_manager
    utility.execute()
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 217, in execute
    translation.activate('en-us')
  File "/usr/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 105, in activate
    return _trans.activate(language)
  File "/usr/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 194, in activate
    _active.value = translation(language)
  File "/usr/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 183, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/usr/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 160, in _fetch
    app = import_module(appname)
  File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/usr/share/transifex/../transifex/releases/__init__.py", line 1, in <module>
    from transifex.releases import handlers
  File "/usr/share/transifex/../transifex/releases/handlers.py", line 3, in <module>
    from transifex.resources.models import Resource
  File "/usr/share/transifex/../transifex/resources/models.py", line 97, in <module>
    class Resource(models.Model):
  File "/usr/share/transifex/../transifex/resources/models.py", line 126, in Resource
    ', '.join(settings.TRANS_CHOICES.keys()))
  File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 142, in __mod__
    return unicode(self) % rhs
  File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 121, in __unicode_cast
    return func(*self.__args, **self.__kw)
  File "/usr/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 86, in ugettext
    return _trans.ugettext(message)
  File "/usr/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 278, in ugettext
    return do_translate(message, 'ugettext')
  File "/usr/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 268, in do_translate
    _default = translation(settings.LANGUAGE_CODE)
  File "/usr/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 183, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/usr/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 160, in _fetch
    app = import_module(appname)
  File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/usr/lib/python2.7/site-packages/django_filters/__init__.py", line 1, in <module>
    from django_filters.filterset import FilterSet
  File "/usr/lib/python2.7/site-packages/django_filters/filterset.py", line 188, in <module>
    'filter_class': CharFilter,
AttributeError: 'module' object has no attribute 'XMLField' 

Version-Release number of selected component (if applicable): 1.1.0

How reproducible: Haven't tried it more than once.

Steps to Reproduce:
1. Make sure you disable any Testing or Backports-medias first.
2. Login to Gnome. 
3. Open gnome-terminal and login as root (su -).
4. Now do urpmi transifex transifex-client --auto and then press Enter/Return/Execute-button to start installing.
5. Now cd to /usr/share/transifex and type ./manage.py txcreatedirs and press Enter/Return/Execute-button).
6. Voila! You'll see the above mentioned error now.

Reproducible: 

Steps to Reproduce:
Kristoffer Grundström 2013-12-12 23:24:47 CET

CC: (none) => kristoffer.grundstrom1983

Comment 1 Manuel Hiebel 2013-12-22 14:00:14 CET
(time to drop)

Keywords: (none) => Triaged
Blocks: (none) => 11737

Comment 2 Marja Van Waes 2014-05-03 22:57:17 CEST
Upstream is dead and the package is retired
http://svnweb.mageia.org/packages/obsolete/transifex/
so closing as WONTFIX

Status: NEW => RESOLVED
CC: (none) => marja11
Resolution: (none) => WONTFIX