aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
blob: 5cc6691062e53cbe376398f8f260216361e6548e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
On my initial ikiwiki -setup auto.setup, I get the following error:

    shortcut plugin will not work without shortcuts.mdwn
    /home/turian/utils/etc/ikiwiki/auto.setup: ikiwiki --refresh --setup /home/turian/iki.setup failed at IkiWiki/Setup/Automator.pm line 105.


This is using the latest git pull of ikiwiki.
I am not sure why it is not finding shortcuts.mdwn. -- [[JosephTurian]]

> The error, and the weird paths suggest to me that you
> have installed ikiwiki in a strange way, and it is failing
> to find its basewiki underlay. The `$installdir` is
> hardcoded into IkiWiki.pm at build time, based on the PREFIX
> setting (see README).
>
> If that's not set right, you'll have other problems than just this one,
> so I suggest you check how you installed ikiwiki.
> 
> Anyway, I've made the shortcut plugin only warn about this..
> --[[Joey]] 

> > I have
> >    $installdir="/home/turian/utils/"
> > and the underlay dir is set to:
> >    "$installdir/share/ikiwiki/basewiki",
> > which does contain shortcuts.mdwn. So I am not sure why it is not finding it.
> > I am grappling with installing ikiwiki in a user account, and would like to get the directories set up correctly.
> > How can I debug this issue further?

>>>> Why don't you strace it and look at where it's looking for
>>>> shortcuts.mdwn. --[[Joey]] 

>>>>>> Hmm, so change the PERL5LIB seemed to fix this. [[Done]].