Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: (Windows) Setup.py crashes #90

Closed
enzomtpYT opened this issue Nov 5, 2022 · 5 comments
Closed

[Bug]: (Windows) Setup.py crashes #90

enzomtpYT opened this issue Nov 5, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@enzomtpYT
Copy link

enzomtpYT commented Nov 5, 2022

Contact Details

No response

What happened?

Hi ! I just tried to do py setup.py and this happened, (the clear error is bc clear doesn't exists on windows, its cls), but i don't know how to manually fix the next error, can you help me or even fix the error ?

Thank you in advance
Your Cordialities
-enzomtp

Version

1.9.1 (Default)

Branch

main (Default)

Relevant log output

'clear' is not recognized as an internal or external command, executable program or batch file.
Packages Already Imported, Exiting!
Updating file paths...
Traceback (most recent call last):
  File "E:\IDM\Compressed\bad_copenheimer-main\setup.py", line 71, in <module>
    fix_files()
  File "E:\IDM\Compressed\bad_copenheimer-main\setup.py", line 59, in fix_files
    ast.literal_eval('replace_line(f"{inp}.env",0,r\'{}PATH={}settings.json{}'.format("\r",inp,"\n")) if inp("Do you want to use enviroment variables? (y/n) ").lower() == "y" else 'replace_line(f"{inp}dis-bot.pyw",11,r\'{}settings_path =\' "{}settings.json{}"'.format("\r",inp,"\n")
TypeError: 'str' object is not callable
@enzomtpYT enzomtpYT added the bug Something isn't working label Nov 5, 2022
@Pilot1782
Copy link
Owner

Please check the troubleshooting wiki page first and come back with any un solved issues.

@enzomtpYT
Copy link
Author

After looking at the troubleshooting page, i didn't found anything helpfull, i also tried the dev branch i also didn't worked.

@Pilot1782
Copy link
Owner

Odd, both of these issues should be fixed in the dev-builds version of setup.py.

@Pilot1782
Copy link
Owner

Alright got a fix pushed to the dev-builds branch.

@Pilot1782
Copy link
Owner

Fixed in latest dev-builds push.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants