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

Ifixit EN scraping error #104

Closed
kelson42 opened this issue Mar 25, 2024 · 1 comment
Closed

Ifixit EN scraping error #104

kelson42 opened this issue Mar 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kelson42
Copy link
Contributor

  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/scraper_generic.py", line 94, in scrape_one_item
    self.process_one_item(item_key, item_data, item_content)
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/scraper_info.py", line 115, in process_one_item
    Global.add_html_item(
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/shared.py", line 435, in add_html_item
    Global.creator.add_item_for(
  File "/usr/local/lib/python3.8/site-packages/zimscraperlib/zim/creator.py", line 181, in add_item_for
    self.add_item(StaticItem(**kwargs), callback)
  File "/usr/local/lib/python3.8/site-packages/zimscraperlib/zim/creator.py", line 200, in add_item
    super().add_item(item)
  File "libzim/libzim.pyx", line 322, in libzim._Creator.add_item
RuntimeError: Impossible to add C/Info/Core_Returns
  dirent's title to add is : Core Returns
  existing dirent's title is : Core Returns

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/scraper_generic.py", line 116, in scrape_items
    self.scrape_one_item(item_key, item_data)
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/scraper_generic.py", line 94, in scrape_one_item
    self.process_one_item(item_key, item_data, item_content)
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/scraper_info.py", line 115, in process_one_item
    Global.add_html_item(
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/shared.py", line 435, in add_html_item
    Global.creator.add_item_for(
  File "/usr/local/lib/python3.8/site-packages/zimscraperlib/zim/creator.py", line 181, in add_item_for
    self.add_item(StaticItem(**kwargs), callback)
  File "/usr/local/lib/python3.8/site-packages/zimscraperlib/zim/creator.py", line 200, in add_item
    super().add_item(item)
  File "libzim/libzim.pyx", line 322, in libzim._Creator.add_item
RuntimeError: Impossible to add C/about-us
  dirent's title to add is : About iFixit
  existing dirent's title is : About

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/scraper_generic.py", line 116, in scrape_items
    self.scrape_one_item(item_key, item_data)
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/scraper_generic.py", line 94, in scrape_one_item
    self.process_one_item(item_key, item_data, item_content)
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/scraper_info.py", line 115, in process_one_item
    Global.add_html_item(
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/shared.py", line 435, in add_html_item
    Global.creator.add_item_for(
  File "/usr/local/lib/python3.8/site-packages/zimscraperlib/zim/creator.py", line 181, in add_item_for
    self.add_item(StaticItem(**kwargs), callback)
  File "/usr/local/lib/python3.8/site-packages/zimscraperlib/zim/creator.py", line 200, in add_item
    super().add_item(item)
  File "libzim/libzim.pyx", line 322, in libzim._Creator.add_item
RuntimeError: Impossible to add C/Info/Teardown
  dirent's title to add is : Guidelines for creating a Teardown
  existing dirent's title is : Gadget Teardowns

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/scraper_generic.py", line 116, in scrape_items
    self.scrape_one_item(item_key, item_data)
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/scraper_generic.py", line 94, in scrape_one_item
    self.process_one_item(item_key, item_data, item_content)
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/scraper_info.py", line 115, in process_one_item
    Global.add_html_item(
  File "/usr/local/lib/python3.8/site-packages/ifixit2zim-0.2.4-py3.8.egg/ifixit2zim/shared.py", line 435, in add_html_item
    Global.creator.add_item_for(
  File "/usr/local/lib/python3.8/site-packages/zimscraperlib/zim/creator.py", line 181, in add_item_for
    self.add_item(StaticItem(**kwargs), callback)
  File "/usr/local/lib/python3.8/site-packages/zimscraperlib/zim/creator.py", line 200, in add_item
    super().add_item(item)
  File "libzim/libzim.pyx", line 322, in libzim._Creator.add_item
RuntimeError: Impossible to add C/about-us
  dirent's title to add is : Do-It-Yourself Repair
  existing dirent's title is : About

Exception ignored in: <function MagicDetect.__del__ at 0x7ff8006720d0>
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/magic.py", line 308, in __del__
  File "/usr/local/lib/python3.8/site-packages/magic.py", line 135, in close
TypeError: 'NoneType' object is not callable

@kelson42 kelson42 added the bug Something isn't working label Mar 25, 2024
@kelson42 kelson42 pinned this issue Mar 25, 2024
@benoit74
Copy link
Collaborator

Duplicate of #93

@benoit74 benoit74 marked this as a duplicate of #93 Mar 25, 2024
@benoit74 benoit74 reopened this Mar 25, 2024
@benoit74 benoit74 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants