Your message dated Mon, 19 Dec 2016 10:24:20 +0000
with message-id <[email protected]>
and subject line Bug#847436: fixed in tryton-server 4.2.0-2
has caused the Debian Bug report #847436,
regarding tryton-server: Upgrade does not work without tryton-modules-webdav
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
847436: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847436
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: tryton-server
Version: 4.2.0-1
Severity: important

I'm upgrading a 3.8 instance towards 4.2 (on a jessie system) and in the
process tryton-modules-webdav has not been installed.

When I try to run the upgrade process I get this failure:

$ sudo -u tryton trytond-admin -c /etc/tryton/trytond.conf --all -d tryton
Traceback (most recent call last):
  File "/usr/bin/trytond-admin", line 21, in <module>
    admin.run(options)
  File "/usr/lib/python2.7/dist-packages/trytond/admin.py", line 53, in run
    pool.init(update=options.update, lang=list(lang))
  File "/usr/lib/python2.7/dist-packages/trytond/pool.py", line 155, in init
    lang=lang)
  File "/usr/lib/python2.7/dist-packages/trytond/modules/__init__.py", line 
457, in load_modules
    _load_modules()
  File "/usr/lib/python2.7/dist-packages/trytond/modules/__init__.py", line 
424, in _load_modules
    graph = create_graph(module_list)[0]
  File "/usr/lib/python2.7/dist-packages/trytond/modules/__init__.py", line 
159, in create_graph
    info = get_module_info(module)
  File "/usr/lib/python2.7/dist-packages/trytond/modules/__init__.py", line 
143, in get_module_info
    with tools.file_open(os.path.join(name, 'tryton.cfg')) as fp:
  File "/usr/lib/python2.7/dist-packages/trytond/tools/misc.py", line 76, in 
file_open
    raise IOError('File not found : %s ' % name)
IOError: File not found : 
/usr/lib/python2.7/dist-packages/trytond/modules/webdav/tryton.cfg 

BTW, the NEWS.Debian should really instruct the user to run the upgrade
with the rights of the tryton user (it suggests root since the command
line starts with "#") and it should also include the "-c 
/etc/tryton/trytond.conf"
otherwise you get other weird failures like this one:
$ sudo -u tryton trytond-admin --all -d tryton
Traceback (most recent call last):
  File "/usr/bin/trytond-admin", line 18, in <module>
    config.update_etc(options.configfile)
  File "/usr/lib/python2.7/dist-packages/trytond/config.py", line 73, in 
update_etc
    read_files = self.read(configfile)
  File "/usr/lib/python2.7/ConfigParser.py", line 302, in read
    fp = open(filename)
TypeError: coercing to Unicode: need string or buffer, NoneType found

And the "-v" flag would be welcome as well, otherwise you have the
feeling that the upgrade gets stuck and you wonder what is going on.

Cheers,

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

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

--- End Message ---
--- Begin Message ---
Source: tryton-server
Source-Version: 4.2.0-2

