Skip to content

Using the 0.8.2 installer does not install the template files

Expected Behavior

Using the MacOS Pkg Installer for decker results in a usable decker installation.

Observed Behavior

Decker is missing template files and aborts with an error.

Workaround

Removing the previous installations' files from .local/share/ and reinstalling decker solved the issue.

Environment

  • MacOS X 10.14.6
  • A previous installation (415efd0) existed.

See below for more output.

$:~/slides$ ls ~/.local/share/decker-0.8.2-v0.8.2-branch-1cd2346/
example/  support/  template/ tutorial/
$:~/slides$ ls ~/.local/share/decker-0.8.2-v0.8.2-branch-1cd2346/template/
$:~/slides$ ls ~/.local/share/decker-0.8.2-v0.8.2-branch-1cd2346/support/
chalkboard.js   classlist.js    decker.css      fonts/          handout.js      mathjax/        print/
chart.js        d3.js           decker.js       handout.css     images/         notes/          reveal.js-menu/
$:~/slides$ rm -rf ~/.local/share/decker-0.8.
decker-0.8.1-HEAD-415efd0/          decker-0.8.2-v0.8.2-branch-1cd2346/
$:~/slides$ decker server
WARNING: You are running a development build of decker (version: 0.8.2, branch: v0.8.2-branch, commit: 1cd2346, tag: none). Please be sure that you know what you're doing.
# pandoc (for modules/project-organization-deck.html)
# pandoc (for modules/project-organization-handout.html)
# pandoc (for index.html)
Error when running Shake build system:
  at want, called at src/Development/Shake/Internal/Args.hs:83:69 in shake-0.18.3-GZo8NOWZ22KCKauQOayFD:Development.Shake.Internal.Args
* Depends on: server
  at apply1, called at src/Development/Shake/Internal/Rules/Rerun.hs:41:5 in shake-0.18.3-GZo8NOWZ22KCKauQOayFD:Development.Shake.Internal.Rules.Rerun
* Depends on: watch
  at apply1, called at src/Development/Shake/Internal/Rules/Rerun.hs:41:5 in shake-0.18.3-GZo8NOWZ22KCKauQOayFD:Development.Shake.Internal.Rules.Rerun
* Depends on: html
  at need, called at app/Decker.hs:97:20 in main:Decker
* Depends on: /slides/public/modules/project-organization-deck.html
* Raised the exception:
PandocIOError "/Users/xxxx/.local/share/decker-0.8.2-v0.8.2-branch-1cd2346/template/acm-sig-proceedings.csl" /Users/xxxx/.local/share/decker-0.8.2-v0.8.2-branch-1cd2346/template/acm-sig-proceedings.csl: openBinaryFile: does not exist (No such file or directory)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information