Mailing List Archive

DB schema upgrade fails?
Hi,

after a build from today's git HEAD, upgrading the database schema from
1.2.11 to 1.2.12 gives me

# /usr/pkg/share/davical/dba/update-davical-database --debug
YAML Error: Invalid element in map
Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT
Line: 28
Document: 1
at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Loader.pm line 351.
#

An invocation with perl -d gives

YAML Error: Invalid element in map
Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT
Line: 28
Document: 1
at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Loader.pm line 352.
at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Mo.pm line 16, <$IN>
line 1.

YAML::Mo::__ANON__[/usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Mo.pm:17](YAML::Loader=HASH(0x7f7ff4dfb738),
"YAML_LOAD_ERR_BAD_MAP_ELEMENT") called at
/usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Loader.pm line 352
YAML::Loader::_parse_mapping(YAML::Loader=HASH(0x7f7ff4dfb738),
"") called at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Loader.pm line
171
YAML::Loader::_parse_node(YAML::Loader=HASH(0x7f7ff4dfb738))
called at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Loader.pm line 102
YAML::Loader::_parse(YAML::Loader=HASH(0x7f7ff4dfb738)) called
at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Loader.pm line 24
YAML::Loader::load(YAML::Loader=HASH(0x7f7ff4dfb738), "#\x{a}#
Administration Configuration file (sample)\x{a}#\x{a}# This file"...)
called at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML.pm line 33
YAML::Load("#\x{a}# Administration Configuration file
(sample)\x{a}#\x{a}# This file"...) called at
/usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML.pm line 74
YAML::LoadFile("/etc/pkg/davical/administration.yml") called at
/usr/pkg/share/davical/dba/update-davical-database line 46
Debugged program terminated. Use q to quit or R to restart,

which is not much more conclusive. The administration.yml is unchanged
and differs from the sample file only in setting the
admin_db_{pass,host} keys.

What am I missing?

Cheerio,
hauke

--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281

------------------------------------------------------------------------------
_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
DB schema upgrade fails? [ In reply to ]
[.re-sent, the first mail did not make it to the list?]

Hi,

after a build from today's git HEAD, upgrading the database schema from
1.2.11 to 1.2.12 gives me

# /usr/pkg/share/davical/dba/update-davical-database --debug
YAML Error: Invalid element in map
Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT
Line: 28
Document: 1
at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Loader.pm line 351.
#

An invocation with perl -d gives

YAML Error: Invalid element in map
Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT
Line: 28
Document: 1
at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Loader.pm line 352.
at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Mo.pm line 16, <$IN>
line 1.

YAML::Mo::__ANON__[/usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Mo.pm:17](YAML::Loader=HASH(0x7f7ff4dfb738),
"YAML_LOAD_ERR_BAD_MAP_ELEMENT") called at
/usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Loader.pm line 352
YAML::Loader::_parse_mapping(YAML::Loader=HASH(0x7f7ff4dfb738),
"") called at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Loader.pm line
171
YAML::Loader::_parse_node(YAML::Loader=HASH(0x7f7ff4dfb738))
called at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Loader.pm line 102
YAML::Loader::_parse(YAML::Loader=HASH(0x7f7ff4dfb738)) called
at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML/Loader.pm line 24
YAML::Loader::load(YAML::Loader=HASH(0x7f7ff4dfb738), "#\x{a}#
Administration Configuration file (sample)\x{a}#\x{a}# This file"...)
called at /usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML.pm line 33
YAML::Load("#\x{a}# Administration Configuration file
(sample)\x{a}#\x{a}# This file"...) called at
/usr/pkg/lib/perl5/vendor_perl/5.22.0/YAML.pm line 74
YAML::LoadFile("/etc/pkg/davical/administration.yml") called at
/usr/pkg/share/davical/dba/update-davical-database line 46
Debugged program terminated. Use q to quit or R to restart,

which is not much more conclusive. The administration.yml is unchanged
and differs from the sample file only in setting the
admin_db_{pass,host} keys.

What am I missing?

Cheerio,
hauke

--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281

------------------------------------------------------------------------------
_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general