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

Bug Report: Unhandled exception "UnicodeEncodeError: 'charmap' codec can't encode characters in position 36-39: character maps to <undefined>" (#9528e76d) #988

Closed
commixreporter opened this issue Dec 19, 2024 · 0 comments

Comments

@commixreporter
Copy link

Commix version: 4.0-dev#120
Python version: 3.12.0
Operating system: nt
Command line: commix.py -u ********************* --crawl=2 --random-agent

Traceback (most recent call last):
  File \"commix.py", line 36, in <module>
    main()
  File \"commix.py", line 31, in main
    import src.core.main
  File \"main.py", line 962, in <module>
    filename = crawler.store_crawling(output_href)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File \"crawler.py", line 115, in store_crawling
    crawling_results.write(url.encode(settings.DEFAULT_CODEC).decode() + "\n")
  File \"cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'charmap' codec can't encode characters in position 36-39: character maps to <undefined>
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

1 participant