Problem in refresh.py in wxpypropdist

Hi all,

I know this is not the list for wxpypropdist. If someone can point me to the
correct list I'll appreciate it.

Here is my question though. I am trying to run the demo in wxprop/tests and
I keep on getting an import error for "dispatcher" in "refresh.py". Where
can I get this module? I am currently using python 2.2 and wxPython 2.3.4.2
on Redhat Linux 7.2.

Any help would be appreciated

Regards
Gerrit van Dyk

···

-------------------------------------------------------------------------
This e-mail is intended only for the use of the individual or entity named
above and may contain information that is confidential and privileged,
proprietary to the company and protected by law. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this e-mail is strictly prohibited. Opinions, conclusions and
other information in this message that do not relate to the official
business of our company shall be understood as neither given nor endorsed by
it.

Hey Gerrit,

dispatcher.py is, unfortunately, not a "packaged" module, it's a recipe from the Python cookbook. I've attached the version I'm currently using.

Sorry about that,
Mike

Gerrit Van Dyk wrote:

dispatcher.py (8.21 KB)

···

Hi all,

I know this is not the list for wxpypropdist. If someone can point me to the
correct list I'll appreciate it.

Here is my question though. I am trying to run the demo in wxprop/tests and
I keep on getting an import error for "dispatcher" in "refresh.py". Where
can I get this module? I am currently using python 2.2 and wxPython 2.3.4.2
on Redhat Linux 7.2.

Any help would be appreciated

Regards
Gerrit van Dyk

-------------------------------------------------------------------------
This e-mail is intended only for the use of the individual or entity named
above and may contain information that is confidential and privileged,
proprietary to the company and protected by law. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this e-mail is strictly prohibited. Opinions, conclusions and
other information in this message that do not relate to the official
business of our company shall be understood as neither given nor endorsed by
it.

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

--
_______________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://members.rogers.com/mcfletch/

I've been thinking of setting up a SourceForge project for dispatcher and
dispatcher variations. Would anyone have interest in this? Any interest in
a version of dispatcher rewritten as a class, so that there could be custom
subclasses, perhaps one that added features specific to wxPython?

···

On Thursday 09 January 2003 02:35 am, Mike C. Fletcher wrote:

dispatcher.py is, unfortunately, not a "packaged" module, it's a recipe
from the Python cookbook. I've attached the version I'm currently using.

--
Patrick K. O'Brien
Orbtech http://www.orbtech.com/web/pobrien
-----------------------------------------------
"Your source for Python programming expertise."
-----------------------------------------------

Definite interest here. There is at least one work-around I made for method-wrappers (they've grown __call__ methods that confuse dispatcher) that might be worth integrating (or finding a better approach for).

As for a class-based version with ability to override key functions, definitely interested as well, can readily imagine building a ZODB+wxPython version (one that uses weak-database-refs instead of just weakrefs), a persistent-in-ZODB version etceteras.

A distutils package script is what I see as the "key" missing item for the code (it's a trivial thing to write, but without it the user has to do all sorts of extra work and understand how to save files, how to set permissions, etceteras compared to just point-to-url and run-exe or run-rpm when it's downloaded). I'll contribute that as well if you like.

+1,
Mike

Patrick K. O'Brien wrote:

···

On Thursday 09 January 2003 02:35 am, Mike C. Fletcher wrote:

dispatcher.py is, unfortunately, not a "packaged" module, it's a recipe
from the Python cookbook. I've attached the version I'm currently using.
   
I've been thinking of setting up a SourceForge project for dispatcher and dispatcher variations. Would anyone have interest in this? Any interest in a version of dispatcher rewritten as a class, so that there could be custom subclasses, perhaps one that added features specific to wxPython?

_______________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://members.rogers.com/mcfletch/