Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2276 (closed defect: wontfix)

Opened 10 years ago

Last modified 10 years ago

Provide a better error message when syntax errors are present in controllers

Reported by: jorge.vargas Owned by:
Priority: normal Milestone: 2.1a1
Component: TurboGears Version: 2.0b7
Severity: normal Keywords:
Cc:

Description

When you import a controller from outside your package and it has syntax errors a cryptic error is output.

 http://beta.pylonshq.com/tracebacks/81432b82eb1a2b3430da6ec413e1d253

Change History

comment:1 Changed 10 years ago by mramm

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

The error message is really not that bad, it shows that import failed, gives the line number and the reason. Could be better, and a patch would be accepted, but I don't think this is a critical issue at all. Feel free to reopen with a patch, otherwise I'm closing the ticket.

Note: See TracTickets for help on using tickets.