Open xelamitchell opened 13 years ago
Jynx was a failed experiment at attempting to get Python to read Java annotations. I scrapped it and went for a set of decorators that bridges to my annotations. I'm not entirely sure if I've merged the new command API into the master branch yet. Which branch and revision are you checking out?
In fact, those installation instructions are a wee bit outdated. I switched back to an embedded version of Jython. In fact, command-integrate is the latest branch. And everything is pretty much broke and I don't know why! That's what happens when you take a 6 month break..
If you check out command-integrate you'll probably be able to build and run it, but it won't load the world and thus kill your connection when you finish character creation. I need to finish whatever it was I was working on before and re-enable world loading. I think I was undertaking a massive overhaul of how the engine loads MUDs in order to implement event handling.
Ok, so while I'm still not sure what version you're on, you may be able to solve your problem with a different sample world. Try replacing the code in data/test.py with the code at https://github.com/ProjectMoon/ringmud/blob/ba6c4f12413a99162a1c1c6094f5edf7ef5694a8/sample/data/test.py and see if that allows you to compile the MUD.
Hi ProjectMoon, thanks for the replies. I was on Master but have done what you said and moved to command-integrate branch now. Getting a little problem with deploying the sample mud. Keep getting a:
~/workspace/ProjectMoon-ringmud-689f38d/dist/bin$ sudo ./ringmud.sh deploy sample-1.0.mud
[AppClassLoader@1ba34f2] error can't determine implemented interfaces of missing type antlr.CommonAST
when weaving type org.exist.xquery.XPathException
when weaving classes
when weaving
[Xlint:cantFindType]
org.xmldb.api.base.XMLDBException: Failed to read server's response: Connection refused
at org.exist.xmldb.RemoteCollectionManagementService.createCollection(RemoteCollectionManagementService.java:84)
at org.exist.xmldb.RemoteCollectionManagementService.createCollection(RemoteCollectionManagementService.java:64)
at org.exist.xmldb.RemoteCollectionManagementService.createCollection(RemoteCollectionManagementService.java:52)
at ring.persistence.ExistDB.createRingDatabase(ExistDB.java:338)
at ring.deployer.DeployModule.createCollections(DeployModule.java:125)
at ring.deployer.DeployModule.execute(DeployModule.java:72)
at ring.main.RingMain.executeModule(RingMain.java:74)
at ring.main.RingMain.main(RingMain.java:39)
Caused by: org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection refused
at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:161)
at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:115)
at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:158)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:147)
at org.exist.xmldb.RemoteCollectionManagementService.createCollection(RemoteCollectionManagementService.java:82)
... 7 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.
That's probably because it's unable to find the eXist database. Change db.uri or whatever the setting is in mud.config.
But also try returning to master branch and using the old code for sample/data/test.py as I said in the third comment. It took me awhile to remember exactly where I left off on RingMUD this previous time (I come back to it every few months). The command-integrate branch is horrendously broken. The master branch is more stable. Not sure how the jynx stuff got into the repository. I think if you get rid of that code and change it back to the old code it will work better.
I can't quite break the installation barrier for some reason. I'm on Ubuntu 10.4, was able to compile, install and startup eXist, install Jython... Completed successfully everything until step 9: running rmc. I was never able to successfully install Jynx. When I run the setup.py script it gives me an error and so rmc is unable to find the Jynx namespace in the sample Jython scripts. Any ideas what might be going on here?
Error: jython setup.py install Traceback (innermost last): File "setup.py", line 1, in ? ImportError: no module named distutils