Re: Problem with a PyInstaller build containing wx\lib\pubsub

David Hughes <[email protected]> Fri, 2 Mar 2018 17:21:41 +0000
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
I posted the message below to wxPython-dev yesterday via Google Groups 
and it immediately deleted it (Any reason why?) . But I received it as 
an email because I have asked it to Automatically subscribe me to email 
updates when I post to a topic - David


On 01/03/2018 16:01, David Hughes wrote:
> |I'm experiencing the same problem as reported in: 
> https://stackoverflow.com/questions/40769018/pyinstaller-and-import-issue-with-wx-lib-pubsub 
> 8006WARNING:Hiddenimport"wx.lib.pubsub.core.publisher"notfound!8008WARNING:Hiddenimport"wx.lib.pubsub.core.listenerimpl"notfound!8009WARNING:Hiddenimport"wx.lib.pubsub.core.publishermixin"notfound!8009WARNING:Hiddenimport"wx.lib.pubsub.core.datamsg"notfound!8009WARNING:Hiddenimport"wx.lib.pubsub.core.topicargspecimpl"notfound!8009WARNING:Hiddenimport"wx.lib.pubsub.core.topicmgrimpl"notfound!|
> <snip>
>
> Apparently the import of those modules is done in the subfolder 
> kwargs, but those files actually need to be placed in the root folder.
>
> So I just copied those files from
>
> |Lib\site-packages\wx-3.0-msw\wx\lib\pubsub\core\kwargs|
>
> to
>
> |Lib\site-packages\wx-3.0-msw\wx\lib\pubsub\core|
>
> and now IT WORKS!
>
>
> Although the above refers to wxPython Classic, the same occurs in 
> wxPython 4 and copying the files up from kwargs resolves the problem.I 
> copied rather than moved them in case pubsub relies on them being in 
> kwargs.
>
>
> The current arrangement works fine for wxPython itself, but in the 
> interests of "good neighbours", should I raise this as an issue in 
> Github/Phoenix?
>
>
> David Hughes
>
> Forestfield Software
>
> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "wxPython-dev" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/wxPython-dev/SdFo2Z-0kbM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.