My option was to create the link and I think it solved. The script hooks is
also functioning. Now I can insert comments from the commit/push.
Also noticed this exception in the log. But I do not know the impact.
2013-06-05 16:16:53,740 Trac[console] ERROR: Exception in trac-admin
command:
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/admin/console.py",
line 108, in onecmd
rv = cmd.Cmd.onecmd(self, line) or 0
File "/usr/lib/python2.7/cmd.py", line 220, in onecmd
return self.default(line)
File
"/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/admin/console.py",
line 284, in default
return cmd_mgr.execute_command(*args)
File
"/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/admin/api.py",
line 124, in execute_command
return f(*fargs)
File
"/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/versioncontrol/admin.py",
line 96, in _do_changeset_added
rm.notify('changeset_added', reponame, revs)
File
"/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/versioncontrol/api.py",
line 674, in notify
getattr(listener, event)(repos, changeset, *args)
File
"/usr/local/lib/python2.7/dist-packages/TracTicketChangesets-1.0dev_r0-py2.7.egg/ticketchangesets/commit_updater.py",
line 186, in changeset_added
tkt_changesets.add(tkt_id, repos.id, changeset.rev)
File
"/usr/local/lib/python2.7/dist-packages/TracTicketChangesets-1.0dev_r0-py2.7.egg/ticketchangesets/api.py",
line 75, in add
(rev, tkt_id))
TypeError: %d format: a number is required, not unicode
Thanks.
@ivanelson
[]s
2013/6/5 Ivanelson Nunes <[email protected]>
> Jun Omae,
>
> I really have 02 apps installed Trac:
>
> ivan@dctvpsubu120012-bkp:~$ find /usr -name trac-admin
>> /usr/local/bin/trac-admin
>> /usr/bin/trac-admin
>> ivan@dctvpsubu120012-bkp:~$ /usr/local/bin/trac-admin --version
>> trac-admin 1.0
>> ivan@dctvpsubu120012-bkp:~$ /usr/bin/trac-admin --version
>> trac-admin 0.12.3
>>
>
>
> I just restore a Back-Up the VM where the Trac. I'm afraid to remove the
> deb package (apt-get purge) and return the error HTTPNotFound 404.
>
> Removal or do is just create a link directing to /usr/local/bin?
>
> @ivanelson
> []s
>
>
> 2013/6/5 Jun Omae <[email protected]>
>
>> On Wed, Jun 5, 2013 at 1:04 PM, Ivanelson Nunes
>> <[email protected]> wrote:
>> > I'm getting: No handler matched request to /login
>> >
>> > I use PermRedirectPlugin. I'll try reinstalling.
>>
>> On Wed, Jun 5, 2013 at 4:52 AM, Ivanelson Nunes
>> <[email protected]> wrote:
>> > trac.ini:
>> >
>> >> [components]
>> >> repository_type = git
>> >> repository_dir =
>> >> repository_sync_per_request =
>> >> ticket_changesets.* = enabled
>> >> ticketchangesets.* = enabled
>> >> tracext.git.* = enabled
>> >> tracopt.versioncontrol.git.* = enabled
>> >> ticketchangesets.commit_updater.committicketupdater = enabled
>> >> ticketchangesets.web_ui.commitmessagemacro = enabled
>> >> tracopt.ticket.commit_updater.committicketreferencemacro = enabled
>> >> tracopt.ticket.commit_updater.committicketupdater = enabled
>>
>> It doesn't seem to enable PermRedirectPlugin.
>> See http://trac-hacks.org/wiki/PermRedirectPlugin#Usage.
>>
>> Also, if any problems, please first check trac.log that gives hints
>> how to solve the problems.
>>
>> --
>> Jun Omae <[email protected]> (大前 潤)
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Trac Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/trac-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.