Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98500

Re: [Ubuntu] PyQt5

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Laura Creighton <lac@openend.se>
Newsgroups comp.lang.python
Subject Re: [Ubuntu] PyQt5
Date Mon, 09 Nov 2015 03:41:07 +0100
Lines 44
Message-ID <mailman.161.1447036880.16136.python-list@python.org> (permalink)
References <d453cf4b-7a30-4b2c-9bff-53d488552671@googlegroups.com> <7056c802-308b-4d5c-961d-052ef2671633@googlegroups.com> <n1okg2$da7$1@ger.gmane.org>
Mime-Version 1.0
Content-Type text/plain; charset="us-ascii"
X-Trace news.uni-berlin.de 1CUkujlHnnZVEqk4iPVIegccftWp45ZGQzMS1yvyhMKQ==
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'subject:: [': 0.03; 'tries': 0.05; 'works.': 0.07; 'cc:addr:python-list': 0.09; 'buttons': 0.09; 'fix.': 0.09; 'mode,': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'thread': 0.10; 'jan': 0.11; 'apps': 0.15; '>on': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'editor,': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'idle.': 0.16; 'message- id:@fido.openend.se': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'sudo': 0.16; "up'": 0.16; 'wrote:': 0.16; 'laura': 0.18; 'gui': 0.18; 'shell': 0.18; 'subject:] ': 0.19; '>>>': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'fairly': 0.22; 'not,': 0.22; 'trying': 0.22; 'am,': 0.23; 'tried': 0.24; 'examples': 0.24; 'somewhere': 0.24; 'install': 0.25; 'example': 0.26; 'installed': 0.26; 'andrew': 0.27; 'transition': 0.27; 'fine': 0.28; '-0500,': 0.29; 'locks': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; "i'm": 0.30; 'code': 0.30; "i'd": 0.31; 'supposed': 0.31; 'up.': 0.32; 'run': 0.33; 'problem': 0.33; 'idle': 0.33; 'ubuntu': 0.33; 'handle': 0.34; 'running': 0.34; 'add': 0.34; 'gets': 0.35; 'could': 0.35; 'nov': 0.35; 'there': 0.36; 'mode': 0.36; 'charset:us-ascii': 0.37; 'itself': 0.38; 'why': 0.39; 'does': 0.39; 'header:Message-Id:1': 0.61; 'here.': 0.62; 'saturday,': 0.63; 'within': 0.64; 'click': 0.76; '>if': 0.84; 'apt-get': 0.84; 'header:In-reply-to:1': 0.84; 'simulation': 0.91; 'imagine': 0.96
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=openend.se; s=default; t=1447036875; bh=XwgRJ5c8aTbwKdbpBNwfrPNPA/tYonTEcKdabXwiCZ0=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=Td8G5KvRTrLafgtZ7nCdfpPf7Sdmaom3ayRnKVfJOgXSisMwtwrwKYfWe8pFfocC8 GNAj39aRmvxfMUczn/W8zt1Una/D34Sf8eCcmBsx3VB+057lD1YEdTKjk9N5dijzlD H2KV1OqiwdLfJeUT2rzYkHXuc1zMwfc2sQYYOJSk=
In-reply-to <n1okg2$da7$1@ger.gmane.org>
Comments In-reply-to Terry Reedy <tjreedy@udel.edu> message dated "Sun, 08 Nov 2015 18:05:32 -0500."
Content-ID <8904.1447036867.1@fido>
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Mon, 09 Nov 2015 03:41:15 +0100 (CET)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:98500

Show key headers only | View raw


In a message of Sun, 08 Nov 2015 18:05:32 -0500, Terry Reedy writes:
>On 11/8/2015 11:03 AM, Andrew Diamond wrote:
>> On Saturday, November 7, 2015 at 10:13:25 PM UTC-5, Andrew Diamond
>> wrote:
>>> Hi!
>>>
>>> I'm fairly new to Python, and installed pyqt5 and began working
>>> through the examples at http://zetcode.com/gui/pyqt5/menustoolbars/
>>> However, whenever I click one of the buttons or menus in the
>>> example apps I run that is supposed to quit the application, it
>>> locks up.
>
>What is 'it'?  And what does 'lock up' mean?  Did the gui freeze and not 
>disappear?  Or did IDLE itself freeze, and even the menu quit working?
>
>>> This happens with all the examples I installed that
>>> handle code to quit the app.
>>>
>>> Running Ubuntu 15.10, and installed pyqt5 via:
>>>
>>> sudo apt-get install python3-pyqt5 sudo apt-get install qtcreator
>
>> I just read somewhere that the issue could be because I was trying to
>> run these examples from within Idle.
>
>I am an IDLE maintainer.  Am I to take it that everything ran fine 
>before you tried to quit?  If not, I would want to know why and try to fix.
>
>If you run tut.py from an IDLE editor, IDLE tries to run it the same as 
>if you ran it at a console in the tut.py directory with 'python3 -i 
>tut.py'.  I can imagine that there might be a problem with the 
>transition from gui mode to interactive shell mode, though it works for 
>tkinter apps.  You said 'python3 tut.py' works.  What happens if you add 
>the '-i' option?  I'd like to know if the transition problem is in 
>(Py)qt5 or in IDLE's simulation of '-i'.
>
>-- 
>Terry Jan Reedy

I suspect that Qt and Idle are disagreeing as to who gets to have the
main thread around here.

Laura

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[Ubuntu] PyQt5 Andrew Diamond <adiamond1978@gmail.com> - 2015-11-07 19:13 -0800
  Re: [Ubuntu] PyQt5 Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be> - 2015-11-08 06:36 +0100
  Re: [Ubuntu] PyQt5 Laura Creighton <lac@openend.se> - 2015-11-08 11:20 +0100
  Re: [Ubuntu] PyQt5 Andrew Diamond <adiamond1978@gmail.com> - 2015-11-08 08:03 -0800
    Re: [Ubuntu] PyQt5 Chris Angelico <rosuav@gmail.com> - 2015-11-09 03:22 +1100
      Re: [Ubuntu] PyQt5 Andrew Diamond <adiamond1978@gmail.com> - 2015-11-08 08:27 -0800
    Re: [Ubuntu] PyQt5 Terry Reedy <tjreedy@udel.edu> - 2015-11-08 18:05 -0500
    Re: [Ubuntu] PyQt5 Laura Creighton <lac@openend.se> - 2015-11-09 03:41 +0100
    Re: [Ubuntu] PyQt5 Terry Reedy <tjreedy@udel.edu> - 2015-11-09 05:24 -0500

csiph-web