import pylons templating Running setup_config from baseisp websetup Tr

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import pylons.templating
Running setup_config() from baseisp.websetup
Traceback (most recent call last):
File "/usr/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.3.6', 'console_scripts', 'paster')()
File "/usr/lib/python2.5/site-packages/paste/script/command.py", line 78, in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/python2.5/site-packages/paste/script/command.py", line 117, in invoke
exit_code = runner.run(args)
File "/usr/lib/python2.5/site-packages/paste/script/appinstall.py", line 68, in run
return super(AbstractInstallCommand, self).run(new_args)
File "/usr/lib/python2.5/site-packages/paste/script/command.py", line 212, in run
result = self.command()
File "/usr/lib/python2.5/site-packages/paste/script/appinstall.py", line 456, in command
self, config_file, section, self.sysconfig_install_vars(installer))
File "/usr/lib/python2.5/site-packages/paste/script/appinstall.py", line 592, in setup_config
mod.setup_config(command, filename, section, vars)
File "/var/www/baseisp/baseisp/websetup.py", line 15, in setup_config
from baseisp import model
File "/var/www/baseisp/baseisp/model/__init__.py", line 50, in <module>
Column("meta_key_instr", types.String(255)),
File "/usr/lib/python2.5/site-packages/sqlalchemy/schema.py", line 104, in __call__
return type.__call__(self, name, metadata, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/sqlalchemy/schema.py", line 233, in __init__
self._init_items(*args)
File "/usr/lib/python2.5/site-packages/sqlalchemy/schema.py", line 50, in _init_items
item._set_parent(self)
File "/usr/lib/python2.5/site-packages/sqlalchemy/schema.py", line 500, in _set_parent
self._pre_existing_column = table._columns.get(self.key)
File "/usr/lib/python2.5/site-packages/sqlalchemy/util.py", line 323, in get
if key in self:
File "/usr/lib/python2.5/site-packages/sqlalchemy/sql/expression.py", line 1475, in __contains__
raise exceptions.ArgumentError("__contains__ requires a string argument")
sqlalchemy.exceptions.ArgumentError: __contains__ requires a string argument