limscoder / amfast

An Adobe AMF serialization and RPC implementation for Python, written as a C extension for speed.
MIT License
5 stars 6 forks source link

Addressbook example produces error with sqlalchemy 7b1 #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Running the addressbook example with python 2.7 and sqlalchemy v7b1

 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/AmFast-0.5.2-py2.7-macosx-10.6-x86_64.egg/amfast/remoting/sa_subscription_manager.py", line 48, in mapTables
    sa.Column('headers', BINARY_TYPE(), nullable=True),
NameError: global name 'BINARY_TYPE' is not defined

After fixing this sa_subscription_manager.py show the same error

What version of the product are you using? On what operating system?

amfast 0.5.1
python 2.7
sqlalchemy 7b1

Please provide any additional information below.

Two simple code changes -files included- should make the code more future proof

Original issue reported on code.google.com by timbossc...@gmail.com on 15 Feb 2011 at 3:37

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in trunk. Thanks for the code.

Original comment by dthomp...@gmail.com on 19 Feb 2011 at 4:06