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

List:       pykde
Subject:    Re: [PyQt] pyqtdeploy, Windows, ctypes and sys.dllhandle
From:       MOHAMED BLACK <bl3a3ck () gmail ! com>
Date:       2015-09-30 7:01:19
Message-ID: CAO+fUhtKbUY848hq-ri5c-oTwamAg3-C+Ep3-chbUN6fAqYKXA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

i succefully did that with tweaked ctypes and comtypes
to use them with static build of python3.4,qt,pyqt
i can send you a zip package containing them?

On Tue, Sep 29, 2015 at 8:00 PM, Robert Kent <rob@gulon.co.uk> wrote:

> Hi All,
>
> I've hit a snag when trying to wrap the comtypes library with pyqtdeploy
> on (on Windows). This library depends on ctypes and when I include that in
> my project and run the application I get the following runtime error:
>
> …
>   File ":/ctypes/__init__.pyo", line 435, in <module>
> Attribute Error: ‘module' has no attribute ‘dllhandle'
>
> When I go to the relevant line in the ctypes source file I find that
> ‘dllhandle' belongs to the ‘sys' module and I can call it from the command
> line.
>
> So, my question(s) is/are: is this a bug or is this omitted for a reason?
> If the latter, is there a tweaked version of ctypes available that I should
> be using or a workaround? Or (finally), have I simply broken something
> somewhere?
>
> Cheers, Rob
>
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div>Hi,<br><br>i succefully did that with tweaked ctypes and \
comtypes<br></div>to use them with static build of python3.4,qt,pyqt<br></div>i can \
send you a zip package containing them?<br><div><div><div><div><div \
class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 29, 2015 at 8:00 PM, \
Robert Kent <span dir="ltr">&lt;<a href="mailto:rob@gulon.co.uk" \
target="_blank">rob@gulon.co.uk</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Hi \
All,<div><br></div><div>I've hit a snag when trying to wrap the comtypes library with \
pyqtdeploy on (on Windows). This library depends on ctypes and when I include that in \
my project and run the application I get the following runtime \
error:</div><div><br></div><div><font face="Consolas">…</font></div><div><font \
face="Consolas">   File ":/ctypes/__init__.pyo", line 435, in \
&lt;module&gt;</font></div><div><font face="Consolas">Attribute Error: ‘module' has \
no attribute ‘dllhandle'</font></div><div><br></div><div>When I go to the relevant \
line in the ctypes source file I find that ‘dllhandle' belongs to the ‘sys' \
module and I can call it from the command line.</div><div><br></div><div>So, my \
question(s) is/are: is this a bug or is this omitted for a reason? If the latter, is \
there a tweaked version of ctypes available that I should be using or a workaround? \
Or (finally), have I simply broken something \
somewhere?</div><div><br></div><div>Cheers, \
Rob</div></div><br>_______________________________________________<br> PyQt mailing \
list      <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
 <a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" \
target="_blank">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div></div></div></div></div></div>



[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://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