You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import jsonrpclib
server = jsonrpclib.Server('http://localhost:5003/api')
server.any_function(any_variable=set()) # <-- Should fail, but with a better exception
Produces the following exception which makes it difficult to troubleshoot the cause:
---> 63 module_name = inspect.getmodule(obj).__name__
64 class_name = obj.__class__.__name__
65 json_class = class_name
AttributeError: 'NoneType' object has no attribute '__name__'
The text was updated successfully, but these errors were encountered:
I have the same issue this the bytearray type. I guess that is because we are using builtin types.
And thus there is no real module where the class is defined.
The builtin types should be managed case by case in the jsonclass.py module.
@joshmarshall are you still maintening this lib? Seem that last update on pypi is quite old. Maybe there is aother alternative to this lib?
Produces the following exception which makes it difficult to troubleshoot the cause:
The text was updated successfully, but these errors were encountered: