Opened 13 years ago

Closed 13 years ago

#9 closed defect (fixed)

trac causing oddness in the log files

Reported by: lschiere Owned by: datallah
Milestone: 2.0.0 Component: webpage
Version: Keywords:
Cc:

Description

logcheck for this hour contains the following. I've seen very similar output before, can we solve this?

2 pidgin Trac[init] WARNING: HTML preview using <trac.mimeview.silvercity.SilverCityRenderer? object at 0x2aaaada96690> failed (No module named SilverCity?) Traceback (most recent +call last): File "/var/lib/python-support/python2.4/trac/mimeview/api.py", line 448, in render filename, url) File "/var/lib/python-support/python2.4/trac/mimeview/silvercity.py", +line 93, in render import SilverCity? ImportError?: No module named SilverCity?

Change History (3)

comment:1 Changed 13 years ago by datallah

  • Resolution set to fixed
  • Status changed from new to closed

SilverCity? is a text formatter used for formatting source in the src browser and etc.

We are using enscript instead because SilverCity? isn't in etch and my trivial attempts to manually set it up weren't fruitful.

SilverCity? is the default and unfortunately there is no way to disable it, so I did it by editing the source.

I'll file a trac issue about error spewing when SilverCity? isn't present.

If you something like this still happening, please reopen.

comment:2 follow-up: Changed 13 years ago by lschiere

  • Resolution fixed deleted
  • Status changed from closed to reopened

2 pidgin Trac[init] ERROR: list index out of range Traceback (most recent call last): File "/var/lib/python-support/python2.4/trac/web/main.py", line 356,

+in dispatch_request dispatcher.dispatch(req) File "/var/lib/python-support/python2.4/trac/web/main.py", line 224, in dispatch resp = +chosen_handler.process_request(req) File "/var/lib/python-support/python2.4/trac/versioncontrol/web_ui/browser.py", line 100, in process_request rev_or_latest = +rev or repos.youngest_rev File "/var/lib/python-support/python2.4/trac/versioncontrol/api.py", line 144, in <lambda> youngest_rev = property(lambda x: +x.get_youngest_rev()) File "build/bdist.linux-x86_64/egg/tracvc/mtn/backend.py", line 170, in get_youngest_rev IndexError?: list index out of range

comment:3 in reply to: ↑ 2 Changed 13 years ago by datallah

  • Resolution set to fixed
  • Status changed from reopened to closed

Replying to lschiere: That was my fault. I was switching to a specific monotone database for trac from my database which I used for testing and got the path wrong initially.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!