Giter Club home page Giter Club logo

parser's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

parser's Issues

Boosters need a unique identifier

A booster doesn't have a unique identifier right now, so the server can't tell which boosters have been parsed already.

We can resolve this by adding the time from the Segment and using that as unique identifier.

As a side note, we should probably send up the Timestamp for all objects in the future.

Parser Crash

[2019-02-20 17:15:22.143] [info] Starting cli with binary at: C:\Users\micha\AppData\Local\Gathering\app-0.6.0\resources\app\resources\windows\gathering.exe
[2019-02-20 17:15:22.143] [info] cli spawn options: -timer=600 -token=e3f8adfe3b5dd7f06a8c12eebf697f9fd3175f2746d44b08c3f859be8208f32c
[2019-02-20 17:15:34.954] [verbose] stderr: 2019/02/20 17:15:34 gathering.gg client starting

[2019-02-20 17:15:35.295] [verbose] stderr: 2019/02/20 17:15:35 user home directory: 'C:\Users\micha', using for finding log location
2019/02/20 17:15:35 watching file: 'C:\Users\micha\AppData\LocalLow\Wizards Of The Coast\MTGA\output_log.txt'
2019/02/20 17:15:35 adding log file location and watching: C:\Users\micha\AppData\LocalLow\Wizards Of The Coast\MTGA\output_log.txt
2019/02/20 17:15:35 entering main watch loop

[2019-02-20 17:15:35.295] [verbose] stderr: 2019/02/20 17:15:35 file updated, size: 14.0MB
2019/02/20 17:15:35 log file updated, parsing

[2019-02-20 17:15:49.004] [verbose] stderr: panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0x566dc3]

goroutine 4 [running]:
github.com/gathering-gg/parser.(*Log).Matches(0xc000f11b20, 0x929e10, 0x0, 0x0, 0x0, 0x0)
    C:/Users/travis/gopath/src/github.com/gathering-gg/parser/log.go:220 +0x163
main.ParseAll(0xc000106190, 0x48, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    C:/Users/travis/gopath/src/github.com/gathering-gg/parser/cli/main.go:108 +0x2d7
main.onChange(0xc000106190, 0x48)
    C:/Users/travis/gopath/src/github.com/gathering-gg/parser/cli/main.go:132 +0xcd
main.main.func1(0xc00014c000, 0xc000106190, 0x48)
    C:/Users/travis/gopath/src/github.com/gathering-gg/parser/cli/main.go:204 +0x2ca
created by main.main
    C:/Users/travis/gopath/src/github.com/gathering-gg/parser/cli/main.go:199 +0x407

[2019-02-20 17:15:49.006] [warn] child process exited with code: 2

Deck Parsing Bug

Some users are not having the cards of a deck being parsed correctly. I'm not sure this is a client or server issue yet. Debugging updates are to support discovering this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.