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

Code doesn't translate #7

Closed
ghost opened this issue Aug 4, 2021 · 2 comments
Closed

Code doesn't translate #7

ghost opened this issue Aug 4, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 4, 2021

@nottheswimmer
Copy link
Owner

nottheswimmer commented Aug 4, 2021

Hi, thanks for the issue. Pytago tends to experience two types of bugs.

  1. Things that cause Pytago to fail critically. These are high priority to fix and you've provided an example of one here. The reason this code doesn't even produce some kind of result is this line:

sys.stdout.write("\r[+] Preparing... " + animation[i % len(animation)])

There's some code to identify writing to a file that got triggered inappropriately here and then failed. I'll try to get a fix out for that soon, but for now you can probably replace sys.stdout.write with a print and get a partially correct translation.

  1. The second kind of issue is translation errors. These can range from simple to incredibly complex so to fix those we need to create an issue that simplifies the feature being requested as much as possible. There's a lot of library usage in this script that there won't be good support for yet including...
  • strings.digits
  • sys.stdout.flush
  • urllib.request
  • os.system

Just to name a few. Each of these items will need individual issues to address them with well defined examples of the desired usage to flesh them out. If you make these (see the issue template) I will be happy to look into them.

@ghost
Copy link
Author

ghost commented Aug 5, 2021

Yes please, also thank you.

@ghost ghost closed this as completed Aug 5, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant