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

error: list index out of range #9

Open
electricmessiah opened this issue Jan 3, 2025 · 0 comments
Open

error: list index out of range #9

electricmessiah opened this issue Jan 3, 2025 · 0 comments

Comments

@electricmessiah
Copy link

I tried this on a large bookmarks file and it crashes with an index out of range error.

python folders2tags.py < bookmarks.html > bookmarks_out.html Traceback (most recent call last): File "D:\Downloads\Netscape-Bookmark-File-Parser-main\Netscape-Bookmark-File-Parser-main\folders2tags.py", line 27, in <module> netscape_bookmarks = parse(sys.stdin.read()) ^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Downloads\Netscape-Bookmark-File-Parser-main\Netscape-Bookmark-File-Parser-main\NetscapeBookmarkFileParser\parser.py", line 78, in parse return folder_data.searchString(html)[0][0] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Python\Lib\site-packages\pyparsing\results.py", line 212, in __getitem__ return self._toklist[i] ~~~~~~~~~~~~~^^^ IndexError: list index out of range

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