<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><br><br><div dir="ltr">So I've investigated a bit further and came across this:<div><br></div><div>When I manually run:</div><div>        python pyqtdeploy_main_py</div><div>(after adding a call to main to it), I do get a Traceback:</div><div><br></div><div>Traceback (most recent call last):<br>  File "pyqtdeploy_main.py", line 79, in <module><br>    main()<br>  File "pyqtdeploy_main.py", line 41, in main<br>    from . import Project, UserException<br>ImportError: attempted relative import with no known parent package<br></div><div><br></div><div>And indeed these imports do not seem to relate to anything in this project: there is a project folder but no UserException class except in user_exception.py, ...</div><div><br></div><div>What's going on?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 21 août 2020 à 17:02, Maxime Gendebien <<a href="mailto:maxime.gendebien@gmail.com" target="_blank">maxime.gendebien@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks José, but I tried that too without success...</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 21 août 2020 à 16:48, José Antonio Fernández Fernández <<a href="mailto:aullasistemas@gmail.com" target="_blank">aullasistemas@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><pre id="m_-8495429441664872987gmail-m_6607991364412554806gmail-m_-7034543817117363982gmail-tw-target-text" style="text-align:left" dir="ltr"><span lang="en">Hi maxime, when I launch pyqtdeploy new project.pdt, in linux it warns me that the path does not exist. Then I just launch "pyqtdeploy" and when I have the changes in the new file I use save as ...
I hope to be helpful</span></pre></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie., 21 ago. 2020 a las 15:01, Maxime Gendebien (<<a href="mailto:maxime.gendebien@gmail.com" target="_blank">maxime.gendebien@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>When I run pyqtdeploy new_project.pdt, nothing happens. No traceback, no exit code, just a new prompt.</div><div><br></div><div>I looked into pyqtdeploy_main.py and it looks like the relative path imports do not work and the interpreter raises:</div><div><br></div><div><div>ImportError: attempted relative import with no known parent package</div><div><br></div><div>I am on w10.</div><div>Any idea?</div><div><br></div><div>Thanks</div><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Maxime Gendebien</div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr">Cuenta de correo propiedad de FERNÁNDEZ FERNÁNDEZ, JOSÉ ANTONIO y de uso estrictamente profesional. Este mensaje electrónico está dirigido únicamente a la(s) direcciones indicadas anteriormente: el carácter confidencial, personal e intransferible del mismo está protegido legalmente.<br>Cualquier revelación, uso o reenvío no autorizado, completo o en parte está prohibido. Si ha recibido este mensaje por equivocación notifíquelo inmediatamente a la persona que lo remite y borre el mensaje original junto con sus ficheros anexos sin leerlo ni grabarlo total o parcialmente. Si usted no desea recibir correos de nuestra empresa, por favor, envíenos un correo a <a href="mailto:AULLASISTEMAS@GMAIL.COM" target="_blank">AULLASISTEMAS@GMAIL.COM</a> manifestando tal deseo<br></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Maxime Gendebien</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Maxime Gendebien</div></div>
</div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Maxime Gendebien</div></div></div>