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

List:       pykde
Subject:    Re: [PyQt] Unable  to run PyQtDeploy-build successfully
From:       Suman Chatterjee <sum_chat () hotmail ! com>
Date:       2020-03-22 23:55:02
Message-ID: SLXP216MB0847300098B247B363AC27E9E5F30 () SLXP216MB0847 ! KORP216 ! PROD ! OUTLOOK ! COM
[Download RAW message or body]

Just noticed that it was trying to get the Qt files from /Users/sum10122/Do=
cuments/dev/aroot.
But PyQt5 was not there. When I copied PyQt5 in that folder it worked.

But I am wondering when the aroot folder was created and also why it is loo=
king in that folder? Anybody can shed some light on it ..

On Mar 22, 2020, at 4:21 PM, Suman Chatterjee <sum_chat@hotmail.com<mailto:=
sum_chat@hotmail.com>> wrote:

Hi,
I am using PyQtDeploy to build a Qt python project in order to be deployed =
in other mobile devices. The steps that I took are:

1) created a PyQtDeploy project using pyqtdeploy pyqt-demo.pdy where I defi=
ned all the packages

(qt-venv) sumanc2:testpythonbuild sum10122$ pyqtdeploy pyqt-demo.pdy

2) Then used pyqtdeploy-build pyqt-demo.pdy to generate the .pro file and f=
reeze the files.

(qt-venv) sumanc2:testpythonbuild sum10122$ pyqtdeploy-build  pyqt-demo.pdy

But I am getting the below error while freezing  PyQt5

Freezing /Users/sum10122/qt-venv/lib/python3.7/site-packages/zmq/utils/strt=
ypes.py...
Freezing /Users/sum10122/qt-venv/lib/python3.7/site-packages/zmq/utils/win3=
2.py...
Freezing /Users/sum10122/qt-venv/lib/python3.7/site-packages/zmq/utils/z85.=
py...
Freezing /Users/sum10122/Documents/dev/aroot/lib/python3.7/site-packages/Py=
Qt5/__init__.py...
pyqtdeploy-build: Unable to freeze files


The __init__.py file is empty though in Mac OS.

I am stuck right now at this point. Any help will really be appreciated

Thank You,

Suman
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com<mailto:PyQt@riverbankcompu=
ting.com>
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: \
after-white-space;" class=""> Just noticed that it was trying to get the Qt files \
from&nbsp;<span style="font-family: Menlo; font-size: 11px;" \
class="">/Users/sum10122/Documents/dev/aroot.</span> <div class=""><font face="Menlo" \
class=""><span style="font-size: 11px;" class="">But PyQt5 was not there. When I \
copied PyQt5 in that folder it worked.&nbsp;</span></font></div> <div class=""><font \
face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""> \
</span></font></div> <div class=""><font face="Menlo" class=""><span \
style="font-size: 11px;" class="">But I am wondering when the aroot folder was \
created and also why it is looking in that folder? Anybody can shed some light on it \
..</span><br class=""> </font>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Mar 22, 2020, at 4:21 PM, Suman Chatterjee &lt;<a \
href="mailto:sum_chat@hotmail.com" class="">sum_chat@hotmail.com</a>&gt; wrote:</div> \
<br class="Apple-interchange-newline"> <div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: \
after-white-space;" class=""> Hi,
<div class="">I am using PyQtDeploy to build a Qt python project in order to be \
deployed in other mobile devices. The steps that I took are:</div> <div class=""><br \
class=""> </div>
<div class="">1) created a PyQtDeploy project using pyqtdeploy pyqt-demo.pdy where I \
defined all the packages</div> <div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> <span style="font-variant-ligatures: \
no-common-ligatures" class="">(qt-venv) sumanc2:testpythonbuild sum10122$ pyqtdeploy \
pyqt-demo.pdy</span></div> </div>
<div class=""><br class="">
</div>
<div class="">2) Then used pyqtdeploy-build pyqt-demo.pdy to generate the .pro file \
and freeze the files.</div> <div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> <span style="font-variant-ligatures: \
no-common-ligatures" class="">(qt-venv) sumanc2:testpythonbuild sum10122$ \
pyqtdeploy-build&nbsp; pyqt-demo.pdy</span></div> </div>
<div class=""><br class="">
</div>
<div class="">But I am getting the below error while freezing &nbsp;PyQt5</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> <span style="font-variant-ligatures: \
no-common-ligatures" class="">Freezing \
/Users/sum10122/qt-venv/lib/python3.7/site-packages/zmq/utils/strtypes.py...</span></div>
 <div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> <span style="font-variant-ligatures: \
no-common-ligatures" class="">Freezing \
/Users/sum10122/qt-venv/lib/python3.7/site-packages/zmq/utils/win32.py...</span></div>
 <div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> <span style="font-variant-ligatures: \
no-common-ligatures" class="">Freezing \
/Users/sum10122/qt-venv/lib/python3.7/site-packages/zmq/utils/z85.py...</span></div> \
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> <span style="font-variant-ligatures: \
no-common-ligatures" class="">Freezing \
/Users/sum10122/Documents/dev/aroot/lib/python3.7/site-packages/PyQt5/__init__.py...</span></div>
 <div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> <span style="font-variant-ligatures: \
no-common-ligatures" class="">pyqtdeploy-build: Unable to freeze files</span></div> \
</div> <div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: \
normal; font-family: Menlo;" class=""> <span style="font-variant-ligatures: \
no-common-ligatures" class=""><br class=""> </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> <span style="font-variant-ligatures: \
no-common-ligatures" class=""><br class=""> </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> The __init__.py file is empty though in Mac OS.</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> <br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> I am stuck right now at this point. Any help will \
really be appreciated</div> <div style="margin: 0px; font-stretch: normal; font-size: \
11px; line-height: normal; font-family: Menlo;" class=""> <br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> Thank You,</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> <br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo;" class=""> Suman</div>
</div>
_______________________________________________<br class="">
PyQt mailing list &nbsp;&nbsp;&nbsp;<a href="mailto:PyQt@riverbankcomputing.com" \
class="">PyQt@riverbankcomputing.com</a><br class=""> <a \
href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
class="">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br class=""> \
</div> </blockquote>
</div>
<br class="">
</div>
</body>
</html>


[Attachment #4 (unknown)]

_______________________________________________
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