Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000116 [Resin] minor always 04-22-05 00:00 01-30-06 09:38
Reporter anonymous View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.18 Product Version 3.0.15
  Product Build 2.1.x
Summary 0000116: Hessian Python implementation does not work
Description RSN-107
Greetings,

The Python client implementation hessianlib.py seems not to work correctly. I tried it with my own service as well as with the http://www.caucho.com/hessian/test/basic [^] service. Both with the same result:

C:\Temp>python hessianlib.py
Traceback (most recent call last):
  File "hessianlib.py", line 463, in ?
    print proxy.hello()
  File "hessianlib.py", line 376, in __call__
    return self._invoker(self._method, args)
  File "hessianlib.py", line 429, in __invoke
    return self.parse_response(h.getfile())
  File "hessianlib.py", line 435, in parse_response
    value = parser.parse_reply()
  File "hessianlib.py", line 277, in parse_reply
    value = self.parse_object()
  File "hessianlib.py", line 285, in parse_object
    return self.parse_object_code(self.read(1))
  File "hessianlib.py", line 352, in parse_object_code
    raise "UnknownObjectCode %d" % code
TypeError: an integer is required


If played around a little bit. If I remove for example
    # major = read(1)
in HessianParser.parse_reply it works:

C:\Temp>python hessianlib.py
Hello, world


Regards -- Tobias
Steps To Reproduce
Additional Information Windows, Python 2.2, Spring Framework
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
04-22-05 00:00 thimstedt New Issue
11-30-05 17:06 ferg Reporter thimstedt => anonymous
11-30-05 17:06 ferg version 2.1.x => 3.0.15
01-30-06 09:38 ferg Assigned To  => ferg
01-30-06 09:38 ferg Status acknowledged => closed
01-30-06 09:38 ferg Resolution open => fixed
01-30-06 09:38 ferg Fixed in Version  => 3.0.18
01-19-07 15:07 devnull Issue Monitored: devnull


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker