bocaj1234567 Posted January 15, 2013 Posted January 15, 2013 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 Quote
gotyaoi Posted January 15, 2013 Posted January 15, 2013 Ok, in order: 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. 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: open terminal cd /Users/myusername/Programming/gitrepository/java/MinecraftMods/forge/mcp/ ./startserver.sh Quote
bocaj1234567 Posted January 15, 2013 Author Posted January 15, 2013 Ok, in order: 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. 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: open terminal cd /Users/myusername/Programming/gitrepository/java/MinecraftMods/forge/mcp/ ./startserver.sh Oh lol I figured it out I just click run within eclipse... thank you anyway. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.