From mudit.tuli at gmail.com Sat Mar 14 12:34:23 2009 From: mudit.tuli at gmail.com (mudit tuli) Date: Sat Mar 14 12:34:34 2009 Subject: [rtmpy-dev] Re: Welcome to the "rtmpy-dev" mailing list In-Reply-To: References: Message-ID: <3d4c0f160903140434x104b7c40kd9ff3f42fdc887de@mail.gmail.com> Trying to run the HelloWorld . When I try to connect the NetConnection object, I get these exceptions . Environment 1.Ubuntu 8.042 2.python2.5 3.twisted 2.5 4.zope.interface 3.3.1 I took the checkout of the latest revision . 2009/03/14 16:31 +0530 [rtmpy.server.ServerFactory] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 33, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) File "/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py", line 139, in _doReadOrWrite why =3D getattr(selectable, method)() --- --- File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line 813, in doRead protocol.makeConnection(transport) File "/usr/lib/python2.5/site-packages/twisted/internet/protocol.py", line 333, in makeConnection self.connectionMade() File "build/bdist.linux-i686/egg/rtmpy/rtmp/__init__.py", line 329, in connectionMade exceptions.NameError: global name '_debug' is not defined 2009/03/14 16:31 +0530 [ServerProtocol,1,192.168.1.2] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 48, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 33, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) --- --- File "/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py", line 139, in _doReadOrWrite why =3D getattr(selectable, method)() File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line 362, in doRead return self.protocol.dataReceived(data) File "build/bdist.linux-i686/egg/rtmpy/rtmp/__init__.py", line 437, in dataReceived exceptions.NameError: global name '_debug' is not defined 2009/03/14 16:31 +0530 [ServerProtocol,1,192.168.1.2] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 113, in runReactorWithLogging reactor.run() File "/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py", line 220, in run self.mainLoop() File "/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py", line 231, in mainLoop self.doIteration(t) File "/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py", line 133, in doSelect _logrun(selectable, _drdw, selectable, method, dict) --- --- File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 48, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 33, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) File "/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py", line 149, in _doReadOrWrite self._disconnectSelectable(selectable, why, method=3D=3D"doRead") File "/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py", line 258, in _disconnectSelectable selectable.connectionLost(failure.Failure(why)) File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line 416, in connectionLost protocol.connectionLost(reason) File "build/bdist.linux-i686/egg/rtmpy/rtmp/__init__.py", line 376, in connectionLost exceptions.NameError: global name '_debug' is not defined -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.collab.nl/pipermail/rtmpy-dev/attachments/20090314/24d520= d9/attachment.htm From mudit.tuli at gmail.com Sat Mar 14 14:59:44 2009 From: mudit.tuli at gmail.com (mudit tuli) Date: Sat Mar 14 14:59:55 2009 Subject: [rtmpy-dev] Exceptions in helloworld Message-ID: <3d4c0f160903140659y4106a59fl317e72901082587c@mail.gmail.com> Trying to run the HelloWorld . When I try to connect the NetConnection object, I get these exceptions . Environment 1.Ubuntu 8.04 2.python2.5 3.twisted 2.5 4.zope.interface 3.3.1 I took the checkout of the latest revision . 2009/03/14 16:31 +0530 [rtmpy.server.ServerFactory] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 33, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) File "/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py", line 139, in _doReadOrWrite why =3D getattr(selectable, method)() --- --- File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line 813, in doRead protocol.makeConnection(transport) File "/usr/lib/python2.5/site-packages/twisted/internet/protocol.py", line 333, in makeConnection self.connectionMade() File "build/bdist.linux-i686/egg/rtmpy/rtmp/__init__.py", line 329, in connectionMade exceptions.NameError: global name '_debug' is not defined 2009/03/14 16:31 +0530 [ServerProtocol,1,192.168.1.2] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 48, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 33, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) --- --- File "/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py", line 139, in _doReadOrWrite why =3D getattr(selectable, method)() File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line 362, in doRead return self.protocol.dataReceived(data) File "build/bdist.linux-i686/egg/rtmpy/rtmp/__init__.py", line 437, in dataReceived exceptions.NameError: global name '_debug' is not defined 2009/03/14 16:31 +0530 [ServerProtocol,1,192.168.1.2] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 113, in runReactorWithLogging reactor.run() File "/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py", line 220, in run self.mainLoop() File "/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py", line 231, in mainLoop self.doIteration(t) File "/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py", line 133, in doSelect _logrun(selectable, _drdw, selectable, method, dict) --- --- File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 48, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 33, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) File "/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py", line 149, in _doReadOrWrite self._disconnectSelectable(selectable, why, method=3D=3D"doRead") File "/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py", line 258, in _disconnectSelectable selectable.connectionLost(failure.Failure(why)) File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line 416, in connectionLost protocol.connectionLost(reason) File "build/bdist.linux-i686/egg/rtmpy/rtmp/__init__.py", line 376, in connectionLost exceptions.NameError: global name '_debug' is not defined -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.collab.nl/pipermail/rtmpy-dev/attachments/20090314/d505b1= e2/attachment.htm From hans at hansdude.com Tue Mar 17 18:56:07 2009 From: hans at hansdude.com (Hans-Peter Klett) Date: Tue Mar 17 19:26:13 2009 Subject: [rtmpy-dev] Extra parameter to connect causes exceptions. Message-ID: <7f8a69650903171056w439d46b1u92bca44a2990f1d1@mail.gmail.com> Hello all, First of all, sorry if this is the wrong place to put this; I tried to find a place to submit bug reports. So the latest Flex finally works with a small hack, but when I add an extra parameter to my connect() call, it throws exceptions about having the wrong number of parameters to onInvoke. Flex code I'm using: nc = new NetConnection(); nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler); nc.connect('rtmp://localhost/liveStream', '12345'); Where should I be looking in order to fix this? Thanks!