-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- I am reporting a bug.
- I am running the latest version of BDfR
- I have read the Opening an issue
Description
I am fetching/cloning all my submissions and comments
Command
bdfr clone c:\downloads\reddit --authenticate, --user me --submitted --all-comments
Environment (please complete the following information)
- OS: Windows 11 Pro (OS Build 26100.3775)
- Python version: 3.12.6
Logs
[2025-04-09 18:40:46,134 - root - ERROR] - Scraper exited unexpectedly
Traceback (most recent call last):
File "C:\Users\ussss\AppData\Local\Programs\Python\Python312\Lib\site-packages\bdfr\__main__.py", line 161, in cli_clone
reddit_scraper.download()
File "C:\Users\ussss\AppData\Local\Programs\Python\Python312\Lib\site-packages\bdfr\cloner.py", line 27, in download
self.write_entry(submission)
File "C:\Users\ussss\AppData\Local\Programs\Python\Python312\Lib\site-packages\bdfr\archiver.py", line 92, in write_entry
self._write_entry_json(archive_entry)
File "C:\Users\ussss\AppData\Local\Programs\Python\Python312\Lib\site-packages\bdfr\archiver.py", line 103, in _write_entry_json
content = json.dumps(entry.compile())
^^^^^^^^^^^^^^^
File "C:\Users\ussss\AppData\Local\Programs\Python\Python312\Lib\site-packages\bdfr\archive_entry\comment_archive_entry.py", line 19, in compile
self.post_details = self._convert_comment_to_dict(self.source)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ussss\AppData\Local\Programs\Python\Python312\Lib\site-packages\bdfr\archive_entry\base_archive_entry.py", line 36, in _convert_comment_to_dict
in_comment.replies.replace_more(limit=None)
File "C:\Users\ussss\AppData\Local\Programs\Python\Python312\Lib\site-packages\praw\util\deprecate_args.py", line 43, in wrapped
return func(**dict(zip(_old_args, args)), **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ussss\AppData\Local\Programs\Python\Python312\Lib\site-packages\praw\models\comment_forest.py", line 195, in replace_more
self._insert_comment(comment)
File "C:\Users\ussss\AppData\Local\Programs\Python\Python312\Lib\site-packages\praw\models\comment_forest.py", line 80, in _insert_comment
raise DuplicateReplaceException
praw.exceptions.DuplicateReplaceException: A duplicate comment has been detected. Are you attempting to call 'replace_more_comments' more than once?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working