hue icon indicating copy to clipboard operation
hue copied to clipboard

Unsupported syntax in python 3

Open InvalidPointer opened this issue 4 years ago • 6 comments

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

InvalidPointer avatar Oct 06 '21 08:10 InvalidPointer

I'm also facing the same problem.Have you solved it?

SbloodyS avatar Nov 04 '21 02:11 SbloodyS

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.

InvalidPointer avatar Nov 04 '21 07:11 InvalidPointer

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.

github-actions[bot] avatar Dec 05 '21 02:12 github-actions[bot]

Any news?

InvalidPointer avatar Dec 05 '21 13:12 InvalidPointer

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.

github-actions[bot] avatar Jan 05 '22 02:01 github-actions[bot]

☹️

InvalidPointer avatar Jan 05 '22 07:01 InvalidPointer

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.

Harshg999 avatar Oct 19 '22 10:10 Harshg999