Ticket #258 (closed defect: fixed)
Traceback with amfphp and Exceptions
| Reported by: | wic | Owned by: | feisley |
|---|---|---|---|
| Priority: | major | Milestone: | 0.3.1 |
| Component: | Remoting | Version: | 0.3 |
| Keywords: | review | Cc: | wic@… |
Description
When calling a amfphp service which throws an Exception, I get this error stack:
Traceback (most recent call last):
File "/home/wic/client.py", line 48, in ?
installRPC(appkey, newname, customer, dpp);
File "build/bdist.linux-i686/egg/pyamf/remoting/client/__init__.py", line 110, in __call__
File "build/bdist.linux-i686/egg/pyamf/remoting/client/__init__.py", line 99, in _call
File "build/bdist.linux-i686/egg/pyamf/remoting/client/__init__.py", line 337, in execute_single
File "build/bdist.linux-i686/egg/pyamf/remoting/client/__init__.py", line 398, in _getResponse
File "build/bdist.linux-i686/egg/pyamf/remoting/__init__.py", line 542, in decode
File "build/bdist.linux-i686/egg/pyamf/remoting/__init__.py", line 394, in _read_body
File "build/bdist.linux-i686/egg/pyamf/remoting/__init__.py", line 489, in get_fault
TypeError: __init__() got an unexpected keyword argument 'line'
The "offending" php code is
throw new Exception ("The error message");
For the record, this works in Flex 3. Ie the flash application pop up a messagebox which displays "The error message".
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
