Windows Server Installation

Problems, questions, or anything else related to the MV3D server.

Moderator: SirGolan

Re: Windows Server Installation

Postby multiverseuser » Sun Dec 07, 2008 10:10 am

Hello,

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.

multiverseuser
 
Posts: 103
Joined: Sun Mar 30, 2008 4:29 pm

Re: Windows Server Installation

Postby SirGolan » Sun Dec 07, 2008 7:23 pm

Hey..

Those look like they could be Python-Ogre version related. Which version are you using? I haven't upgraded anything to work with 1.6 yet. Since it looks like you are using the server code from SVN, you could probably get away with downloading the client installer. It would be a good test to see if it still works when two versions of Ogre are installed.

Also, there is a little bug in the current SVN trunk where it doesn't save all the asset data for the sky and water. After you run the worldgen (-i option) and then stop /start the server, you can no longer log in and get an error about OCEAN_RTT being missing. I fixed it in the branch I'm working on, which will be checked in to trunk after I review the code. You can make the changes on your end if you want. They are fairly simple.

http://www.mv3d.com/trac/changeset/759/ ... l/realm.py
http://www.mv3d.com/trac/changeset/759/ ... ys/body.py

Mike
SirGolan
Site Admin
 
Posts: 214
Joined: Wed Mar 19, 2008 7:04 pm

Re: Windows Server Installation

Postby multiverseuser » Tue Dec 09, 2008 6:06 am

Hello,

I upgraded to the latest version of python-ogre 1.6. It also comes with caelum.
So, I'm not sure if it compatible with the previous version of python-ogre.
I will try the patches and see what happens.

Thanks,
multiverseuser
 
Posts: 103
Joined: Sun Mar 30, 2008 4:29 pm

Re: Windows Server Installation

Postby SirGolan » Tue Dec 09, 2008 5:30 pm

I actually haven't even tested 1.6 with MV3D. I got the 1.2 prerelease sort of working for a while, but reverted the changes because the water rendering was completely messed up. I want to try to make MV3D work with both versions, but it may not be possible because of the amount of changes between the versions. Your best bet to get this working now is to revert to 1.1. There's a link on the Windows Install Page for Python-Ogre 1.1.
SirGolan
Site Admin
 
Posts: 214
Joined: Wed Mar 19, 2008 7:04 pm

Re: Windows Server Installation

Postby SirGolan » Tue Dec 09, 2008 5:47 pm

BTW, the only thing that had been keeping me from upgrading to the next Python-Ogre version (other than the water rendering) was that there wasn't an official release since it was always a 1.2 prerelease. Now that the official 1.6 release is out, I feel more comfortable dedicating some time to upgrading.
SirGolan
Site Admin
 
Posts: 214
Joined: Wed Mar 19, 2008 7:04 pm

Previous

Return to Server Software

Who is online

Users browsing this forum: No registered users and 2 guests

cron