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

PyAI: Crash with certain script ID's #108

Closed
poiuyqwert opened this issue Apr 26, 2018 · 1 comment
Closed

PyAI: Crash with certain script ID's #108

poiuyqwert opened this issue Apr 26, 2018 · 1 comment

Comments

@poiuyqwert
Copy link
Owner

Source

@Pr0nogo-zz
Copy link

Attempting to save with any nonstandard script ID will result in this:

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python27\lib\lib-tk\Tkinter.py", line 1537, in call
return self.func(*args)
File "C:\Users\prono\Desktop\Libraries\Tools\SCBW\PyMS-aise\PyAI.pyw", line 2854, in saveas
if self.save(ai=aiscript, bw=bwscript):
File "C:\Users\prono\Desktop\Libraries\Tools\SCBW\PyMS-aise\PyAI.pyw", line 2835, in save
self.ai.compile(ai, bw)
File "C:\Users\prono\Desktop\Libraries\Tools\SCBW\PyMS-aise\Libs\AIBIN.py", line 2774, in compile
table += struct.pack('<4s3L', id, offset, string+1, flags)
error: argument for 's' must be a string

Example of nonstandard script ID: https://i.imgur.com/TYj5Frn.png

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

No branches or pull requests

2 participants