Bug #1017
Registering RPC method with return type None in Python fails
Status: | Resolved | Start date: | 06/21/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | Python | |||
Target version: | rsb-0.7 |
Description
using this method threw a ValueError because return type handling is broken:
createServer(Scope(RSB_SCOPE), object = self, expose = [ ('stopRunner', type(None), type(None)) ])
Associated revisions
Fixed handling of noarg/noreturn methods in rsb/patterns/__init__.py
fixes #1017
fixes #1017
- rsb/patterns/__init__.py: handle callbacks implementing methods
without argument and/or without return value properly; allow calling
remote methods without arguments
Fix for commit r3614
refs #1017
refs #1017
- rsb/patterns/__init__.py: use requestType property correctly in
LocalMethod._handleRequest
backported r3618, r3614 from trunk, refs #1017
History
#1 Updated by J. Moringen about 12 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r3614.
#2 Updated by J. Moringen about 12 years ago
- Category set to Python
- Status changed from Resolved to Feedback
- Target version set to rsb-0.7
Please check, whether the change fixes the issue.
#3 Updated by J.-C. Seele about 12 years ago
Nothing changed on rsb-python 0.6 reinstalled with gar-installer. Is this the version that was fixed?
#4 Updated by J. Moringen about 12 years ago
The fix is in the trunk version.
#5 Updated by J. Moringen about 12 years ago
- Status changed from Feedback to Resolved