Windows Server Installation

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

Moderator: SirGolan

Re: Windows Server Installation

Postby multiverseuser » Sat Apr 12, 2008 8:30 am

Hello,

The windows server installation instructions are now updated.
Please report any problems in this forum and topic.

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

Re: Windows Server Installation

Postby SirGolan » Sat Apr 12, 2008 9:04 pm

Thanks for updating that!

Did you ever figure out why it wasn't downloading SetupAssets.py automatically?
SirGolan
Site Admin
 
Posts: 214
Joined: Wed Mar 19, 2008 7:04 pm

Re: Windows Server Installation

Postby multiverseuser » Wed Nov 26, 2008 8:20 am

Hello,

I just started from scratch. I'm trying to get the server to run again.
I'm running the server from the same place where my SVN is updated.

I typed: twistd.py -n mv3d -i -n 10 -t 3 So I'm not sure if this is still correct.

Also, I had to install epsilon, axiom and psqlite to get to this point.
Any help would be appreciated

Thanks,

Code: Select all

c:\code\multiverse3d>twistd.py -n mv3d -i -n 10 -t 3
Traceback (most recent call last):
  File "C:\python25\scripts\twistd.py", line 21, in <module>
    run()
  File "C:\Python25\lib\site-packages\twisted\scripts\twistd.py", line 24, in ru
n
    app.run(runApp, ServerOptions)
  File "C:\Python25\lib\site-packages\twisted\application\app.py", line 599, in
run
    runApp(config)
  File "C:\Python25\lib\site-packages\twisted\scripts\twistd.py", line 20, in ru
nApp
    _SomeApplicationRunner(config).run()
  File "C:\Python25\lib\site-packages\twisted\application\app.py", line 326, in
run
    self.application = self.createOrGetApplication()
  File "C:\Python25\lib\site-packages\twisted\application\app.py", line 396, in
createOrGetApplication
    ser = plg.makeService(self.config.subOptions)
  File "c:\code\multiverse3d\twisted\plugins\mv3d_server.py", line 75, in makeSe
rvice
    c.configure(nm, cp)
  File "C:\code\multiverse3d\mv3d\util\conductor.py", line 428, in configure
    svc.configure(svcn, cf)
  File "c:\code\multiverse3d\mv3d\server\directory.py", line 729, in configure
    self.store.openOrCreate(cf.get(nm, "store"), force=True)
  File "c:\code\multiverse3d\mv3d\util\datastore\axiomstore.py", line 644, in op
enOrCreate
    return self.open(path)
  File "c:\code\multiverse3d\mv3d\util\datastore\axiomstore.py", line 634, in op
en
    self.store = store.Store(path)
  File "C:\Python25\lib\site-packages\axiom\store.py", line 1155, in __init__
    self.transact(self._startup)
  File "C:\Python25\lib\site-packages\axiom\store.py", line 1649, in transact
    raise
  File "C:\Python25\lib\site-packages\axiom\store.py", line 1640, in transact
    result = f(*a, **k)
  File "C:\Python25\lib\site-packages\axiom\store.py", line 1220, in _startup
    for oid, module, typename, version in self.querySchemaSQL(_schema.ALL_TYPES)
:
  File "C:\Python25\lib\site-packages\axiom\store.py", line 2089, in querySchema
SQL
    return self.querySQL(sql, args)
  File "C:\Python25\lib\site-packages\axiom\store.py", line 2099, in querySQL
    result = self._queryandfetch(sql, args)
  File "C:\Python25\lib\site-packages\axiom\store.py", line 2106, in _queryandfe
tch
    self.cursor.execute(sql, args)
  File "C:\Python25\lib\site-packages\axiom\_pysqlite2.py", line 131, in execute

    raise self._connection.identifySQLError(sql, args, e)
axiom.errors.SQLError: <SQLError: 'SELECT oid, module, typename, version FROM ma
in.axiom_types'(()) caused <class 'pysqlite2._sqlite.OperationalError'>: no such
 table: main.axiom_types>

c:\code\multiverse3d>
multiverseuser
 
Posts: 103
Joined: Sun Mar 30, 2008 4:29 pm

Re: Windows Server Installation

Postby SirGolan » Wed Nov 26, 2008 10:15 pm

