Ticket #334 (closed enhancement: fixed)
More helpful description for register_class args check
| Reported by: | thijs | Owned by: | nick |
|---|---|---|---|
| Priority: | major | Milestone: | 0.4 |
| Component: | Remoting | Version: | 0.3.1 |
| Keywords: | Cc: | mvtellingen |
Description
When I try to start the attached server it throws:
Traceback (most recent call last):
File "server.py", line 55, in <module>
register_class(User, 'org.pyamf.User')
File "/pyamf/trunk/pyamf/__init__.py", line 644, in register_class
raise TypeError("pyamf doesn't support required init arguments")
TypeError: pyamf doesn't support required init arguments
but this confuses me as a user ;) njoyce suggested a more helpful description like:
TypeError: in __init__(self, bla, blah, blarg) of the User class etc
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
