How to use web interface?

Asked by JC Hulce on 2011-08-15

The tarmac-web file in the source suggests that tarmac has a web interface available, but there's no documentation about how to use or configure it.
I have hunted down a scrap of documentation, in the merge proposal where the web interface was merged in.
https://code.launchpad.net/~statik/tarmac/web-status-page/+merge/8579
So, I copied the tarmac-web file to /usr/bin and marked it as executable. By trial and error I found that the command format was:
tarmac-web <port> <project>

However, when I try to access the page, I get the following error:
127.0.0.1:38593 - - [25/Sep/2011 04:40:37] "HTTP/1.1 GET /" - 500 Internal Server Error
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/web/application.py", line 240, in process
    return p(lambda: process(processors))
  File "/usr/lib/pymodules/python2.7/web/application.py", line 560, in processor
    h()
  File "/usr/lib/pymodules/python2.7/web/application.py", line 77, in reload_mapping
    mod = __import__(module_name)
ImportError: No module named tarmac-web

So we have some issues here:
-The web interface does not work
-The web interface has no documentation
-The web interface is not installed by default; one has to figure out how to install it.

Question information

Language:
English Edit question
Status:
Open
For:
Tarmac Edit question
Assignee:
No assignee Edit question
Last query:
2011-09-25
Last reply:
2011-09-15
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

JC Hulce (soaringsky) said : #2

Unanswered, unexpiring.

Launchpad Janitor (janitor) said : #3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

JC Hulce (soaringsky) said : #4

still unanswered

JC Hulce (soaringsky) said : #5

I have hunted down a scrap of documentation, in the merge proposal where the web interface was merged in.
https://code.launchpad.net/~statik/tarmac/web-status-page/+merge/8579
So, I copied the tarmac-web file to /usr/bin and marked it as executable. By trial and error I found that the command format was:
tarmac-web <port> <project>

However, when I try to access the page, I get the following error:
127.0.0.1:38593 - - [25/Sep/2011 04:40:37] "HTTP/1.1 GET /" - 500 Internal Server Error
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/web/application.py", line 240, in process
    return p(lambda: process(processors))
  File "/usr/lib/pymodules/python2.7/web/application.py", line 560, in processor
    h()
  File "/usr/lib/pymodules/python2.7/web/application.py", line 77, in reload_mapping
    mod = __import__(module_name)
ImportError: No module named tarmac-web

So we have some issues here:
-The web interface does not work
-The web interface has no documentation
-The web interface is not installed by default; one has to figure out how to install it.

Can you help with this problem?

Provide an answer of your own, or ask JC Hulce for more information if necessary.

To post a message you must log in.