2

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'

1
  • 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
    Nov 24, 2015 at 19:04

1 Answer 1

2

I rearranged the folder structure, bringing all modules from sub folders to main folder and adjusted code accordingly. - Current problem solved.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.