Ticket #8608 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Installation fails to "CustomReportManager.add_report Exception: global name 'e' is not defined"

Reported by: risto.hietala@gmail.com Assigned to: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Hi,

I tried installing TimingAndEstimation? and it failed to a "CustomReportManager?.add_report Exception: global name 'e' is not defined" error and I wasn't able to figure out what causes it.

I'm using Debian lenny with Python 2.5.2, Trac 0.12.2 and easy_install & Genshi should be their latest versions.

I'll attach a debug log from trac-admin upgrade.

Br, Risto

Attachments

timeandestimation_install_error.txt (8.3 kB) - added by risto.hietala@gmail.com on 03/15/11 21:19:40.

Change History

03/15/11 21:19:40 changed by risto.hietala@gmail.com

  • attachment timeandestimation_install_error.txt added.

03/16/11 18:31:09 changed by bobbysmith007

Thanks for reporting this error.

  • What version and branch of this plugin are you using?
    • I recognize that error from a previous version of the plugin, but cannot track it down in the current version

Thanks, Russ

(follow-up: ↓ 3 ) 03/16/11 18:31:35 changed by bobbysmith007

  • Also what database backend and version are you using?

(in reply to: ↑ 2 ) 03/16/11 18:53:44 changed by risto.hietala@gmail.com

Replying to bobbysmith007:

Thanks for reporting this error. * What version and branch of this plugin are you using? o I recognize that error from a previous version of the plugin, but cannot track it down in the current version

I installed it with "easy_install http://trac-hacks.org/svn/timingandestimationplugin/branches/trac0.12", so 0.12 without Permissions.

* Also what database backend and version are you using?

Sqlite3 3.7.3

I see that this is a bit outdated, could try installing again after upgrade.

03/16/11 19:31:47 changed by bobbysmith007

I am in the process of installing my test environment so I can try to recreate this error. I dont know that the sqlite version is at fault, but perhaps.

03/16/11 19:59:07 changed by bobbysmith007

I was able to recreate this problem, though I am not sure why it prevented you from completing the install (I saw the error in the logs, but my install still seemed successful). I will post a new version without this error momentarily.

03/16/11 20:10:50 changed by bobbysmith007

(In [9963]) fixed a bug about updating report sequences in postgres re #8608

(follow-up: ↓ 8 ) 03/16/11 20:12:44 changed by bobbysmith007

  • status changed from new to closed.
  • resolution set to fixed.

As I mentioned earlier, I am not sure why that bug would have been preventing install (it should have just reported the error in the log and continued). If you are still having issues after you install the new version, please reopen the ticket, let me know, and I will work with you to resolve them.

Thanks again for the bug report, Russ

(in reply to: ↑ 7 ) 03/17/11 20:14:05 changed by anonymous

Replying to bobbysmith007:

As I mentioned earlier, I am not sure why that bug would have been preventing install (it should have just reported the error in the log and continued). If you are still having issues after you install the new version, please reopen the ticket, let me know, and I will work with you to resolve them.

It was my carelessness and not related to this plugin at all, I was running Trac through Apache and trac-admin upgrade changed the ownership of trac.ini so that Apache couldn't access it any more.

Thanks for the support, sorry for the hassle!

Risto

03/17/11 20:31:30 changed by bobbysmith007

Cool ! Glad we got a bug worked out and you have a running T&E plugin


Add/Change #8608 (Installation fails to "CustomReportManager.add_report Exception: global name 'e' is not defined")




Change Properties
Action