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

Rewrap All error #585

Closed
rtonsing opened this issue Dec 19, 2024 · 1 comment · Fixed by #587
Closed

Rewrap All error #585

rtonsing opened this issue Dec 19, 2024 · 1 comment · Fixed by #587
Labels
bug Something isn't working

Comments

@rtonsing
Copy link

Seems to just be this file, but I don't know where the issue is. Happens with both current code and alpha a11.
It should probably be caught and reported more helpfully.

  1. Open file
  2. Select Tools->Rewrap All

Windows 11 64-bit

image
railways.zip

tangledhelix added a commit to tangledhelix/guiguts-py that referenced this issue Dec 19, 2024
@tangledhelix
Copy link
Collaborator

I debugged the exception as occurring on line 5334 of your input file, which is the first blank line within the /I I/ block.

I don't understand the entire algorithm, but it's certainly not the first blank line of the file. It seems likely it has to do with handling the index block.

My branch (referenced in this issue) gets rid of the exception, but I'm not planning to PR it because I don't fully understand the overall algorithm, and don't want to introduce a different bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants