You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering the same problem user @jrruethe already described some time ago. Seems like it was solved, but it reoccurred on my setup after installing the latest update and running archivebox setup command for some reason.
Ran arcivebox update (several times, it reproduces)
On a specific link it crashes, giving the following output
[√] [2021-04-15 10:56:49] "The Long War on Objectivity | The New Republic"
https://newrepublic.com/article/158497/long-war-objectivity
√ ./archive/1617309812.979884
> readability
! Failed to archive link: Exception: Exception in archive_methods.save_readability(Link(url=https://newrepublic.com/article/158497/long-war-objectivity))
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/archivebox/extractors/__init__.py", line 114, in archive_link
log_archive_method_finished(result)
File "/usr/lib/python3/dist-packages/archivebox/logging_util.py", line 435, in log_archive_method_finished
hints = hints if isinstance(hints, (list, tuple)) else hints.split('\n')
TypeError: a bytes-like object is required, not 'str'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/bin/archivebox", line 11, in <module>
load_entry_point('archivebox==0.6.2', 'console_scripts', 'archivebox')()
File "/usr/lib/python3/dist-packages/archivebox/cli/__init__.py", line 140, in main
run_subcommand(
File "/usr/lib/python3/dist-packages/archivebox/cli/__init__.py", line 80, in run_subcommand
module.main(args=subcommand_args, stdin=stdin, pwd=pwd) # type: ignore
File "/usr/lib/python3/dist-packages/archivebox/cli/archivebox_update.py", line 119, in main
update(
File "/usr/lib/python3/dist-packages/archivebox/util.py", line 114, in typechecked_function
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/archivebox/main.py", line 783, in update
archive_links(to_archive, overwrite=overwrite, **archive_kwargs)
File "/usr/lib/python3/dist-packages/archivebox/util.py", line 114, in typechecked_function
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/archivebox/extractors/__init__.py", line 181, in archive_links
archive_link(to_archive, overwrite=overwrite, methods=methods, out_dir=Path(link.link_dir))
File "/usr/lib/python3/dist-packages/archivebox/util.py", line 114, in typechecked_function
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/archivebox/extractors/__init__.py", line 130, in archive_link
raise Exception('Exception in archive_methods.save_{}(Link(url={}))'.format(
Exception: Exception in archive_methods.save_readability(Link(url=https://newrepublic.com/article/158497/long-war-objectivity))
pirate
changed the title
Bug: Exception: Exception in archive_methods.save_readability - again
Bug: Exception in archive_methods.save_readability due to bytes string being passed to hint
Apr 15, 2021
I'm encountering the same problem user @jrruethe already described some time ago. Seems like it was solved, but it reoccurred on my setup after installing the latest update and running
archivebox setup
command for some reason.arcivebox update
(several times, it reproduces)The text was updated successfully, but these errors were encountered: