Skip to content

Script crashing after processing several hundred edits #114

@parlieditsza

Description

@parlieditsza

As mentioned on the chat. Here is the Stack trace. I've replaced the path to anon repo with [path]:

loaded config from ./config.json
[path]/anon/node_modules/wikichanges/node_modules/irc/lib/irc.js:672
                    throw err;
                          ^
TypeError: Cannot read property 'compareTo' of undefined
  at compareIps ([path]/anon/anon.coffee:28:19)
  at isIpInRange ([path]/anon/anon.coffee:38:5)
  at [path]/anon/anon.coffee:45:28
  at Array.filter (native)
  at isIpInAnyRange ([path]/anon/anon.coffee:45:10)
  at inspect ([path]/anon/anon.coffee:105:12)
  at [path]/anon/anon.coffee:136:11
  at Client. ([path]/anon/node_modules/wikichanges/wikichanges.js:34:9)
  at Client.emit (events.js:118:17)
  at Client. ([path]/anon/node_modules/wikichanges/node_modules/irc/lib/irc.js:477:22)
  at Client.emit (events.js:107:17)
  at [path]/anon/node_modules/wikichanges/node_modules/irc/lib/irc.js:669:22
  at Array.forEach (native)
  at Socket. ([path]/anon/node_modules/wikichanges/node_modules/irc/lib/irc.js:666:15)
  at Socket.emit (events.js:107:17)
  at readableAddChunk (_stream_readable.js:161:16)
  at Socket.Readable.push (_stream_readable.js:128:10)
  at TCP.onread (net.js:514:20)

Appears to be a network issue? We're on an Amazon instance if that's relevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions