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

List:       pykde
Subject:    Re: Fwd: pyqtdeploy/can not build a project (v3.0.0)
From:       Maxime Gendebien <maxime.gendebien () gmail ! com>
Date:       2020-08-31 10:24:45
Message-ID: CAAZ_Pf-bkX6N3+bQ8fsKQ0Xz_jjmNzxtoe2iGw1KqHkZGNuv4Q () mail ! gmail ! com
[Download RAW message or body]

Yes I know but as mentioned in the original post, pyqtdeploy doesn't even
run. I figured running the actual entry point from the interpreter could
give me some info about what's going on...



On Mon, 31 Aug 2020, 12:00 Phil Thompson, <phil@riverbankcomputing.com>
wrote:

> On 31/08/2020 10:45, Maxime Gendebien wrote:
> > So I've investigated a bit further and came across this:
> >
> > When I manually run:
> >         python pyqtdeploy_main_py
> > (after adding a call to main to it), I do get a Traceback:
>
> Why would you do that?
>
> > Traceback (most recent call last):
> >   File "pyqtdeploy_main.py", line 79, in <module>
> >     main()
> >   File "pyqtdeploy_main.py", line 41, in main
> >     from . import Project, UserException
> > ImportError: attempted relative import with no known parent package
> >
> > 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, ...
> >
> > What's going on?
>
> To run pyqtdeploy, you run...
>
>      pyqtdeploy
>
> Phil
>

[Attachment #3 (text/html)]

<div dir="auto">Yes I know but as mentioned in the original post, pyqtdeploy \
doesn&#39;t even run. I figured running the actual entry point from the interpreter \
could give me some info about what&#39;s going on...<div dir="auto"><br><div \
dir="auto"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Mon, 31 Aug 2020, 12:00 Phil Thompson, &lt;<a \
href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">On 31/08/2020 10:45, Maxime \
Gendebien wrote:<br> &gt; So I&#39;ve investigated a bit further and came across \
this:<br> &gt; <br>
&gt; When I manually run:<br>
&gt;              python pyqtdeploy_main_py<br>
&gt; (after adding a call to main to it), I do get a Traceback:<br>
<br>
Why would you do that?<br>
<br>
&gt; Traceback (most recent call last):<br>
&gt;     File &quot;pyqtdeploy_main.py&quot;, line 79, in &lt;module&gt;<br>
&gt;        main()<br>
&gt;     File &quot;pyqtdeploy_main.py&quot;, line 41, in main<br>
&gt;        from . import Project, UserException<br>
&gt; ImportError: attempted relative import with no known parent package<br>
&gt; <br>
&gt; And indeed these imports do not seem to relate to anything in this <br>
&gt; project:<br>
&gt; there is a project folder but no UserException class except in<br>
&gt; user_exception.py, ...<br>
&gt; <br>
&gt; What&#39;s going on?<br>
<br>
To run pyqtdeploy, you run...<br>
<br>
        pyqtdeploy<br>
<br>
Phil<br>
</blockquote></div>



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

Configure | About | News | Add a list | Sponsored by KoreLogic