I've never seen that error before. It seems like the SQLite database is messed up somehow. If there is a "store" directory in
c:\code\multiverse3d, you should try deleting it and starting MV3D again.
SirGolan
Site Admin
 
Posts: 214
Joined: Wed Mar 19, 2008 7:04 pm

Re: Windows Server Installation

Postby multiverseuser » Thu Nov 27, 2008 4:42 am

Hello,

Removing the store folder fix that problem. Now I got this:
Thanks, for taking the time to help get it running.

Best regards,

Code: Select all
c:\code\multiverse3d>twistd.py -n mv3d -i -n 10 -t 3
2008-11-26 20:36:20-0800 [-] Log opened.
2008-11-26 20:36:20-0800 [-] twistd 8.0.1 (C:\Python25\python.exe 2.5.2) starting up
2008-11-26 20:36:20-0800 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2008-11-26 20:36:20-0800 [-] twisted.conch.manhole_ssh.ConchFactory starting on 1111
2008-11-26 20:36:20-0800 [-] Starting factory <twisted.conch.manhole_ssh.ConchFactory instance at 0x0688F468>
2008-11-26 20:36:20-0800 [-] INSECURE: unable to disable core dumps.
2008-11-26 20:36:20-0800 [Dir] pb://alpha.mv3d.com:1999/Asset registered as a As set service.
2008-11-26 20:36:20-0800 [Dir] local://self/Realm registered as a Realm service.

