Getting error in flex client using pyamf 0.6 dev from git

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting error in flex client using pyamf 0.6 dev from git

Vishal Rana-2
Hi,

Does this http://github.com/hydralabs/pyamf/tarball/release-0.6b1 project support flex client? 

I got this error:
"Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://127.0.0.1:8000/gateway/" but works well with pyamf client.

Using http://svn.pyamf.org/trunk pyamf, there is no such error except for this issue http://dev.pyamf.org/ticket/786

Appreciate your responses.

Thanks
Vishal Rana


_______________________________________________
PyAMF users mailing list - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Getting error in flex client using pyamf 0.6 dev from git

Nick Joyce
On 2 Aug 2010, at 05:23, Vishal Rana wrote:

Hi,

Does this http://github.com/hydralabs/pyamf/tarball/release-0.6b1 project support flex client? 

We have migrated from SVN to GIT and http://github.com/hydralabs/pyamf is the new home of the project. SVN will still be updated synced with the GIT repo but is firmly in read-only mode now. 


I got this error:
"Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://127.0.0.1:8000/gateway/" but works well with pyamf client.

Using http://svn.pyamf.org/trunk pyamf, there is no such error except for this issue http://dev.pyamf.org/ticket/786

All the tests that exist for 0.5.1 pass for 0.6b1 - is there any extra information in the logs on the python side regarding this error?


Appreciate your responses.

Thanks
Vishal Rana

_______________________________________________
PyAMF users mailing list - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users


_______________________________________________
PyAMF users mailing list - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Getting error in flex client using pyamf 0.6 dev from git

Vishal Rana-2
Nick, 

I am using django 1.2.1 and below is traceback from the logs:

Mon, 02 Aug 2010 02:49:03 - project.app.amf.server - __call__ - 171 - ERROR: Error encoding AMF request
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.6.5/lib/python2.6/site-packages/PyAMF-0.6b1dev-py2.6-macosx-10.4-x86_64.egg/pyamf/remoting/gateway/django.py", line 168, in __call__
    logger=self.logger, timezone_offset=timezone_offset)
  File "/usr/local/Cellar/python/2.6.5/lib/python2.6/site-packages/PyAMF-0.6b1dev-py2.6-macosx-10.4-x86_64.egg/pyamf/remoting/__init__.py", line 722, in encode
    _write_body(name, message, stream, encoder, strict)
  File "/usr/local/Cellar/python/2.6.5/lib/python2.6/site-packages/PyAMF-0.6b1dev-py2.6-macosx-10.4-x86_64.egg/pyamf/remoting/__init__.py", line 555, in _write_body
    _encode_body(message)
  File "/usr/local/Cellar/python/2.6.5/lib/python2.6/site-packages/PyAMF-0.6b1dev-py2.6-macosx-10.4-x86_64.egg/pyamf/remoting/__init__.py", line 521, in _encode_body
    encoder.writeElement(message.body)
  File "codec.pyx", line 582, in cpyamf.codec.Encoder.writeElement (cpyamf/codec.c:7766)
  File "codec.pyx", line 588, in cpyamf.codec.Encoder.writeElement (cpyamf/codec.c:7611)
  File "amf0.pyx", line 604, in cpyamf.amf0.Encoder.handleBasicTypes (cpyamf/amf0.c:7030)
  File "amf0.pyx", line 600, in cpyamf.amf0.Encoder.writeAMF3 (cpyamf/amf0.c:6987)
  File "codec.pyx", line 601, in cpyamf.codec.Encoder.writeElement (cpyamf/codec.c:7688)
  File "amf3.pyx", line 1003, in cpyamf.amf3.Encoder.writeObject (cpyamf/amf3.c:10236)
  File "codec.pyx", line 588, in cpyamf.codec.Encoder.writeElement (cpyamf/codec.c:7611)
  File "amf3.pyx", line 1107, in cpyamf.amf3.Encoder.handleBasicTypes (cpyamf/amf3.c:11100)
  File "codec.pyx", line 512, in cpyamf.codec.Encoder.handleBasicTypes (cpyamf/codec.c:6572)
  File "codec.pyx", line 444, in cpyamf.codec.Encoder.writeBoolean (cpyamf/codec.c:5578)
