{5} Accepted, Active Tickets by Owner (Full Description) (18 matches)

List tickets accepted, group by ticket owner. This report demonstrates the use of full-row display.

nick (8 matches)

Ticket Summary Component Milestone Type Created
Description
#280 Encoder chokes on ImmutableSet Encoder 0.4 defect 05/08/08

I have a pyamf.remoting.gateway.wsgi.WSGIGateway with a service method that returns an ImmutableSet instance. During response encoding, Encoder dies in pyamf/amf3.py, line 1606, in writeObject:

AttributeError: 'tuple' object has no attribute 'iteritems'

#307 Provide 'key' attribute for GAE models Adapters 0.4 enhancement 06/09/08

GAE models get automatically a 'key' assigned by GAE's datastore API.

In a Flex app you might need this key to update records. Currently that key is not send to the Flex client because it's a method on the model class. It should become a attribute called 'key' containing the available properties etc.

Use case:

def getCurrentUser():
   u = GqlQuery("select * from AppUser where googleU = :gu", gu=users.get_current_user()).get()
   if u == None:
      u =  Models.AppUser( googleU = users.get_current_user())
      u.put()

  #setting the id this way doesn't work either....
  #u.id = u.key().id()
  return u

MailingList references:


#229 Class mapping is not thread safe AMF0 0.5 defect 03/13/08

Atm PyAMF handles class mappings using a dict in the pyamf.__init__ module (what could essentially be considered as as singleton or global var). Each decoder or encoder refers to that variable (mainly through helper functions) when en/decoding.

This becomes a serious problem when used in a threaded environment or where the possibility of registering multiple classes to the same alias could occur (think multiple applications in the same thread).

The amf0.Context and amf3.Context classes should be augmented with the ability to register a class for use with a Decoder/Encoder obj. e.g.:

from pyamf import register_class
from pyamf.amf3 import Context

c1 = Context()
c2 = Context()

class A:
    pass

class B:
    pass

# usually registering different classes with the same alias would cause an exception
register_class(A, 'foo.bar', context=c1)
register_class(B, 'foo.bar', context=c2)

#340 Convert dense arrays to list instead of dict Decoder 0.4 defect 08/04/08
var arr:Array = ['version',6];
socket.writeObject(arr);
socket.flush();

Output:

{0:'version',1:6}

but better would be:

['version',6]

#260 p.r.c.ServiceProxy should raise an error if a p.r.STATUS_ERROR is received. Gateway 0.5 enhancement 04/17/08

#269 Issues with PyAMF and Jython Testing 0.5 enhancement 04/30/08

I tested PyAMF on Jython with different versions and quite a few tests failed:

How to reproduce

  1. Grab the Jython trunk:
    svn co https://jython.svn.sourceforge.net/svnroot/jython/trunk jython-trunk
    
  1. Compile Jython and set JYTHON_HOME:
    cd jython-trunk
    ant
    export JYTHON_HOME=/path/to/jython-trunk/dist
    chmod 777 $JYTHON_HOME/bin/jython
    
  1. Grab the PyAMF trunk, install setuptools with:
    $JYTHON_HOME/bin/jython ez_setup.py
    
  1. Run the tests from the PyAMF trunk:
    $JYTHON_HOME/bin/jython setup.py test
    

#357 Refactor `flex.messaging.*` registered classes to have static attributes Remoting 0.4 enhancement 09/13/08

See http://lists.pyamf.org/archives/users/2008-September/000764.html


#308 Update the Adapter framework doc Documentation 0.5 task 06/09/08

See AdapterFramework, it still references Django as the only option.


thijs (10 matches)

Ticket Summary Component Milestone Type Created
Description
#98 Fix 'undefined' test in echo example Examples Blue Sky defect 11/28/07

The undefined test in the EchoTest example currently doesn't correctly check if the test result is correct or not.

void returns undefined in Actionscript, and currently PyAMF returns null in response to the test instead of undefined. The correct response type is void.


#298 Buildbot RPC example Examples 0.5 enhancement 05/16/08

We created a AMF webstatus target for Buildbot that is submitted to the BuildBot project which could be included in a future release.

We need a howto with a simple Flex example that interacts with the various exposed Buildbot methods.


#235 Setup a permanent EchoTest Testing Blue Sky task 04/03/08

The idea is to create a new project called AcidSWF? where we run constant echo tests on PyAMF, but also other AMF and RTMP implementations like SabreAMF, Red5, Coldfusion, FMS, Wowza, etc. The source for echo test will be moved to this new project, including the source for the EchoTest sample that now lives in the Red5 repository.


#255 Setup GAE buildslave Testing 0.4 task 04/16/08

Would be good to have a buildslave for our GoogleAppEngine adapter.


#335 Turn howto's into .rst documents Documentation Blue Sky task 07/15/08

Turn the howto wiki pages, most of them listed on Examples, into .rst documents and add them to the docs.


#354 PyAMF/Twisted example for IPhone OS Examples 0.4 task 09/03/08

Now that it's possible to run PyAMF and Twisted on the IPhone OS it would be nice to create a simple sample, that might include some steps on how to jailbreak the ipod/iphone and install python, since it's quite simple once you figured it out, and it would save people the time to find the right tools.

There's a hello python sample available through the Cydia app manager that shows how to use python to build a native iphone app, inc UI, that shows a simple list of your contacts. Perhaps this can be ported to Flex, where Twisted/PyAMF return this data on request from the IPhone OS to a flash app.

See IPhoneOSExample page


#242 PyAMF and Zope Examples Blue Sky enhancement 04/11/08

There are examples and code to help integrate PyAMF with many web frameworks but none exist for Plone/Zope{2,3} integration. PyAMF would be the perfect way to send data from Plone (ZODB) to the Flash Client.

We should create a howto, example or gateway for this type of integration.

See ZopeHowto


#201 Create Mac OSX installer for PyAMF Installer Blue Sky task 02/18/08

Create setup-pyamf.pkg for newbies that installs:


#202 Epydoc API linking options Documentation Blue Sky task 02/18/08

Figure out how to setup the API links option with epydoc, and add them to setup.cfg


#259 Pygments example Examples 0.5 task 04/16/08

Create a AIR app like the Pygments demo, see examples/sandbox/pygment

The remoting gateway should supply the following methods under the pygment servicename:

  • lexers() -- list of available languages (lexers), called at startup. Returns an array with objects containing id and name properties.
  • highlight(language, code) -- Returns object with resulting html markup in the markup property, and a id property containing a unique id for the submitted code.

Note: See TracReports for help on using and creating reports.