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

List:       pykde
Subject:    Re: [PyQt] [pyqtdeploy] RuntimeError: not holding the import lock
From:       Ilya Kulakov <kulakov.ilya () gmail ! com>
Date:       2017-11-13 22:17:32
Message-ID: C66BF5A0-B37C-4CD8-A1AB-C3657BED7CFA () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Implementations of import.c, bootstrap and bootstrap_external were changed after 3.6.0 was \
released.

Here is the patch that should address the issue: \
https://patch-diff.githubusercontent.com/raw/GreatFruitAndy/pyqtdeploy/pull/1.patch

> On Nov 13, 2017, at 12:31 PM, Ilya Kulakov <kulakov.ilya@gmail.com> wrote:
> 
> Hi,
> 
> We're in process of upgrading our interpreter to 3.6.3 (and patching pyqtdeploy's metadata \
> where needed along the way)/ Currently an attempt to launch a frozen version results in:
> 
> Traceback (most recent call last):
> File "bootstrap.py", line 1146, in _install
> File "bootstrap_external.py", line 1450, in _install
> File "bootstrap.py", line 960, in _find_and_load
> File "bootstrap.py", line 150, in __enter__
> RuntimeError: not holding the import lock
> Fatal Python error: Py_Initialize: importlib install failed
> 
> Is it a known problem? Was it fixed in after the release of 1.3.2?
> What steps could we take to determine the cause?
> 
> 
> Best Regards,
> Ilya Kulakov
> 


[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body \
style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" \
class="">Implementations of import.c, bootstrap and bootstrap_external were changed after 3.6.0 \
was released.<div class=""><br class=""></div><div class="">Here is the patch that should \
address the issue:&nbsp;<a \
href="https://patch-diff.githubusercontent.com/raw/GreatFruitAndy/pyqtdeploy/pull/1.patch" \
class="">https://patch-diff.githubusercontent.com/raw/GreatFruitAndy/pyqtdeploy/pull/1.patch</a></div><div \
class=""><br class=""><div class=""><div><blockquote type="cite" class=""><div class="">On Nov \
13, 2017, at 12:31 PM, Ilya Kulakov &lt;<a href="mailto:kulakov.ilya@gmail.com" \
class="">kulakov.ilya@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div \
class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div \
style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" \
class="">Hi,<div class=""><br class=""></div><div class="">We're in process of upgrading our \
interpreter to 3.6.3 (and patching pyqtdeploy's metadata where needed along the way)/</div><div \
class="">Currently an attempt to launch a frozen version results in:</div><div class=""><br \
class=""></div><div class="">Traceback&nbsp;(most recent call&nbsp;last):<br \
class="">&nbsp;&nbsp;File&nbsp;"bootstrap.py",&nbsp;line&nbsp;1146,&nbsp;in&nbsp;_install<br \
class="">&nbsp;&nbsp;File&nbsp;"bootstrap_external.py",&nbsp;line&nbsp;1450,&nbsp;in&nbsp;_install<br \
class="">&nbsp;&nbsp;File&nbsp;"bootstrap.py",&nbsp;line&nbsp;960,&nbsp;in&nbsp;_find_and_load<br \
class="">&nbsp;&nbsp;File&nbsp;"bootstrap.py",&nbsp;line&nbsp;150,&nbsp;in&nbsp;__enter__<br \
class="">RuntimeError:&nbsp;not&nbsp;holding the&nbsp;import&nbsp;lock<br \
class="">Fatal&nbsp;Python&nbsp;error:&nbsp;Py_Initialize:&nbsp;importlib install \
failed</div><div class=""><br class=""></div><div class="">Is it a known problem? Was it fixed \
in after the release of 1.3.2?</div><div class="">What steps could we take to determine the \
cause?</div><br class=""><br class=""><div class=""> <div style="word-wrap: break-word; \
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div \
style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; \
font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" \
class="">Best Regards,</div><div style="font-family: Helvetica; font-size: 12px; font-style: \
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px;" class="">Ilya Kulakov</div></div> </div>
<br class=""></div></div></blockquote></div><br class=""></div></div></body></html>


[Attachment #6 (text/plain)]

_______________________________________________
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