[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] [BUG?] ImportError with QtNetwork since updating to 5.4.2 on Windows
From:       Florian Bruhin <me () the-compiler ! org>
Date:       2015-06-24 6:55:27
Message-ID: 20150624065527.GC22364 () tonks
[Download RAW message or body]

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

[Attachment #2 (multipart/signed)]
This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.


* Phil Thompson <phil@riverbankcomputing.com> [2015-06-17 21:57:30 +0100]:
> On 15/06/2015 4:45 pm, Florian Bruhin wrote:
> >* Phil Thompson <phil@riverbankcomputing.com> [2015-06-15 16:09:08 +0100]:
> >>On 15/06/2015 1:31 pm, Florian Bruhin wrote:
> >>>Hi!
> >>>
> >>>Since I upgraded from PyQt5 5.4.1 to 5.4.2 (both installed using the
> >>>binary installer, PyQt5-5.4.2-gpl-Py3.4-Qt5.4.2-x64.exe), I get this
> >>>when trying to import QtNetwork:
> >>>
> >>>    >>> from PyQt5 import QtNetwork
> >>>    Traceback (most recent call last):
> >>>      File "<stdin>", line 1, in <module>
> >>>    ImportError: DLL load failed: %1 is not a valid Win32 application.
> >>>
> >>>Importing QtCore works fine however:
> >>>
> >>>    >>> from PyQt5 import QtCore
> >>>    >>> QtCore
> >>>    <module 'PyQt5.QtCore' from
> >>>'C:\\Python34\\lib\\site-packages\\PyQt5\\QtCore.pyd'>
> >>>
> >>>The same thing works fine on AppVeyor with the 32bit .exe, so maybe
> >>>it's something specific to that 64bit installer?
> >>
> >>Not intentionally. You might be able to see what DLL is causing the
> >>problem
> >>(using a dependency tracker). Otherwise I'll wait ti see if anybody else
> >>has
> >>the same problem.
> >
> >With dependency walker, I noticed SSLEAY32.DLL is a 32bit (CPU x86)
> >rather than a 64bit DLL. I reinstalled 5.4.1 and it shows as 64bit
> >there.
> 
> I can't reproduce this. I can import QtNetwork and "depends" shows
> SSLEAY32.DLL as 64 bits.

I did a full install instead of a minimal one, and that seems to work.
Then when running the installer again with a minimal install, that
still works.

It's possible I did a full install with 5.4.1 and now tried a minimal
one when upgrading. Maybe the old version doesn't get uninstalled
properly? I get asked whether I want to uninstall it, but I don't see
anything happening when I say yes.

Florian

-- 
http://www.the-compiler.org | me@the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/

[Attachment #5 (application/pgp-signature)]
[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic