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

Migration to QGIS 3.0 #22

Open
mtravis opened this issue Jan 22, 2018 · 4 comments
Open

Migration to QGIS 3.0 #22

mtravis opened this issue Jan 22, 2018 · 4 comments

Comments

@mtravis
Copy link
Owner

mtravis commented Jan 22, 2018

You had a go at this yet? I've tried running the 2to3 script on this plugin but it keeps giving me this error.

Traceback (most recent call last):
File "C:\Users\mtravis.qgis2\python\plugins\2to3.py", line 7, in
sys.exit(main('qgis_fixes'))
File "C:\Python27\lib\lib2to3\main.py", line 221, in main
avail_fixes = set(refactor.get_fixers_from_package(fixer_pkg))
File "C:\Python27\lib\lib2to3\refactor.py", line 108, in get_fixers_from_package
for fix_name in get_all_fix_names(pkg_name, False)]
File "C:\Python27\lib\lib2to3\refactor.py", line 35, in get_all_fix_names
pkg = import(fixer_pkg, [], [], ["*"])
ImportError: No module named qgis_fixes

@tomchadwin
Copy link
Collaborator

I didn't use the 2to3 script. I decided to branch off QGIS2, then in master, correct each error as it came up as I tested.

@mtravis
Copy link
Owner Author

mtravis commented Jan 22, 2018

Ah ok. Might be the simplest way with this plugin.

@tomchadwin
Copy link
Collaborator

Have you also seen this page:

https://github.com/qgis/QGIS/wiki/Plugin-migration-to-QGIS-3

@mtravis
Copy link
Owner Author

mtravis commented Jan 22, 2018 via email

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

2 participants