Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpyc server crash with wxwindows #16

Closed
tomerfiliba opened this issue Mar 2, 2011 · 1 comment
Closed

rpyc server crash with wxwindows #16

tomerfiliba opened this issue Mar 2, 2011 · 1 comment
Labels
Bug Confirmed bug

Comments

@tomerfiliba
Copy link
Collaborator

PyScripter Show activity 12/28/09
Some analysis suggests the following:
The problem occurs in Connection._unbox:
cls = getattr(obj, "class", type(obj))

wx.cvar.class raises a NameError and not an AttributeError as it
should (this is a bug on wx's part). As a result _unbox fails.

The workaround which would make rpyc more forgiving to such bugs would
be to replace the getattr statement with the following:

        try:
            cls = obj.__class__
        except:
            cls = type(obj)

Could you please implement this small change?

@tomerfiliba
Copy link
Collaborator Author

fixes a28b882; closed by 7eb48a4; closed by 7eb48a4; closed by 7eb48a4; closed by 7eb48a4; closed by 7eb48a4; closed by 7eb48a4;

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed bug
Projects
None yet
Development

No branches or pull requests

1 participant