Hi everyone,

I have the following setup which is throwing the following error:
"metaclass conflict: the metaclass of a derived class must be a 
(non-strict) subclass of the metaclasses of all its bases" I understand the 
error but I don't know to which metaclass my custom metaclass needs to 
reference to since I checked scrapy's class hierarchy for the Spider class 
and I don't see any metaclass.

The setup is this:

class MyMetaclass(type):
 ......

class MySpiderClass(Spider):
     __metaclass__ = MyMetaclass

Does anyone know how to fix this?

Thanks,

Lucas

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to scrapy-users+unsubscr...@googlegroups.com.
To post to this group, send email to scrapy-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to