Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion wxPython 2.8.11.0 Pubsub not found by py2exe
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
werner  
View profile   Translate to Translated (View Original)
 More options Jun 14 2010, 2:45 pm
From: werner <wbru...@free.fr>
Date: Mon, 14 Jun 2010 20:45:28 +0200
Local: Mon, Jun 14 2010 2:45 pm
Subject: Re: [wxPython-users] Re: wxPython 2.8.11.0 Pubsub not found by py2exe
On 14/06/2010 18:59, oliver wrote:
> This was discussed not long ago in another thread on this list and it
> was a simple matter of adding the extra setup attribute for package. I
> haven't looked at how the use of autopubusbv1 changes this, but the
> solution of implicitely importing setupv1 should take care of any
> gotchas (if there are any -- there is no reason there would be).

> Note that the error message indicates that you are in fact NOT using
> the version 1 API. The setupv1 (automatically imported for you if
> autopubsubv1 is found) is *exacty* the old API (in fact, it's even the
> same module file put inside the package, with some special import
> handling for now).

> I'll try to look more closely later, if you any of you make any
> progress please post.
> Oliver

Forcing to v1 doesn't work when frozen, haven't figured out how to fix
it yet.

I am doing this:
import sys
stdoutlog = file('py2test.log', 'a+')
sys.stdout = stdoutlog
sys.stderr = stdoutlog
import wx.lib.pubsub.setupv1
from wx.lib.pubsub import pub
print pub.VERSION_STR

Unfrozen I get:
1.1.200904.r159

Frozen I get:
3.1.1b1.201005.r243
Traceback (most recent call last):
   File "simplewx.py", line 109, in <module>
   File "simplewx.py", line 19, in create
   File "simplewx.py", line 95, in __init__
TypeError: unbound method subscribe() must be called with
PublisherKwargs instance as first argument (got instancemethod instance
instead)

Will try and look into this some more later today or tomorrow afternoon.

Werner


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.