Skip to content

execute lecture_01 failed #13

@coconut33333

Description

@coconut33333

Hi master, I encountered an error when executing lecture_01, which is as follows:

Traceback (most recent call last):
  File "/Users/zheming.cai/micromamba/envs/py310torch18/lib/python3.10/site-packages/warcio/recordloader.py", line 236, in _detect_type_load_headers
    rec_headers = self.arc_parser.parse(stream, statusline)
  File "/Users/zheming.cai/micromamba/envs/py310torch18/lib/python3.10/site-packages/warcio/recordloader.py", line 312, in parse
    raise StatusAndHeadersParserException(msg, parts)
warcio.statusandheaders.StatusAndHeadersParserException: Wrong # of headers, expected arc headers ['uri', 'ip-address', 'archive-date', 'content-type', 'length'], Found ['<?xml', 'version="1.0"', 'encoding="UTF-8"?>']

When I open the related website, I got the following:

<Error>
<Code>SlowDown</Code>
<Message>Please reduce your request rate.</Message>
<RequestId>HTVKJ9C9HZSDW9XZ</RequestId>
<HostId>OiAgQgObBq8dxU67IUROHv3VI9eODCmHALru2HSyk4ZZrlw0nuNrChARHWRAjq5gHF7Qkes/Ego=</HostId>
</Error>

What should I do then?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions