bocaj1234567 Posted January 15, 2013 Share 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 Link to comment Share on other sites More sharing options...
gotyaoi Posted January 15, 2013 Share 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 Link to comment Share on other sites More sharing options...
bocaj1234567 Posted January 15, 2013 Author Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now