Skip to content

HTTPMatch not found #45

@TheZoq2

Description

@TheZoq2

I'm trying to run the project on arch and I'm getting the following error

(venv.dir) sh-5.2$ python usb_serial.py
Traceback (most recent call last):
  File "/home/frans/Documents/amaranth/http-accel/usb_serial.py", line 9, in <module>
    from http_server.http_server import HTTP10Server
  File "/home/frans/Documents/amaranth/http-accel/http_server/http_server.py", line 4, in <module>
    from http_match import HttpMatch
ModuleNotFoundError: No module named 'http_match'
(venv.dir) sh-5.2$ python3 usb_serial.py
Traceback (most recent call last):
  File "/home/frans/Documents/amaranth/http-accel/usb_serial.py", line 9, in <module>
    from http_server.http_server import HTTP10Server
  File "/home/frans/Documents/amaranth/http-accel/http_server/http_server.py", line 4, in <module>
    from http_match import HttpMatch
ModuleNotFoundError: No module named 'http_match'
(venv.dir) sh-5.2$ python3 --version
Python 3.13.2
(venv.dir) sh-

From what I can tell, there is no http_match file which is likely the cause of the issue

~/Docum/amara/http-accel ♦ ➔ ls http_server/
__init__.py          is_digit_test.py                   stream_demux.py
__pycache__          number.py                          stream_demux_test.py
atoi.py              number_test.py                     stream_mux.py
atoi_test.py         parse_start.py                     stream_mux_test.py
bcd_counter.py       parse_start_test.py                string_alt_match.py
bcd_counter_test.py  printer.py                         string_alt_match_test.py
bcd_digit_test.py    printer_seq.py                     string_alt_prefix_test.py
capitalizer.py       printer_seq_test.py                string_contains_match.py
capitalizer_test.py  printer_test.py                    string_contains_match_test.py
count_body.py        simple_http_fuzz_examples_test.py  string_match.py
count_body_test.py   simple_http_fuzz_test.py           string_match_test.py
http_match.py        simple_led_body.py                 string_seq_match.py
http_match_test.py   simple_led_body_test.py            string_seq_match_test.py
http_server.py       simple_led_http.py                 up_counter.py
is_digit.py          simple_led_http_test.py            up_counter_test.py
~/Docum/amara/http-accel ♦ ➔ hx http_server/__init__.py
~/Docum/amara/http-accel ♦ ➔ rg http_match
http_server/http_server.py
4:from http_match import HttpMatch

http_server/http_match_test.py
5:from .http_match import HttpMatc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions