Skip to content
This repository has been archived by the owner on Sep 17, 2018. It is now read-only.

Install and Examples don't work #311

Open
radiantone opened this issue Jul 27, 2017 · 1 comment
Open

Install and Examples don't work #311

radiantone opened this issue Jul 27, 2017 · 1 comment

Comments

@radiantone
Copy link

Hi,
Lots of great work here. Not sure it is still supported. I do get some odd install errors and a runtime error trying to follow the example

± |master U:1 ?:2 ✗| → reg/bin/python build_from.py CFR-2012-title12-vol8-part1004.xml 12 2011-18676 15 1693
Traceback (most recent call last):
File "build_from.py", line 20, in
from regparser.builder import (
File "/home/radiant/regulations-parser/regparser/builder.py", line 11, in
from regparser import api_writer, content
File "/home/radiant/regulations-parser/regparser/api_writer.py", line 18, in
from regparser.notice.encoder import AmendmentEncoder
File "/home/radiant/regulations-parser/regparser/notice/encoder.py", line 3, in
from regparser.notice.diff import Amendment, DesignateAmendment
File "/home/radiant/regulations-parser/regparser/notice/diff.py", line 8, in
from regparser.grammar import amdpar, tokens
File "/home/radiant/regulations-parser/regparser/grammar/amdpar.py", line 9, in
from regparser.grammar import atomic, tokens, unified
File "/home/radiant/regulations-parser/regparser/grammar/atomic.py", line 7, in
from regparser.grammar.utils import Marker, SuffixMarker, WordBoundaries
File "/home/radiant/regulations-parser/regparser/grammar/utils.py", line 1, in
from pyparsing import alphanums, CaselessLiteral, getTokensEndLoc, Literal
ImportError: cannot import name getTokensEndLoc

@ascott1
Copy link
Member

ascott1 commented Jul 28, 2017

Hi @radiantone - I recommend taking a look at the fork in the "eregs" organization, which is under active development. I hope that helps!

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

No branches or pull requests

2 participants