[GH-ISSUE #188] Exception during summary printout #3150

Closed
opened 2026-03-14 21:16:43 +03:00 by kerem · 1 comment
Owner

Originally created by @simon987 on GitHub (Mar 22, 2019).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/188

Describe the bug

Exception during summary printout

Steps to reproduce

Steps to reproduce the behavior:

  1. echo 'https://exemple.com/' | ./archive

Screenshots or log output

Traceback (most recent call last):
  File "./archive", line 132, in <module>
    main(*sys.argv)
  File "./archive", line 93, in main
    update_archive_data(import_path=import_path, resume=resume)
  File "./archive", line 124, in update_archive_data
    log_archiving_finished(len(links))
  File "/mnt/Data3/WebArchive/ArchiveBox/archivebox/logs.py", line 158, in log_archiving_finished
    seconds = end_ts - _LAST_RUN_STATS['start_ts'].timestamp()
TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'float'

Software versions

(please complete the following information)

  • OS: 4.19.28-1-MANJARO #1 SMP PREEMPT Sun Mar 10 08:32:42 UTC 2019 x86_64 GNU/Linux
  • ArchiveBox version: d7981170810cfcaf12978226c00e3e95568a4659
  • Docker version: n/a
  • Python version: 3.7.2
  • Chrome version: n/a
  • Wget version: n/a
Originally created by @simon987 on GitHub (Mar 22, 2019). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/188 ### Describe the bug Exception during summary printout ### Steps to reproduce Steps to reproduce the behavior: 1. `echo 'https://exemple.com/' | ./archive` ### Screenshots or log output ``` Traceback (most recent call last): File "./archive", line 132, in <module> main(*sys.argv) File "./archive", line 93, in main update_archive_data(import_path=import_path, resume=resume) File "./archive", line 124, in update_archive_data log_archiving_finished(len(links)) File "/mnt/Data3/WebArchive/ArchiveBox/archivebox/logs.py", line 158, in log_archiving_finished seconds = end_ts - _LAST_RUN_STATS['start_ts'].timestamp() TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'float' ``` ### Software versions (please complete the following information) - OS: `4.19.28-1-MANJARO #1 SMP PREEMPT Sun Mar 10 08:32:42 UTC 2019 x86_64 GNU/Linux` - ArchiveBox version: `d7981170810cfcaf12978226c00e3e95568a4659` - Docker version: n/a - Python version: 3.7.2 - Chrome version: n/a - Wget version: n/a
kerem closed this issue 2026-03-14 21:16:48 +03:00
Author
Owner

@pirate commented on GitHub (Mar 22, 2019):

Duplicate of https://github.com/pirate/ArchiveBox/issues/185

<!-- gh-comment-id:475461590 --> @pirate commented on GitHub (Mar 22, 2019): Duplicate of https://github.com/pirate/ArchiveBox/issues/185
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#3150
No description provided.