[Scodoc-devel] installation scodoc 7

SOUDIERE Dominique dominique.soudiere at univ-lehavre.fr
Mer 2 Oct 08:27:50 CEST 2013


Bonjour,
J'essaye en vain d'installer scodoc 7.
Je butte toujours sur un problème qui semble être le serveur Apache.
J'ai l'impression qu'il n'est pas accessible.
Quelqu'un a-t-il la même chose? Je devrais peut-être réinstaller debian7 
à nouveau?
Dominique

J'ai se message en le redémarrant:
[ ok ] Reloading web server config: apache2 not running.
root at debian:/opt/scodoc/Products/ScoDoc/config# /etc/init.d/apache2 restart
Syntax error on line 20 of /etc/apache2/sites-enabled/scodoc-site-ssl:
SSLCertificateFile: file '/etc/apache2/scodoc-ssl/apache.pem' does not 
exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
  failed!


Ci-dessous une partie des messages lors de l'install scodoc7

La configuration du serveur web va modifier votre installation Apache 
pour supporter ScoDoc.
Voulez vous configurer le serveur web Apache maintenant ? (y/n) [y]
Configuration d'Apache
Le nom de votre serveur doit normalement etre connu dans le DNS.
Nom complet de votre serveur (exemple: notes.univ.fr): 127.0.0.1

Il est possible d'utiliser des certificats cryptographiques
auto-signes, qui ne seront pas reconnus comme de confiance
par les navigateurs, mais offrent une certaine securite.
Voulez vous generer des certificats ssl auto-signes ? (y/n) [y]
Could not create certificate. Openssl output was:
Error Loading extension section v3_req
140297545950888:error:2207507C:X509 V3 
routines:v2i_GENERAL_NAME_ex:missing value:v3_alt.c:537:
140297545950888:error:22098080:X509 V3 routines:X509V3_EXT_nconf:error 
in extension:v3_conf.c:93:name=subjectAltName, value=scodoc
generation de /etc/apache2/sites-available/scodoc-site-ssl
activation du site...
Site scodoc-site-ssl already enabled
Remplacement du site Apache par defaut (sic ! old saved as .bak)
configuring Apache proxy
Syntax error on line 20 of /etc/apache2/sites-enabled/scodoc-site-ssl:
SSLCertificateFile: file '/etc/apache2/scodoc-ssl/apache.pem' does not 
exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
  failed!

Installer le service scodoc permet de lancer automatiquement le serveur 
au demarrage.
Voulez vous installer le service scodoc ? (y/n) [y]
Installation du demarrage automatique de ScoDoc

Installation terminee.

Vous pouvez maintenant creer la base d'utilisateurs avec ./create_user_db.sh
puis creer un departement avec  ./create_dept.sh

root at debian:/opt/scodoc/Products/ScoDoc/config# ./create_user_db.sh
Creating postgresql database  SCOUSERS
createdb: database creation failed: ERREUR:  l'encodage LATIN1 ne 
correspond pas à la locale fr_FR.UTF-8
DETAIL:  Le paramètre LC_CTYPE choisi nécessite l'encodage UTF8.
Initializing tables in database  SCOUSERS
su -c /usr/lib/postgresql/9.1/bin/psql -U www-data -p 5432 SCOUSERS < 
/opt/scodoc/Products/ScoDoc/misc/create_user_table.sql www-data
psql: FATAL:  la base de donn?es << SCOUSERS >> n'existe pas
root at debian:/opt/scodoc/Products/ScoDoc/config#   ./upgrade.sh
Stopping ScoDoc...
Stopping zope daemon: daemon manager not running


Using SVN to update /opt/scodoc/Products/ScoDoc...
Error validating server certificate for 
'https://www-lipn.univ-paris13.fr:443':
  - The certificate is not issued by a trusted authority. Use the
    fingerprint to validate the certificate manually!
Certificate information:
  - Hostname: www-lipn.univ-paris13.fr
  - Valid: from Mon, 12 Sep 2011 00:00:00 GMT until Thu, 11 Sep 2014 
23:59:59 GMT
  - Issuer: TERENA, NL
  - Fingerprint: f3:93:b9:bf:5a:3c:0e:d7:de:8e:37:a8:65:dd:03:df:02:e5:88:62
(R)eject, accept (t)emporarily or accept (p)ermanently? p
At revision 1266.
Stopping ScoDoc...
Stopping zope daemon: daemon manager not running


