Jump to content

startserver.sh problems


bocaj1234567

Recommended Posts

So I type in bash and then drag in "startserver.sh" to the terminal and press enter. Here's what happens: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'runtime/startclient.py': [Errno 2] No such file or directory

I then try to just directly run the python script and here's what happens:

my-usernames-imac:~ myusername$ python /Users/myusername/Programming/gitrepository/java/MinecraftMods/forge/mcp/runtime/startclient.py

ERROR:root:!! Missing mcp.cfg !!

I am running Mac OS X 10.7.5

Link to comment
Share on other sites

Ok, in order:

  1. startserver.sh didn't work because you didn't run it from within the MCP directory. It uses a relative path to startserver.py, so you have to be in the same directory as the script for it to work.
  2. The same problem is occuring when you try to run the python script directly. Since it's default config file is listed as "conf/mcp.cfg", if you're not in the MCP directory, it won't find it.

Solution:

  1. open terminal
  2. cd /Users/myusername/Programming/gitrepository/java/MinecraftMods/forge/mcp/
  3. ./startserver.sh
Link to comment
Share on other sites

Ok, in order:

  1. startserver.sh didn't work because you didn't run it from within the MCP directory. It uses a relative path to startserver.py, so you have to be in the same directory as the script for it to work.
  2. The same problem is occuring when you try to run the python script directly. Since it's default config file is listed as "conf/mcp.cfg", if you're not in the MCP directory, it won't find it.

Solution:

  1. open terminal
  2. cd /Users/myusername/Programming/gitrepository/java/MinecraftMods/forge/mcp/
  3. ./startserver.sh

Oh lol I figured it out I just click run within eclipse... thank you anyway.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...