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

Tkinter ttk tests hang on linux #59004

Closed
asvetlov opened this issue May 13, 2012 · 11 comments
Closed

Tkinter ttk tests hang on linux #59004

asvetlov opened this issue May 13, 2012 · 11 comments
Labels
topic-tkinter type-bug An unexpected behavior, bug, or error

Comments

@asvetlov
Copy link
Contributor

BPO 14799
Nosy @terryjreedy, @bitdancer, @asvetlov, @ambv, @serhiy-storchaka

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 2018-01-29.14:13:58.246>
created_at = <Date 2012-05-13.18:55:42.558>
labels = ['type-bug', 'expert-tkinter']
title = 'Tkinter ttk tests hang on linux'
updated_at = <Date 2018-01-29.14:13:58.245>
user = 'https://github.com/asvetlov'

bugs.python.org fields:

activity = <Date 2018-01-29.14:13:58.245>
actor = 'asvetlov'
assignee = 'none'
closed = True
closed_date = <Date 2018-01-29.14:13:58.246>
closer = 'asvetlov'
components = ['Tkinter']
creation = <Date 2012-05-13.18:55:42.558>
creator = 'asvetlov'
dependencies = []
files = []
hgrepos = []
issue_num = 14799
keywords = []
message_count = 11.0
messages = ['160547', '160636', '172630', '172631', '173787', '173788', '173789', '248151', '302988', '302993', '311138']
nosy_count = 5.0
nosy_names = ['terry.reedy', 'r.david.murray', 'asvetlov', 'lukasz.langa', 'serhiy.storchaka']
pr_nums = []
priority = None
resolution = 'works for me'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue14799'
versions = ['Python 3.3']

@asvetlov
Copy link
Contributor Author

By default python doesn't run full test suite, but regrtest accepts -u parameter. The simplest way to reproduce is:

$ ./python -m test.regrtest -u gui test_ttk_guionly

@asvetlov asvetlov added topic-tkinter type-bug An unexpected behavior, bug, or error labels May 13, 2012
@bitdancer
Copy link
Member

It does not hang for me on Gentoo. When I run the test suite before a checkin, I use -uall, and I've never had test_ttk hang for me. I did an 'hg pull; hg up' before running the command line you give below.

@serhiy-storchaka
Copy link
Member

$ ./python -m test.regrtest -u gui test_ttk_guionly

For me (on 32-bit Ubuntu 10.04, Tk 8.5) it failed:

test test_ttk_guionly failed -- Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/tkinter/test/test_ttk/test_widgets.py", line 579, in test_tab_identifiers
    self.fail("Tab with text 'a' not found")
AssertionError: Tab with text 'a' not found

@asvetlov
Copy link
Contributor Author

For me it still fails.
I use Ubuntu 12.04, 11.10 was failed also IIRC.

@asvetlov
Copy link
Contributor Author

Update: test_ttk_guionly hangs on Ubuntu with Unity.
It passed on Arch as well as on Ubuntu via xvfb-run.

@asvetlov
Copy link
Contributor Author

Fir Unity it hangs on Tcl_ConditionWait inside Tcl_DoOneEvent function.

@serhiy-storchaka
Copy link
Member

For me it passed with Openbox and Compiz, but fails with KWin.

@terryjreedy
Copy link
Member

Andrew, is this still a problem with current Unity? Or with updated version of tk 8.5, or any version of 8.6?

Should we downgrade this from 'critical'? After 3 years, it seems not to be ;-).

@ambv
Copy link
Contributor

ambv commented Sep 25, 2017

Unsetting priority.

@terryjreedy
Copy link
Member

A year or so ago, I asked people on python-list who could to run the gui tests on their linux boxes and report. About 6 did and with one possible exception, and not that reported here, everyone reported success. So, unless someone can report otherwise, I think this should be closed.

I think we should regularly ask the community to help with gui tests.

@asvetlov
Copy link
Contributor Author

Yes, everything works on Ubuntu 17.10

Closing the issue

@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
topic-tkinter type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

5 participants