2008-11-26 20:36:21-0800 [-] Loaded 24 items in 0.39s.
2008-11-26 20:36:21-0800 [-] twisted.spread.pb.PBServerFactory starting on 1999
2008-11-26 20:36:21-0800 [-] Starting factory <twisted.spread.pb.PBServerFactory  instance at 0x06AD4328>
2008-11-26 20:36:21-0800 [-] nevow.appserver.NevowSite starting on 8080
2008-11-26 20:36:21-0800 [-] Starting factory <nevow.appserver.NevowSite instance at 0x07051710>
2008-11-26 20:36:22-0800 [Asset] Downloading __init__.py from http://dev.mv3d.com/~mike/mv3d/Example/ServerSide/__init__.py.
2008-11-26 20:36:22-0800 [-] Starting factory <HTTPDownloader: http://dev.mv3d.com/~mike/mv3d/Example/ServerSide/__init__.py>
2008-11-26 20:36:24-0800 [Asset] Downloaded __init__.py.
2008-11-26 20:36:24-0800 [Asset] Downloading SetupAssets.py from http://dev.mv3d
.com/~mike/mv3d/Example/ServerSide/SetupAssets.py.
2008-11-26 20:36:24-0800 [HTTPPageDownloader,client] Starting factory <HTTPDownloader: http://dev.mv3d.com/~mike/mv3d/Example/ServerSide/SetupAssets.py>
2008-11-26 20:36:24-0800 [HTTPPageDownloader,client] Stopping factory <HTTPDownloader: http://dev.mv3d.com/~mike/mv3d/Example/ServerSide/__init__.py>
2008-11-26 20:36:25-0800 [Asset] Downloaded SetupAssets.py.
2008-11-26 20:36:45-0800 [The Realm] No slave available for area (2, 0)
2008-11-26 20:36:45-0800 [HTTPPageDownloader,client] Unhandled error in Deferred:
2008-11-26 20:36:45-0800 [HTTPPageDownloader,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:\code\multiverse3d\mv3d\server\worldgen.py", line 49, in <lambda>
            r.addCallback(lambda _: wg.fillAreas())
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 817, in unwindGenerator
            return _inlineCallbacks(None, f(*args, **kwargs), 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\multiverse3d\mv3d\server\worldgen.py", line 383, in fill Areas
            yield self.createTerrains(self.terrain)
        mv3d.util.datastore.store.StoreError: Duplicate oid detected for class HeightField

2008-11-26 20:36:45-0800 [HTTPPageDownloader,client] Stopping factory <HTTPDownloader: http://dev.mv3d.com/~mike/mv3d/Example/ServerSide/SetupAssets.py>
multiverseuser
 
Posts: 103
Joined: Sun Mar 30, 2008 4:29 pm

Re: Windows Server Installation

Postby SirGolan » Thu Nov 27, 2008 3:58 pm

Hey,

That happens if you use the -i and -t 3 command line options while running the server twice. Let me explain a bit:

  • -i: initialize a basic world.
  • -n specifies the number of pre-generated players (you can leave this out if you want to use the character generator)
  • -t specifies how big of a terrain you want 2 = 2x2, 4 = 4x4, etc. Each terrain chunk is about 100 meters iirc.
  • -C specifies how many of the white cubes to create

The fact that you got that error is probably a bug since it should never try to reuse object ids, but the reason you got it was because it was trying to initialize a second basic world.

The other key point is that game state is constantly saved. Even if you ctrl+c or unplug your computer or whatnot while the server is running, you should have a fairly up to date world next time you start it up. It saves object positions every 15 seconds I believe so that's the most it'll be out of date. To start the server again without initializing a new world, you can just use:

Code: Select all
twistd -n mv3d


In theory, you should be able to do that now and it'll work. If not, try deleting the store directory again and then running the server with the -i flags.

Also, check out the MV3D Server Commandline Reference

Hope that helps!

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

Re: Windows Server Installation

Postby multiverseuser » Sat Dec 06, 2008 5:43 pm

Hello,

I tried twistd.py -n mv3d and I deleted the store folder.
That seemed to have worked for the server.

Also I edited the client.conf to this
[PBClient]
loginServices=https://localhost:8080/service/

Now I'm getting a new error. The
Unauthorized login
Invalid Credentials

I selected this for a server
pb://localhost:1999/Player

Thanks,

Server data
Code: Select all
c:\code\multiverse3d>twistd.py -n mv3d
2008-12-06 09:36:11-0800 [-] Log opened.
2008-12-06 09:36:11-0800 [-] twistd 8.0.1 (C:\Python25\python.exe 2.5.2) starting up
2008-12-06 09:36:11-0800 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2008-12-06 09:36:11-0800 [-] twisted.conch.manhole_ssh.ConchFactory starting on 1111
2008-12-06 09:36:11-0800 [-] Starting factory <twisted.conch.manhole_ssh.ConchFactory instance at 0x07267350>
2008-12-06 09:36:11-0800 [-] INSECURE: unable to disable core dumps.
2008-12-06 09:36:12-0800 [Dir] pb://alpha.mv3d.com:1999/Asset registered as a As set service.
2008-12-06 09:36:12-0800 [Dir] local://self/Realm registered as a Realm service.

2008-12-06 09:36:12-0800 [-] Loaded 0 items in 0.00s.
2008-12-06 09:36:12-0800 [-] twisted.spread.pb.PBServerFactory starting on 1999
2008-12-06 09:36:12-0800 [-] Starting factory <twisted.spread.pb.PBServerFactory instance at 0x0729B828>
2008-12-06 09:36:12-0800 [-] nevow.appserver.NevowSite starting on 8080
2008-12-06 09:36:12-0800 [-] Starting factory <nevow.appserver.NevowSite instance at 0x0729BE40>
2008-12-06 09:37:51-0800 [HTTPChannel,0,127.0.0.1] session given the will to live for 60 more seconds
2008-12-06 09:37:51-0800 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - - [06/Dec/2008:17
:37:51 +0000] "POST /service/ HTTP/1.0" 302 336 "-" "MV3D"
2008-12-06 09:37:51-0800 [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [06/Dec/2008:17:37:51 +0000] "POST /__session_key__a1068eb01122c1a8f4e6ec8792eb46d0/service/ HT
TP/1.0" 302 240 "-" "MV3D"
2008-12-06 09:37:51-0800 [HTTPChannel,2,127.0.0.1] 127.0.0.1 - - [06/Dec/2008:17:37:51 +0000] "POST /service/ HTTP/1.0" 200 63 "-" "MV3D"
2008-12-06 09:37:52-0800 [HTTPChannel,3,127.0.0.1] Invalid username mike.
2008-12-06 09:37:52-0800 [HTTPChannel,3,127.0.0.1] Traceback (most recent call last):
2008-12-06 09:37:52-0800 [HTTPChannel,3,127.0.0.1] --- <exception caught here> --
2008-12-06 09:37:52-0800 [HTTPChannel,3,127.0.0.1]   File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 323, in _runCallbacks
2008-12-06 09:37:52-0800 [HTTPChannel,3,127.0.0.1]     self.result = callback(self.result, *args, **kw)
2008-12-06 09:37:52-0800 [HTTPChannel,3,127.0.0.1]   File "c:\code\multiverse3d\mv3d\server\login.py", line 407, in <lambda>
2008-12-06 09:37:52-0800 [HTTPChannel,3,127.0.0.1]     username, session.challenge, cryptData))
2008-12-06 09:37:52-0800 [HTTPChannel,3,127.0.0.1]   File "c:\code\multiverse3d\mv3d\server\account.py", line 993, in authenticateResponse
2008-12-06 09:37:52-0800 [HTTPChannel,3,127.0.0.1]     raise UnauthorizedLogin("Invalid credentials.")
2008-12-06 09:37:52-0800 [HTTPChannel,3,127.0.0.1] twisted.cred.error.UnauthorizedLogin: Invalid credentials.
2008-12-06 09:37:52-0800 [HTTPChannel,3,127.0.0.1] 127.0.0.1 - - [06/Dec/2008:17:37:51 +0000] "POST /service/ HTTP/1.0" 200 668 "-" "MV3D"
2008-12-06 09:38:51-0800 [-] session given the will to live for 3600 more seconds



Client Data
Code: Select all
c:\code\multiverse3d>RunClient.py
2008-12-06 09:34:45-0800 [-] Log opened.
2008-12-06 09:34:48-0800 [-] twisted.conch.manhole_ssh.ConchFactory starting on 2222
2008-12-06 09:34:48-0800 [-] Starting factory <twisted.conch.manhole_ssh.ConchFactory instance at 0x06B474E0>
2008-12-06 09:34:48-0800 [-] INSECURE: unable to disable core dumps.
2008-12-06 09:35:01-0800 [-] Starting factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-06 09:35:04-0800 [HTTPPageGetter,client] Starting factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-06 09:35:04-0800 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-06 09:35:04-0800 [HTTPPageGetter,client] Traceback: Invalid credentials.: <class 'twisted.cred.error.UnauthorizedLogin'>
2008-12-06 09:35:04-0800 [HTTPPageGetter,client] --- <exception caught here> ---

2008-12-06 09:35:04-0800 [HTTPPageGetter,client] C:\Python25\lib\site-packages\twisted\internet\defer.py:323:_runCallbacks
2008-12-06 09:35:04-0800 [HTTPPageGetter,client] C:\code\multiverse3d\mv3d\net\client.py:673:error
2008-12-06 09:35:04-0800 [HTTPPageGetter,client] C:\Python25\lib\site-packages\twisted\python\failure.py:318:raiseException
2008-12-06 09:35:04-0800 [HTTPPageGetter,client] C:\Python25\lib\site-packages\twisted\internet\defer.py:323:_runCallbacks
2008-12-06 09:35:04-0800 [HTTPPageGetter,client] C:\code\multiverse3d\mv3d\net\client.py:902:error
2008-12-06 09:35:04-0800 [HTTPPageGetter,client] C:\Python25\lib\site-packages\twisted\python\failure.py:318:raiseException
2008-12-06 09:35:04-0800 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-06 09:35:09-0800 [-] Traceback: Invalid credentials.: <class 'twisted.cred.error.UnauthorizedLogin'>
2008-12-06 09:35:09-0800 [-] --- <exception caught here> ---
2008-12-06 09:35:09-0800 [-] C:\Python25\lib\site-packages\twisted\internet\defer.py:323:_runCallbacks
2008-12-06 09:35:09-0800 [-] C:\code\multiverse3d\mv3d\net\client.py:673:error
2008-12-06 09:35:09-0800 [-] C:\Python25\lib\site-packages\twisted\python\failure.py:318:raiseException
2008-12-06 09:35:09-0800 [-] C:\Python25\lib\site-packages\twisted\internet\defer.py:323:_runCallbacks
2008-12-06 09:35:09-0800 [-] C:\code\multiverse3d\mv3d\net\client.py:902:error
2008-12-06 09:35:09-0800 [-] C:\Python25\lib\site-packages\twisted\python\failure.py:318:raiseException
2008-12-06 09:35:09-0800 [-] Error connecting: <class 'twisted.cred.error.UnauthorizedLogin'>
2008-12-06 09:37:49-0800 [-] Starting factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-06 09:37:51-0800 [HTTPPageGetter,client] Starting factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-06 09:37:51-0800 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-06 09:37:52-0800 [HTTPPageGetter,client] Traceback: Invalid credentials.: <class 'twisted.cred.error.UnauthorizedLogin'>
2008-12-06 09:37:52-0800 [HTTPPageGetter,client] --- <exception caught here> ---

2008-12-06 09:37:52-0800 [HTTPPageGetter,client] C:\Python25\lib\site-packages\twisted\internet\defer.py:323:_runCallbacks
2008-12-06 09:37:52-0800 [HTTPPageGetter,client] C:\code\multiverse3d\mv3d\net\client.py:673:error
2008-12-06 09:37:52-0800 [HTTPPageGetter,client] C:\Python25\lib\site-packages\twisted\python\failure.py:318:raiseException
2008-12-06 09:37:52-0800 [HTTPPageGetter,client] C:\Python25\lib\site-packages\twisted\internet\defer.py:323:_runCallbacks
2008-12-06 09:37:52-0800 [HTTPPageGetter,client] C:\code\multiverse3d\mv3d\net\client.py:902:error
2008-12-06 09:37:52-0800 [HTTPPageGetter,client] C:\Python25\lib\site-packages\twisted\python\failure.py:318:raiseException
2008-12-06 09:37:52-0800 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: https://localhost:8080/service/>
2008-12-06 09:37:54-0800 [-] Traceback: Invalid credentials.: <class 'twisted.cred.error.UnauthorizedLogin'>
2008-12-06 09:37:54-0800 [-] --- <exception caught here> ---
2008-12-06 09:37:54-0800 [-] C:\Python25\lib\site-packages\twisted\internet\defer.py:323:_runCallbacks
2008-12-06 09:37:54-0800 [-] C:\code\multiverse3d\mv3d\net\client.py:673:error
2008-12-06 09:37:54-0800 [-] C:\Python25\lib\site-packages\twisted\python\failure.py:318:raiseException
2008-12-06 09:37:54-0800 [-] C:\Python25\lib\site-packages\twisted\internet\defer.py:323:_runCallbacks
2008-12-06 09:37:54-0800 [-] C:\code\multiverse3d\mv3d\net\client.py:902:error
2008-12-06 09:37:54-0800 [-] C:\Python25\lib\site-packages\twisted\python\failure.py:318:raiseException
2008-12-06 09:37:54-0800 [-] Error connecting: <class 'twisted.cred.error.UnauthorizedLogin'>
2008-12-06 09:37:56-0800 [twisted.conch.manhole_ssh.ConchFactory] (Port 2222 Closed)
2008-12-06 09:37:56-0800 [twisted.conch.manhole_ssh.ConchFactory] Stopping factory <twisted.conch.manhole_ssh.ConchFactory instance at 0x06B474E0>
2008-12-06 09:37:56-0800 [-] Main loop terminated.
multiverseuser
 
Posts: 103
Joined: Sun Mar 30, 2008 4:29 pm

Re: Windows Server Installation

Postby SirGolan » Sat Dec 06, 2008 7:08 pm

Hey there..

I think what happened is that you deleted the store, then ran "twistd -n mv3d" which doesn't recreate the test world or accounts. When you went to log in after that, there were no accounts defined. You should try running "twistd -n mv3d -i -n 2 -t 2" or something and then log in again. If that gets you errors, delete the store and run it again. Please let me know if there are errors the first time because that would be a bug.

Thanks,

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

Re: Windows Server Installation

Postby multiverseuser » Sat Dec 06, 2008 11:16 pm

Hello,

I started from scratch again. I fetched the code from SVN to a different folder.
Out of the box the plugins.cfg file is missing.

I did the "twistd.py -n mv3d -i -n 2 -t 2" on the server side.
on the client side, I modified the client.cfg for local host.

Now, I get to select between two realms. but it crashes here:

Code: Select all
tory: https://localhost:8080/service/>
2008-12-06 15:01:11-0800 [HTTPPageGetter,client] Stopping factory <HTTPClientFac
tory: https://localhost:8080/service/>
2008-12-06 15:01:11-0800 [HTTPPageGetter,client] Starting factory <twisted.sprea
d.pb.PBClientFactory instance at 0x06F038F0>
2008-12-06 15:01:11-0800 [HTTPPageGetter,client] Connected.
2008-12-06 15:01:11-0800 [HTTPPageGetter,client] Stopping factory <HTTPClientFac
tory: https://localhost:8080/service/>
2008-12-06 15:01:16-0800 [Broker,client] Traceback: <type 'exceptions.AttributeE
rror'>: 'SceneManager' object has no attribute 'rootSceneNode'
2008-12-06 15:01:16-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\i
nternet\defer.py:752:gotResult
2008-12-06 15:01:16-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\i
nternet\defer.py:742:_inlineCallbacks
2008-12-06 15:01:16-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\i
nternet\defer.py:245:errback
2008-12-06 15:01:16-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\i
nternet\defer.py:752:gotResult
2008-12-06 15:01:16-0800 [Broker,client] --- <exception caught here> ---
2008-12-06 15:01:16-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\i
nternet\defer.py:730:_inlineCallbacks
2008-12-06 15:01:16-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\p
ython\failure.py:330:throwExceptionIntoGenerator
2008-12-06 15:01:16-0800 [Broker,client] C:\code\mv3d\mv3d\client\player.py:146:
connectPC
2008-12-06 15:01:16-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\i
nternet\defer.py:730:_inlineCallbacks
2008-12-06 15:01:16-0800 [Broker,client] C:\Python25\lib\site-packages\twisted\p
ython\failure.py:330:throwExceptionIntoGenerator
2008-12-06 15:01:16-0800 [Broker,client] C:\code\mv3d\mv3d\client\sim.py:169:add
View
2008-12-06 15:01:16-0800 [Broker,client] Unhandled error in Deferred:
2008-12-06 15:01:16-0800 [Broker,client] Unhandled Error
        Traceback (most recent call last):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
42, in _inlineCallbacks
            deferred.errback()
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 2
45, in errback
            def errback(self, fail=None):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
30, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "C:\Python25\lib\site-packages\twisted\python\failure.py", line 3
30, 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 7
30, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "C:\Python25\lib\site-packages\twisted\python\failure.py", line 3
30, 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.Fa
ilure <class 'mv3d.util.conductor.ConnectError'>>, 0)

