I installed Python-2.7.1, PyQt-Py2.7-x86-gpl-4.8.3-1, eric4-4.4.12, and and also could not start Eric without taking out 'start'.<br>Looks like it is because of Python several versions installed (maybe 'start' uses some extension bindings and is trying to start Python3 for eric4?). <br>
Anyway, i installed the same files on clean WinXp without having Python3 installed, at it worked is supposed.<br>Also i've got a message from a guy, who says it worked for him:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
On Sat, Feb 19, 2011 at 12:37 AM,  <span dir="ltr"><erik@*<a href="http://brown.com">brown.com</a>></span> wrote:<br><span style="font-family: Verdana; color: rgb(0, 0, 0); font-size: 10pt;"><div>Victor,</div></span><br>
<span style="font-family: Verdana; color: rgb(0, 0, 0); font-size: 10pt;"><div> 
 Very cool.  I recently started using Eric4 and this has been bugging 
me.  Haven't had time to look into this, but I applied your changes to 
the eric4.bat script and worked like a charm.</div></span><br><span style="font-family: Verdana; color: rgb(0, 0, 0); font-size: 10pt;"><div>Enjoy,</div></span><br><span style="font-family:Verdana;color:#000000;font-size:10pt"><div>
Erik</div></span><br></blockquote><br><div class="gmail_quote">On Sun, Feb 20, 2011 at 11:38 AM, Detlev Offenbach <span dir="ltr"><<a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello Victor,<br>
<br>
I implemented your solution. Unfortunately I am observing some strange issues.<br>
I have several Python versions installed (2.6, 2.7, 3.1). It works fine for<br>
eric5 and Python 3.1. However, the same kind of batchfile doesn't work for the<br>
Python 2 variants and eric4. If I remove the "start" from the script, it is<br>
ok. What am I doing wrong?<br>
<br>
Regards,<br>
Detlev<br>
<br>
On Freitag, 18. Februar 2011, Victor Varvariuc wrote:<br>
> I would like to suggest changing some of the .bat scripts for Eric on<br>
> Windows. I am using Eric5, but i think the same applies to Eric4.<br>
><br>
> The problem with the eric5.bat is the following:<br>
> > While running a command line program or some GUI initiated from command<br>
> > line on Windows, there is always a black console window on the screen.<br>
> > This sometime becomes annoying. For example, when you start the Eric<br>
> > Python IDE on Windows, normally you start it by calling a batch file<br>
> > “eric4.bat” which calls the actual eric4.py script sequentially. Since<br>
> > Eric4 is designed to be a GUI program, the black console window has no<br>
> > use but it is there.<br>
><br>
> <a href="http://9rivers.linkka.com/2010/07/29/hide-the-command-console-window-while-" target="_blank">http://9rivers.linkka.com/2010/07/29/hide-the-command-console-window-while-</a><br>
> running-a-guicommand-line-program-on-windows/<br>
><br>
> I found a way to start eric5.bat without the console window:<br>
> > @echo off<br>
> > rem Start Eric5 with command line parameters<br>
> > set CURRDIR=%~dp0<br>
> > start "%CURRDIR%\pythonw.exe"<br>
> > "%CURRDIR%\Lib\site-packages\eric5\eric5.pyw" %1 %2 %3 %4 %5 %6 %7 %8 %9<br>
><br>
> This is not only hiding console window. It also uses relative pathes. So it<br>
> makes .bat scripts more portable.<br>
<font color="#888888"><br>
<br>
--<br>
Detlev Offenbach<br>
<a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a><br>
</font></blockquote></div><br>