(tg2env)r...@chiru-desktop:~/tg2env/Wiki-20# paster setup-app
development.ini
/root/tg2env/lib/python2.6/site-packages/PEAK_Rules-0.5a1.dev_r2582-
py2.6.egg/peak/rules/indexing.py:220: DeprecationWarning:
object.__new__() takes no parameters
Running setup_config() from wiki20.websetup
Creating tables
Creating initial data
Traceback (most recent call last):
File "/root/tg2env/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')
()
File "/root/tg2env/lib/python2.6/site-packages/PasteScript-1.7.3-
py2.6.egg/paste/script/command.py", line 84, in run
invoke(command, command_name, options, args[1:])
File "/root/tg2env/lib/python2.6/site-packages/PasteScript-1.7.3-
py2.6.egg/paste/script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/root/tg2env/lib/python2.6/site-packages/PasteScript-1.7.3-
py2.6.egg/paste/script/appinstall.py", line 68, in run
return super(AbstractInstallCommand, self).run(new_args)
File "/root/tg2env/lib/python2.6/site-packages/PasteScript-1.7.3-
py2.6.egg/paste/script/command.py", line 218, in run
result = self.command()
File "/root/tg2env/lib/python2.6/site-packages/PasteScript-1.7.3-
py2.6.egg/paste/script/appinstall.py", line 456, in command
self, config_file, section,
self.sysconfig_install_vars(installer))
File "/root/tg2env/lib/python2.6/site-packages/PasteScript-1.7.3-
py2.6.egg/paste/script/appinstall.py", line 598, in setup_config
mod.setup_app, command, filename, section, vars)
File "/root/tg2env/lib/python2.6/site-packages/PasteScript-1.7.3-
py2.6.egg/paste/script/appinstall.py", line 612, in _call_setup_app
func(command, conf, vars)
File "/root/tg2env/Wiki-20/wiki20/websetup.py", line 31, in
setup_app
transaction.commit()
File "/root/tg2env/lib/python2.6/site-packages/transaction-1.0a1-
py2.6.egg/transaction/_manager.py", line 93, in commit
return self.get().commit()
File "/root/tg2env/lib/python2.6/site-packages/transaction-1.0a1-
py2.6.egg/transaction/_transaction.py", line 322, in commit
self._commitResources()
File "/root/tg2env/lib/python2.6/site-packages/transaction-1.0a1-
py2.6.egg/transaction/_transaction.py", line 414, in _commitResources
rm.tpc_begin(self)
File "/root/tg2env/lib/python2.6/site-packages/zope.sqlalchemy-0.5-
py2.6.egg/zope/sqlalchemy/datamanager.py", line 67, in tpc_begin
self.session.flush()
File "/root/tg2env/lib/python2.6/site-packages/SQLAlchemy-0.6.1-
py2.6.egg/sqlalchemy/orm/session.py", line 1346, in flush
self._flush(objects)
File "/root/tg2env/lib/python2.6/site-packages/SQLAlchemy-0.6.1-
py2.6.egg/sqlalchemy/orm/session.py", line 1427, in _flush
flush_context.execute()
File "/root/tg2env/lib/python2.6/site-packages/SQLAlchemy-0.6.1-
py2.6.egg/sqlalchemy/orm/unitofwork.py", line 293, in execute
rec.execute(self)
File "/root/tg2env/lib/python2.6/site-packages/SQLAlchemy-0.6.1-
py2.6.egg/sqlalchemy/orm/unitofwork.py", line 426, in execute
uow
File "/root/tg2env/lib/python2.6/site-packages/SQLAlchemy-0.6.1-
py2.6.egg/sqlalchemy/orm/mapper.py", line 1761, in _save_obj
execute(statement, params)
File "/root/tg2env/lib/python2.6/site-packages/SQLAlchemy-0.6.1-
py2.6.egg/sqlalchemy/engine/base.py", line 1157, in execute
params)
File "/root/tg2env/lib/python2.6/site-packages/SQLAlchemy-0.6.1-
py2.6.egg/sqlalchemy/engine/base.py", line 1237, in
_execute_clauseelement
return self.__execute_context(context)
File "/root/tg2env/lib/python2.6/site-packages/SQLAlchemy-0.6.1-
py2.6.egg/sqlalchemy/engine/base.py", line 1268, in __execute_context
context.parameters[0], context=context)
File "/root/tg2env/lib/python2.6/site-packages/SQLAlchemy-0.6.1-
py2.6.egg/sqlalchemy/engine/base.py", line 1367, in _cursor_execute
context)
File "/root/tg2env/lib/python2.6/site-packages/SQLAlchemy-0.6.1-
py2.6.egg/sqlalchemy/engine/base.py", line 1360, in _cursor_execute
context)
File "/root/tg2env/lib/python2.6/site-packages/SQLAlchemy-0.6.1-
py2.6.egg/sqlalchemy/engine/default.py", line 277, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.IntegrityError: (IntegrityError) column pagename is not
unique u'INSERT INTO pages (pagename, data) VALUES
(?, ?)' ('FrontPage', 'initial data')
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.