Package congress-server is missing python-antlr3 dependency

Bug #1687298 reported by Tom Verdaat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
High
Corey Bryant
congress
Triaged
Undecided
Eric K
congress (Ubuntu)
Fix Released
High
Corey Bryant

Bug Description

Installed and configured (with puppet-congress) OpenStack Congress version Ocata on Xenial with UCA. Starting it resulted in the following error:

# congress-server --config-file=/etc/congress/congress.conf --log-file=/var/log/congress/congress-server.log
Traceback (most recent call last):
  File "/usr/bin/congress-server", line 6, in <module>
    from congress.server.congress_server import main
  File "/usr/lib/python2.7/dist-packages/congress/server/congress_server.py", line 40, in <module>
    from congress.common import eventlet_server
  File "/usr/lib/python2.7/dist-packages/congress/common/eventlet_server.py", line 38, in <module>
    from congress.dse2 import dse_node
  File "/usr/lib/python2.7/dist-packages/congress/dse2/dse_node.py", line 32, in <module>
    from congress.datalog import compile as datalog_compile
  File "/usr/lib/python2.7/dist-packages/congress/datalog/compile.py", line 38, in <module>
    from congress.datalog import CongressLexer
  File "/usr/lib/python2.7/dist-packages/congress/datalog/CongressLexer.py", line 4, in <module>
    from antlr3 import *
ImportError: No module named antlr3

Resolved this error by installing python-antlr3, so it seems this should be a hard package dependency.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hi Tom,

Thanks for reporting this bug. We'll get python-antlr3 added to the congress dependencies. It seems antlr should be listed in requirements.txt also. so I'm adding the upstream project to this bug.

Corey

Changed in cloud-archive:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Corey Bryant (corey.bryant)
Changed in congress (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Corey Bryant (corey.bryant)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package congress - 6.0.0-0ubuntu1.1

---------------
congress (6.0.0-0ubuntu1.1) artful; urgency=medium

  * d/control: Add python-antlr3 to Depends (LP: #1687298).

 -- Corey Bryant <email address hidden> Fri, 01 Sep 2017 10:26:47 -0400

Changed in congress (Ubuntu):
status: Triaged → Fix Released
Eric K (ekcs)
Changed in congress:
assignee: nobody → Eric K (ekcs)
Changed in cloud-archive:
status: Triaged → Fix Released
Eric K (ekcs)
Changed in congress:
status: New → Triaged
Eric K (ekcs)
Changed in congress:
milestone: none → stein-rc1
Eric K (ekcs)
Changed in congress:
milestone: stein-rc1 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.