[tryton-debian] Bug#806781: tryton-modules-party: Need to specify the correct minimal version of python-stdnum

Raphaël Hertzog hertzog at debian.org
Tue Dec 1 08:54:49 UTC 2015


Package: tryton-modules-party
Version: 3.8.0-1
Severity: normal

Hello,

I installed the backport of tryton on wheezy but I got a failure during
database upgrade:
18474 140635880355584 [2015-12-01 08:46:27,838] INFO trytond.modules party:registering classes
Traceback (most recent call last):
  File "/usr/bin/trytond", line 80, in <module>
    server.TrytonServer(options).run()
  File "/usr/lib/python2.7/dist-packages/trytond/server.py", line 112, in run
    Pool(db_name).init(update=self.options.update, lang=lang)
  File "/usr/lib/python2.7/dist-packages/trytond/pool.py", line 144, in init
    self.start()
  File "/usr/lib/python2.7/dist-packages/trytond/pool.py", line 97, in start
    register_classes()
  File "/usr/lib/python2.7/dist-packages/trytond/modules/__init__.py", line 358, in register_classes
    mod_file, pathname, description)
  File "/usr/lib/python2.7/dist-packages/trytond/modules/party/__init__.py", line 6, in <module>
    from .party import *
  File "/usr/lib/python2.7/dist-packages/trytond/modules/party/party.py", line 6, in <module>
    import stdnum.exceptions
ImportError: No module named exceptions

Apparently version 0.7 of python-stdnum which is in wheezy does not provide the
required module. However version 1.0 in jessie does provide it.

You might want to include a backport of that module in your wheezy repository.

-- System Information:
Debian Release: stretch/sid
  APT prefers squeeze-lts
  APT policy: (500, 'squeeze-lts'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the tryton-debian mailing list