Using SVN to update /opt/scodoc/Products/ScoDoc...
At revision 1266.
simplejson is installed
Installing pyscopg2
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
gcc set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.4
creating build/lib.linux-x86_64-2.4/psycopg2
copying lib/tz.py -> build/lib.linux-x86_64-2.4/psycopg2
copying lib/psycopg1.py -> build/lib.linux-x86_64-2.4/psycopg2
copying lib/extensions.py -> build/lib.linux-x86_64-2.4/psycopg2
copying lib/__init__.py -> build/lib.linux-x86_64-2.4/psycopg2
copying lib/errorcodes.py -> build/lib.linux-x86_64-2.4/psycopg2
copying lib/pool.py -> build/lib.linux-x86_64-2.4/psycopg2
copying lib/extras.py -> build/lib.linux-x86_64-2.4/psycopg2
creating build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_module.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/testconfig.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_copy.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_cursor.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/__init__.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_bugX000.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_bug_gc.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/testutils.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_extras_dictcursor.py -> 
build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_cancel.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_lobject.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_quote.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_types_extras.py -> 
build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_connection.py -> 
build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/dbapi20.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_transaction.py -> 
build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_notify.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_psycopg2_dbapi20.py -> 
build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_async.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_dates.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/dbapi20_tpc.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_green.py -> build/lib.linux-x86_64-2.4/psycopg2/tests
copying tests/test_types_basic.py -> 
build/lib.linux-x86_64-2.4/psycopg2/tests
running build_ext
building 'psycopg2._psycopg' extension
creating build/temp.linux-x86_64-2.4
creating build/temp.linux-x86_64-2.4/psycopg
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/psycopgmodule.c -o 
build/temp.linux-x86_64-2.4/psycopg/psycopgmodule.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/green.c -o 
build/temp.linux-x86_64-2.4/psycopg/green.o -Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/pqpath.c -o 
build/temp.linux-x86_64-2.4/psycopg/pqpath.o -Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/utils.c -o 
build/temp.linux-x86_64-2.4/psycopg/utils.o -Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/bytes_format.c -o 
build/temp.linux-x86_64-2.4/psycopg/bytes_format.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/connection_int.c -o 
build/temp.linux-x86_64-2.4/psycopg/connection_int.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/connection_type.c -o 
build/temp.linux-x86_64-2.4/psycopg/connection_type.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/cursor_int.c -o 
build/temp.linux-x86_64-2.4/psycopg/cursor_int.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/cursor_type.c -o 
build/temp.linux-x86_64-2.4/psycopg/cursor_type.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/lobject_int.c -o 
build/temp.linux-x86_64-2.4/psycopg/lobject_int.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/lobject_type.c -o 
build/temp.linux-x86_64-2.4/psycopg/lobject_type.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/notify_type.c -o 
build/temp.linux-x86_64-2.4/psycopg/notify_type.o 
-Wdeclaration-after-statement
psycopg/notify_type.c:305:5: warning: initialization discards 'const' 
qualifier from pointer target type [enabled by default]
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/xid_type.c -o 
build/temp.linux-x86_64-2.4/psycopg/xid_type.o -Wdeclaration-after-statement
psycopg/xid_type.c:304:6: warning: initialization discards 'const' 
qualifier from pointer target type [enabled by default]
psycopg/xid_type.c:335:5: warning: initialization discards 'const' 
qualifier from pointer target type [enabled by default]
psycopg/xid_type.c: In function '_xid_base64_enc_dec':
psycopg/xid_type.c:405:5: warning: passing argument 2 of 
'PyObject_GetAttrString' discards 'const' qualifier from pointer target 
type [enabled by default]
In file included from /usr/local/include/python2.4/Python.h:76:0,
                  from ./psycopg/psycopg.h:30,
                  from psycopg/xid_type.c:28:
