Jump to content

Recommended Posts

Posted

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

Posted

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
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...