nemonik/Intellect

Error when running example code: name 'version_str_to_tuple' is not defined

Opened this issue · 1 comments

Hello!

I downloaded all of the example files and tried running them. Below are my error results. I'm using:

  • Python 2.7.9
  • antlr-python-runtime 3.4
  • intellect 1.4.9

Output when running the example code:

File "//anaconda/lib/python2.7/site-packages/intellect/grammar/PolicyParser.py", line 129, in PolicyParser
antlr_version = version_str_to_tuple("3.1.3 Mar 17, 2009 19:23:44")
NameError: name 'version_str_to_tuple' is not defined

Is there something I can do to remedy this?

Thanks!

  • Robert

It's apparently gone in antlr-python-runtime 3.4, it works in 3.1.2. I don't know what the replacement is.