Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hi guys. Trying to set up a development environment to contribute to Forge a little, but having a problem along the way. setup.py does not run correctly. This is what it spits back at me:

 

D:\Fej\Documents\GitHub\forge>fml\python\python_fml setup.py
=================================== Setup Start ================================
=
Setting up Forge ModLoader
Running command:
['cmd', '/C', 'ant', 'jenkinsbuild']
'ant' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
  File "setup.py", line 113, in <module>
    main()
  File "setup.py", line 33, in main
    setup_fml(mcp_dir, fml_dir, build_num)
  File "setup.py", line 63, in setup_fml
    if not run_command(BUILD, cwd=fml_dir):
  File "setup.py", line 98, in run_command
    self.logger.error("failed: %d", process.returncode)
NameError: global name 'self' is not defined

 

Anyone know what the problem is? Thanks!

Kinda straight forward if you read the error

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

  • Author

Okay, instead of running setup.py I tried running install.py from the install folder. (batch file doesn't work correctly, tiny little syntax error) Different problem:

Traceback (most recent call last):
  File "install\install.py", line 11, in <module>
    from forge import apply_forge_patches
ImportError: No module named forge
Press any key to continue . . .

How do I import the forge module? Or otherwise, what am I doing wrong?

 

Thanks!

Im sorry you appear to stupid to understand the basic setup instructions for working on Forge.

As such I highly doubt you will provide anything of use to Forge itself without a major headake.

So ya... either learn how to problem solve, and read/follow directions. And try again later.

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

Guest
This topic is now closed to further replies.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.