Ticket #2791 (reopened defect)

Opened 7 months ago

Last modified 1 month ago

ChangeLog for 0.11 does not work

Reported by: jouvin@lal.in2p3.fr Assigned to: athomas
Priority: highest Component: ChangeLogPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11

Description

Hi,

When using the last ChangeLog? for 0.11 (r2942), it doesn't work properly. It displays :

<pre>template/branches/glite-3.1,20</pre>

when called with :

[[ChangeLog(template/branches/glite-3.1,20)]]

The same call is working properly under 0.10.

Attachments

Change History

06/04/08 06:56:12 changed by anonymous

  • priority changed from normal to highest.
  • severity changed from normal to critical.

06/24/08 23:02:49 changed by anonymous

:( It doesn't work for Trac 0.11. The errors are like this -

Trac detected an internal error:

TypeError?: previous_rev() takes exactly 2 arguments (3 given)

08/14/08 11:05:09 changed by mikon

A very minor and probably OOF remark: it does not install in 0.11 with easy_install, unlike so many other plugins.

mko@trac:~$ sudo easy_install http://trac-hacks.org/svn/changelogplugin/0.11
Downloading http://trac-hacks.org/svn/changelogplugin/0.11
Doing subversion checkout from http://trac-hacks.org/svn/changelogplugin/0.11 to /tmp/easy_install-hS1LVe/0.11
Processing 0.11
error: Couldn't find a setup script in /tmp/easy_install-hS1LVe/0.11

08/14/08 18:22:41 changed by athomas

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

The latest changelog plugin works for me under latest Trac trunk.

As for the easy_install, this plugin is a single-file plugin. Just copy it into Trac's "plugin" directory.

08/18/08 03:56:45 changed by mikon

Works for me too (0.11).

Totally OOT, about easy_install: I (will) have tens of projects and while the .egg plugins I need to install just once, the one-file plugins don't work out of /usr/lib/python2.5/site-packages, so I need to put them into each project's plugins directory. Unless I'm missing something. I may make the plugins directories symlinks, but then I lose the possibility of single-project plugins.

08/18/08 05:24:55 changed by mikon

OK, I've found the

[inherit]
plugins_dir = ...
}}

hack, moved ChangeLogPlugin there and it works OK installed in the global plugins directory, too. Thanks for your work.

09/01/08 16:14:13 changed by jouvin@lal.in2p3.fr

  • status changed from closed to reopened.
  • resolution deleted.

I still have the same problem after upgrading to last changelog.py and last 0.11-stable (r7502)...

Thanks in advance for any hint...

Michel


Add/Change #2791 (ChangeLog for 0.11 does not work)




Change Properties
Action