NSchrading / redditDataExtractor

The reddit Data Extractor is a cross-platform GUI tool for downloading almost any content posted to reddit. Downloads from specific users, specific subreddits, users by subreddit, and with filters on the content is supported. Some intelligence is built in to attempt to avoid downloading duplicate external content.
GNU General Public License v3.0
229 stars 29 forks source link

Sadly even with Pull Request #15 your RDE tool does not work - downloads empty .txt files (no comment body) and complains about AttributeError: '<class 'praw.objects.Submission'>' has no attribute 'comments' #16

Open informer2016 opened 5 years ago

informer2016 commented 5 years ago

@NSchrading Sadly even with Pull Request #15 your RDE tool does not work - downloads empty .txt files (no comment body) and complains about AttributeError: '<class 'praw.objects.Submission'>' has no attribute 'comments' . Please reply if you still care about your tool, I think I did like 90% of work but got stuck a bit

smcnally commented 5 years ago

Using the latest 1.2 release exe.linux-x86_64-3.4 on Ubuntu 18.04 and also getting 0-byte text files. JPGs are downloading as-designed.

In the gui, the only detail is "Error saving submission:" image

In syslog, I see

Could not find config file ... 'praw.ini' -

which is likely the issue. I'll dig in next and report back here.

smcnally commented 5 years ago

The dev addressed a related issue in this comment:

I suspect the problem is that you are using the new, backwards-incompatible version of PRAW (v4+). When I wrote this, only PRAW v3 was around. Try downgrading to PRAW v3 (I think 3.4.0 or 3.5.0 is the latest). Hopefully that will fix it.

I replaced PRAW 5.3 with v3.5.0 and redditDataExtractor is Working as Designed.

The only related entries I see now in syslog are

PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses

Thanks for making this tool available, @NSchrading