]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/undefined_value_as_a_HASH_reference.mdwn
Merge remote-tracking branch 'smcv/ready/map'
[ikiwiki.git] / doc / bugs / undefined_value_as_a_HASH_reference.mdwn
1 Hello,
2
3 does anyone have an idea why I see the following error when I run websetup (Setup button in Preferences)?
4
5     Error: Can't use an undefined value as a HASH reference at /usr/share/perl5/IkiWiki/Plugin/websetup.pm line 82, line 97.
6
7 Maybe, related to this is also
8
9     $ ikiwiki --setup /etc/ikiwiki/auto-blog.setup
10     What will the blog be named? tmpblog
11     What revision control system to use? git
12     What wiki user (or openid) will be admin? wsh
13
14
15     Setting up tmpblog ...
16     Importing /home/wsh/tmpblog into git
17     Initialized empty shared Git repository in /home/wsh/tmpblog.git/
18     Initialized empty Git repository in /home/wsh/tmpblog/.git/
19     [master (root-commit) d6847e1] initial commit
20      8 files changed, 48 insertions(+)
21      create mode 100644 .gitignore
22      create mode 100644 archives.mdwn
23      create mode 100644 comments.mdwn
24      create mode 100644 index.mdwn
25      create mode 100644 posts.mdwn
26      create mode 100644 posts/first_post.mdwn
27      create mode 100644 sidebar.mdwn
28      create mode 100644 tags.mdwn
29     Counting objects: 11, done.
30     Delta compression using up to 4 threads.
31     Compressing objects: 100% (9/9), done.
32     Writing objects: 100% (11/11), 1.53 KiB, done.
33     Total 11 (delta 0), reused 0 (delta 0)
34     Unpacking objects: 100% (11/11), done.
35     To /home/wsh/tmpblog.git
36      * [new branch]      master -> master
37     Directory /home/wsh/tmpblog is now a clone of git repository /home/wsh/tmpblog.git
38     Reference found where even-sized list expected at /usr/share/perl5/IkiWiki/Setup.pm line 177, <GEN4> line 97.
39     Reference found where even-sized list expected at /usr/share/perl5/IkiWiki/Setup.pm line 224, <GEN4> line 97.
40     Use of uninitialized value $section in hash element at /usr/share/perl5/IkiWiki/Setup.pm line 226, <GEN4> line 97.
41     Use of uninitialized value $section in hash element at /usr/share/perl5/IkiWiki/Setup.pm line 227, <GEN4> line 97.
42     Use of uninitialized value $section in concatenation (.) or string at /usr/share/perl5/IkiWiki/Setup.pm line 233, <GEN4> line 97.
43     /etc/ikiwiki/auto-blog.setup: Can't use an undefined value as a HASH reference at /usr/share/perl5/IkiWiki/Setup.pm line 252, <GEN4> line 97.
44
45     usage: ikiwiki [options] source dest
46            ikiwiki --setup configfile
47
48 I'm on Debian unstable.
49
50 Thanks,
51 -Michal