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

List:       pythonmac-sig
Subject:    Re: [Pythonmac-SIG] Catalina issue
From:       Ronald Oussoren via Pythonmac-SIG <pythonmac-sig () python ! org>
Date:       2019-10-29 20:45:15
Message-ID: 956BCFB5-FE2C-43B2-86B5-79E83C8B7B1F () mac ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

Thanks for the report. I can reproduce this in a VM running 10.15.1 (using a \
virtualenv environment).  I've filed issue #282 about this, to help me remember to \
investigate this.

/usr/bin/python on the same system works fine, but is using an ancient version of \
PyObjC.

Ronald
—

Twitter: @ronaldoussoren
Blog: https://blog.ronaldoussoren.net/

> On 29 Oct 2019, at 19:34, Ben Byram-Wigfield via Pythonmac-SIG \
> <pythonmac-sig@python.org> wrote: 
> The following two lines work in Mojave, but flag an error in Catalina:
> 
> > > > from AppKit import NSSavePanel
> > > > panel = NSSavePanel.savePanel()
> 
> The error is:
> 
> 2019-10-29 18:24:22.275 Python[6577:255233] *** Assertion failure in \
> +[NSServiceViewController currentAppIsViewService], \
> /BuildRoot/Library/Caches/com.apple.xbs/Sources/ViewBridge/ViewBridge-462/NSViewService.m:140
>  2019-10-29 18:24:22.275 Python[6577:255233] *** Assertion failure in \
> +[NSServiceViewController currentAppIsViewService], \
> /BuildRoot/Library/Caches/com.apple.xbs/Sources/ViewBridge/ViewBridge-462/NSViewService.m:140
>  2019-10-29 18:24:22.342 Python[6577:255347] +[NSXPCSharedListener \
> endpointForReply:withListenerName:]: an error occurred while attempting to obtain \
> endpoint for listener 'com.apple.view-bridge': Connection interrupted 
> This is with PyObjC 5.2. I get the same error (or not) in python 2.7 and python \
> 3.7. 
> 
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> https://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG


[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div \
class="">Thanks for the report. I can reproduce this in a VM running 10.15.1 (using a \
virtualenv environment). &nbsp;I've filed issue #282 about this, to help me remember \
to investigate this.</div><div class=""><br class=""></div><div \
class="">/usr/bin/python on the same system works fine, but is using an ancient \
version of PyObjC.</div><div class=""><br class=""></div><div class="">Ronald<br \
class=""><div class=""> <div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); \
font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: \
normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; \
word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; \
text-decoration: none;">—</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, \
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: \
auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; \
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; text-decoration: none;"><br class=""></div><div \
style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; \
font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; \
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: \
none;">Twitter: @ronaldoussoren</div><div style="caret-color: rgb(0, 0, 0); color: \
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: \
auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; \
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; text-decoration: none;">Blog: <a \
href="https://blog.ronaldoussoren.net/" \
class="">https://blog.ronaldoussoren.net/</a></div> </div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 29 Oct 2019, at \
19:34, Ben Byram-Wigfield via Pythonmac-SIG &lt;<a \
href="mailto:pythonmac-sig@python.org" class="">pythonmac-sig@python.org</a>&gt; \
wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">The \
following two lines work in Mojave, but flag an error in Catalina:<br class=""><br \
class=""><blockquote type="cite" class=""><blockquote type="cite" \
class=""><blockquote type="cite" class="">from AppKit import NSSavePanel<br \
class="">panel = NSSavePanel.savePanel()<br \
class=""></blockquote></blockquote></blockquote><br class="">The error is:<br \
class=""><br class="">2019-10-29 18:24:22.275 Python[6577:255233] *** Assertion \
failure in +[NSServiceViewController currentAppIsViewService], \
/BuildRoot/Library/Caches/com.apple.xbs/Sources/ViewBridge/ViewBridge-462/NSViewService.m:140<br \
class="">2019-10-29 18:24:22.275 Python[6577:255233] *** Assertion failure in \
+[NSServiceViewController currentAppIsViewService], \
/BuildRoot/Library/Caches/com.apple.xbs/Sources/ViewBridge/ViewBridge-462/NSViewService.m:140<br \
class="">2019-10-29 18:24:22.342 Python[6577:255347] +[NSXPCSharedListener \
endpointForReply:withListenerName:]: an error occurred while attempting to obtain \
endpoint for listener 'com.apple.view-bridge': Connection interrupted<br class=""><br \
class="">This is with PyObjC 5.2. I get the same error (or not) in python 2.7 and \
python 3.7.<br class=""><br class=""><br \
class="">_______________________________________________<br class="">Pythonmac-SIG \
maillist &nbsp;- &nbsp;<a href="mailto:Pythonmac-SIG@python.org" \
class="">Pythonmac-SIG@python.org</a><br class=""><a \
href="https://mail.python.org/mailman/listinfo/pythonmac-sig" \
class="">https://mail.python.org/mailman/listinfo/pythonmac-sig</a><br \
class="">unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG<br \
class=""></div></div></blockquote></div><br class=""></div></body></html>



_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG


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

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