trace.txt

download

Script started on Tue Dec 22 16:32:21 2009
[?1h =sh-3.2$ cubicweb-ctl d [Kcreate tracketr [K [Kr TEST
[?1l >/usr/lib/pymodules/python2.5/pygments/plugin.py:39: UserWarning: Module docutils was already imported from /usr/lib/pymodules/python2.5/docutils/__init__.pyc, but /usr/lib/python2.5/site-packages is being added to sys.path
import pkg_resources

Creating the instance TEST
--------------------------
-> created directory /home/juj/etc/cubicweb.d/TEST.

Configuring the instance (all-in-one.conf)
------------------------------------------
:port:
http server port number (default to 8080)
[?1h =:
[?1l >:uid:
if this option is set, use the specified user to start the repository rather than the user running the command
[?1h =:
[?1l >
Configuring the repository
--------------------------

Configuring the sources
-----------------------
:db-name:
database name
[?1h =(default: TEST):
[?1l >:db-user:
database user
[?1h =(default: juj):
[?1l >:db-password:
database password
:
confirm:

[?1h =Enter another source ? [y/N]:
[?1l >:login:
cubicweb manager account's login (this user will be created)
[?1h =(default: admin):
[?1l >:password:
cubicweb manager account's password
(required):
confirm:
-> set /home/juj/etc/cubicweb.d/TEST/sources permissions to 0600

Generic web configuration
-------------------------
[?1h =Allow anonymous access ? [y/N]:
[?1l >-> generated /home/juj/etc/cubicweb.d/TEST/all-in-one.conf
-> preparing i18n catalogs
-> created directory /home/juj/etc/cubicweb.d/TEST/i18n.
-> compiling /home/juj/etc/cubicweb.d/TEST/i18n catalogs...
-> created directory /home/juj/etc/cubicweb.d/TEST/i18n/fr/LC_MESSAGES.
msgcat --use-first --sort-output --strict -o "/home/juj/etc/cubicweb.d/TEST/i18n/fr_merged.po" "/home/juj/src/fcubicweb/cubes/tracker/i18n/fr.po" "i18n/fr.po"
msgfmt "/home/juj/etc/cubicweb.d/TEST/i18n/fr_merged.po" -o "/home/juj/etc/cubicweb.d/TEST/i18n/fr/LC_MESSAGES/cubicweb.mo"
-> created directory /home/juj/etc/cubicweb.d/TEST/i18n/es/LC_MESSAGES.
msgcat --use-first --sort-output --strict -o "/home/juj/etc/cubicweb.d/TEST/i18n/es_merged.po" "/home/juj/src/fcubicweb/cubes/tracker/i18n/es.po" "i18n/es.po"
msgfmt "/home/juj/etc/cubicweb.d/TEST/i18n/es_merged.po" -o "/home/juj/etc/cubicweb.d/TEST/i18n/es/LC_MESSAGES/cubicweb.mo"
-> created directory /home/juj/etc/cubicweb.d/TEST/i18n/en/LC_MESSAGES.
msgcat --use-first --sort-output --strict -o "/home/juj/etc/cubicweb.d/TEST/i18n/en_merged.po" "/home/juj/src/fcubicweb/cubes/tracker/i18n/en.po" "i18n/en.po"
msgfmt "/home/juj/etc/cubicweb.d/TEST/i18n/en_merged.po" -o "/home/juj/etc/cubicweb.d/TEST/i18n/en/LC_MESSAGES/cubicweb.mo"
-> created directory /home/juj/etc/cubicweb.d/TEST/backup.

-> creation done for '/home/juj/etc/cubicweb.d/TEST'.

[?1h =Run db-create to create the system database ? [Y/n]: n
[?1l >-> nevermind, you can do it later with "cubicweb-ctl db-create TEST".
[?1h =sh-3.2$ # changement db-host
[?1l > [?1h =sh-3.2$ cubicweb-ctl db-create TEST
[?1l >/usr/lib/pymodules/python2.5/pygments/plugin.py:39: UserWarning: Module docutils was already imported from /usr/lib/pymodules/python2.5/docutils/__init__.pyc, but /usr/lib/python2.5/site-packages is being added to sys.path
import pkg_resources

Creating the system database
----------------------------
-> connecting to postgres database template1@hercules as juj
-> database TEST created.
-> connecting to postgres database TEST@hercules as juj
Traceback (most recent call last):
File "/home/juj/bin/cubicweb-ctl", line 4, in <module>
run(sys.argv[1:])
File "/home/juj/src/fcubicweb/cubicweb/cwctl.py", line 886, in run
main_run(args, __doc__)
File "/home/juj/src/fcubicweb/cubicweb/toolsutils.py", line 250, in main_run
base_main_run(args, doc)
File "/home/juj/src/fcubicweb/logilab/common/clcommands.py", line 136, in main_run
cmd_run(arg, *args)
File "/home/juj/src/fcubicweb/logilab/common/clcommands.py", line 119, in cmd_run
command.run(args)
File "/home/juj/src/fcubicweb/cubicweb/server/serverctl.py", line 321, in run
cnx = system_source_cnx(source, special_privs='LANGUAGE C', verbose=verbose)
File "/home/juj/src/fcubicweb/cubicweb/server/serverctl.py", line 76, in system_source_cnx
return source_cnx(source, special_privs=special_privs, verbose=verbose)
File "/home/juj/src/fcubicweb/cubicweb/server/serverctl.py", line 63, in source_cnx
**extra)
File "/home/juj/src/fcubicweb/logilab/common/db.py", line 715, in get_connection
return adapted_module.connect(host, database, user, password, port=port)
File "/home/juj/src/fcubicweb/logilab/common/db.py", line 271, in connect
cnx = self._native_module.connect(cnx_string)
psycopg2.OperationalError: FATAL: la base de données « TEST » n'existe pas

[?1h =sh-3.2$ :-(
[?1h =sh-3.2$ [?1l >exit

Script done on Tue Dec 22 16:34:15 2009