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

List:       pykde
Subject:    Re: [PyQt] pyqtdeploy : deploy windows console
From:       MOHAMED BLACK <bl3a3ck () gmail ! com>
Date:       2015-01-29 8:14:49
Message-ID: CAO+fUhvJrFychngSP-LLX+4TXbf4OPzBiEKp4N+S1TAvau3ZjQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


thank you all for your help :)

problem solved

for any one having this problem try first to include the correct
console Character
Mapping Codec
in pyqtdeploy in my case it was "Lib/encodings/cp720.py"

On Thu, Jan 29, 2015 at 5:52 AM, Ilya Kulakov <kulakov.ilya@gmail.com>
wrote:

> We have a windows 8 app built with console enabled and linked against
> msvcrt 2013. We have output there.
>
> > On 29 янв. 2015 г., at 3:11, Mathias.Born@gmx.de wrote:
> >
> > Hi,
> >
> > this may not apply, but there is a bug in the MS runtime,
> > which will be fixed in Visual Studio 14.
> >
> > http://bugs.python.org/issue17797
> >
> > It means you'll have no stdin/out/err. Instead, the
> > interpreter will cause an abort during initialization,
> > which may be silent in your setup.
> >
> > You can fix this yourself by changing the Python code
> > as described in the bug report.
> >
> > Best Regards,
> > Mathias
> >
> >
> >
> >
> >> On 28.01.2015, 12:46:17 MOHAMED BLACK wrote:
> >> hi ,
> >
> >> i need some help deploy simple windows console app with pyqtdeploy
> >
> >> test.py
> >> x=input("Enter Your Name :")
> >> print("Welcom %s !"%x)
> >
> >> when deploy test.py script with "use console (windows)" checked
> >> the app build successfully and when running no input or output?
> >
> >> win xp sp3
> >> python 3.4.2
> >> qt 5.4
> >> latest snapshot pyqtdeploy --> rev/3e720ddb5784
> >> latest snapshot sip pyqt
> >
> >> thanks in advance
> >
> > _______________________________________________
> > PyQt mailing list    PyQt@riverbankcomputing.com
> > http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div>thank you all for your help :)<br><br></div>problem \
solved<br><br></div>for any one having this problem try first to include the correct \
console <span class="">Character Mapping Codec</span></div>in pyqtdeploy in my case \
it was &quot;Lib/encodings/cp720.py&quot;<br><div class="gmail_extra"><br><div \
class="gmail_quote">On Thu, Jan 29, 2015 at 5:52 AM, Ilya Kulakov <span \
dir="ltr">&lt;<a href="mailto:kulakov.ilya@gmail.com" \
target="_blank">kulakov.ilya@gmail.com</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">We have a windows 8 app built with console enabled \
and linked against msvcrt 2013. We have output there.<br> <div class=""><div \
class="h5"><br> &gt; On 29 янв. 2015 г., at 3:11, <a \
href="mailto:Mathias.Born@gmx.de">Mathias.Born@gmx.de</a> wrote:<br> &gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; this may not apply, but there is a bug in the MS runtime,<br>
&gt; which will be fixed in Visual Studio 14.<br>
&gt;<br>
&gt; <a href="http://bugs.python.org/issue17797" \
target="_blank">http://bugs.python.org/issue17797</a><br> &gt;<br>
&gt; It means you&#39;ll have no stdin/out/err. Instead, the<br>
&gt; interpreter will cause an abort during initialization,<br>
&gt; which may be silent in your setup.<br>
&gt;<br>
&gt; You can fix this yourself by changing the Python code<br>
&gt; as described in the bug report.<br>
&gt;<br>
&gt; Best Regards,<br>
&gt; Mathias<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&gt; On 28.01.2015, 12:46:17 MOHAMED BLACK wrote:<br>
&gt;&gt; hi ,<br>
&gt;<br>
&gt;&gt; i need some help deploy simple windows console app with pyqtdeploy<br>
&gt;<br>
&gt;&gt; test.py<br>
&gt;&gt; x=input(&quot;Enter Your Name :&quot;)<br>
&gt;&gt; print(&quot;Welcom %s !&quot;%x)<br>
&gt;<br>
&gt;&gt; when deploy test.py script with &quot;use console (windows)&quot; \
checked<br> &gt;&gt; the app build successfully and when running no input or \
output?<br> &gt;<br>
&gt;&gt; win xp sp3<br>
&gt;&gt; python 3.4.2<br>
&gt;&gt; qt 5.4<br>
&gt;&gt; latest snapshot pyqtdeploy --&gt; rev/3e720ddb5784<br>
&gt;&gt; latest snapshot sip pyqt<br>
&gt;<br>
&gt;&gt; thanks in advance<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; PyQt mailing list      <a \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br> &gt; <a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br> \
_______________________________________________<br> PyQt mailing list      <a \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br> <a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></div></div></blockquote></div><br></div></div>



[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