Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test test_webbrowser "can't locate runnable browser" with enable-optimizations #87486

Closed
swamper123 mannequin opened this issue Feb 25, 2021 · 2 comments
Closed

test test_webbrowser "can't locate runnable browser" with enable-optimizations #87486

swamper123 mannequin opened this issue Feb 25, 2021 · 2 comments
Labels
3.8 only security fixes tests Tests in the Lib/test dir

Comments

@swamper123
Copy link
Mannequin

swamper123 mannequin commented Feb 25, 2021

BPO 43320
Nosy @iritkatriel, @swamper123

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2022-01-31.00:30:04.379>
created_at = <Date 2021-02-25.13:41:32.823>
labels = ['3.8', 'tests']
title = 'test test_webbrowser "can\'t locate runnable browser" with enable-optimizations'
updated_at = <Date 2022-01-31.00:30:04.378>
user = 'https://github.com/swamper123'

bugs.python.org fields:

activity = <Date 2022-01-31.00:30:04.378>
actor = 'iritkatriel'
assignee = 'none'
closed = True
closed_date = <Date 2022-01-31.00:30:04.379>
closer = 'iritkatriel'
components = ['Tests']
creation = <Date 2021-02-25.13:41:32.823>
creator = 'swamper123'
dependencies = []
files = []
hgrepos = []
issue_num = 43320
keywords = []
message_count = 2.0
messages = ['387672', '412183']
nosy_count = 2.0
nosy_names = ['iritkatriel', 'swamper123']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue43320'
versions = ['Python 3.8']

@swamper123
Copy link
Mannequin Author

swamper123 mannequin commented Feb 25, 2021

I downloaded the sources for python 3.8.8 (not tested with Python3.9.2. so far)and compiled it
with enabled-optimisations parameter on a fresh Ubuntu 20.04 machine.

Beside the test_ssl error (there is an existing workaround, but still not happy with that one tbh) I could solve, the test "test_webbrowser" fails and I don't know how to handle that one.

ERROR: test_synthesize(test_webbrowser.ImportTest)
----------------------------------------------------------------

Traceback (most recent call last):
   File "Path/Python-3.8.8/Lib/test/test_webbrowser.py", line 299, in test_synthesize
   webbrowser.get(sys.executable)
File "Path/Python-3.8.8/Lib/webbrowser.py", line 65, in get 
    raise Error("could not locate runnable browser")
webbrowser.Error: could not locate runnable browser

@swamper123 swamper123 mannequin added 3.8 only security fixes tests Tests in the Lib/test dir labels Feb 25, 2021
@iritkatriel
Copy link
Member

3.8 is no longer maintained. Please create a new issue if you are seeing this problem on a current version (>= 3.9).

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.8 only security fixes tests Tests in the Lib/test dir
Projects
None yet
Development

No branches or pull requests

1 participant