Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

struct.error: unpack requires a buffer of 4 bytes #207

Open
junmoxiaoyexiu opened this issue Sep 19, 2020 · 0 comments
Open

struct.error: unpack requires a buffer of 4 bytes #207

junmoxiaoyexiu opened this issue Sep 19, 2020 · 0 comments

Comments

@junmoxiaoyexiu
Copy link

junmoxiaoyexiu commented Sep 19, 2020

Traceback (most recent call last):
File "C:\Users\RAINGM\AppData\Local\Programs\Python\Python38-32\lib\site-packages\jishaku\cog_base.py", line 489, in jsk_python
async for send, result in AsyncSender(executor):
File "C:\Users\RAINGM\AppData\Local\Programs\Python\Python38-32\lib\site-packages\jishaku\functools.py", line 109, in _internal
value = await base.asend(self.send_value)
File "C:\Users\RAINGM\AppData\Local\Programs\Python\Python38-32\lib\site-packages\jishaku\repl\compilation.py", line 137, in traverse
async for send, result in AsyncSender(func(*self.args)):
File "C:\Users\RAINGM\AppData\Local\Programs\Python\Python38-32\lib\site-packages\jishaku\functools.py", line 109, in _internal
value = await base.asend(self.send_value)
File "", line 14, in _repl_coroutine
File "C:\Users\RAINGM\AppData\Local\Programs\Python\Python38-32\lib\site-packages\sc2reader\factories\sc2factory.py", line 85, in load_replay
return self.load(Replay, source, options, **new_options)
File "C:\Users\RAINGM\AppData\Local\Programs\Python\Python38-32\lib\site-packages\sc2reader\factories\sc2factory.py", line 143, in load
return self._load(cls, resource, filename=filename, options=options)
File "C:\Users\RAINGM\AppData\Local\Programs\Python\Python38-32\lib\site-packages\sc2reader\factories\sc2factory.py", line 152, in _load
obj = cls(resource, filename=filename, factory=self, **options)
struct.error: unpack requires a buffer of 4 bytes

this error is not in all replays

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant