Issue #75 wontfix

Alembic fails adding column of type PickleType

Anonymous avatarAnonymous created an issue

{{{

!python

Generating /home/ielectric/code/project/src/project/alembic/versions/31765b8cc029_.py...done Traceback (most recent call last): File "bin/alembic", line 20, in <module> sys.exit(alembic.config.main()) File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/config.py", line 229, in main dict((k, getattr(options, k)) for k in kwarg) File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/command.py", line 121, in upgrade script.run_env() File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/script.py", line 192, in run_env util.load_python_file(self.dir, 'env.py') File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/util.py", line 185, in load_python_file module = imp.load_source(module_id, path, open(path, 'rb')) File "/home/ielectric/code/project/src/project/alembic/env.py", line 62, in <module> run_migrations_online() File "/home/ielectric/code/project/src/project/alembic/env.py", line 54, in run_migrations_online context.run_migrations() File "<string>", line 7, in run_migrations File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/environment.py", line 467, in run_migrations self.get_context().run_migrations(kw) File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/migration.py", line 200, in run_migrations self): File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/command.py", line 110, in upgrade return script.upgrade_revs(revision, rev) File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/script.py", line 173, in _upgrade_revs for script in reversed(list(revs)) File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/script.py", line 156, in _iterate_revisions lower = self.get_revision(lower) File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/script.py", line 93, in get_revision return self._revision_map[id] File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/util.py", line 219, in get obj.dict[self.name] = result = self.fget(obj) File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/script.py", line 202, in revision_map script = Script._from_filename(self.versions, file) File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/script.py", line 424, in from_filename module = util.load_python_file(dir, filename) File "/home/ielectric/.buildout/eggs/alembic-0.3.6-py2.7.egg/alembic/util.py", line 185, in load_python_file module = imp.load_source(module_id, path, open(path, 'rb')) File "/home/ielectric/code/project/src/project/alembic/versions/31765b8cc029_.py", line 50 sa.Column('acl', sa.PickleType(pickler=<module 'cPickle' (built-in)>), nullable=True), ^ SyntaxError: invalid syntax }}}

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.