I'm trying to compile a cython plugin for QGIS. The plugin is working on windows (32/64) machines but was never used on Mac before.
I compiled the cython for python as described here but there are still issues and code now returns above error.
File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 306, in startPlugin plugins[packageName] = package.classFactory(iface) AttributeError: 'module' object has no attribute 'classFactory'
-
I decided to rearrange the folder structure (originally module for windows qgis). The code included if statements referring to operating system and appropriate folders. I deleted windows folders and all mac .so compiled files placed to main folder. Adjusted code to address change.Peter– Peter2015年11月24日 19:04:10 +00:00Commented Nov 24, 2015 at 19:04
1 Answer 1
I rearranged the folder structure, bringing all modules from sub folders to main folder and adjusted code accordingly. - Current problem solved.
Explore related questions
See similar questions with these tags.