2008-12-06 15:01:16-0800 [Broker,client] Unhandled error in Deferred:
2008-12-06 15:01:16-0800 [Broker,client] Unhandled Error
        Traceback (most recent call last):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
39, in _inlineCallbacks
            deferred.callback(e.value)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 2
32, in callback
            def callback(self, result):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
30, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "C:\Python25\lib\site-packages\twisted\python\failure.py", line 3
30, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
          File "C:\code\mv3d\mv3d\client\asset.py", line 94, in getAsset
            i = yield self.parent.getOneService(self.assetServices)
        mv3d.util.conductor.ConnectError: Out of services in getOneService! (['p
b://alpha.mv3d.com:1999/Asset'])

2008-12-06 15:01:16-0800 [Broker,client] Unhandled error in Deferred:
2008-12-06 15:01:16-0800 [Broker,client] Unhandled Error
        Traceback (most recent call last):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
39, in _inlineCallbacks
            deferred.callback(e.value)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 2
32, in callback
            def callback(self, result):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
30, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "C:\Python25\lib\site-packages\twisted\python\failure.py", line 3
30, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
          File "C:\code\mv3d\mv3d\client\asset.py", line 94, in getAsset
            i = yield self.parent.getOneService(self.assetServices)
        mv3d.util.conductor.ConnectError: Out of services in getOneService! (['p
b://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset'])

2008-12-06 15:01:16-0800 [Broker,client] Unhandled error in Deferred:
2008-12-06 15:01:16-0800 [Broker,client] Unhandled Error
        Traceback (most recent call last):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
39, in _inlineCallbacks
            deferred.callback(e.value)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 2
32, in callback
            def callback(self, result):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
30, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "C:\Python25\lib\site-packages\twisted\python\failure.py", line 3
30, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
          File "C:\code\mv3d\mv3d\client\asset.py", line 94, in getAsset
            i = yield self.parent.getOneService(self.assetServices)
        mv3d.util.conductor.ConnectError: Out of services in getOneService! (['p
b://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv
3d.com:1999/Asset'])

2008-12-06 15:01:16-0800 [Broker,client] Unhandled error in Deferred:
2008-12-06 15:01:16-0800 [Broker,client] Unhandled Error
        Traceback (most recent call last):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
39, in _inlineCallbacks
            deferred.callback(e.value)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 2
32, in callback
            def callback(self, result):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
30, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "C:\Python25\lib\site-packages\twisted\python\failure.py", line 3
30, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
          File "C:\code\mv3d\mv3d\client\asset.py", line 94, in getAsset
            i = yield self.parent.getOneService(self.assetServices)
        mv3d.util.conductor.ConnectError: Out of services in getOneService! (['p
b://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv
3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset'])

2008-12-06 15:01:16-0800 [Broker,client] Unhandled error in Deferred:
2008-12-06 15:01:16-0800 [Broker,client] Unhandled Error
        Traceback (most recent call last):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
39, in _inlineCallbacks
            deferred.callback(e.value)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 2
32, in callback
            def callback(self, result):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
30, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "C:\Python25\lib\site-packages\twisted\python\failure.py", line 3
30, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
          File "C:\code\mv3d\mv3d\client\asset.py", line 94, in getAsset
            i = yield self.parent.getOneService(self.assetServices)
        mv3d.util.conductor.ConnectError: Out of services in getOneService! (['p
b://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv
3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/
Asset'])

2008-12-06 15:01:16-0800 [Broker,client] Unhandled error in Deferred:
2008-12-06 15:01:16-0800 [Broker,client] Unhandled Error
        Traceback (most recent call last):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
39, in _inlineCallbacks
            deferred.callback(e.value)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 2
32, in callback
            def callback(self, result):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
30, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "C:\Python25\lib\site-packages\twisted\python\failure.py", line 3
30, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
          File "C:\code\mv3d\mv3d\client\asset.py", line 94, in getAsset
            i = yield self.parent.getOneService(self.assetServices)
        mv3d.util.conductor.ConnectError: Out of services in getOneService! (['p
b://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv
3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/
Asset', 'pb://alpha.mv3d.com:1999/Asset'])

2008-12-06 15:01:16-0800 [Broker,client] Unhandled error in Deferred:
2008-12-06 15:01:16-0800 [Broker,client] Unhandled Error
        Traceback (most recent call last):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
39, in _inlineCallbacks
            deferred.callback(e.value)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 2
32, in callback
            def callback(self, result):
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
52, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 7
30, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "C:\Python25\lib\site-packages\twisted\python\failure.py", line 3
30, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
          File "C:\code\mv3d\mv3d\client\asset.py", line 94, in getAsset
            i = yield self.parent.getOneService(self.assetServices)
        mv3d.util.conductor.ConnectError: Out of services in getOneService! (['p
b://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv
3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/
Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset'])

2008-12-06 15:01:16-0800 [Broker,client] Unhandled error in Deferred:
2008-12-06 15:01:16-0800 [Broker,client] Unhandled Error
        Traceback (most recent call last):
        Failure: twisted.internet.defer.FirstError: FirstError(<twisted.python.failure.Failure <class 'mv3d.util.conductor.ConnectError'>>, 0)

2008-12-06 15:01:16-0800 [Broker,client] Unhandled error in Deferred:
2008-12-06 15:01:16-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 739, in _inlineCallbacks
            deferred.callback(e.value)
          File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 232, in callback
            def callback(self, result):
          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\asset.py", line 94, in getAsset
            i = yield self.parent.getOneService(self.assetServices)
        mv3d.util.conductor.ConnectError: Out of services in getOneService! (['pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv
3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb://alpha.mv3d.com:1999/Asset', 'pb:
//alpha.mv3d.com:1999/Asset'])


Much of the earlier errors were erased, so this is the rest.

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

Re: Windows Server Installation

Postby SirGolan » Sun Dec 07, 2008 2:53 am

I think you should be able to fix this by changing line ~79 of server.conf.

publicLocation=pb://alpha.mv3d.com:1999/Asset

Change to:

publicLocation=pb://localhost:1999/Asset

Then just restart the server (twistd -n mv3d).

Thanks,

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

PreviousNext

Return to Server Software

Who is online

Users browsing this forum: No registered users and 2 guests

cron