Tryton - Issues

 

Issue7769

Title Error when clicking on "Manage Favorites" just after launched gtk client
Priority bug Status need-eg
Superseder Nosy List ced, mrichez
Type Components tryton
Assigned To Keywords
Reviews

Created on 2018-10-05.13:34:01 by mrichez, last changed by mrichez.

Files
File name Uploaded Type Edit Remove
Capture vidéo 2018-10-09 17:10:49.webm mrichez, 2018-10-09.17:11:30 video/webm
Messages
msg44383 (view) Author: [hidden] (mrichez) Date: 2018-10-10.09:46:40
Log in the gtk client (debian):

free variable 'self' referenced before assignment in enclosing scope
INFO:tryton.bus:poll channels ['client:6fb5e95d-2e4e-4054-851c-e12ebe787655'] with last message None
ERROR:tryton.bus:An exception occured while connecting to the bus.Sleeping for 32 seconds
Traceback (most recent call last):
  File "/home/mrichez/Workspace/tryton/tryton_dev/tryton/tryton/bus.py", line 56, in _listen
    response = urlopen(request, timeout=bus_timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 472, in open
    response = meth(req, response)
  File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.5/urllib/request.py", line 510, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
ERROR:tryton.common.common:  File "/home/mrichez/Workspace/tryton/tryton_dev/tryton/tryton/gui/main.py", line 445, in _manage_favorites
    Window.create(self.menu_screen.model_name + '.favorite',
msg44381 (view) Author: [hidden] (mrichez) Date: 2018-10-09.15:34:22
changeset:   5925:2d13bb4191d0
msg44380 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-10-09.15:32:11
Please the changeset number?
msg44379 (view) Author: [hidden] (mrichez) Date: 2018-10-09.15:28:55
Latest version 5.1.0 (fresh install)
msg44378 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-10-09.15:27:09
I can not reproduce. Which exact version are you using?
msg44376 (view) Author: [hidden] (mrichez) Date: 2018-10-09.14:55:09
It happens when there's one or no favorites.
msg44338 (view) Author: [hidden] (mrichez) Date: 2018-10-05.13:34:01
I get this error when clicking on 'Manage Favorites' just after launching tryton gtk client:
Error: free variable 'self' referenced before assignment in enclosing scope
  File "/home/mrichez/Workspace/tryton/tryton_dev/tryton/tryton/gui/main.py", line 445, in _manage_favorites
    Window.create(self.menu_screen.model_name + '.favorite',

If click on a star in the menu to change favorites and then click on "Manage favorites", error is gone
History
Date User Action Args
2018-10-10 09:46:41mrichezsetmessages: + msg44383
2018-10-09 17:11:30mrichezsetfiles: + Capture vidéo 2018-10-09 17:10:49.webm
2018-10-09 15:34:22mrichezsetmessages: + msg44381
2018-10-09 15:32:11cedsetmessages: + msg44380
2018-10-09 15:28:55mrichezsetmessages: + msg44379
2018-10-09 15:27:13cedsetstatus: chatting -> need-eg
2018-10-09 15:27:09cedsetnosy: + ced
messages: + msg44378
2018-10-09 14:55:09mrichezsetstatus: unread -> chatting
messages: + msg44376
2018-10-05 13:34:01mrichezcreate

Showing 10 items. Show all history (warning: this could be VERY long)