Giter VIP home page Giter VIP logo

Comments (6)

dsjoerg avatar dsjoerg commented on August 15, 2024

People started reporting issues on May 14th so I suspect that GGTracker has operational problems unrelated to 3.3.0. https://twitter.com/derekduoba/status/731613284965699588

There may also be a 3.3.0 problem, it doesnt have to be just one or the other.

Anyway, if you can get any example of a reproducible problem in production or in dev that would help a lot.

from ggtrackerstack.

gravelweb avatar gravelweb commented on August 15, 2024

Stack trace from failed upload:

12:45:18 python.1 | 2016-05-18 12:45:18 2174 INFO parsing failed for replay uploads/a4760eb5-afc5-419f-9d35-15e066f10b75/issue47.SC2Replay. oh well. exception='utf8' codec can't decode byte 0xaf in position 0: invalid start byte. <type 'exceptions.UnicodeDecodeError'> jobs.py 73 Traceback (most recent call last): 12:45:18 python.1 | File "/vagrant/esdb/vendor/ggpyjobs/ggtracker/jobs.py", line 73, in perform 12:45:18 python.1 | replayDB, blob = sc2reader_to_esdb.processReplay(StringIO(replaystring), args['channel']) 12:45:18 python.1 | File "/vagrant/esdb/vendor/ggpyjobs/sc2parse/sc2reader_to_esdb.py", line 116, in processReplay 12:45:18 python.1 | replay = ggfactory.load_replay(stringio) 12:45:18 python.1 | File "/vagrant/esdb/vendor/ggpyjobs/src/sc2reader/sc2reader/factories/sc2factory.py", line 85, in load_replay 12:45:18 python.1 | return self.load(Replay, source, options, **new_options) 12:45:18 python.1 | File "/vagrant/esdb/vendor/ggpyjobs/src/sc2reader/sc2reader/factories/sc2factory.py", line 137, in load 12:45:18 python.1 | return self._load(cls, resource, filename=filename, options=options) 12:45:18 python.1 | File "/vagrant/esdb/vendor/ggpyjobs/src/sc2reader/sc2reader/factories/sc2factory.py", line 146, in _load 12:45:18 python.1 | obj = cls(resource, filename=filename, factory=self, **options) 12:45:18 python.1 | File "/vagrant/esdb/vendor/ggpyjobs/src/sc2reader/sc2reader/resources.py", line 265, in __init__ 12:45:18 python.1 | self._read_data(data_file, self._get_reader(data_file)) 12:45:18 python.1 | File "/vagrant/esdb/vendor/ggpyjobs/src/sc2reader/sc2reader/resources.py", line 615, in _read_data 12:45:18 python.1 | self.raw_data[data_file] = reader(data, self) 12:45:18 python.1 | File "/vagrant/esdb/vendor/ggpyjobs/src/sc2reader/sc2reader/readers.py", line 123, in __call__ 12:45:18 python.1 | ) for i in range(data.read_bits(5))], 12:45:18 python.1 | File "/vagrant/esdb/vendor/ggpyjobs/src/sc2reader/sc2reader/decoders.py", line 252, in read_aligned_string 12:45:18 python.1 | return self._buffer.read_string(count, encoding) 12:45:18 python.1 | File "/vagrant/esdb/vendor/ggpyjobs/src/sc2reader/sc2reader/decoders.py", line 108, in read_string 12:45:18 python.1 | return self.read_bytes(count).decode(encoding) 12:45:18 python.1 | File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode 12:45:18 python.1 | return codecs.utf_8_decode(input, errors, True) 12:45:18 python.1 | UnicodeDecodeError: 'utf8' codec can't decode byte 0xaf in position 0: invalid start byte

from ggtrackerstack.

gravelweb avatar gravelweb commented on August 15, 2024

I've included the stacktrace, replayfile, as well as extracted the files from the MPQ archive in the tarball below.
issue47.tar.gz

from ggtrackerstack.

dsjoerg avatar dsjoerg commented on August 15, 2024

OK, asked Bliz for new protocol file. Blizzard/s2protocol#34

from ggtrackerstack.

gravelweb avatar gravelweb commented on August 15, 2024

This is actually not affecting 2v2 and 3v3 (possibly 4v4 as well). Looks like just the 1v1 format changed?

from ggtrackerstack.

dsjoerg avatar dsjoerg commented on August 15, 2024

I pushed out a fix yesterday: ggtracker/sc2reader@3bc825c

I believe 3.3.0 are being handled correctly now. There is still a separate heisenbug that started happening ~4 days ago before 3.3.0 came out.

from ggtrackerstack.

Related Issues (20)

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.