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

utf-8 codec issue #4

Open
ajayjain opened this issue Nov 26, 2017 · 1 comment
Open

utf-8 codec issue #4

ajayjain opened this issue Nov 26, 2017 · 1 comment

Comments

@ajayjain
Copy link
Contributor

ajayjain commented Nov 26, 2017

Seen when browsing https://www.mathworks.com/discovery/object-recognition.html

		 body: Face recognition is the process of identifying one or more people in images or videos by analyzing and comparing patterns. Algorithms for face recognition typically extract facial features and compare them to a database to find the best match. Face r ...
Loading search index at index
[index index_parsed] Indexing...
		 url: https://www.mathworks.com/examples/matlab-computer-vision/mw/vision-ex63278595-train-stop-sign-detector
		 title: Train Stop Sign Detector
		 body: You clicked a link that corresponds to this MATLAB command: 

Run the command by entering it in the MATLAB Command Window.
                    Web browsers do not support MATLAB commands. ...
Traceback (most recent call last):
  File "./worker.py", line 62, in <module>
    main()
  File "./worker.py", line 57, in main
    ind.index_html(remote_url, local_path)
  File "/home/ajay/code/cauldron/desktop/index.py", line 53, in index_html
    content = html_file.read()
  File "/home/ajay/.virtualenvs/cauldron/lib/python3.5/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 18: invalid start byte
Loading search index at index
[index index_parsed] Indexing...
		 url: https://www.mathworks.com/products/neural-network/features.html
		 title: Features - Neural Network Toolbox - MATLAB
		 body: Supervised neural networks are trained to produce desired outputs in response to sample inputs, making them particularly well suited for modeling and controlling dynamic systems, classifying noisy data, and predicting future events. Neural Network To ...
Loading search index at index
[index index_parsed] Indexing...
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

2 participants
@ajayjain and others