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

rinohtype hangs without errors if version 0.5.5+ #436

Open
1 task done
nicozanf opened this issue Oct 12, 2024 · 2 comments
Open
1 task done

rinohtype hangs without errors if version 0.5.5+ #436

nicozanf opened this issue Oct 12, 2024 · 2 comments
Labels
bug crash rinohtype aborts due to an uncaught exception

Comments

@nicozanf
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Sphinx or rinoh output

Just hang forever (need CTRL-C to gain contro) during rendering with just the command:

rinoh chapter-03.rst

with version 0.5.5 and even current master. It works fine with version 0.5.4. The last lines are:

chapter-03.rst:286 <system_message>] chapter-03.rst:285: (INFO/1) No role entry for "kbd" in module "docutils.parsers.rst.languages.en".
Trying "kbd" as canonical role name. (page 4)
[chapter-03.rst:286 <system_message>] chapter-03.rst:285: (ERROR/3) Unknown interpreted text role "kbd". (page 4)
[chapter-03.rst:311 <image>] Error opening image file: [Errno 2] No such file or directory: 'images/command.png'
[chapter-03.rst:320 <system_message>] chapter-03.rst:320: (INFO/1) Duplicate implicit target name: "call command option". (page 4)
[chapter-03.rst:348 <system_message>] chapter-03.rst:348: (INFO/1) Duplicate implicit target name: "new_app command option". (page 4)
[chapter-03.rst:370 <system_message>] chapter-03.rst:370: (INFO/1) Duplicate implicit target name: "run command option". (page 5)

Source files

https://github.com/web2py/py4web/blob/master/docs/chapter-03.rst

Versions

Error with version 0.5.5 and even current master

Sphinx 8.1.1
Python 3.12.7 (main, Oct  3 2024, 15:15:22) [GCC 14.2.0]
Linux-6.11.0-8-generic-x86_64-with-glibc2.40
Latest Ubuntu 24.10

It works fine with version 0.5.4.
@nicozanf nicozanf added bug crash rinohtype aborts due to an uncaught exception labels Oct 12, 2024
@nicozanf
Copy link
Author

I've reduced the hanging rst file to this string:

::

- justalongstringjustalongstringjustalongstringjustalongstringjustalongstringjustalongstringjustaZ

If you save it as a .rst file, rinoh 0.5.5+ hangs with it. Remove a character (for example the trailing Z on column 98) or using 0.5.4 resolves the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug crash rinohtype aborts due to an uncaught exception
Projects
None yet
Development

No branches or pull requests

2 participants
@nicozanf and others