gnumed-bugs
[Top][All Lists]
Advanced

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

[Gnumed-bugs] Problem bootstrapping v19 from scratch - handled exception


From: Busser, Jim
Subject: [Gnumed-bugs] Problem bootstrapping v19 from scratch - handled exception updating v6 to v7
Date: Tue, 5 Nov 2013 19:34:01 +0000

I was able to resolve the circumstances behind the permissions problem 
encountered under Mac OS, as posted to the developer list here,

http://lists.gnu.org/archive/html/gnumed-devel/2013-11/msg00013.html

and also determined that it was on account of my failure to fully disconnect 
from postgres, after my attempt to restore a backup of v18, that the 
bootstrapper failed on attempted upgrade of  v17 to v18. Once I discovered 
that, and rebooted to ensure that all had been fully logged out, I was able to 
do

        sh upgrade-db.sh 17 18

however I could not succeed to do

        sh upgrade-db.sh 18 19

The log complaining thus

        2013-11-05 07:39:53  INFO      gm.bootstrapper 
(./bootstrap_gm_db_system.py::main() #1557): initial config file: 
update_db-v18_v19.conf
        2013-11-05 07:39:53  INFO      gm.cfg 
(/private/tmp/gnumed-server.19.0/Gnumed/pycommon/gmCfg2.py::add_file_source() 
#445): file source "file": update_db-v18_v19.conf (utf8)
        2013-11-05 07:39:53  DEBUG     gm.cfg 
(/private/tmp/gnumed-server.19.0/Gnumed/pycommon/gmCfg2.py::parse_INI_stream() 
#274): parsing INI-style data stream [<open file 'update_db-v18_v19.conf', mode 
'rb' at 0x101725030>]
        2013-11-05 07:39:53  ERROR     gm.cfg 
(/private/tmp/gnumed-server.19.0/Gnumed/pycommon/gmCfg2.py::add_stream_source() 
#434): error parsing source <file> from [<open file 'update_db-v18_v19.conf', 
mode 'rb' at 0x101725030>]
        Traceback (most recent call last):
          File "/private/tmp/gnumed-server.19.0/Gnumed/pycommon/gmCfg2.py", 
line 432, in add_stream_source
            data = parse_INI_stream(stream = stream)
          File "/private/tmp/gnumed-server.19.0/Gnumed/pycommon/gmCfg2.py", 
line 318, in parse_INI_stream
            name, remainder = regex.split('\s*[=:]\s*', line, maxsplit = 1)
        ValueError: need more than 1 value to unpack
        2013-11-05 07:39:53  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 1562, in main
            file = cfg_file
          File "/private/tmp/gnumed-server.19.0/Gnumed/pycommon/gmCfg2.py", 
line 466, in add_file_source
            self.add_stream_source(source = source, stream = cfg_file)
          File "/private/tmp/gnumed-server.19.0/Gnumed/pycommon/gmCfg2.py", 
line 432, in add_stream_source
            data = parse_INI_stream(stream = stream)
          File "/private/tmp/gnumed-server.19.0/Gnumed/pycommon/gmCfg2.py", 
line 318, in parse_INI_stream
            name, remainder = regex.split('\s*[=:]\s*', line, maxsplit = 1)
        ValueError: need more than 1 value to unpack
        2013-11-05 07:39:53  ERROR     gm.bootstrapper 
(./bootstrap_gm_db_system.py::exit_with_msg() #1439): Bootstrapping failed: 
unhandled exception occurred
        2013-11-05 07:39:53  INFO      gm.bootstrapper 
(./bootstrap_gm_db_system.py::exit_with_msg() #1440): shutdown

Full log attached.

-- Jim

Attachment: update_db-v18_v19.log
Description: update_db-v18_v19.log


reply via email to

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