alexbruy/qconsolidate — pull request #1 by stevefaeembra (2014-05-17 18:22:01+00:00)
Title: Compiled qt resources

Hello

thank you for the qconsolidate plugin! I needed to reinstall it recently, and it was not showing up in the official repository.

I tried installing from Github, but it was showing up as broken (stack trace below), one of the .py files went missing.

I've been able to fix it by running make, then copying to the local plugins directory.

This pull request should fix this. I can now clone out of github into my plugins directory and it works when I restart QGIS.

(I think i might look at adding an option to zip up the resulting folder ;-)

Thanks again,

Steven (@Stevefaeembra)

=======

Couldn't load plugin qconsolidate due an error when calling its classFactory() method

`Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 204, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "/home/steven/.qgis2/python/plugins/qconsolidate/__init__.py", line 31, in classFactory
from qconsolidate import QConsolidatePlugin
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 453, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/steven/.qgis2/python/plugins/qconsolidate/qconsolidate.py", line 36, in
import qconsolidatedialog
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 453, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/steven/.qgis2/python/plugins/qconsolidate/qconsolidatedialog.py", line 38, in
from ui.ui_qconsolidatedialogbase import Ui_QConsolidateDialog
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 453, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named ui_qconsolidatedialogbase

Python version:
2.7.6 (default, Mar 22 2014, 23:03:14)
[GCC 4.8.2]
`