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

layers project is not compiling #423

Open
SrNetoChan opened this issue Jun 28, 2017 · 8 comments
Open

layers project is not compiling #423

SrNetoChan opened this issue Jun 28, 2017 · 8 comments
Labels

Comments

@SrNetoChan
Copy link
Contributor

WebAppBuilder: Traceback (most recent call last):
			  File "C:/Users/boundless/.qgis2/python/plugins\webappbuilder\appcreator.py", line 59, in createApp
			    writeWebApp(appdef, folder, forPreview, progress)
			  File "C:/Users/boundless/.qgis2/python/plugins\webappbuilder\appwriter.py", line 101, in writeWebApp
			    w.write(appdef, dst, _app, progress)
			  File "C:/Users/boundless/.qgis2/python/plugins\webappbuilder\widgets\geocoding\geocoding.py", line 34, in write
			    self.copyToResources("marker.png", folder)
			  File "C:/Users/boundless/.qgis2/python/plugins\webappbuilder\webbappwidget.py", line 90, in copyToResources
			    resourcesFolder = os.path.join(folder, "resources")
			AttributeError: 'NoneType' object has no attribute 'path'

I believe this is something that this is the same error that is giving in a bunch off other manual tests

@SrNetoChan SrNetoChan added the bug label Jun 28, 2017
@luipir
Copy link
Contributor

luipir commented Jun 28, 2017

I suppose has the same origin of the issue fixed here:
planetfederal/qgis-geoserver-plugin#85

IMHO It's necessary to investigate the loose of module reference during runtime

@SrNetoChan
Copy link
Contributor Author

SrNetoChan commented Jun 28, 2017

This is happen in any app if you add a geocoding widget. It is not possible to preview the app.

@volaya
Copy link
Contributor

volaya commented Jun 28, 2017

as Luigi says, this is not a problem of the plugin. It seems that some imports get lost... QGIS problem or Desktop one, something in the Python bindings...

@SrNetoChan
Copy link
Contributor Author

What to do with this one? I can't reproduce it in a systematic way.

@luipir
Copy link
Contributor

luipir commented Jul 4, 2017

a questions, do you do any plugin reload?

@SrNetoChan
Copy link
Contributor Author

I normally reload QGIS after a fresh install of plugins. Not sure if that was the case with WAB when I had that problem. Do you want me to try not reloading WAB before I run the test? To see if something happens?

@luipir
Copy link
Contributor

luipir commented Jul 4, 2017

ok, so plugin reload is not the problem... for me it's still a mistery. Btw I've way to investigate... after the end of tests

@luipir
Copy link
Contributor

luipir commented Jul 4, 2017

that is important is a reproducible case to investigate the origin of the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants