Comments (6)
It looks like some of the log was cut off in your snippet - it would be helpful to see the text below "This error was caused while parsing the following content" so that we can see what the bot is seeing when it tries to load the webpage.
Would you mind sending over the complete log? Since it's probably super long, you can save it to a text file and attach it as a file instead of copying it directly into a comment.
It would also be helpful to see how you have your search configured. What is the output of /show
in the channel that has the search?
from hyacinth.
The following is the full log, I just missed one line:
Traceback (most recent call last):
File "/app/plugins/marketplace/client.py", line 120, in _parse_search_results
raise ValueError("Could not find items container")
ValueError: Could not find items container
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/hyacinth/monitor.py", line 95, in __safe_poll_search
listings = await search_spec.plugin.get_listings(search_spec.search_params, after_time)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/plugins/marketplace/plugin.py", line 38, in get_listings
return await get_listings(search_params, after_time, limit)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/plugins/marketplace/client.py", line 28, in get_listings
async for listing in search:
File "/app/plugins/marketplace/client.py", line 53, in _search
result_urls = _parse_search_results(search_content)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/plugins/marketplace/client.py", line 133, in _parse_search_results
raise ParseError("Error parsing search results", content) from e
hyacinth.exceptions.ParseError: Error parsing search results
This error was caused while parsing the following content:
I have attached an image of my search configuration.
from hyacinth.
Hm, that's strange - the search configuration in your screenshot is for Craigslist, but the error from your logs is for an FB Marketplace search. Were you trying out Marketplace at some point in a different channel? To help debug that I'll need the /show
command from that channel, showing the Marketplace search that's failing.
It's also strange that there's nothing below "This error was caused while parsing the following content:" in your crash logs.
I fixed a couple of issues just now related to the Marketplace client and the crash reporting, could you try pulling the latest and seeing if it helps?
To help further, I will need that /show
command from the channel that had the Marketplace search configured.
If you can't find it, you can try deleting all of your existing searches & filters by clearing the database with docker-compose down -v
, then starting the bot and configuring your searches again. Note: as mentioned, this will delete all of your existing configuration.
from hyacinth.
You are correct, after messing with it a little further I found the FB marketplace search configuration, instead of the craigslist one. I tried running the program today but am now getting a different error. I posted a new issue, so until I get that resolved I will not be able to test out the changes you made.
from hyacinth.
I have resolved the other issue and testing your changes now.
from hyacinth.
Facebook marketplace notifications are now coming through, everything seems to be working!
Thanks much!
from hyacinth.
Related Issues (20)
- filter add error- application did not respond HOT 2
- FB Marketplace plugin fails to search HOT 3
- Not coming online on Discord HOT 7
- Geotagging error HOT 7
- Craigslist error HOT 23
- Marketplace future exceptions HOT 16
- Could not find local geospatial data. Please download gadm36_USA.gpkg and cities1000.txt to use local geocoding. HOT 5
- Docker Service-1 exiting HOT 2
- Inconsistent and unpredictable grabbing and reporting HOT 4
- Question about rate limiting HOT 1
- FileNotFoundError HOT 2
- Password Failed Error HOT 9
- Discord notifications very slow HOT 1
- Is there any way to implement Local Reverse Geocoding outside of US? HOT 1
- Stuck on running the bot HOT 4
- Improper Token has been passed HOT 1
- "Could not find product JSON in product data script" change in html structure? HOT 11
- FB Marketplace poll failure HOT 1
- Error message when running bot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyacinth.