hue
hue copied to clipboard
Unsupported syntax in python 3
This syntax causes SyntaxError when running in python 3 environment. https://www.python.org/dev/peps/pep-3109/#grammar-changes
https://github.com/cloudera/hue/blob/c01df1ce5bc1145e42937f911a9eb09d2d61eec3/desktop/libs/notebook/src/notebook/connectors/rdbms.py#L43
I'm also facing the same problem.Have you solved it?
I've replaced it with raise QueryError(message).with_traceback(sys.exc_info()[2]).
Also you need to fix the same problem in jdbc.py.
This issue is stale because it has been open 30 days with no activity and is not "roadmap" labeled or part of any milestone. Remove stale label or comment or this will be closed in 5 days.
Any news?
This issue is stale because it has been open 30 days with no activity and is not "roadmap" labeled or part of any milestone. Remove stale label or comment or this will be closed in 5 days.
☹️
Thank you @InvalidPointer for reporting the issue! This has been fixed recently in the PR https://github.com/cloudera/hue/pull/3045. Closing the issue.