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

syntax error in 0.98 choice_box #97

Closed
n-de-groot opened this issue Jun 2, 2016 · 8 comments
Closed

syntax error in 0.98 choice_box #97

n-de-groot opened this issue Jun 2, 2016 · 8 comments

Comments

@n-de-groot
Copy link

after manually updating from 0.97.4 to 0.98 (Anaconda, Python 3):

>>> import easygui
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Anaconda3\lib\site-packages\easygui\__init__.py", line 50, in <module>
    from .boxes.choice_box import choicebox
  File "C:\Anaconda3\lib\site-packages\easygui\boxes\choice_box.py", line 76
    except Exception, e:
                    ^
SyntaxError: invalid syntax
@damonlynch
Copy link

Confirming this bug on Python 3. That style of exception syntax has been deprecated for 8 years now on Python 2.6 / 2.7, and has never been valid Python 3.x syntax.

See https://docs.python.org/dev/whatsnew/2.6.html#pep-3110-exception-handling-changes

@pletnes
Copy link

pletnes commented Jul 4, 2016

This is the commit and code in question. Ran into the same issue myself.

b5eab34#commitcomment-17946353

@ankostis
Copy link

Please fix this regression, lets help python-2 get a peacefull EndOfLife.

@tryeverything
Copy link

replace , with as .
Please fix the bug

@FlyingLotus1983
Copy link

FlyingLotus1983 commented Jul 27, 2016

@kaselis has graciously submitted a pull request 15 days ago that will fix this:

#100 - Pull request - Python 3 invalid syntax error

Being that easygui is currently 100% broken for python 3.5 after being downloaded from pip, I'm asking the authors / admins of this repo to take a minute and merge this pull request in, so those of us using it in production don't have to go around and manually install an older version from pip ... I'll buy you guys a beer one day 👍

@zadacka
Copy link
Collaborator

zadacka commented Jul 27, 2016

Right, that does sound like a problem.

Robert, would you be able to test and merge in the pull request please?
Once that's done I'll push out the updated version to PyPi so that the PIP
install will work...

Thanks,

On 27 July 2016 at 14:08, Neil Jansen notifications@github.com wrote:

@kaselis https://github.com/kaselis has graciously submitted a pull
request 15 days ago that will fix this:

#100 #100 - Python 3 invalid
syntax error

Being that easygui is currently 100% broken for python 3.5 after being
downloaded from pip, I'm asking the authors / admins of this repo to take a
minute and merge this pull request in, so those of us using it in
production don't have to go around and manually install an older version
from pip ... I'll buy you guys a beer one day 👍


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#97 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADV8oQ1inoFwKohwb97ofEPIYapasKJGks5qZ1g5gaJpZM4Isjv7
.

lesp added a commit to lesp/edublocks-installer that referenced this issue Sep 19, 2016
… installer to throw an error. Bug not present in edublocks code! robertlugg/easygui#97
jjdenis added a commit that referenced this issue Sep 26, 2016
@mjpieters
Copy link

This issue can be closed, as it has long since been fixed in 68b9116, part of the 0.98.1 release.

@zadacka zadacka closed this as completed Jan 6, 2019
@zadacka
Copy link
Collaborator

zadacka commented Jan 6, 2019

Thanks @mjpieters

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

8 participants