-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add fixes * pyqt fixer: include some QtSql symbols and remove imports which only symbol was removed (eg. SIGNAL)
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d25c253
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jef-n testing this on my machine. I get an error in utils.py importing the configparser library:
ImportError: No module named 'ConfigParser'
Looking at python's documentation (here: https://docs.python.org/2/library/configparser.html), it mentions that the library was renamed from camel case to lowercase (i.e. from ConfigParser to configparser).
If I manually edit utils.py to modify the import to use lower case, it fixes that issue, but then I stumble on another error:
Traceback (most recent call last): File "", line 1, in File "/home/webmaster/dev/cpp/QGIS/bm-qt5/output/python/qgis/utils.py", line 577, in import __builtin__ ImportError: No module named '__builtin__'
Hope this is of help. Keep on the amazing work, and I'll keep trying to help out in the ways I can 😄