/usr/local/include/python2.4/object.h:381:24: note: expected 'char *' 
but argument is of type 'const char *'
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/adapter_asis.c -o 
build/temp.linux-x86_64-2.4/psycopg/adapter_asis.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/adapter_binary.c -o 
build/temp.linux-x86_64-2.4/psycopg/adapter_binary.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/adapter_datetime.c -o 
build/temp.linux-x86_64-2.4/psycopg/adapter_datetime.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/adapter_list.c -o 
build/temp.linux-x86_64-2.4/psycopg/adapter_list.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/adapter_pboolean.c -o 
build/temp.linux-x86_64-2.4/psycopg/adapter_pboolean.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/adapter_pdecimal.c -o 
build/temp.linux-x86_64-2.4/psycopg/adapter_pdecimal.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/adapter_pint.c -o 
build/temp.linux-x86_64-2.4/psycopg/adapter_pint.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/adapter_pfloat.c -o 
build/temp.linux-x86_64-2.4/psycopg/adapter_pfloat.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/adapter_qstring.c -o 
build/temp.linux-x86_64-2.4/psycopg/adapter_qstring.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/microprotocols.c -o 
build/temp.linux-x86_64-2.4/psycopg/microprotocols.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/microprotocols_proto.c 
-o build/temp.linux-x86_64-2.4/psycopg/microprotocols_proto.o 
-Wdeclaration-after-statement
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 
-DPSYCOPG_VERSION="2.4.6 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-I/usr/local/include/python2.4 -I. -I/usr/include/postgresql 
-I/usr/include/postgresql/9.1/server -c psycopg/typecast.c -o 
build/temp.linux-x86_64-2.4/psycopg/typecast.o -Wdeclaration-after-statement
gcc -pthread -shared build/temp.linux-x86_64-2.4/psycopg/psycopgmodule.o 
build/temp.linux-x86_64-2.4/psycopg/green.o 
build/temp.linux-x86_64-2.4/psycopg/pqpath.o 
build/temp.linux-x86_64-2.4/psycopg/utils.o 
build/temp.linux-x86_64-2.4/psycopg/bytes_format.o 
build/temp.linux-x86_64-2.4/psycopg/connection_int.o 
build/temp.linux-x86_64-2.4/psycopg/connection_type.o 
build/temp.linux-x86_64-2.4/psycopg/cursor_int.o 
build/temp.linux-x86_64-2.4/psycopg/cursor_type.o 
build/temp.linux-x86_64-2.4/psycopg/lobject_int.o 
build/temp.linux-x86_64-2.4/psycopg/lobject_type.o 
build/temp.linux-x86_64-2.4/psycopg/notify_type.o 
build/temp.linux-x86_64-2.4/psycopg/xid_type.o 
build/temp.linux-x86_64-2.4/psycopg/adapter_asis.o 
build/temp.linux-x86_64-2.4/psycopg/adapter_binary.o 
build/temp.linux-x86_64-2.4/psycopg/adapter_datetime.o 
build/temp.linux-x86_64-2.4/psycopg/adapter_list.o 
build/temp.linux-x86_64-2.4/psycopg/adapter_pboolean.o 
build/temp.linux-x86_64-2.4/psycopg/adapter_pdecimal.o 
build/temp.linux-x86_64-2.4/psycopg/adapter_pint.o 
build/temp.linux-x86_64-2.4/psycopg/adapter_pfloat.o 
build/temp.linux-x86_64-2.4/psycopg/adapter_qstring.o 
build/temp.linux-x86_64-2.4/psycopg/microprotocols.o 
build/temp.linux-x86_64-2.4/psycopg/microprotocols_proto.o 
build/temp.linux-x86_64-2.4/psycopg/typecast.o -L/usr/lib -lpq -o 
build/lib.linux-x86_64-2.4/psycopg2/_psycopg.so
running install_lib
creating /usr/local/lib/python2.4/site-packages/psycopg2
copying build/lib.linux-x86_64-2.4/psycopg2/tz.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2
copying build/lib.linux-x86_64-2.4/psycopg2/psycopg1.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2
copying build/lib.linux-x86_64-2.4/psycopg2/extensions.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2
copying build/lib.linux-x86_64-2.4/psycopg2/__init__.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2
creating /usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_module.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/testconfig.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_copy.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_cursor.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/__init__.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_bugX000.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_bug_gc.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/testutils.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying 
build/lib.linux-x86_64-2.4/psycopg2/tests/test_extras_dictcursor.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_cancel.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_lobject.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_quote.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_types_extras.py 
-> /usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_connection.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/dbapi20.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_transaction.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_notify.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying 
build/lib.linux-x86_64-2.4/psycopg2/tests/test_psycopg2_dbapi20.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_async.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_dates.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/dbapi20_tpc.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_green.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/tests/test_types_basic.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2/tests
copying build/lib.linux-x86_64-2.4/psycopg2/errorcodes.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2
copying build/lib.linux-x86_64-2.4/psycopg2/_psycopg.so -> 
/usr/local/lib/python2.4/site-packages/psycopg2
copying build/lib.linux-x86_64-2.4/psycopg2/pool.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2
copying build/lib.linux-x86_64-2.4/psycopg2/extras.py -> 
/usr/local/lib/python2.4/site-packages/psycopg2
byte-compiling /usr/local/lib/python2.4/site-packages/psycopg2/tz.py to 
tz.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/psycopg1.py to psycopg1.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/extensions.py to 
extensions.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/__init__.py to __init__.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_module.py to 
test_module.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/testconfig.py to 
testconfig.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_copy.py to 
test_copy.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_cursor.py to 
test_cursor.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/__init__.py to 
__init__.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_bugX000.py to 
test_bugX000.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_bug_gc.py to 
test_bug_gc.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/testutils.py to 
testutils.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_extras_dictcursor.py 
to test_extras_dictcursor.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_cancel.py to 
test_cancel.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_lobject.py to 
test_lobject.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_quote.py to 
test_quote.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_types_extras.py 
to test_types_extras.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_connection.py 
to test_connection.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/dbapi20.py to 
dbapi20.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_transaction.py to 
test_transaction.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_notify.py to 
test_notify.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_psycopg2_dbapi20.py 
to test_psycopg2_dbapi20.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_async.py to 
test_async.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_dates.py to 
test_dates.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/dbapi20_tpc.py to 
dbapi20_tpc.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_green.py to 
test_green.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/tests/test_types_basic.py to 
test_types_basic.pyc
byte-compiling 
/usr/local/lib/python2.4/site-packages/psycopg2/errorcodes.py to 
errorcodes.pyc
byte-compiling /usr/local/lib/python2.4/site-packages/psycopg2/pool.py 
to pool.pyc
byte-compiling /usr/local/lib/python2.4/site-packages/psycopg2/extras.py 
to extras.pyc
Executing post-upgrade script...
/usr/bin/env: python2.6: No such file or directory
Executing post-upgrade database script...

