Your message dated Thu, 21 May 2020 16:47:52 +0200
with message-id <20200521164752.44531...@monsterix.mbehrle.de>
and subject line Re: Bug#955578: tryton-server breaks 
tryton-modules-purchase-request autopkgtest: trytond.exceptions.UserError: You 
can not write in this document!
has caused the Debian Bug report #955578,
regarding tryton-server breaks tryton-modules-purchase-request autopkgtest: 
trytond.exceptions.UserError: You can not write in this document!
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 ow...@bugs.debian.org
immediately.)


-- 
955578: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955578
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: tryton-server, tryton-modules-purchase-request
Control: found -1 tryton-server/5.0.19-1
Control: found -1 tryton-modules-purchase-request/5.0.3-1
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian...@lists.debian.org
User: debian...@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of tryton-server the autopkgtest of
tryton-modules-purchase-request fails in testing when that autopkgtest
is run with the binary packages of tryton-server from unstable. It
passes when run with only packages from testing. In tabular form:
                                 pass            fail
tryton-server                    from testing    5.0.19-1
tryton-modules-purchase-request  from testing    5.0.3-1
all others                       from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of tryton-server to
testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=tryton-server

https://ci.debian.net/data/autopkgtest/testing/amd64/t/tryton-modules-purchase-request/4784546/log.gz

======================================================================
FAIL:
/usr/lib/python3/dist-packages/trytond/modules/purchase_request/tests/scenario_purchase_request.rst
Doctest: scenario_purchase_request.rst
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.8/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for scenario_purchase_request.rst
  File
"/usr/lib/python3/dist-packages/trytond/modules/purchase_request/tests/scenario_purchase_request.rst",
line 0

----------------------------------------------------------------------
File
"/usr/lib/python3/dist-packages/trytond/modules/purchase_request/tests/scenario_purchase_request.rst",
line 170, in scenario_purchase_request.rst
Failed example:
    create_purchase = Wizard('purchase.request.create_purchase',
        [pr])
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.8/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest scenario_purchase_request.rst[105]>", line 1, in
<module>
        create_purchase = Wizard('purchase.request.create_purchase',
      File "/usr/lib/python3/dist-packages/proteus/__init__.py", line
1169, in __init__
        self.execute(self.start_state)
      File "/usr/lib/python3/dist-packages/proteus/__init__.py", line
1195, in execute
        result = self._proxy.execute(self.session_id, data, self.state,
      File "/usr/lib/python3/dist-packages/proteus/config.py", line 195,
in __call__
        result = rpc.result(meth(*args, **kwargs))
      File "/usr/lib/python3/dist-packages/trytond/wizard/wizard.py",
line 280, in execute
        cls.check_access()
      File "/usr/lib/python3/dist-packages/trytond/wizard/wizard.py",
line 242, in check_access
        ModelAccess.check(model, 'write')
      File "/usr/lib/python3/dist-packages/trytond/ir/model.py", line
522, in check
        cls.raise_user_error(mode, model_name)
      File "/usr/lib/python3/dist-packages/trytond/error.py", line 74,
in raise_user_error
        raise UserError(error)
    trytond.exceptions.UserError: You can not write in this document!
(purchase.request) -

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Fixed in version tryton-modules-stock-supply/5.0.5-1

--- End Message ---

Reply via email to