gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Problem bootstrapping v19 from scratch - handled exce


From: Sebastian Hilbert
Subject: Re: [Gnumed-devel] Problem bootstrapping v19 from scratch - handled exception updating v6 to v7
Date: Mon, 04 Nov 2013 09:09:25 +0100
User-agent: KMail/4.11.2 (Linux/3.11.0-13-generic; KDE/4.11.2; i686; ; )

It is a permissions problem. 

----------------------------

2013-11-03 23:17:38  DEBUG     gm.bootstrapper 
(./bootstrap_gm_db_system.py::bootstrap_notifications() #1197): NOT creating 
generic modification announcement triggers, functionality not available
2013-11-03 23:17:38  DEBUG     gm.cfg (/Users/dad/Downloads/gnumed-
server.19.0/Gnumed/pycommon/gmCfg2.py::get() #391): option [database 
gnumed_v7::notification disable] found in source [file]
2013-11-03 23:17:38  DEBUG     gm.cfg (/Users/dad/Downloads/gnumed-
server.19.0/Gnumed/pycommon/gmCfg2.py::get() #391): option [database 
gnumed_v7::data import scripts] found in source [file]
2013-11-03 23:17:38  DEBUG     gm.cfg (/Users/dad/Downloads/gnumed-
server.19.0/Gnumed/pycommon/gmCfg2.py::get() #391): option [database 
gnumed_v7::script base directory] found in source [file]
2013-11-03 23:17:38  ERROR     gm.bootstrapper 
(./bootstrap_gm_db_system.py::<module>() #1627): unhandled exception caught
Traceback (most recent call last):
  File "./bootstrap_gm_db_system.py", line 1620, in <module>
    main()
  File "./bootstrap_gm_db_system.py", line 1583, in main
    handle_cfg()
  File "./bootstrap_gm_db_system.py", line 1536, in handle_cfg
    if not import_data():
  File "./bootstrap_gm_db_system.py", line 1319, in import_data
    if not db.import_data():
  File "./bootstrap_gm_db_system.py", line 985, in import_data
    script = gmTools.import_module_from_directory(module_path = 
script_base_dir, module_name = import_script, always_remove_path = True)
  File "/Users/dad/Downloads/gnumed-server.19.0/Gnumed/pycommon/gmTools.py", 
line 486, in import_module_from_directory
OSError: [Errno 13] Permission denied
2013-11-03 23:17:38  ERROR     gm.bootstrapper 
(./bootstrap_gm_db_system.py::exit_with_msg() #1439): Bootstrapping failed: 
unhandled exception occurred
2013-11-03 23:17:38  INFO      gm.bootstrapper 
(./bootstrap_gm_db_system.py::exit_with_msg() #1440): shutdown

----------------------------------------

You did run the bootstrapper via sudo or root ?

Sebastian

Am Montag, 4. November 2013, 07:25:07 schrieb Busser, Jim:
> Hit a snag ...
> Log appended (attached) ...
> 
> Is the unhandled exception related to my having tried to bootstrap in
> Postgres 9.1x instead of 9.2x? --Jim
> 
> -------------------------------------------------------
> bundle "v6-v7-static" in <gnumed_v7> (or overridden) on <>
> bundle "v6-v7-dynamic" in <gnumed_v7> (or overridden) on <>
> -------------------------------------------------------
> This will update an existing GNUmed version 6
> database to the version 7 schema. It does not do
> any harm to the data contained within.
> 
> The existing database is cloned first. The copy is
> then modified. The original database remains unchanged.
> Do you really want to install this database setup ?
> Type yes or no: yes
> ==> bootstrapping "v6-v7-static" ...
> ==> dropping pre-existing target database [gnumed_v7] ...
> ==> cloning [gnumed_v6] (21 MB) as target database [gnumed_v7] ...
> ==> transferring users ...
> ==> bootstrapping "v6-v7-dynamic" ...
> ==> setting up auditing ...
>     ... skipped (disabled)
> ==> verifying FKs on clin.clin_root_item child tables ...
> ==> setting up generic notifications ...
> ==> setting up (old style) notifications ...
>     ... skipped (disabled)
> ==> upgrading reference data sets ...
> closing open connection from: database.__connect_owner_to_db via
> database.__connect_superuser_to_db <connection object at 0x1011c5e10; dsn:
> 'dbname=gnumed_v7 port=5432 user=postgres password=xxxxxxxx
> sslmode=prefer', closed: 0> Bootstrapping failed: unhandled exception
> occurred
> 
> Please check the log file for details:
> 
>  
> /Users/dad/Downloads/gnumed-server.19.0/server/bootstrap/bootstrap-latest.l
> og
> 
> Bootstrapping "gnumed_v19" did not finish successfully. Aborting.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]