Skip to content

Instantly share code, notes, and snippets.

@1fabiopereira
Created November 12, 2016 16:10
Show Gist options
  • Save 1fabiopereira/d1c3434457de503cc680ed6571e575ca to your computer and use it in GitHub Desktop.
Save 1fabiopereira/d1c3434457de503cc680ed6571e575ca to your computer and use it in GitHub Desktop.
seneca-web bug
Seneca Fatal Error
==================
Message: seneca: No matching action pattern found for { use: { prefix: '/api', pin: 'role:api,path:*', map: { calculate: [Object] } }, role: 'web' }, and no default result provided (using a default$ property).
Code: act_not_found
Details: { args: '{ use: { prefix: \'/api\', pin: \'role:api,path:*\', map: { calculate: [Object] } }, role: \'web\' }',
plugin: {} }
Stack:
at Object.errormaker [as error] (/home/fabio/Área de Trabalho/microservice/myapp/node_modules/seneca/node_modules/eraro/eraro.js:94:15)
at handle_inward_break (/home/fabio/Área de Trabalho/microservice/myapp/node_modules/seneca/seneca.js:1155:23)
at execute_action (/home/fabio/Área de Trabalho/microservice/myapp/node_modules/seneca/seneca.js:1050:11)
at Object.act_fn [as fn] (/home/fabio/Área de Trabalho/microservice/myapp/node_modules/seneca/seneca.js:1013:11)
at processor (/home/fabio/Área de Trabalho/microservice/myapp/node_modules/seneca/node_modules/gate-executor/gate-executor.js:136:14)
at Immediate._onImmediate (/home/fabio/Área de Trabalho/microservice/myapp/node_modules/seneca/node_modules/gate-executor/gate-executor.js:240:7)
at processImmediate [as _immediateCallback] (timers.js:383:17)
Instance: Seneca/yr1awytlrsbq/1478966798408/4629/3.2.2/-
ALL ERRORS FATAL: action called with argument fatal$:true (probably a plugin init error, or using a plugin seneca instance, see senecajs.org/fatal.html)
at Seneca.handle_result (/home/fabio/Área de Trabalho/microservice/myapp/node_modules/seneca/seneca.js:1097:27)
When: 2016-11-12T16:06:38.880Z
Log: {kind:null,plugin:seneca,tag:3.2.2,id:yr1awytlrsbq/1478966798408/4629/3.2.2/-,code:act_not_found,notice:seneca:
Node:
{ http_parser: '2.7.0', node: '4.6.0', v8: '4.5.103.37', uv: '1.9.1', zlib: '1.2.8', ares: '1.10.1-DEV', icu: '56.1', modules: '46', openssl: '1.0.2j' },
{ debug: false, uv: true, ipv6: true, tls_npn: true, tls_sni: true, tls_ocsp: true, tls: true },
[ 'Binding contextify', 'Binding natives', 'NativeModule events', 'NativeModule buffer', 'Binding buffer', 'NativeModule internal/util', 'Binding util', 'NativeModule timers', 'Binding timer_wrap', 'NativeModule _linklist', 'NativeModule assert', 'NativeModule util', 'Binding uv', 'NativeModule path', 'NativeModule module', 'NativeModule internal/module', 'NativeModule vm', 'NativeModule fs', 'Binding fs', 'NativeModule constants', 'Binding constants', 'NativeModule stream', 'NativeModule _stream_readable', 'NativeModule _stream_writable', 'NativeModule _stream_duplex', 'NativeModule _stream_transform', 'NativeModule _stream_passthrough', 'Binding fs_event_wrap', 'NativeModule console', 'Binding tty_wrap', 'NativeModule tty', 'NativeModule net', 'NativeModule internal/net', 'Binding cares_wrap', 'Binding tcp_wrap', 'Binding pipe_wrap', 'Binding stream_wrap', 'Binding signal_wrap', 'NativeModule os', 'Binding os', 'NativeModule http', 'NativeModule _http_incoming', 'NativeModule _http_common', 'NativeModule internal/freelist', 'Binding http_parser', 'NativeModule _http_outgoing', 'NativeModule _http_server', 'NativeModule _http_agent', 'NativeModule _http_client', 'NativeModule url', 'NativeModule punycode', 'NativeModule querystring', 'NativeModule https', 'NativeModule tls', 'Binding crypto', 'NativeModule _tls_common', 'NativeModule _tls_wrap', 'NativeModule crypto', 'NativeModule internal/streams/lazy_transform', 'NativeModule string_decoder', 'NativeModule _stream_wrap', 'Binding js_stream', 'Binding tls_wrap', 'Binding config', 'NativeModule _tls_legacy', 'NativeModule zlib', 'Binding zlib', 'NativeModule cluster', 'NativeModule dgram', 'Binding udp_wrap', 'NativeModule child_process', 'Binding spawn_sync', 'NativeModule internal/child_process', 'Binding process_wrap', 'NativeModule internal/socket_list', 'NativeModule internal/cluster' ]
Process:
pid=4629, arch=x64, platform=linux,
path=/usr/local/bin/node,
argv=[ '/usr/local/bin/node', '/home/fabio/Área de Trabalho/microservice/myapp/app.js' ],
env={ XDG_VTNR: '7', XDG_SESSION_ID: 'c2', CLUTTER_IM_MODULE: 'xim', XDG_GREETER_DATA_DIR: '/var/lib/lightdm-data/fabio', SESSION: 'ubuntu', ANDROID_HOME: '/home/fabio/Ambiente/android-sdk-linux', GPG_AGENT_INFO: '/home/fabio/.gnupg/S.gpg-agent:0:1', SHELL: '/bin/bash', TERM: 'xterm-256color', XDG_MENU_PREFIX: 'gnome-', VTE_VERSION: '4205', QT_LINUX_ACCESSIBILITY_ALWAYS_ON: '1', WINDOWID: '71303178', UPSTART_SESSION: 'unix:abstract=/com/ubuntu/upstart-session/1000/1517', GNOME_KEYRING_CONTROL: '', GTK_MODULES: 'gail:atk-bridge:unity-gtk-module', USER: 'fabio', 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:mi=00: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:*.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:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', QT_ACCESSIBILITY: '1', XDG_SESSION_PATH: '/org/freedesktop/DisplayManager/Session0', XDG_SEAT_PATH: '/org/freedesktop/DisplayManager/Seat0', SSH_AUTH_SOCK: '/run/user/1000/keyring/ssh', SESSION_MANAGER: 'local/fabio:@/tmp/.ICE-unix/1910,unix/fabio:/tmp/.ICE-unix/1910', DEFAULTS_PATH: '/usr/share/gconf/ubuntu.default.path', XDG_CONFIG_DIRS: '/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg', PATH: '/usr/local/heroku/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/fabio/Ambiente/android-sdk-linux/tools:/home/fabio/Ambiente/android-sdk-linux/platform-tools:/home/fabio/Ambiente/android-sdk-linux/platforms', DESKTOP_SESSION: 'ubuntu', QT_IM_MODULE: 'ibus', QT_QPA_PLATFORMTHEME: 'appmenu-qt5', XDG_SESSION_TYPE: 'x11', JOB: 'unity-settings-daemon', PWD: '/home/fabio/Área de Trabalho/microservice/myapp', XMODIFIERS: '@im=ibus', GNOME_KEYRING_PID: '', LANG: 'pt_BR.UTF-8', GDM_LANG: 'pt_BR', MANDATORY_PATH: '/usr/share/gconf/ubuntu.mandatory.path', IM_CONFIG_PHASE: '1', COMPIZ_CONFIG_PROFILE: 'ubuntu', GDMSESSION: 'ubuntu', SESSIONTYPE: 'gnome-session', GTK2_MODULES: 'overlay-scrollbar', HOME: '/home/fabio', XDG_SEAT: 'seat0', SHLVL: '1', LANGUAGE: 'pt_BR:pt:en', GNOME_DESKTOP_SESSION_ID: 'this-is-deprecated', UPSTART_INSTANCE: '', UPSTART_EVENTS: 'xsession started', XDG_SESSION_DESKTOP: 'ubuntu', LOGNAME: 'fabio', COMPIZ_BIN_PATH: '/usr/bin/', QT4_IM_MODULE: 'xim', XDG_DATA_DIRS: '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop', DBUS_SESSION_BUS_ADDRESS: 'unix:abstract=/tmp/dbus-H3SiJOv2AI', LESSOPEN: '| /usr/bin/lesspipe %s', INSTANCE: '', UPSTART_JOB: 'unity7', XDG_RUNTIME_DIR: '/run/user/1000', DISPLAY: ':0', XDG_CURRENT_DESKTOP: 'Unity', GTK_IM_MODULE: 'ibus', LESSCLOSE: '/usr/bin/lesspipe %s %s', XAUTHORITY: '/home/fabio/.Xauthority', _: '/usr/local/bin/node' }
SENECA TERMINATED (on timeout) at 2016-11-12T16:06:49.999Z.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment