Jump to content

Recommended Posts

Posted

When I try and install forge source to start making a mod on my mac I get this message when I try and run install.sh from the terminal window:

 

sh-3.2# bash install.sh

/Users/henry/Desktop/mcp719/forge/forge.py:26: Warning: 'with' will become a reserved keyword in Python 2.6

Traceback (most recent call last):

  File "install.py", line 12, in <module>

    from forge import apply_forge_patches

  File "/Users/henry/Desktop/mcp719/forge/forge.py", line 26

    with open(hook_file, 'r') as fh:

            ^

SyntaxError: invalid syntax

 

Can someone help me?

Posted

Why are you trying to run a Unix shell command with bash??

Use this:

sh ./install.sh

There's an EAQ for a reason. Read it!

"Note that failure to read this will make you look idiotic. You don't want that do you?" -- luacs1998

 

First rule of bug reports: More information is always better.

Oh, and logs OR IT DIDN'T HAPPEN!!

Posted

Please make a new topic, vianilambo.

There's an EAQ for a reason. Read it!

"Note that failure to read this will make you look idiotic. You don't want that do you?" -- luacs1998

 

First rule of bug reports: More information is always better.

Oh, and logs OR IT DIDN'T HAPPEN!!

Posted

Perhaps updating Python?

There's an EAQ for a reason. Read it!

"Note that failure to read this will make you look idiotic. You don't want that do you?" -- luacs1998

 

First rule of bug reports: More information is always better.

Oh, and logs OR IT DIDN'T HAPPEN!!

Posted

LMGTFY: [lmgtfy]python downloads[/lmgtfy]

There's an EAQ for a reason. Read it!

"Note that failure to read this will make you look idiotic. You don't want that do you?" -- luacs1998

 

First rule of bug reports: More information is always better.

Oh, and logs OR IT DIDN'T HAPPEN!!

Posted

Go into terminal and run "python" without any arguments. (Press Ctrl-D to exit) It should list what version you're running.

There's an EAQ for a reason. Read it!

"Note that failure to read this will make you look idiotic. You don't want that do you?" -- luacs1998

 

First rule of bug reports: More information is always better.

Oh, and logs OR IT DIDN'T HAPPEN!!

Posted

Try installing Python 2.7.3 instead of 3.3.0

There's an EAQ for a reason. Read it!

"Note that failure to read this will make you look idiotic. You don't want that do you?" -- luacs1998

 

First rule of bug reports: More information is always better.

Oh, and logs OR IT DIDN'T HAPPEN!!

Posted

Ok now I get this message:

 

>> sh ./install.sh

  File "<stdin>", line 1

    sh ./install.sh

        ^

SyntaxError: invalid syntax

 

I think it might be a problem in the install.py file but I don't know python so I couldn't fix it.

Posted

Try just "sh install.sh" (without the ./)

There's an EAQ for a reason. Read it!

"Note that failure to read this will make you look idiotic. You don't want that do you?" -- luacs1998

 

First rule of bug reports: More information is always better.

Oh, and logs OR IT DIDN'T HAPPEN!!

Posted

Wait I was messing around with it and now I got this

 

 

================ Forge ModLoader Setup Start ===================

Setting up MCP

> Backing up commands.py

patching file commands.py

Commands patch applied successfully

Copying FML conf

Fixing MCP Workspace

Traceback (most recent call last):

  File "install.py", line 40, in <module>

    main()

  File "install.py", line 19, in main

    setup_fml(fml_dir, mcp_dir, True)

TypeError: setup_fml() takes exactly 2 arguments (3 given)

 

Posted

- You CANNOT use python 3. Use 2.7

- bash is the same as sh.

- try starting from scratch with MCP and forge. You probably screwed it up somewhere along the way

 

(the '>>' means you're in python. Just open a terminal, don't type 'python'.)

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

  Reveal hidden contents

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Posted

OK this is a long one but now I get this:

 

  Reveal hidden contents

 

 

Is this just first time errors or is this bad?

Posted

 

!! reformating disabled due to no astyle or config !!

Install astyle -.-

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

You're gunna have to figure that out, as far as I know astyle is native mac, as well as shipped with MCP. So you may have to give it the execution flag.

Don't have a mac so I don't know the nuances of what needs to be done.

But astyle is required.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.