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

Issue running pygmynote3 #2

Open
egonder opened this issue Feb 24, 2020 · 2 comments
Open

Issue running pygmynote3 #2

egonder opened this issue Feb 24, 2020 · 2 comments

Comments

@egonder
Copy link

egonder commented Feb 24, 2020

Dear Mr. Popov,
I ran into some trouble running the python 3 version of pygmynote. Maybe I did something wrong, but I thought I should let you know about this. The python 2 version is working fine and I am using it, thank you for your work.

Context:
On Ubuntu 18.04.4 and Python 3.6.9, I installed pygmynote via git clone.
Then changed into the downloaded folder and ran python3 pygmynote3.py

Problem:
I receive the following error message

File "pygmynote3.py", line 93
    selection=selection.replace("\"", "\u201d")
                                          ^
TabError: inconsistent use of tabs and spaces in indentation

Next Step:
I checked the line and the indentation looks fine to me.
It seems python misinterpreted the ^`^} for \u201d. But I don't know what this could mean.

Thanks again for your time and effort.

@james64
Copy link

james64 commented Dec 20, 2020

Line 93 uses spaces instead of tabs as other lines in that function. If you fix that there are other python3 formating issues...

@alexiskhoury
Copy link

Hi,

I have modified the original document to work properly with python3, main changes:

  1. replaced color formatting with colorama module
  2. discraded internationalization code

The code is working in windows powershell
pygmynote3.txt
.

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

3 participants