Giter Club home page Giter Club logo

amfast's Introduction

Code for limscoder.blogspot.com

amfast's People

Contributors

limscoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

amfast's Issues

log_exc doesn't do anything

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

SA list-recursion bug

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

Client

Create a Python client.


Original issue reported on code.google.com by [email protected] on 24 Mar 2009 at 6:03

Release 0.3.0

 * 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

Setuptools not imported correctly

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

No productdir found on install

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

Develop Tornado channel

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

the same problem as stated in issue38

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

Failed to load application: No module named utils

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

Flex compiles addressbook but won't let me run it


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

Several invalid calls to amfast.log_exc()

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:

installation of setup.py encode problem. Workaround, use ez_setup.py, works fine

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

StreamingWsgiChannel stopStream fails

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

Support Proxied Setups

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

Create GAE adapter

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

Add Visual Studio 2008 support

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.