We believe that the bug you reported is fixed in the latest version of
tryton-server, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mathias Behrle <[email protected]> (supplier of updated tryton-server package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 19 Dec 2016 10:13:50 +0100
Source: tryton-server
Binary: tryton-server tryton-server-doc
Architecture: source all
Version: 4.2.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Tryton Maintainers <[email protected]>
Changed-By: Mathias Behrle <[email protected]>
Description:
 tryton-server - Tryton Application Platform (Server)
 tryton-server-doc - Tryton Application Platform (Server Documentation)
Closes: 847436
Changes:
 tryton-server (4.2.0-2) unstable; urgency=medium
 .
   * Use sudo instead of the root prefix for better understanding
     throughout the whole document.
   * Improve the command lines in NEWS for better understanding (Closes:
     #847436).
   * Add configuration parameters for module authentication_sms.
   * Include the language code update into the upgrade procedures for 4.2.
   * Extend the README.Debian to contain also hints for language activation
     and manual migration procedures.
   * Add also the manual upgrade procedures for 3.6 and 4.0 to the NEWS
     file.
Checksums-Sha1:
 e62fdd38ce0d7da90dd9e3762fdf203b96803001 2295 tryton-server_4.2.0-2.dsc
 d71de6e05a64d98e6fc72acfb67fb98157938b61 40356 
tryton-server_4.2.0-2.debian.tar.xz
 84e7523dc3563cbf76570fd5640b22be37212df6 122082 
tryton-server-doc_4.2.0-2_all.deb
 074cfbc63ee4dcda2dff02e88928002f6b0f4e6c 365014 tryton-server_4.2.0-2_all.deb
 6707eee7ab348d5cd9b28d41a8929480f8d9ad4f 6622 
tryton-server_4.2.0-2_amd64.buildinfo
Checksums-Sha256:
 f382142c50906e205b1631328cdc276989725c54fa6b3bd3d5bb92930e1f04cd 2295 
tryton-server_4.2.0-2.dsc
 72d498039397983f1f82b07b80efeff614b09f46bce125964cdd956aa3d4c543 40356 
tryton-server_4.2.0-2.debian.tar.xz
 ef650e2796b884b5c31c470a0fe82485674cf2d2a12e00c2acc823b1cd5a0ae9 122082 
tryton-server-doc_4.2.0-2_all.deb
 f43bc6ba3e86eaf0e0c9e35c34e4d958c3e79c515461b21601375994c70ee6cf 365014 
tryton-server_4.2.0-2_all.deb
 a7057a4e37d3e783a5bca71ea8ee6da17473d9fdb029843e6879d5da6963dc3a 6622 
tryton-server_4.2.0-2_amd64.buildinfo
Files:
 017872f3a333d460e31997edae991ae2 2295 python optional tryton-server_4.2.0-2.dsc
 36dfd72c334922bb8861802957f2d252 40356 python optional 
tryton-server_4.2.0-2.debian.tar.xz
 4d6a27b619fbeeae7d23d80b546c0f5f 122082 doc optional 
tryton-server-doc_4.2.0-2_all.deb
 1653ab3ff1fe9a7f91ab95ded702e339 365014 python optional 
tryton-server_4.2.0-2_all.deb
 92706ab052ea4d95a693cbf6567616e3 6622 python optional 
tryton-server_4.2.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----
Comment: Signed by Mathias Behrle

iQJFBAEBCgAvFiEErCl+XEa50LYccXaB1tCb5IQFu/YFAlhXphoRHG1hdGhpYXNi
QG05cy5iaXoACgkQ1tCb5IQFu/a2ShAAp8kle52bAtYWW9Pp8FtKrgdCrc4rCgeR
kHpwSqiuUtyyGvdtFvR+HlxdHiljn5jjHSPiAxsKjRNgw0I1nHCPasXUmFG0R2A4
4hP1acL3fG+r6jtO6tJFPG700AZcJDWKMCT4spC1AipD59M/2AJD8tYvs57VR2NJ
lDQyhGG6Ab3pBGL7ZOHWFyRPU2HGJkk5LrPbaOHTGo6yGG1h9bJP/gBh/U6FhDYc
KO15g/OMSshE3Zv29Tz3zxHy14ejtI41KLQpJVdDy5u2BlJIQ/GYymF/txu/Ghrv
7k5cKgJE0HPgVmeyTr8K4eoRfB7PUGlaJB7U0dVdFTVim0RHFeP7R/FGmedo1NLD
LVwBSa8b3aiD5qBpYXdviUWkHLPJhiL1CaoGPTCAk/oICLwxUCyM8yyQc1gii0dL
dVde7ilkrpEtZtsIotKaG8zwAiF9F4bcocDQ3FSAq3gu3KNCfmPTCSf/8HkshYTc
zrzBnyZ5VpeIIw1YHYIJuCJk+lDvX0mU359LvyUUpHusXVFvXKG+PNIPAHg43hQV
Gsh8VAI0GvGEAgArlsafByKVNET1plLzaBAUMmBMr8M3jTzlnbUIJqTtUwbPGXvB
/fkFxi8f6cucYsGI9acGufkft27/oFLK6hc+Xb3lclvw+qTBX6YQfgVKkQ7thOJx
2FCJotAkaGQ=
=CI1A
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to