NotImplementedError

PS: pyamf client works well!

Thanks
Vishal Rana


On Sun, Aug 1, 2010 at 1:07 PM, Nick Joyce <[hidden email]> wrote:
On 2 Aug 2010, at 05:23, Vishal Rana wrote:

Hi,

Does this http://github.com/hydralabs/pyamf/tarball/release-0.6b1 project support flex client? 

We have migrated from SVN to GIT and http://github.com/hydralabs/pyamf is the new home of the project. SVN will still be updated synced with the GIT repo but is firmly in read-only mode now. 


I got this error:
"Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://127.0.0.1:8000/gateway/" but works well with pyamf client.

Using http://svn.pyamf.org/trunk pyamf, there is no such error except for this issue http://dev.pyamf.org/ticket/786

All the tests that exist for 0.5.1 pass for 0.6b1 - is there any extra information in the logs on the python side regarding this error?


Appreciate your responses.

Thanks
Vishal Rana

_______________________________________________
PyAMF users mailing list - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users


_______________________________________________
PyAMF users mailing list - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users



_______________________________________________
PyAMF users mailing list - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Getting error in flex client using pyamf 0.6 dev from git

Nick Joyce
On 2 Aug 2010, at 07:23, Vishal Rana wrote:

Nick, 

I am using django 1.2.1 and below is traceback from the logs:

Mon, 02 Aug 2010 02:49:03 - project.app.amf.server - __call__ - 171 - ERROR: Error encoding AMF request
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.6.5/lib/python2.6/site-packages/PyAMF-0.6b1dev-py2.6-macosx-10.4-x86_64.egg/pyamf/remoting/gateway/django.py", line 168, in __call__
    logger=self.logger, timezone_offset=timezone_offset)
  File "/usr/local/Cellar/python/2.6.5/lib/python2.6/site-packages/PyAMF-0.6b1dev-py2.6-macosx-10.4-x86_64.egg/pyamf/remoting/__init__.py", line 722, in encode
    _write_body(name, message, stream, encoder, strict)
  File "/usr/local/Cellar/python/2.6.5/lib/python2.6/site-packages/PyAMF-0.6b1dev-py2.6-macosx-10.4-x86_64.egg/pyamf/remoting/__init__.py", line 555, in _write_body
    _encode_body(message)
  File "/usr/local/Cellar/python/2.6.5/lib/python2.6/site-packages/PyAMF-0.6b1dev-py2.6-macosx-10.4-x86_64.egg/pyamf/remoting/__init__.py", line 521, in _encode_body
    encoder.writeElement(message.body)
  File "codec.pyx", line 582, in cpyamf.codec.Encoder.writeElement (cpyamf/codec.c:7766)
  File "codec.pyx", line 588, in cpyamf.codec.Encoder.writeElement (cpyamf/codec.c:7611)
  File "amf0.pyx", line 604, in cpyamf.amf0.Encoder.handleBasicTypes (cpyamf/amf0.c:7030)
  File "amf0.pyx", line 600, in cpyamf.amf0.Encoder.writeAMF3 (cpyamf/amf0.c:6987)
  File "codec.pyx", line 601, in cpyamf.codec.Encoder.writeElement (cpyamf/codec.c:7688)
  File "amf3.pyx", line 1003, in cpyamf.amf3.Encoder.writeObject (cpyamf/amf3.c:10236)
  File "codec.pyx", line 588, in cpyamf.codec.Encoder.writeElement (cpyamf/codec.c:7611)
  File "amf3.pyx", line 1107, in cpyamf.amf3.Encoder.handleBasicTypes (cpyamf/amf3.c:11100)
  File "codec.pyx", line 512, in cpyamf.codec.Encoder.handleBasicTypes (cpyamf/codec.c:6572)
  File "codec.pyx", line 444, in cpyamf.codec.Encoder.writeBoolean (cpyamf/codec.c:5578)
