Skip to content

Conversation

@JosephMeghanathD
Copy link
Contributor

No description provided.

@JosephMeghanathD JosephMeghanathD changed the title Import error in IPLoM module Error's in IPLoM module Mar 20, 2019
Copy link
Member

@zhujiem zhujiem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JoeHitHard Could you hightlight the changes in IPLoM.py?

Copy link
Member

@zhujiem zhujiem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you use Python 3?

for currentRex in self.para.rex:
line = re.sub(currentRex, '', line)

wordSeq = list(filter(lambda x: x != '', re.split(r'[\s=:,]', line)))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the only change

@JosephMeghanathD
Copy link
Contributor Author

Yes, I used Python3
There are only 2 changes:

  1. In IPLom.init.py Import error
    previous:
from IPLoM import * 

changed:

from .IPLoM import * 
  1. In IPLom.IPLoM.py
    line number 108:
    previous
wordSeq = filter(lambda x: x != '', re.split(r'[\s=:,]', line))

changed:

wordSeq = list(filter(lambda x: x != '', re.split(r'[\s=:,]', line)))

@zhujiem zhujiem changed the title Error's in IPLoM module Error's in IPLoM module runing on Python 3 Mar 20, 2019
@zhujiem zhujiem changed the title Error's in IPLoM module runing on Python 3 Compatability issues of IPLoM module on Python 3 Mar 20, 2019
@JosephMeghanathD
Copy link
Contributor Author

Hey, in Spell also there are few Compatability issues in Python 3

@zhujiem zhujiem merged commit f1294a4 into logpai:master Mar 20, 2019
ztz1989 pushed a commit to ztz1989/logparser that referenced this pull request Feb 12, 2022
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

Successfully merging this pull request may close these issues.

3 participants