Checking users database
Traceback (most recent call last):
   File "/opt/scodoc/Products/ScoDoc/config/postupgrade-db.py", line 
379, in ?
     cnx = psycopg.connect( get_users_cnx_str() )
   File "/opt/scodoc/Products/ScoDoc/config/scodocutils.py", line 33, in 
get_users_cnx_str
     import sco_utils
   File "../sco_utils.py", line 53, in ?
     import json
ImportError: No module named json

Starting ScoDoc...
$Starting Zope: /opt/scodoc/instance/bin/zopectl start
.
daemon process started, pid=16995

root at debian:/opt/scodoc/Products/ScoDoc/config#   ./upgrade.sh
Stopping ScoDoc...
Stopping zope daemon: .
daemon process stopped


Using SVN to update /opt/scodoc/Products/ScoDoc...
At revision 1266.
Stopping ScoDoc...
Stopping zope daemon: daemon manager not running


Using SVN to update /opt/scodoc/Products/ScoDoc...
At revision 1266.
simplejson is installed
Executing post-upgrade script...
/usr/bin/env: python2.6: No such file or directory
Executing post-upgrade database script...

Checking users database
Traceback (most recent call last):
   File "/opt/scodoc/Products/ScoDoc/config/postupgrade-db.py", line 
379, in ?
     cnx = psycopg.connect( get_users_cnx_str() )
   File "/opt/scodoc/Products/ScoDoc/config/scodocutils.py", line 33, in 
get_users_cnx_str
     import sco_utils
   File "../sco_utils.py", line 53, in ?
     import json
ImportError: No module named json

Starting ScoDoc...
$Starting Zope: /opt/scodoc/instance/bin/zopectl start
.
daemon process started, pid=17062

root at debian:/opt/scodoc/Products/ScoDoc/config# ./create_dept.sh
Nom du departement (un mot sans ponctuation, exemple "Info"): GEII
Creating postgresql database
Creating postgresql database  SCOGEII
createdb: database creation failed: ERREUR:  l'encodage LATIN1 ne 
correspond pas à la locale fr_FR.UTF-8
DETAIL:  Le paramètre LC_CTYPE choisi nécessite l'encodage UTF8.
Initializing tables in database  SCOGEII
psql: FATAL:  la base de donn?es << SCOGEII >> n'existe pas
psql: FATAL:  la base de donn?es << SCOGEII >> n'existe pas

  Departement GEII cree

  Attention: la base de donnees n'a pas de copies de sauvegarde



Plus d'informations sur la liste de diffusion Scodoc-devel