Netflix-Skunkworks / Scumblr

Web framework that allows performing periodic syncs of data sources and performing analysis on the identified results
Apache License 2.0
2.64k stars 317 forks source link

Issue with updating Results Display Field #140

Closed espressobeanies closed 7 years ago

espressobeanies commented 7 years ago

Good afternoon, I'm seeing another issue crop up where I receive the following error after attempting to update the Results Display Field:

image

I'm also seeing "No Results Found. (151 results filtered)" under my Results tab.

ahoernecke commented 7 years ago

Can you provide the logs you're seeing when you get this error?

espressobeanies commented 7 years ago

I'm not seeing any direct output with this error. I also checked the Scumblr log folder and the two files there didn't show much. When I run the troubleshooting commands to retrieve results, I'm getting the following:

res = Result.where(id: ).first SyntaxError: unexpected '<' res = Result.where(id: ).first

res.metadata NameError: undefined local variable or method `res' for main:Object

Does Scumblr have another debug mode?

ahoernecke commented 7 years ago

Hi,

There should almost certainly be something in the log if you're seeing this message. Try tailing the end of the production log while making a request that errors.

For the command you pasted above, you need to replace <id> with a number (i.e. the id number of a result).

If you run scumblr in development mode (RAILS_ENV=development rails s) it will provide verbose errors when a problem something occurs.

espressobeanies commented 7 years ago

I see. That worked and I'm able to see the id:, title:, url:, etc... outputs from the python CLI.

Okay, so on the filter settings, if I select "Is Closed?", it'll show all my previous results. All set. Thank you!

ahoernecke commented 7 years ago

Cool no problem!