From: Mike H. M. <mm...@pp...> - 2002-08-29 12:34:05
|
On Wed, 2002-08-28 at 20:21, Sean Ahern wrote: > I've downloaded your dump and tried to run it on a Linux machine, but I a= m > unable to do so. When I try to play it through a crserver, it fails > because it's trying to do a "writeback", which won't work on a file dump. > Are you sure you put a "simplequery" in front of your pack SPU to resolve > "get" calls? Queries are the only way I know of to get a writeback issue= d, > though I could easily be incorrect. >=20 > Can you confirm to me that you have run the dump yourself through a > crserver? In a word: no ;). Seriously, I don't know exactly how to set it up to do that... though I think I did it once, but I'm not sure how :-/. I can attach my config file-- I did have the "simplequery" SPU inline. Sorry about this-- I'm still not that great with chromium (yet, hopefully). avsdebug.conf: import sys sys.path.append( '../server' ) from mothership import * if len(sys.argv) > 3 or len(sys.argv) < 2: print 'Usage: %s <demo>' % sys.argv[0] sys.exit(-1) crbindir =3D r'/s/gordo/paredsoft/local/cr/bin/Linux' demo =3D sys.argv[1] server_spu =3D SPU( 'render' ) tilesort_spu =3D SPU ('tilesort') simplequery_spu =3D SPU( 'simplequery' ) server_spu.Conf( 'window_geometry', 100, 100, 500, 256 ) server_node =3D CRNetworkNode( ) server_node.AddSPU( server_spu ) server_node.FileClient( r'/tmp/tiledump' ) server_node.AddTile(0,0,500,500) client_node =3D CRApplicationNode( ) client_node.AddSPU( simplequery_spu ) client_node.AddSPU( tilesort_spu ) tilesort_spu.AddServer( server_node, r'file:///tmp/tiledump' ) client_node.SetApplication( '%s' % (os.path.join(crbindir, demo)) ) client_node.StartDir( crbindir ) cr =3D CR() cr.MTU( 32*1024 ) cr.AddNode( client_node ) cr.AddNode( server_node ) cr.Go() That's the one. Thanks for your help. --=20 Mike Miller mhm...@pr... -> mm...@pp... |