Thanks for all the help so far. I made the change you suggested.
I'm still getting an error on the client side.
Doing a "twistd -n mv3d" and deleting the store folder gives an unauthorized error.
Doing a "twistd -n mv3d", deleting the store folder and "twistd -n mv3d -i -n 2 -t 2" gets me
to the realm selection list. However, I get the following error. It is a smaller number of
error as previous tries.
Thanks,
- Code: Select all
c:\code\mv3d>RunClient.py
2008-12-07 01:58:39-0800 [-] Log opened.
2008-12-07 01:58:41-0800 [-] twisted.conch.manhole_ssh.ConchFactory starting on 2222
2008-12-07 01:58:41-0800 [-] Starting factory <twisted.conch.manhole_ssh.ConchFactory instance at 0x06D1CB70>
2008-12-07 01:58:41-0800 [-] INSECURE: unable to disable core dumps.
2008-12-07 01:58:55-0800 [-] Starting factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-07 01:58:57-0800 [HTTPPageGetter,client] Starting factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-07 01:58:57-0800 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-07 01:58:57-0800 [HTTPPageGetter,client] Starting factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-07 01:58:57-0800 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-07 01:58:58-0800 [HTTPPageGetter,client] Starting factory <twisted.spread.pb.PBClientFactory instance at 0x0703F760>
2008-12-07 01:58:58-0800 [HTTPPageGetter,client] Connected.
2008-12-07 01:58:58-0800 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-07 01:59:02-0800 [Broker,client] Traceback: <type 'exceptions.AttributeE
rror'>: 'SceneManager' object has no attribute 'rootSceneNode'
2008-12-07 01:59:02-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\internet\defer.py:752:gotResult
2008-12-07 01:59:02-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\internet\defer.py:742:_inlineCallbacks
2008-12-07 01:59:02-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\internet\defer.py:245:errback
2008-12-07 01:59:02-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\internet\defer.py:752:gotResult
2008-12-07 01:59:02-0800 [Broker,client] --- <exception caught here> ---
2008-12-07 01:59:02-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\internet\defer.py:730:_inlineCallbacks
2008-12-07 01:59:02-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\python\failure.py:330:throwExceptionIntoGenerator
2008-12-07 01:59:02-0800 [Broker,client] C:\code\mv3d\mv3d\client\player.py:146:connectPC
2008-12-07 01:59:02-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\internet\defer.py:730:_inlineCallbacks
2008-12-07 01:59:02-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\python\failure.py:330:throwExceptionIntoGenerator
2008-12-07 01:59:02-0800 [Broker,client] C:\code\mv3d\mv3d\client\sim.py:169:addView
2008-12-07 01:59:02-0800 [Broker,client] Unhandled error in Deferred:
2008-12-07 01:59:02-0800 [Broker,client] Unhandled Error
Traceback (most recent call last):
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 752, in gotResult
_inlineCallbacks(r, g, deferred)
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 742, in _inlineCallbacks
deferred.errback()
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 245, in errback
def errback(self, fail=None):
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 752, in gotResult
_inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 730, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "C:\Python25\lib\site-packages\twisted\python\failure.py", line 330, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "C:\code\mv3d\mv3d\client\view\realm.py", line 137, in setup
yield self.sky.setup()
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 730, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "C:\Python25\lib\site-packages\twisted\python\failure.py", line 330, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "C:\code\mv3d\mv3d\client\view\realm.py", line 92, in setup
yield aserv.acquireAssets(self.assets)
twisted.internet.defer.FirstError: FirstError(<twisted.python.failure.Failure <class 'Boost.Python.ArgumentError'>>, 4)
2008-12-07 01:59:02-0800 [Broker,client] Unhandled error in Deferred:
2008-12-07 01:59:02-0800 [Broker,client] Unhandled Error
Traceback (most recent call last):
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 171, in addCallbacks
def addCallbacks(self, callback, errback=None,
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 282, in _continue
def _continue(self, result):
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 503, in _cbDeferred
def _cbDeferred(self, result, index, succeeded):
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 752, in gotResult
_inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 732, in _inlineCallbacks
result = g.send(result)
File "c:\code\mv3d\mv3d\resource\url.py", line 149, in urlAcquireAsset
if self.urlHaveAsset():
File "c:\code\mv3d\mv3d\resource\ogre3d.py", line 269, in urlHaveAsset
self.readyAsset()
File "c:\code\mv3d\mv3d\resource\ogre3d.py", line 289, in readyAsset
Ogre.MaterialManager.getSingleton().parseScript(ds, "General")
Boost.Python.ArgumentError: Python argument types in
MaterialManager.parseScript(MaterialManager, MemoryDataStream, str)
did not match C++ signature:
parseScript(struct MaterialManager_wrapper {lvalue}, class Ogre::SharedPtr<class Ogre::DataStream> {lvalue} stream, class std::basic_string<char,str
uct std::char_traits<char>,class std::allocator<char> > groupName)
parseScript(class Ogre::MaterialManager {lvalue}, class Ogre::SharedPtr<class Ogre::DataStream> {lvalue} stream, class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > groupName)
2008-12-07 01:59:02-0800 [Broker,client] Unhandled error in Deferred:
2008-12-07 01:59:02-0800 [Broker,client] Unhandled Error
Traceback (most recent call last):
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 171, in addCallbacks
def addCallbacks(self, callback, errback=None,
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 282, in _continue
def _continue(self, result):
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 503, in _cbDeferred
def _cbDeferred(self, result, index, succeeded):
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 752, in gotResult
_inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 732, in _inlineCallbacks
result = g.send(result)
File "c:\code\mv3d\mv3d\resource\url.py", line 149, in urlAcquireAsset
if self.urlHaveAsset():
File "c:\code\mv3d\mv3d\resource\ogre3d.py", line 269, in urlHaveAsset
self.readyAsset()
File "c:\code\mv3d\mv3d\resource\ogre3d.py", line 289, in readyAsset
Ogre.MaterialManager.getSingleton().parseScript(ds, "General")
Boost.Python.ArgumentError: Python argument types in
MaterialManager.parseScript(MaterialManager, MemoryDataStream, str)
did not match C++ signature:
parseScript(struct MaterialManager_wrapper {lvalue}, class Ogre::SharedPtr<class Ogre::DataStream> {lvalue} stream, class std::basic_string<char,str
uct std::char_traits<char>,class std::allocator<char> > groupName)
parseScript(class Ogre::MaterialManager {lvalue}, class Ogre::SharedPtr<class Ogre::DataStream> {lvalue} stream, class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > groupName)
2008-12-07 01:59:04-0800 [-] Traceback: <type 'exceptions.AttributeError'>: 'SceneManager' object has no attribute 'rootSceneNode'
2008-12-07 01:59:04-0800 [-] C:\Python25\lib\site-packages\twisted\internet\defer.py:752:gotResult
2008-12-07 01:59:04-0800 [-] C:\Python25\lib\site-packages\twisted\internet\defer.py:742:_inlineCallbacks
2008-12-07 01:59:04-0800 [-] C:\Python25\lib\site-packages\twisted\internet\defer.py:245:errback
2008-12-07 01:59:04-0800 [-] C:\Python25\lib\site-packages\twisted\internet\defer.py:752:gotResult
2008-12-07 01:59:04-0800 [-] --- <exception caught here> ---
2008-12-07 01:59:04-0800 [-] C:\Python25\lib\site-packages\twisted\internet\defer.py:730:_inlineCallbacks
2008-12-07 01:59:04-0800 [-] C:\Python25\lib\site-packages\twisted\python\failure.py:330:throwExceptionIntoGenerator
2008-12-07 01:59:04-0800 [-] C:\code\mv3d\mv3d\client\player.py:146:connectPC
2008-12-07 01:59:04-0800 [-] C:\Python25\lib\site-packages\twisted\internet\defer.py:730:_inlineCallbacks
2008-12-07 01:59:04-0800 [-] C:\Python25\lib\site-packages\twisted\python\failure.py:330:throwExceptionIntoGenerator
2008-12-07 01:59:04-0800 [-] C:\code\mv3d\mv3d\client\sim.py:169:addView
2008-12-07 01:59:04-0800 [-] Traceback: <class 'twisted.internet.defer.AlreadyCalledError'>:
2008-12-07 01:59:04-0800 [-] --- <exception caught here> ---
2008-12-07 01:59:04-0800 [-] C:\Python25\lib\site-packages\twisted\internet\defer.py:323:_runCallbacks
2008-12-07 01:59:04-0800 [-] C:\code\mv3d\mv3d\client\ui\connect.py:108:<lambda>
2008-12-07 01:59:04-0800 [-] C:\Python25\lib\site-packages\twisted\internet\defer.py:264:errback
2008-12-07 01:59:04-0800 [-] C:\Python25\lib\site-packages\twisted\internet\defer.py:293:_startRunCallbacks
2008-12-07 01:59:04-0800 [-] Error connecting:
2008-12-07 01:59:05-0800 [twisted.conch.manhole_ssh.ConchFactory] (Port 2222 Closed)
2008-12-07 01:59:05-0800 [twisted.conch.manhole_ssh.ConchFactory] Stopping factory <twisted.conch.manhole_ssh.ConchFactory instance at 0x06D1CB70>
2008-12-07 01:59:05-0800 [Broker,client] Stopping factory <twisted.spread.pb.PBClientFactory instance at 0x0703F760>
2008-12-07 01:59:05-0800 [-] Main loop terminated.