Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

python3 compatible? #18

Open
bbrendon opened this issue Aug 18, 2017 · 2 comments · May be fixed by #24
Open

python3 compatible? #18

bbrendon opened this issue Aug 18, 2017 · 2 comments · May be fixed by #24

Comments

@bbrendon
Copy link

Traceback (most recent call last):
  File "log.py", line 29, in <module>
    log_line_data = line_parser(loop) #We are using the apache parser as specified above
  File "/usr/local/lib/python3.4/dist-packages/apache_log_parser/__init__.py", line 246, in parse
    match = self.log_line_regex.match(log_line)
TypeError: can't use a string pattern on a bytes-like object

@amandasaurus
Copy link
Owner

Hi, I initially designed this with python2 in mind, I don't think i've tried it with py3. It would be nice to have py3 compatibility, but I have no time to work on this now. Patches welcome!

@scottwilliambeasley
Copy link

Love your module. Patch submitted!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants