collective/mr.migrator — Issue #4: Transmogrifier class implements no interfaces
Author: iElectric
Created: 2011-10-28 12:40:53+00:00
State: open

ielectric@kaki:~/code/kiberpipa-old-migration$ $ bin/mr.migrator --zcml=collective.transmogrifier,transmogrify.sqlalchemy
Traceback (most recent call last):
File "bin/mr.migrator", line 111, in
mr.migrator.runner.runner({},"pipeline.cfg")
File "/home/ielectric/code/kiberpipa-old-migration/src/mr.migrator/mr/migrator/runner/__init__.py", line 162, in runner
transmogrifier(pipelineid, **overrides)
File "/home/ielectric/.buildout/eggs/collective.transmogrifier-1.3-py2.7.egg/collective/transmogrifier/transmogrifier.py", line 59, in __call__
pipeline = constructPipeline(self, sections)
File "/home/ielectric/.buildout/eggs/collective.transmogrifier-1.3-py2.7.egg/collective/transmogrifier/utils.py", line 52, in constructPipeline
pipeline)
File "/home/ielectric/code/kiberpipa-old-migration/src/transmogrify.sqlalchemy/transmogrify/sqlalchemy/__init__.py", line 25, in __init__
conns = IAnnotations(transmogrifier).setdefault(SQLSOURCE_KEY, {})
TypeError: ('Could not adapt', {'print': {'blueprint': 'transmogrify.print'}, 'sqlite': {'blueprint': 'transmogrify.sqlalchemy', 'dsn': 'postgres://webpage:YmFiZTAw@localhost/webpage', 'query1': 'SELECT * FROM nuke_postcalendar_events'}, 'discard_old': {'blueprint': 'collective.transmogrifier.sections.condition', 'condition': 'python:'}, 'transmogrifier': {'pipeline': '\nsqlite\nprint'}}, )