Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick Start cant run #342

Open
BaoTan opened this issue Dec 11, 2024 · 10 comments
Open

Quick Start cant run #342

BaoTan opened this issue Dec 11, 2024 · 10 comments

Comments

@BaoTan
Copy link

BaoTan commented Dec 11, 2024

Traceback (most recent call last):
File "/home/paco/work_prjs/my_prjs/scrawler_xjp/main.py", line 11, in
asyncio.run(main())
File "/home/paco/work_envs/dl_env/miniconda3/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/paco/work_envs/dl_env/miniconda3/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/home/paco/work_prjs/my_prjs/scrawler_xjp/main.py", line 6, in main
result = await crawler.arun(url="https://www.nbcnews.com/business")
File "/home/paco/work_envs/dl_env/miniconda3/lib/python3.9/site-packages/crawl4ai/async_webcrawler.py", line 185, in arun
async with self._lock or nullcontext():
AttributeError: aenter

@Aclavelar
Copy link

I have just installed CrawlAi. I ran the test example and had similar error.

@deltacodepl
Copy link

deltacodepl commented Dec 12, 2024

I'm getting unhashable Error, there was no problem before v.4
[FETCH]... ↓ https://www.tapflo.com.pl/pompy-membranowe/seria-p... | Status: True | Time: 3.38s
[ERROR]... × https://www.tapflo.com.pl/pompy-membranowe/seria-p... | Error:
┌───────────────────────────────────────────────────────────────────────────────┐
│ × Process HTML, Failed to extract content from the website: │
https://www.tapflo.com.pl/pompy-membranowe/seria-pe-i-ptfe, error: │
│ unhashable type: 'list' │
└───────────────────────────────────────────────────────────────────────────────┘

@Themisstone
Copy link

I have the following error as shown below:

[ERROR]... × https://www.nbcnews.com/business... | Error:
┌───────────────────────────────────────────────────────────────────────────────┐
│ × async_crawler_strategy.py:_crawleb(): Timeout 30000ms exceeded. │
│ =========================== logs =========================== │
│ "load" event fired │
│ ============================================================ │
└───────────────────────────────────────────────────────────────────────────────┘

@makispl
Copy link

makispl commented Dec 12, 2024

Same here as well!

@unclecode
Copy link
Owner

unclecode commented Dec 13, 2024

Hey everyone

@BaoTan @Aclavelar Please update again to 0.4.21 in 2 - 3 hours and let me know please. 0.4.22 and let me know please.

@deltacodepl @Themisstone @makispl Can you share your code snippet

@makispl
Copy link

makispl commented Dec 14, 2024 via email

@unclecode
Copy link
Owner

Everyone please make sure to upgrade to 0.4.22 @BaoTan @deltacodepl @makispl @Aclavelar

@unclecode
Copy link
Owner

Hi Hossein, the script is the one attached (similar to the one I recently sent you to help me with extracting pricing plans and filtering features per tier). The issue is very rare, I have to admit. In the meantime, I've created issue #349 [#349] regarding the deployment of my custom tool on crewai+ enterprise platform. I’d really appreciate it if you could help me with that. I acknowledge that I’ve asked a lot, but I’ve tried a dozen of scrapers out there and crawl4AI is by far the best! My product deeply relies on this, I really need to overcome this issue 🙏🏼 Warm regards, Ger

On 13 Dec 2024 at 2:46 PM +0200, UncleCode @.>, wrote: Hey everyone @BaoTan @Aclavelar Please update again to 0.4.21 in 2 - 3 hours and let me know please. @deltacodepl @Themisstone @makispl Can you share your code snippet — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.>

Hi Ger, I will check your code very soon, hopefully today or tomorrow. I hope we can wrap it up and have a good example of Crawl4ai in our docs.

@Aclavelar
Copy link

Everyone please make sure to upgrade to 0.4.22 @BaoTan @deltacodepl @makispl @Aclavelar

Hi

It is working now!

Thanks!!!

@unclecode
Copy link
Owner

You're welcome, please make sure to upgrade to 0.4.23 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants