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

python3 compatible? #18

Open
Open
@bbrendon

Description

@bbrendon
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

Activity

amandasaurus

amandasaurus commented on Aug 18, 2017

@amandasaurus
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

scottwilliambeasley commented on Apr 8, 2018

@scottwilliambeasley

Love your module. Patch submitted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @amandasaurus@bbrendon@scottwilliambeasley

      Issue actions

        python3 compatible? · Issue #18 · amandasaurus/apache-log-parser