[DRE-maint] Bug#796526: nanoc watch crashes because of undefinded method

Benedikt Ahrens benedikt.ahrens at gmail.com
Sat Aug 22 11:18:25 UTC 2015


Package: nanoc
Version: 3.7.3-1
Severity: normal

Dear Maintainer,

when launching "nanoc watch" in a directory with nanoc data, nanoc crashes in a reproducible way.
I am attaching the terminal output as well as the contents of the crash log file below.


TERMINAL OUTPUT:

$ nanoc watch
WARNING: The `watch` command is deprecated. Please consider using `guard-nanoc` instead (see https://github.com/nanoc/guard-nanoc).
Watcher started; compiling the entire site… done in 0s 598ms
Watching for changes…

Captain! We’ve been hit!

Message:

NoMethodError: undefined method `change' for #<Listen::Listener:0xa84f5a8>

Compilation stack:

  (empty)

Stack trace:

  0. /usr/lib/ruby/vendor_ruby/nanoc/cli/commands/watch.rb:86:in `run'
  1. /usr/lib/ruby/vendor_ruby/nanoc/cli/command_runner.rb:14:in `block in call'
  2. /usr/lib/ruby/vendor_ruby/nanoc/cli/error_handler.rb:74:in `handle_while'
  3. /usr/lib/ruby/vendor_ruby/nanoc/cli/error_handler.rb:26:in `handle_while'
  4. /usr/lib/ruby/vendor_ruby/nanoc/cli/command_runner.rb:13:in `call'
  5. /usr/lib/ruby/vendor_ruby/cri/command_dsl.rb:223:in `block in runner'
  6. /usr/lib/ruby/vendor_ruby/cri/command.rb:298:in `call'
  7. /usr/lib/ruby/vendor_ruby/cri/command.rb:298:in `run_this'
  8. /usr/lib/ruby/vendor_ruby/cri/command.rb:251:in `run'
  9. /usr/lib/ruby/vendor_ruby/cri/command.rb:264:in `run'
  ... 5 more lines omitted. See full crash log for details.

If you believe this is a bug in nanoc, please do report it at
-> https://github.com/nanoc/nanoc/issues/new <-

A detailed crash log has been written to ./crash.log.


CRASH.LOG CONTENTS:

Crashlog created at 2015-08-22 13:11:35 +0200

===== MESSAGE:

NoMethodError: undefined method `change' for #<Listen::Listener:0xa84f5a8>

===== COMPILATION STACK:

  (empty)

===== STACK TRACE:

  0. /usr/lib/ruby/vendor_ruby/nanoc/cli/commands/watch.rb:86:in `run'
  1. /usr/lib/ruby/vendor_ruby/nanoc/cli/command_runner.rb:14:in `block in call'
  2. /usr/lib/ruby/vendor_ruby/nanoc/cli/error_handler.rb:74:in `handle_while'
  3. /usr/lib/ruby/vendor_ruby/nanoc/cli/error_handler.rb:26:in `handle_while'
  4. /usr/lib/ruby/vendor_ruby/nanoc/cli/command_runner.rb:13:in `call'
  5. /usr/lib/ruby/vendor_ruby/cri/command_dsl.rb:223:in `block in runner'
  6. /usr/lib/ruby/vendor_ruby/cri/command.rb:298:in `call'
  7. /usr/lib/ruby/vendor_ruby/cri/command.rb:298:in `run_this'
  8. /usr/lib/ruby/vendor_ruby/cri/command.rb:251:in `run'
  9. /usr/lib/ruby/vendor_ruby/cri/command.rb:264:in `run'
  10. /usr/lib/ruby/vendor_ruby/nanoc/cli.rb:59:in `block in run'
  11. /usr/lib/ruby/vendor_ruby/nanoc/cli/error_handler.rb:74:in `handle_while'
  12. /usr/lib/ruby/vendor_ruby/nanoc/cli/error_handler.rb:26:in `handle_while'
  13. /usr/lib/ruby/vendor_ruby/nanoc/cli.rb:57:in `run'

===== VERSION INFORMATION:

nanoc 3.7.3 © 2007-2014 Denis Defreyne.
Running ruby 2.1.5 (2014-11-13) on i386-linux-gnu with RubyGems 2.2.2.

===== SYSTEM INFORMATION:

Linux o2 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) i686 GNU/Linux

===== INSTALLED GEMS:

  Ascii85 1.0.2
  RedCloth 4.2.9
  afm 0.2.2
  bigdecimal 1.2.4
  bluecloth 2.2.0
  builder 3.2.2
  celluloid 0.15.2
  chunky_png 1.2.8
  coderay 1.1.0
  coffee-script 2.2.0
  coffee-script-source 1.3.3
  colored 1.2
  compass 1.0.1
  compass-core 1.0.1
  compass-import-once 1.0.5
  cri 2.6.1
  erubis 2.7.0
  execjs 2.2.1
  fast_xs 0.8.0
  ffi 1.9.6
  haml 4.0.5
  hpricot 0.8.6
  io-console 0.4.2
  json 1.8.1
  kramdown 1.4.2
  listen 2.4.0
  maruku 0.7.1
  mime-types 1.25
  minitest 4.7.5
  multi_json 1.10.1
  mustache 0.99.6
  nanoc 3.7.3
  nokogiri 1.6.3.1
  oj 2.10.3
  pdf-core 0.4.0
  pdf-reader 1.3.3
  prawn 1.3.0
  prawn-table 0.2.0
  psych 2.0.5
  rack 1.5.2
  rack-protection 1.5.2
  rake 10.1.0
  rb-inotify 0.9.5
  rdiscount 2.1.7.1
  rdoc 4.1.0
  ruby_parser 3.6.2
  sass 3.4.6
  sexp_processor 4.4.4
  sinatra 1.4.5
  slim 2.0.2
  stringex 2.5.2
  temple 0.6.7
  test-unit 2.1.5.0
  tilt 1.4.1
  timers 1.1.0
  ttfunk 1.4.0
  uglifier 2.5.3
  yajl-ruby 1.2.0

===== ENVIRONMENT:

DBUS_SESSION_BUS_ADDRESS => "unix:abstract=/tmp/dbus-kauMmp1xiA,guid=ba85c8ae4e9a39db10569c4655d59e5b"
DESKTOP_AUTOSTART_ID => "10d883bbb83750087b144006306725223600000018730001"
DESKTOP_SESSION => "default"
DISPLAY => ":0"
GDMSESSION => "default"
GDM_LANG => "en_US.utf8"
GNOME_DESKTOP_SESSION_ID => "this-is-deprecated"
GPG_AGENT_INFO => "/run/user/1000/keyring/gpg:0:1"
HOME => "/home/ahrens"
LANG => "en_US.utf8"
LOGNAME => "ahrens"
LS_COLORS => "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
OLDPWD => "/home/ahrens/webpage"
PATH => "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/ahrens/git/benediktahrens/UniMath/sub/coq/bin"
PWD => "/home/ahrens/webpage/ahrens"
SESSION_MANAGER => "local/o2:@/tmp/.ICE-unix/1873,unix/o2:/tmp/.ICE-unix/1873"
SHELL => "/bin/bash"
SHLVL => "1"
SSH_AGENT_PID => "1910"
SSH_AUTH_SOCK => "/run/user/1000/keyring/ssh"
TERM => "xterm"
USER => "ahrens"
USERNAME => "ahrens"
VTE_VERSION => "3801"
WINDOWID => "27333867"
WINDOWPATH => "7"
XAUTHORITY => "/var/run/gdm3/auth-for-ahrens-1tK8Mg/database"
XDG_CURRENT_DESKTOP => "GNOME"
XDG_DATA_DIRS => "/usr/share/gnome:/usr/local/share/:/usr/share/"
XDG_MENU_PREFIX => "gnome-"
XDG_RUNTIME_DIR => "/run/user/1000"
XDG_SEAT => "seat0"
XDG_SESSION_DESKTOP => "default"
XDG_SESSION_ID => "1"
XDG_VTNR => "7"
_ => "/usr/bin/nanoc"

===== LOAD PATHS:

  0. /usr/local/lib/site_ruby/2.1.0
  1. /usr/local/lib/i386-linux-gnu/site_ruby
  2. /usr/local/lib/site_ruby
  3. /usr/lib/ruby/vendor_ruby/2.1.0
  4. /usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.1.0
  5. /usr/lib/ruby/vendor_ruby
  6. /usr/lib/ruby/2.1.0
  7. /usr/lib/i386-linux-gnu/ruby/2.1.0



-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nanoc depends on:
ii  ruby                        1:2.1.5+deb8u1
ii  ruby-cri                    2.6.1-1
ii  ruby-listen                 2.4.0-4
ii  ruby2.1 [ruby-interpreter]  2.1.5-2+deb8u1

Versions of packages nanoc recommends:
ii  asciidoc            8.6.9-3
ii  ruby-bluecloth      2.2.0-5
ii  ruby-builder        3.2.2-4
ii  ruby-coffee-script  2.2.0-2
ii  ruby-compass        1.0.1~dfsg-3
ii  ruby-erubis         2.7.0-3
ii  ruby-haml           4.0.5-2
ii  ruby-kramdown       1.4.2-2
ii  ruby-maruku         0.7.1-1
ii  ruby-mime-types     1.25-2
ii  ruby-mustache       0.99.6-1
ii  ruby-nokogiri       1.6.3.1+ds-1
ii  ruby-rdiscount      2.1.7.1-2
ii  ruby-redcloth       4.2.9-4
ii  ruby-rubypants      0.2.0-1
ii  ruby-sass           3.4.6-2
ii  ruby-slim           2.0.2-3
ii  ruby-uglifier       2.5.3-1

Versions of packages nanoc suggests:
ii  python-pygments  2.0.1+dfsg-1.1
ii  rsync            3.1.1-3
pn  ruby-fog         <none>
ii  ruby-rack        1.5.2-3+deb8u1

-- no debconf information



More information about the Pkg-ruby-extras-maintainers mailing list