Page MenuHome

Help > Report a Bug fails with a traceback: TypeError: register() takes from 2 to 3 positional arguments but 4 were given
Open, Confirmed, LowPublic


System Information
Operating system: Mageia 7 x86_64 (Linux)
Graphics card: Intel HD Graphics 630

Blender Version
Broken: 2.80 (release)
Worked: not tested

Short description of error
When clicking the Help > Report a Bug menu entry, a traceback is displayed and the feature does not work:

Traceback (most recent call last):
  File "/home/akien/Documents/Blender/blender-2.80-linux-glibc217-x86_64/2.80/scripts/startup/bl_operators/", line 845, in execute
  File "/home/akien/Documents/Blender/blender-2.80-linux-glibc217-x86_64/2.80/python/lib/python3.7/", line 75, in open
  File "/home/akien/Documents/Blender/blender-2.80-linux-glibc217-x86_64/2.80/python/lib/python3.7/", line 567, in register_standard_browsers
    cmd = _synthesize(cmdline, -1)
  File "/home/akien/Documents/Blender/blender-2.80-linux-glibc217-x86_64/2.80/python/lib/python3.7/", line 116, in _synthesize
    register(browser, None, controller, update_tryorder)
TypeError: register() takes from 2 to 3 positional arguments but 4 were given

location: <unknown location>:-1

location: <unknown location>:-1

Exact steps for others to reproduce the error

  • Open Blender 2.80
  • Select Help > Report a Bug

Event Timeline

I just tested 2.81-5359b7a03307 (2019-07-30) and the bug is reproducible too.

I'm not very familiar with Python's release cycle but it seems fixes were merged in the 3.7 branch in July 2018 and November 2018, so I assume the bug might be fixed with 3.7.2 and later.

Blender 2.80 seems to ship with 3.7.0, is there a specific reason to stay on that earlier release?

Worst case, since Blender ships its own Python build, it would be possible to backport the patches -- or work it around on the Blender side with some try/except statements. It's a bit sad to hit a bug when you want to report a bug :)

I found that it fails the first time you click the link, but seems to work on subsequent calls. (It's also not only related to Help > Report a Bug but any link meant to open in the browser). I'll send a patch that retries once on error.

Brecht Van Lommel (brecht) triaged this task as Confirmed, Low priority.Aug 1 2019, 6:53 PM