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

Incomplete pb_tool.cfg when using the template processing #120

Open
jecaro opened this issue Jan 30, 2020 · 3 comments
Open

Incomplete pb_tool.cfg when using the template processing #120

jecaro opened this issue Jan 30, 2020 · 3 comments

Comments

@jecaro
Copy link

jecaro commented Jan 30, 2020

When using the template processing, the [files] section of the pb_tool.cfg file does not contain all the python files to deploy. It misses the provider and the algorithm files. As a result, after a successfull pb_tool deploy, QGIS is not able to load the resulting plugin.

@g-sherman
Copy link
Owner

If you've identified these files, please submit a pull request to address the issue.

@jecaro
Copy link
Author

jecaro commented Jan 30, 2020

I'd happy to help if you could you point me the part of the code where pb_tool.cfg is written ?

@arno974
Copy link

arno974 commented Oct 18, 2023

I was searching for hours what could be the cause of the import error. Then I've decided to fill an issue and I've found this one ! Thanks. So I've changed the content of the pb_tool.cfg and added the algorithm and provider python files. Then deployed and everything is working fine.

Original pb_tool.cfg :
python_files: __init__.py example_processing.py

Modified pb_tool.cfg :
python_files: __init__.py example_processing.py example_processing_algorithm.py example_processing_provider.py

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

3 participants