[PyQt] PyQt Digest, Vol 136, Issue 18

John M. Hackett john.hackett at icon-is.co.uk
Tue Nov 17 16:15:25 GMT 2015


Thanks both - that's a bit clearer now. 

I didn't get a patch, Ilya. Can you send me the link to your fork? 

-- 
Regards, 

John Hackett 
Icon Information Systems 
74 Gibsons Hill, Norbury, London, SW16 3JS 
t: 020 8764 2663 
f: 020 8711 3370 
m: 07801-231118 
e: john.hackett at icon-is.co.uk 
w: www.icon-is.co.uk 
skype: john_hackett 
twitter: @iconinfosys 

----- Original Message -----

> From: pyqt-request at riverbankcomputing.com
> To: pyqt at riverbankcomputing.com
> Sent: Tuesday, 17 November, 2015 12:00:02 PM
> Subject: PyQt Digest, Vol 136, Issue 18

> Send PyQt mailing list submissions to
> pyqt at riverbankcomputing.com

> To subscribe or unsubscribe via the World Wide Web, visit
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
> or, via email, send a message with subject or body 'help' to
> pyqt-request at riverbankcomputing.com

> You can reach the person managing the list at
> pyqt-owner at riverbankcomputing.com

> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PyQt digest..."

> Today's Topics:

> 1. Re: pkg_resources error.... (lloyd konneker)
> 2. Re: pkg_resources error.... (Ilya Kulakov)
> 3. BUG pyrcc4 and pyrcc5 (Kuldeep Singh Dhaka)

> ----------------------------------------------------------------------

> Message: 1
> Date: Mon, 16 Nov 2015 10:20:56 -0500
> From: lloyd konneker <bootch at nc.rr.com>
> To: pyqt at riverbankcomputing.com
> Subject: Re: [PyQt] pkg_resources error....
> Message-ID: <723DAA04-157B-412F-BD53-4DC589F61407 at nc.rr.com>
> Content-Type: text/plain; charset=utf-8

> You should probably wait for an answer from Ilya, but here is an educated
> guess:

> pyqtdeploy implements a ‘loader’, that loads packages anytime an import
> statement is executed by the Python interpreter, from the special
> place/encoding that pyqtdeploy has bundled all the packages that your app
> uses.

> You can search for ‘PEP302’ and within that document search for ‘get_data’.
> Basically it says that method is optional, and from what Ilya said,
> pyqtdeploy’s implementation of the loader API did not implement that
> optional method. You could look for that method definition in the source for
> pyqtdeploy’s implementation, since it is all open source.

> I can’t speak to why in your particular circumstances the get_data method is
> needed.

> Again, I could be wrong.

> ------------------------------

> Message: 2
> Date: Mon, 16 Nov 2015 13:22:20 -0500
> From: Ilya Kulakov <kulakov.ilya at gmail.com>
> To: lloyd konneker <bootch at nc.rr.com>
> Cc: pyqt at riverbankcomputing.com
> Subject: Re: [PyQt] pkg_resources error....
> Message-ID: <B50DDEE1-45F0-41D2-972B-F1602722BE82 at gmail.com>
> Content-Type: text/plain; charset=windows-1251

> Indeed it is a missing optional method. Normally it should not lead to
> errors, but in reality since built in modules provide it, developers just
> relay on its presence. I'd try to update both pkg_resources and pytz first.
> If it won't help, it'd worth to study sources of pytz and, if the error is
> there, report to its developers.

> Meanwhile, it should be possible to implement them for pyqtdeploy. I already
> implemented some of them in my fork. I believe I sent a patch, but if not,
> it should be easy to extract it from there.

> Best Regards
> Ilya Kulakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20151117/e98e8a96/attachment.html>


More information about the PyQt mailing list