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'

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Nov 17, 2015 at 19:35
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. Commented 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.

answered Nov 24, 2015 at 19:04

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.