NotImplementedError

PS: pyamf client works well!

Thanks
Vishal Rana

This was a bug and I have added tests to ensure this doesn't happen again in [1].

I will tag 0.6b2 very shortly - for now use the master branch (or go back to 0.5.1) :)

Cheers,

Nick



_______________________________________________
PyAMF users mailing list - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Getting error in flex client using pyamf 0.6 dev from git

Vishal Rana-2
Thanks, I will use the master branch.

Thanks
Vishal Rana


On Mon, Aug 2, 2010 at 1:09 PM, Nick Joyce <[hidden email]> wrote:
On 2 Aug 2010, at 07:23, Vishal Rana wrote:

Nick, 

I am using django 1.2.1 and below is traceback from the logs:

Mon, 02 Aug 2010 02:49:03 - project.app.amf.server - __call__ - 171 - ERROR: Error encoding AMF request
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.6.5/lib/python2.6/site-packages/PyAMF-0.6b1dev-py2.6-macosx-10.4-x86_64.egg/pyamf/remoting/gateway/django.py", line 168, in __call__
    logger=self.logger, timezone_offset=timezone_offset)
  File "/usr/local/Cellar/python/2.6.5/lib/python2.6/site-packages/PyAMF-0.6b1dev-py2.6-macosx-10.4-x86_64.egg/pyamf/remoting/__init__.py", line 722, in encode
    _write_body(name, message, stream, encoder, strict)
  File "/usr/local/Cellar/python/2.6.5/lib/python2.6/site-packages/PyAMF-0.6b1dev-py2.6-macosx-10.4-x86_64.egg/pyamf/remoting/__init__.py", line 555, in _write_body
    _encode_body(message)
  File "/usr/local/Cellar/python/2.6.5/lib/python2.6/site-packages/PyAMF-0.6b1dev-py2.6-macosx-10.4-x86_64.egg/pyamf/remoting/__init__.py", line 521, in _encode_body
    encoder.writeElement(message.body)
  File "codec.pyx", line 582, in cpyamf.codec.Encoder.writeElement (cpyamf/codec.c:7766)
  File "codec.pyx", line 588, in cpyamf.codec.Encoder.writeElement (cpyamf/codec.c:7611)
  File "amf0.pyx", line 604, in cpyamf.amf0.Encoder.handleBasicTypes (cpyamf/amf0.c:7030)
  File "amf0.pyx", line 600, in cpyamf.amf0.Encoder.writeAMF3 (cpyamf/amf0.c:6987)
  File "codec.pyx", line 601, in cpyamf.codec.Encoder.writeElement (cpyamf/codec.c:7688)
  File "amf3.pyx", line 1003, in cpyamf.amf3.Encoder.writeObject (cpyamf/amf3.c:10236)
  File "codec.pyx", line 588, in cpyamf.codec.Encoder.writeElement (cpyamf/codec.c:7611)
  File "amf3.pyx", line 1107, in cpyamf.amf3.Encoder.handleBasicTypes (cpyamf/amf3.c:11100)
  File "codec.pyx", line 512, in cpyamf.codec.Encoder.handleBasicTypes (cpyamf/codec.c:6572)
  File "codec.pyx", line 444, in cpyamf.codec.Encoder.writeBoolean (cpyamf/codec.c:5578)
NotImplementedError

PS: pyamf client works well!

Thanks
Vishal Rana

This was a bug and I have added tests to ensure this doesn't happen again in [1].

I will tag 0.6b2 very shortly - for now use the master branch (or go back to 0.5.1) :)

Cheers,

Nick



_______________________________________________
PyAMF users mailing list - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users



_______________________________________________
PyAMF users mailing list - [hidden email]
http://lists.pyamf.org/mailman/listinfo/users