limscoder / amfast Goto Github PK
View Code? Open in Web Editor NEWAn Adobe AMF serialization and RPC implementation for Python, written as a C extension for speed.
License: MIT License
An Adobe AMF serialization and RPC implementation for Python, written as a C extension for speed.
License: MIT License
Code for limscoder.blogspot.com
In line 82 of amfast/__init__.py, it seems like log_exc ought to be calling
logger.debug, rather than
simply returning the log message.
Original issue reported on code.google.com by [email protected]
on 21 Oct 2009 at 7:25
CherryPy and Twisted can both mount WSGI apps. Should we only support WSGI,
and just mount the WSGI app from within CherryPy or Twisted?
Original issue reported on code.google.com by [email protected]
on 14 May 2009 at 6:32
Add ifdefs for PyString->PyByte
Original issue reported on code.google.com by [email protected]
on 14 Mar 2009 at 12:21
See summary
Original issue reported on code.google.com by [email protected]
on 2 Mar 2009 at 9:40
If an array contains an object mapped with a SaClassDef that contains a
recursive reference to the array, a segfault will result.
When the SaClassDef's 'applyAttrVals' method is called, SQLAlchemy's
attribute instrumentation will do a for loop across all values in the list.
The list is not populated yet, so a seqfault will be triggered when the for
loop hits a NULL.
This problem can be solved by creating an empty list and using 'append' to
populate it, instead of the current method of creating a list of known
length, and populating the list as its members are decoded.
This problem could also be solved if there was some way of turning off
SqlAlchemy's instrumentation until after the decoded obj's values have been
populated, but there is currently no way to do that.
Original issue reported on code.google.com by [email protected]
on 4 Nov 2009 at 11:50
See here for more info.
http://groups.google.com/group/amfast/browse_frm/thread/90944fad382f0095
Original issue reported on code.google.com by [email protected]
on 30 Jun 2009 at 4:14
MessageAgent currently keeps all messages in memory. There should be an
option to save to file or DB.
Original issue reported on code.google.com by [email protected]
on 19 May 2009 at 3:23
Create a Python client.
Original issue reported on code.google.com by [email protected]
on 24 Mar 2009 at 6:03
Develop long polling and streaming http channels.
Original issue reported on code.google.com by [email protected]
on 11 May 2009 at 4:59
* Finish documentation
* Build and test with 2.4, 2.5, 2.6
* Red5 EchoTest
* Upload to PyPi
* Update install instructions
* Announce
Original issue reported on code.google.com by [email protected]
on 6 May 2009 at 7:02
Allow callable targets to return a deferred object.
See: http://groups.google.com/group/amfast/browse_frm/thread/84c3181804c0681c
Original issue reported on code.google.com by [email protected]
on 26 May 2009 at 3:19
Ignore it when decoding AMF3, add it to the beginning when encoding.
Original issue reported on code.google.com by [email protected]
on 19 May 2009 at 3:04
In setup.py, setuptools is being imported before
'from ez_setup import use_setuptools
use_setuptools'
This is causing errors for people who don't have setuptools installed.
Original issue reported on code.google.com by [email protected]
on 7 Jul 2009 at 4:08
Generate AS3 code from ClassDefs.
Original issue reported on code.google.com by [email protected]
on 5 Mar 2009 at 3:58
Currently, each anonymous object has it's own class definition, but they
should use references.
Original issue reported on code.google.com by [email protected]
on 12 Mar 2009 at 7:07
What steps will reproduce the problem?
1. Run python setup.py -v install
What is the expected output? What do you see instead?
I expect it to install with no errors. Instead I see the following:
building 'amfast.encoder' extension
Unable to find productdir in registry
Env var VS90COMNTOOLS is not set or invalid
No productdir found
error: None
What version of the product are you using? On what operating system?
I am attempting to install AmFast-0.2.0 on Windows Vista using Python 2.6
Please provide any additional information below.
I have pyamf installed and running. I also have cherrypy installed with no
issues. I believe my Python install is correct. From a google search it
looks like this might be a Visual Studio issue but I have yet to find
anything difinitive.
Original issue reported on code.google.com by [email protected]
on 25 Mar 2009 at 6:06
cherrypy_channel.py line 18:
Function level definition tries to call member method getBadMethod()
Original issue reported on code.google.com by [email protected]
on 28 Aug 2009 at 9:38
Create a channel that uses RTMPy.
Original issue reported on code.google.com by [email protected]
on 11 May 2009 at 5:02
Connection session adapters should have file and DB options.
Original issue reported on code.google.com by [email protected]
on 19 May 2009 at 3:22
What steps will reproduce the problem?
python setup.py install
What version of the product are you using? On what operating system?
AmFast 0.4.2
Please provide any additional information below.
Attached a diff that will correct the issue
Original issue reported on code.google.com by [email protected]
on 28 Dec 2009 at 3:04
Attachments:
Streaming example works OK with CherryPy channel, but Twisted channel does
not work correctly.
Original issue reported on code.google.com by [email protected]
on 10 Sep 2009 at 9:35
Tornado is Facebook's opensource webserver and framework, and it looks
perfect for server long-polling and streaming connections.
Original issue reported on code.google.com by [email protected]
on 11 Sep 2009 at 5:09
What steps will reproduce the problem?
It's the same problem as stated in the below issue.
>>http://code.google.com/p/amfast/issues/detail?id=38#c1
What version of the product are you using? On what operating system?
>>I am using python 2.6.3 and the OS is window xp.
Best Regards,
James
Original issue reported on code.google.com by [email protected]
on 27 Nov 2009 at 8:02
File "hello_world/python/twisted_server.tac", line 12, in <module>
import utils
exceptions.ImportError: No module named utils
Failed to load application: No module named utils
using v0.4.1 AMFast
Twisted 8.2.0
on OS X 10.6.1
Python 2.6
I'm trying to get the HelloWorld running and it fails as above.
Original issue reported on code.google.com by [email protected]
on 31 Oct 2009 at 5:21
Connection notification should happen in a separate thread, or be async in
Twisted.
Original issue reported on code.google.com by [email protected]
on 27 Jul 2009 at 7:23
Download source and libs AmFastLib.swf and insert them into a new flex
project. 3.2, 3.3, or 4.0
Wait for compile and then Run it
I have flash player 10 debug version and it played the precompiled swf fine
off my site... I have amfast addressbook example working on my server, but
I am kind of lost as to why flex throws so may errors.
Are there compiler arguements I need to include? I feel like I am missing
something simple...
Here is the first of many errors, but the only one mentioning remoteing is
VerifyError: Error #1053: Illegal override of initEndpoint in
mx.rpc.remoting.mxml.RemoteObject.
at flash.display::MovieClip/nextFrame()
at
mx.managers::SystemManager/deferredNextFrame()[C:\autobuild\galaga\framewor
ks\projects\framework\src\mx\managers\SystemManager.as:322]
at
mx.managers::SystemManager/preloader_initProgressHandler()[C:\autobuild\gal
aga\frameworks\projects\framework\src\mx\managers\SystemManager.as:3094]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.preloaders::Preloader/timerHandler()[C:\autobuild\galaga\frameworks\proj
ects\framework\src\mx\preloaders\Preloader.as:399]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Original issue reported on code.google.com by [email protected]
on 28 Oct 2009 at 1:32
django_channel.py seems to be missing imports for amfast and AmFastError
Original issue reported on code.google.com by [email protected]
on 21 Oct 2009 at 7:13
There is an invalid call to amfast.log_exc() in the codebase. The function
requires an exception as an argument but that argument isn't provided in
those calls. Attached is a patch that fixes this.
Original issue reported on code.google.com by [email protected]
on 10 Aug 2009 at 9:30
Attachments:
Add 'channel' property to subscription objects.
Original issue reported on code.google.com by [email protected]
on 3 Jun 2009 at 7:25
What steps will reproduce the problem?
Install
Python 2.6.3
Install setuptools 0.6c9
get AMFast with svn
python setup.py install
**Workaround this with python ez_setup.py**
Get long traceback below
running build_ext
Traceback (most recent call last):
File "setup.py", line 50, in <module>
"Topic :: Utilities"
File "/usr/local/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/local/lib/python2.6/distutils/dist.py", line 975, in
run_commands
self.run_command(cmd)
File "/usr/local/lib/python2.6/distutils/dist.py", line 995, in
run_command
cmd_obj.run()
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-
py2.6.egg/setupt ools/command/install.py", line
76, in run
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-
py2.6.egg/setupt ools/command/install.py", line
96, in do_egg_install
File "/usr/local/lib/python2.6/distutils/cmd.py", line 333, in
run_command
self.distribution.run_command(command)
File "/usr/local/lib/python2.6/distutils/dist.py", line 995, in
run_command
cmd_obj.run()
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-
py2.6.egg/setupt ools/command/bdist_egg.py",
line 174, in run
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-
py2.6.egg/setupt ools/command/bdist_egg.py",
line 161, in call_command
File "/usr/local/lib/python2.6/distutils/cmd.py", line 333, in
run_command
self.distribution.run_command(command)
File "/usr/local/lib/python2.6/distutils/dist.py", line 995, in
run_command
cmd_obj.run()
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-
py2.6.egg/setupt ools/command/install_lib.py",
line 20, in run
File "/usr/local/lib/python2.6/distutils/command/install_lib.py", line
113, in build
self.run_command('build_ext')
File "/usr/local/lib/python2.6/distutils/cmd.py", line 333, in
run_command
self.distribution.run_command(command)
File "/usr/local/lib/python2.6/distutils/dist.py", line 995, in
run_command
cmd_obj.run()
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-
py2.6.egg/setupt ools/command/build_ext.py",
line 46, in run
File "/usr/local/lib/python2.6/distutils/command/build_ext.py", line 340,
in r un
self.build_extensions()
File "/usr/local/lib/python2.6/distutils/command/build_ext.py", line 449,
in b uild_extensions
self.build_extension(ext)
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-
py2.6.egg/setupt ools/command/build_ext.py",
line 175, in build_extension
File "/usr/local/lib/python2.6/distutils/command/build_ext.py", line 460,
in b uild_extension
ext_path = self.get_ext_fullpath(ext.name)
File "/usr/local/lib/python2.6/distutils/command/build_ext.py", line 633,
in g et_ext_fullpath
filename = self.get_ext_filename(modpath[-1])
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-
py2.6.egg/setupt ools/command/build_ext.py",
line 85, in get_ext_filename
KeyError: 'encode'
What version of the product are you using? On what operating system?
CentOS
Linux version 2.6.9-023stab048.6-enterprise (root@rhel4-32) (gcc version
3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Mon Nov 17 19:09:18 MSK 2008
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 13 Oct 2009 at 9:23
Create and test an example using mod_python
Original issue reported on code.google.com by [email protected]
on 21 Jul 2009 at 12:58
How to for App engine and others frameworks is very important.
Original issue reported on code.google.com by [email protected]
on 24 Sep 2009 at 2:09
Message can be published to a single client_id
Original issue reported on code.google.com by [email protected]
on 9 Jul 2009 at 6:59
See:
http://groups.google.com/group/amfast/browse_thread/thread/f44d5e46c7ef7b54#
Original issue reported on code.google.com by [email protected]
on 19 Oct 2009 at 4:33
Index: wsgi_channel.py
===================================================================
--- wsgi_channel.py (revision 442)
+++ wsgi_channel.py (working copy)
@@ -259,7 +259,7 @@
def stopStream(self, msg):
"""Stop a streaming connection."""
- connection =
self.channel_set.getConnection(msg.headers.get(msg.FLEX_CLIENT_ID_HEADER))
+ connection =
self.channel_set.connection_manager.getConnection(msg.headers.get(msg.FLEX_CLIEN
T_ID_HEADER))
connection.disconnect()
if hasattr(connection, "notify_func") and connection.notify_func
is not None:
connection.notify_func()
Original issue reported on code.google.com by [email protected]
on 14 Oct 2009 at 3:49
see:
http://groups.google.com/group/amfast/browse_thread/thread/d6809250a630939?pli=1
Original issue reported on code.google.com by [email protected]
on 19 Oct 2009 at 4:32
Currently AmFast does not support long-polling or streaming connections
when a proxy/multiple web server setup is being used.
When an incoming message is received, the ChannelSet needs to notify all
other servers so that the message can be dispatched to subscribed clients.
Original issue reported on code.google.com by [email protected]
on 24 Sep 2009 at 7:53
Only the 1st message get processed.
See:
http://groups.google.com/group/amfast
Original issue reported on code.google.com by [email protected]
on 28 Jun 2009 at 6:02
When a long-polling client is waiting for a message, HTTPChannel loops with
time.sleep(channel.check_interval) until a message becomes available.
Use threading.Event to signal waiting thread when message becomes
available, to avoid waking thread every channel.check_interval.
Original issue reported on code.google.com by [email protected]
on 4 Jun 2009 at 4:31
Avoid the overhead of thread locking when using Twisted.
Original issue reported on code.google.com by [email protected]
on 10 Jul 2009 at 9:55
GAE messaging example has timeout exception.
Original issue reported on code.google.com by [email protected]
on 31 Dec 2009 at 2:42
When the WsgiChannel is waiting for messages during a long-polling request,
it does not detect when a client closes a connection, so the thread
continues to wait for messages until the Connection times out.
Original issue reported on code.google.com by [email protected]
on 18 May 2009 at 6:06
ChannelSet, Channel, ConnectionManager, and SubscriptionManager to work
with GAE.
Original issue reported on code.google.com by [email protected]
on 10 Jul 2009 at 9:56
Currently compiling amfast with VS dies horribly. The basic reason is that
distutils sees '.c' files and then forces compiler into the brain-dead C
mode (i.e. uses switch /TcSOMEFILE.c). In this mode VS doesn't like a
couple .h file entries of the form "PyObject_HEAD;" (just remove ;) and the
various .c file cases where vars are not pre-declared in the function
header. Solution is to fix those couple issues.
Alternate solution: compile in CPP mode by renaming the .c files to .cpp
and replacing an unfortunate naming choice where "class" was used as local
variable, and a one instance where a string of constant length is stack
allocated.
Original issue reported on code.google.com by [email protected]
on 9 Jul 2009 at 1:46
See: http://groups.google.com/group/amfast/browse_frm/thread/2c06dd046e5977c6
Original issue reported on code.google.com by [email protected]
on 7 Jul 2009 at 4:09
What steps will reproduce the problem?
See here:
http://groups.google.com/group/amfast/browse_thread/thread/7b47d31660997300
Original issue reported on code.google.com by [email protected]
on 5 Jan 2010 at 3:12
Add an optional method that uses internal polling instead of notification
of long-polling and streaming channels.
Original issue reported on code.google.com by [email protected]
on 26 Jul 2009 at 6:50
[deleted issue]
Create async gateway class with a message queue that can be used with
polling/http or with twisted's RTMPy.
Original issue reported on code.google.com by [email protected]
on 12 Mar 2009 at 6:11
Test with new PyAmf0.5
Original issue reported on code.google.com by [email protected]
on 10 Sep 2009 at 3:42
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.