-
Notifications
You must be signed in to change notification settings - Fork 20
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
AttributeError: 'NoneType' object has no attribute 'deepcopy' #82
Comments
How can the copy object be None if the module is correctly imported?strange... |
yes... really strange I hope there are no side effects of virtualenvs... this tests are without virtualenv active and no other plugin installed. investigating. Probably my problem... reassigned to me |
Happen sonly when the plugin is reloaded... not to a clean run of qgis witht the plugin already active! investigating |
I can reproduce the error in this way CONTEXT: no plugin available otrher than Web App Builder CASE 1: (first installation... plugin is not active)
CASE 2: (Plugin was already active)
|
hmmmm... solution is almost a workaround. we diddn't find why this happen. we should investigate more to avoid side effects. there a way to leave the tiket "half opened" or "half closed"? |
let's leave it open as a reminder |
something weird happening... after reload this is the error when I try to run the plugin. Seems related to this issue: exception is shown in the Python console Traceback (most recent call last): |
yes, it's the same thing but for the os module... I wasn't getting that, but it seems that all that is not in the class This might be due to how the class object is instantiated On Fri, Oct 30, 2015 at 10:38 AM, Luigi Pirelli [email protected]
Victor Olaya |
Happn during loading the plugin the first time
Couldn't load plugin webappbuilder due to an error when calling its classFactory() method
Traceback (most recent call last):
File "/home/ginetto/PROGRAMMING/QGIS/QGIS-2.8/build/output/python/qgis/utils.py", line 219, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "/home/ginetto/.qgis2/python/plugins/webappbuilder/init.py", line 9, in classFactory
from webappbuilder import WebAppBuilderPlugin
File "/home/ginetto/PROGRAMMING/QGIS/QGIS-2.8/build/output/python/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/ginetto/.qgis2/python/plugins/webappbuilder/webappbuilder.py", line 6, in
from maindialog import MainDialog
File "/home/ginetto/PROGRAMMING/QGIS/QGIS-2.8/build/output/python/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/ginetto/.qgis2/python/plugins/webappbuilder/maindialog.py", line 10, in
from appcreator import createApp, AppDefProblemsDialog, loadAppdef, saveAppdef, checkAppCanBeCreated
File "/home/ginetto/PROGRAMMING/QGIS/QGIS-2.8/build/output/python/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/ginetto/.qgis2/python/plugins/webappbuilder/appcreator.py", line 3, in
from appwriter import writeWebApp
File "/home/ginetto/PROGRAMMING/QGIS/QGIS-2.8/build/output/python/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/ginetto/.qgis2/python/plugins/webappbuilder/appwriter.py", line 10, in
from settings import *
File "/home/ginetto/PROGRAMMING/QGIS/QGIS-2.8/build/output/python/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/ginetto/.qgis2/python/plugins/webappbuilder/settings.py", line 59, in
webAppWidgets = loadWidgets()
File "/home/ginetto/.qgis2/python/plugins/webappbuilder/settings.py", line 24, in loadWidgets
obj = c1
File "/home/ginetto/.qgis2/python/plugins/webappbuilder/webbappwidget.py", line 14, in init
self.defaultParameters = copy.deepcopy(self._parameters)
AttributeError: 'NoneType' object has no attribute 'deepcopy'
The text was updated successfully, but these errors were encountered: