-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
python flickr_scraper.py --search 'honeybees on flowers' --n 10 --download #34
Comments
@qiyangchennrel hello! Thank you for reaching out and providing details about the issue you're encountering. To help us diagnose and resolve the problem effectively, could you please provide a minimum reproducible example of your code? This will allow us to better understand the context and pinpoint the issue. You can find guidance on creating a reproducible example here: Minimum Reproducible Example. Additionally, please ensure that you are using the latest versions of all relevant packages, as updates often include important bug fixes and improvements. Looking forward to your response so we can assist you further! 😊 |
Hello @nzhang95120, Thank you for providing the screenshot and additional details about the issue you're encountering. It looks like you're running into some trouble with the Here are a few steps you can take to troubleshoot and potentially resolve the issue:
If you have verified all the above and the issue persists, please let us know with any additional error logs or details. This will help us assist you more effectively. Thank you for your patience and cooperation! 😊 |
Same here:
|
The error occurs because
pip install --upgrade flickrapi ultralytics
import xml.etree.ElementTree as ET
ET.Element.getchildren = lambda self: list(self) # Compatibility patch This should resolve the XML parsing issue. Let us know if you still encounter any errors after applying these fixes. |
I observe the following error with the above compatibility patch (python 3.10.14, ultralytics 8.3.71, flickerapi 2.4.0), :
|
To the extent it still helps @qiyangchennrel, @nzhang95120 I also observed the same error and traced it to #L16 in
|
May resolve #34 Signed-off-by: Glenn Jocher <[email protected]>
A potential fix for this issue has been merged in PR #42! 🎉 Key Changes in the PR:
These changes address potential issues with file path handling, filename conflicts, and stability, which align with resolving this issue. If possible, please try these steps and let us know if the fix resolves the issue for you! Feedback is invaluable to ensure all edge cases are addressed. Thanks so much for raising this issue and helping improve the project! 🙏 If the problem persists, please feel free to share additional details, and we'll be happy to assist further. 🚀 |
@glenn-jocher yes this fix cleared the string/pathing issue that I observed. Thanks! |
When I tried to download the images, I got the errors below:
nargs ['honeybees on flowers']
0/10 error...
1/10 error...
2/10 error...
3/10 error...
4/10 error...
5/10 error...
6/10 error...
7/10 error...
8/10 error...
9/10 error...
10/10 error...
Done. (4.4s)
The text was updated successfully, but these errors were encountered: