You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@bloodhound.apache.org by Bobby Ninan <bm...@gmail.com> on 2013/12/14 01:20:38 UTC

Error while trying to diff source files/directories

When clicking the "View changes..." button in the Source browser, I get the
following error:

"Error: Not Found
No handler matched request to /diff"

How do I go about fixing this? I am using Bloodhound 0.8.0dev-r1534486

Thanks,
Bobby...

Re: Error while trying to diff source files/directories

Posted by Ryan Ollos <ry...@wandisco.com>.
On Sat, Dec 14, 2013 at 7:33 AM, Olemis Lang <ol...@gmail.com> wrote:

> [...]
>
>>
>> The issue you are seeing is a defect in Bloodhound. We are ignoring
>> requests to the path `/diff` at global scope:
>>
>> https://issues.apache.org/bloodhound/browser/trunk/bloodhound_multiproduct/multiproduct/web_ui.py?rev=1522803#L41
>>
>
> weird ...
>
>
>> There are probably some good reasons for that,
>>
>
> I see no reason to do so *in that particular location* . Ignoring such
> paths is due to redirections to global product and :
>
>   1. this has been deprecated
>   2. and is caused by the behavior of default web bootstrap handler (wbh)
> and request hooks
>
> so I want to dig a bit deeper before making any changes.
>>
>
> ... and therefore IMO such decisions should be implemented only when
> running default wbh and/or hooks , so I suggest to move this from web_ui.py
> to hooks.py
>
>
I committed a change to allow requests to the path `/diff` at global scope.
I took a look at the code to try to understand your suggestion of moving it
from web_ui.py to hooks.py, but it's not clear to me how to make this
change. Would you mind posting a patch with your suggested change?

Re: Error while trying to diff source files/directories

Posted by Olemis Lang <ol...@gmail.com>.
[...]

>
> The issue you are seeing is a defect in Bloodhound. We are ignoring
> requests to the path `/diff` at global scope:
>
> https://issues.apache.org/bloodhound/browser/trunk/bloodhound_multiproduct/multiproduct/web_ui.py?rev=1522803#L41
>

weird ...


> There are probably some good reasons for that,
>

I see no reason to do so *in that particular location* . Ignoring such
paths is due to redirections to global product and :

  1. this has been deprecated
  2. and is caused by the behavior of default web bootstrap handler (wbh)
and request hooks

so I want to dig a bit deeper before making any changes.
>

... and therefore IMO such decisions should be implemented only when
running default wbh and/or hooks , so I suggest to move this from web_ui.py
to hooks.py

[...]

>
>
> Thank you for bringing this to our attention!
>

indeed !
:)

-- 
Regards,

Olemis - @olemislc

Re: Error while trying to diff source files/directories

Posted by Ryan Ollos <ry...@wandisco.com>.
On Fri, Dec 13, 2013 at 5:18 PM, Bobby Ninan <bm...@gmail.com> wrote:

> Please find the output from the first page load. Let me know if you need
> anything else:
>

It seems I was off with my initial guess about the problem, sorry about
that. I assumed the issue you were seeing was caused by a module not
loading, which was wrong in this case. The issue could be readily
reproduced once I realized what you were referring to. It's not a button
that I've paid much attention to in the past.

The issue you are seeing is a defect in Bloodhound. We are ignoring
requests to the path `/diff` at global scope:
https://issues.apache.org/bloodhound/browser/trunk/bloodhound_multiproduct/multiproduct/web_ui.py?rev=1522803#L41

There are probably some good reasons for that, so I want to dig a bit
deeper before making any changes. I'll try to get a fix pushed in the next
day or so however.

Thank you for bringing this to our attention!

Re: Error while trying to diff source files/directories

Posted by Bobby Ninan <bm...@gmail.com>.
Please find the output from the first page load. Let me know if you need
anything else:

2013-12-13 17:12:24,305 Trac[env] INFO: --------------------------------
environment startup [Trac 1.0.1] --------------------------------
2013-12-13 17:12:24,549 Trac[loader] DEBUG: Loading acct_mgr.admin from
/usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:24,577 Trac[loader] DEBUG: Loading acct_mgr.api from
/usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:24,578 Trac[loader] DEBUG: Loading acct_mgr.db from
/usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:24,578 Trac[loader] DEBUG: Loading acct_mgr.htfile from
/usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:24,581 Trac[loader] DEBUG: Loading acct_mgr.http from
/usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:24,590 Trac[loader] DEBUG: Loading acct_mgr.macros from
/usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:24,591 Trac[loader] DEBUG: Loading acct_mgr.notification
from /usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:24,594 Trac[loader] DEBUG: Loading acct_mgr.pwhash from
/usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:24,595 Trac[loader] DEBUG: Loading acct_mgr.svnserve from
/usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:24,596 Trac[loader] DEBUG: Loading acct_mgr.web_ui from
/usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:24,597 Trac[loader] DEBUG: Loading bhdashboard.admin from
/home/bobby/bloodhound/bloodhound_dashboard
2013-12-13 17:12:24,687 Trac[loader] DEBUG: Loading bhdashboard.api from
/home/bobby/bloodhound/bloodhound_dashboard
2013-12-13 17:12:24,688 Trac[loader] DEBUG: Loading
bhdashboard.layouts.bootstrap from
/home/bobby/bloodhound/bloodhound_dashboard
2013-12-13 17:12:24,690 Trac[loader] DEBUG: Loading bhdashboard.macros from
/home/bobby/bloodhound/bloodhound_dashboard
2013-12-13 17:12:24,692 Trac[loader] DEBUG: Loading
bhdashboard.widgets.containers from
/home/bobby/bloodhound/bloodhound_dashboard
2013-12-13 17:12:24,741 Trac[loader] DEBUG: Loading
bhdashboard.widgets.product from /home/bobby/bloodhound/bloodhound_dashboard
2013-12-13 17:12:24,743 Trac[loader] DEBUG: Loading
bhdashboard.widgets.query from /home/bobby/bloodhound/bloodhound_dashboard
2013-12-13 17:12:24,746 Trac[loader] DEBUG: Loading
bhdashboard.widgets.report from /home/bobby/bloodhound/bloodhound_dashboard
2013-12-13 17:12:24,748 Trac[loader] DEBUG: Loading
bhdashboard.widgets.ticket from /home/bobby/bloodhound/bloodhound_dashboard
2013-12-13 17:12:24,771 Trac[loader] DEBUG: Loading
bhdashboard.widgets.timeline from
/home/bobby/bloodhound/bloodhound_dashboard
2013-12-13 17:12:24,777 Trac[loader] DEBUG: Loading bhdashboard.wiki from
/home/bobby/bloodhound/bloodhound_dashboard
2013-12-13 17:12:24,778 Trac[loader] DEBUG: Loading bhrelations.api from
/home/bobby/bloodhound/bloodhound_relations
2013-12-13 17:12:24,809 Trac[loader] DEBUG: Loading bhrelations.search from
/home/bobby/bloodhound/bloodhound_relations
2013-12-13 17:12:24,841 Trac[loader] DEBUG: Loading bhrelations.validation
from /home/bobby/bloodhound/bloodhound_relations
2013-12-13 17:12:24,856 Trac[loader] DEBUG: Loading bhrelations.web_ui from
/home/bobby/bloodhound/bloodhound_relations
2013-12-13 17:12:24,858 Trac[loader] DEBUG: Loading
bhrelations.widgets.ticketrelations from
/home/bobby/bloodhound/bloodhound_relations
2013-12-13 17:12:24,860 Trac[loader] DEBUG: Loading bhsearch.admin from
/home/bobby/bloodhound/bloodhound_search
2013-12-13 17:12:24,863 Trac[loader] DEBUG: Loading bhsearch.api from
/home/bobby/bloodhound/bloodhound_search
2013-12-13 17:12:24,864 Trac[loader] DEBUG: Loading bhsearch.query_parser
from /home/bobby/bloodhound/bloodhound_search
2013-12-13 17:12:25,346 Trac[loader] DEBUG: Loading
bhsearch.query_suggestion from /home/bobby/bloodhound/bloodhound_search
2013-12-13 17:12:25,349 Trac[loader] DEBUG: Loading
bhsearch.search_resources.changeset_search from
/home/bobby/bloodhound/bloodhound_search
2013-12-13 17:12:25,351 Trac[loader] DEBUG: Loading
bhsearch.search_resources.milestone_search from
/home/bobby/bloodhound/bloodhound_search
2013-12-13 17:12:25,354 Trac[loader] DEBUG: Loading
bhsearch.search_resources.ticket_search from
/home/bobby/bloodhound/bloodhound_search
2013-12-13 17:12:25,355 Trac[loader] DEBUG: Loading
bhsearch.search_resources.wiki_search from
/home/bobby/bloodhound/bloodhound_search
2013-12-13 17:12:25,357 Trac[loader] DEBUG: Loading bhsearch.security from
/home/bobby/bloodhound/bloodhound_search
2013-12-13 17:12:25,358 Trac[loader] DEBUG: Loading bhsearch.web_ui from
/home/bobby/bloodhound/bloodhound_search
2013-12-13 17:12:25,363 Trac[loader] DEBUG: Loading bhsearch.whoosh_backend
from /home/bobby/bloodhound/bloodhound_search
2013-12-13 17:12:25,364 Trac[loader] DEBUG: Loading bhtheme.theme from
/home/bobby/bloodhound/bloodhound_theme
2013-12-13 17:12:25,461 Trac[loader] DEBUG: Loading multiproduct.model from
/home/bobby/bloodhound/bloodhound_multiproduct
2013-12-13 17:12:25,462 Trac[loader] DEBUG: Loading multiproduct.perm from
/home/bobby/bloodhound/bloodhound_multiproduct
2013-12-13 17:12:25,462 Trac[loader] DEBUG: Loading
multiproduct.product_admin from
/home/bobby/bloodhound/bloodhound_multiproduct
2013-12-13 17:12:25,463 Trac[loader] DEBUG: Loading
multiproduct.ticket.batch from
/home/bobby/bloodhound/bloodhound_multiproduct
2013-12-13 17:12:25,463 Trac[loader] DEBUG: Loading
multiproduct.ticket.query from
/home/bobby/bloodhound/bloodhound_multiproduct
2013-12-13 17:12:25,463 Trac[loader] DEBUG: Loading
multiproduct.ticket.web_ui from
/home/bobby/bloodhound/bloodhound_multiproduct
2013-12-13 17:12:25,463 Trac[loader] DEBUG: Loading multiproduct.web_ui
from /home/bobby/bloodhound/bloodhound_multiproduct
2013-12-13 17:12:25,463 Trac[loader] DEBUG: Loading permredirect.filter
from /usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:25,472 Trac[loader] DEBUG: Loading themeengine.admin from
/usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:25,474 Trac[loader] DEBUG: Loading themeengine.api from
/usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:25,475 Trac[loader] DEBUG: Loading themeengine.web_ui from
/usr/local/lib/python2.7/dist-packages
2013-12-13 17:12:25,477 Trac[loader] DEBUG: Loading trac.about from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,501 Trac[loader] DEBUG: Loading trac.admin.console from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,502 Trac[loader] DEBUG: Loading trac.admin.web_ui from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,503 Trac[loader] DEBUG: Loading trac.attachment from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,503 Trac[loader] DEBUG: Loading trac.db.mysql from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,503 Trac[loader] DEBUG: Loading trac.db.postgres from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,504 Trac[loader] DEBUG: Loading trac.db.sqlite from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,504 Trac[loader] DEBUG: Loading trac.mimeview.patch
from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,506 Trac[loader] DEBUG: Loading trac.mimeview.pygments
from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,599 Trac[loader] DEBUG: Loading trac.mimeview.rst from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,620 Trac[loader] DEBUG: Skipping "trac.mimeview.rst =
trac.mimeview.rst [rest]": ("DistributionNotFound: docutils>=0.3" not found)
2013-12-13 17:12:25,620 Trac[loader] DEBUG: Loading trac.mimeview.txtl from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,641 Trac[loader] DEBUG: Skipping "trac.mimeview.txtl =
trac.mimeview.txtl [textile]": ("DistributionNotFound: textile>=2.0" not
found)
2013-12-13 17:12:25,642 Trac[loader] DEBUG: Loading trac.prefs from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,666 Trac[loader] DEBUG: Loading trac.search from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,668 Trac[loader] DEBUG: Loading trac.ticket.admin from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,669 Trac[loader] DEBUG: Loading trac.ticket.batch from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,669 Trac[loader] DEBUG: Loading trac.ticket.query from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,670 Trac[loader] DEBUG: Loading trac.ticket.report from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,670 Trac[loader] DEBUG: Loading trac.ticket.roadmap
from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,671 Trac[loader] DEBUG: Loading trac.ticket.web_ui from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,671 Trac[loader] DEBUG: Loading trac.timeline from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,671 Trac[loader] DEBUG: Loading
trac.versioncontrol.admin from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,672 Trac[loader] DEBUG: Loading
trac.versioncontrol.svn_authz from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,674 Trac[loader] DEBUG: Loading
trac.versioncontrol.web_ui from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,674 Trac[loader] DEBUG: Loading trac.web.auth from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,675 Trac[loader] DEBUG: Loading trac.web.session from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,675 Trac[loader] DEBUG: Loading trac.wiki.admin from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,676 Trac[loader] DEBUG: Loading trac.wiki.interwiki
from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,689 Trac[loader] DEBUG: Loading trac.wiki.macros from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,690 Trac[loader] DEBUG: Loading trac.wiki.web_api from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,691 Trac[loader] DEBUG: Loading trac.wiki.web_ui from
/home/bobby/bloodhound/trac
2013-12-13 17:12:25,694 Trac[loader] DEBUG: Loading
tracopt.mimeview.enscript from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,697 Trac[loader] DEBUG: Loading tracopt.mimeview.php
from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,699 Trac[loader] DEBUG: Loading
tracopt.mimeview.silvercity from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,720 Trac[loader] DEBUG: Skipping
"tracopt.mimeview.silvercity = tracopt.mimeview.silvercity [silvercity]":
("DistributionNotFound: SilverCity>=0.9.4" not found)
2013-12-13 17:12:25,721 Trac[loader] DEBUG: Loading
tracopt.perm.authz_policy from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,721 Trac[loader] DEBUG: Loading
tracopt.perm.config_perm_provider from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,723 Trac[loader] DEBUG: Loading tracopt.ticket.clone
from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,725 Trac[loader] DEBUG: Loading
tracopt.ticket.commit_updater from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,729 Trac[loader] DEBUG: Loading tracopt.ticket.deleter
from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,731 Trac[loader] DEBUG: Loading
tracopt.versioncontrol.git.git_fs from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,745 Trac[loader] DEBUG: Loading
tracopt.versioncontrol.svn.svn_fs from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,750 Trac[loader] DEBUG: Loading
tracopt.versioncontrol.svn.svn_prop from /home/bobby/bloodhound/trac
2013-12-13 17:12:25,759 Trac[default_workflow] DEBUG: Workflow actions at
initialization: {u'resolve': {u'operations': [u'set_resolution'], 'name':
u'resolve', 'default': 0, 'newstate': u'closed', 'oldstates': [u'new',
u'assigned', u'accepted', u'reopened'], u'permissions':
[u'TICKET_MODIFY']}, u'accept': {u'operations': [u'set_owner_to_self'],
'name': u'accept', 'default': 0, 'newstate': u'accepted', 'oldstates':
[u'new', u'assigned', u'accepted', u'reopened'], u'permissions':
[u'TICKET_MODIFY']}, u'leave': {u'operations': [u'leave_status'], 'name':
u'leave', u'default': 1, 'newstate': u'*', 'oldstates': [u'*'],
'permissions': []}, u'reopen': {u'operations': [u'del_resolution'], 'name':
u'reopen', 'default': 0, 'newstate': u'reopened', 'oldstates': [u'closed'],
u'permissions': [u'TICKET_CREATE']}, u'reassign': {u'operations':
[u'set_owner'], 'name': u'reassign', 'default': 0, 'newstate': u'assigned',
'oldstates': [u'new', u'assigned', u'accepted', u'reopened'],
u'permissions': [u'TICKET_MODIFY']}, '_reset': {'operations':
['reset_workflow'], 'name': 'reset', 'default': 0, 'newstate': 'new',
'oldstates': [], 'permissions': []}}
2013-12-13 17:12:26,403 Trac[api] DEBUG: action controllers for ticket
workflow: ['ConfigurableTicketWorkflow']
2013-12-13 17:12:26,436 Trac[web_ui] DEBUG: {'active': True, 'name':
'wiki', 'label': <Element "a">}
2013-12-13 17:12:26,436 Trac[web_ui] DEBUG: {'active': False, 'name':
'browser', 'label': <Element "a">}
2013-12-13 17:12:26,436 Trac[web_ui] DEBUG: {'active': False, 'name':
'tickets', 'label': <Element "a">}
2013-12-13 17:12:26,480 Trac[perm] DEBUG: No policy allowed anonymous
performing EMAIL_VIEW on None
2013-12-13 17:12:26,654 Trac[perm] DEBUG: No policy allowed anonymous
performing WIKI_ADMIN on <Resource u'wiki:WikiStart'>
2013-12-13 17:12:26,883 Trac[perm] DEBUG: No policy allowed anonymous
performing TICKET_CREATE on None
2013-12-13 17:12:27,217 Trac[perm] DEBUG: No policy allowed anonymous
performing WIKI_DELETE on <Resource u'wiki:WikiStart'>
2013-12-13 17:12:27,218 Trac[perm] DEBUG: No policy allowed anonymous
performing WIKI_RENAME on <Resource u'wiki:WikiStart'>
2013-12-13 17:13:00,346 Trac[main] DEBUG: Dispatching
<ProductRequestWithSession "GET '/browser'">
2013-12-13 17:13:00,356 Trac[session] DEBUG: Retrieving session for ID
'09f8971539a56acc40bf0b3f'
2013-12-13 17:13:00,363 Trac[PyGIT] DEBUG: PyGIT.Storage instance 169670700
constructed
2013-12-13 17:13:00,364 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage
instance 169670700 for '/opt/git/bloodhound.git'
2013-12-13 17:13:00,364 Trac[git_fs] DEBUG: disabled CachedRepository for
'/opt/git/bloodhound.git'
2013-12-13 17:13:00,364 Trac[PyGIT] DEBUG: triggered rebuild of commit tree
db for 169670700
2013-12-13 17:13:00,400 Trac[PyGIT] DEBUG: rebuilt commit tree db for
169670700 with 1 entries (took 34.8 ms)
2013-12-13 17:13:00,426 Trac[PyGIT] DEBUG: PyGIT.Storage instance 171518796
constructed
2013-12-13 17:13:00,426 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage
instance 171518796 for '/opt/git/agentportal.git'
2013-12-13 17:13:00,427 Trac[git_fs] DEBUG: disabled CachedRepository for
'/opt/git/agentportal.git'
2013-12-13 17:13:00,427 Trac[PyGIT] DEBUG: triggered rebuild of commit tree
db for 171518796
2013-12-13 17:13:00,464 Trac[PyGIT] DEBUG: rebuilt commit tree db for
171518796 with 20 entries (took 36.5 ms)
2013-12-13 17:13:00,488 Trac[chrome] DEBUG: Prepare chrome data for request
2013-12-13 17:13:00,491 Trac[main] DEBUG: Negotiated locale: None -> en_US
2013-12-13 17:13:00,494 Trac[perm] DEBUG: No policy allowed anonymous
performing ACCTMGR_CONFIG_ADMIN on None
2013-12-13 17:13:00,495 Trac[perm] DEBUG: No policy allowed anonymous
performing ACCTMGR_USER_ADMIN on None
2013-12-13 17:13:00,495 Trac[perm] DEBUG: No policy allowed anonymous
performing TRAC_ADMIN on None
2013-12-13 17:13:00,495 Trac[perm] DEBUG: No policy allowed anonymous
performing PERMISSION_GRANT on None
2013-12-13 17:13:00,496 Trac[perm] DEBUG: No policy allowed anonymous
performing PERMISSION_REVOKE on None
2013-12-13 17:13:00,496 Trac[perm] DEBUG: No policy allowed anonymous
performing TICKET_ADMIN on None
2013-12-13 17:13:00,497 Trac[perm] DEBUG: No policy allowed anonymous
performing VERSIONCONTROL_ADMIN on None
2013-12-13 17:13:00,505 Trac[perm] DEBUG: No policy allowed anonymous
performing TICKET_MODIFY on <Resource 'ticket'>
2013-12-13 17:13:00,513 Trac[perm] DEBUG: No policy allowed anonymous
performing TRAC_ADMIN on None
2013-12-13 17:13:00,516 Trac[web_ui] DEBUG: {'active': False, 'name':
'wiki', 'label': <Element "a">}
2013-12-13 17:13:00,517 Trac[web_ui] DEBUG: {'active': True, 'name':
'browser', 'label': <Element "a">}
2013-12-13 17:13:00,517 Trac[web_ui] DEBUG: {'active': False, 'name':
'tickets', 'label': <Element "a">}
2013-12-13 17:13:00,573 Trac[perm] DEBUG: No policy allowed anonymous
performing EMAIL_VIEW on None
2013-12-13 17:13:00,808 Trac[perm] DEBUG: No policy allowed anonymous
performing TICKET_CREATE on None
2013-12-13 17:13:00,902 Trac[theme] DEBUG: BH Theme : Element classes
[u'listing', u'dirlist']
2013-12-13 17:13:00,902 Trac[theme] DEBUG: BH Theme : Inserting class table
dirlist table-condensed listing
2013-12-13 17:13:02,389 Trac[main] DEBUG: Dispatching
<ProductRequestWithSession "GET '/diff'">
2013-12-13 17:13:02,391 Trac[chrome] DEBUG: Prepare chrome data for request
2013-12-13 17:13:02,392 Trac[session] DEBUG: Retrieving session for ID
'09f8971539a56acc40bf0b3f'
2013-12-13 17:13:02,396 Trac[main] DEBUG: Negotiated locale: None -> en_US
2013-12-13 17:13:02,399 Trac[perm] DEBUG: No policy allowed anonymous
performing ACCTMGR_CONFIG_ADMIN on None
2013-12-13 17:13:02,400 Trac[perm] DEBUG: No policy allowed anonymous
performing ACCTMGR_USER_ADMIN on None
2013-12-13 17:13:02,400 Trac[perm] DEBUG: No policy allowed anonymous
performing TRAC_ADMIN on None
2013-12-13 17:13:02,400 Trac[perm] DEBUG: No policy allowed anonymous
performing PERMISSION_GRANT on None
2013-12-13 17:13:02,401 Trac[perm] DEBUG: No policy allowed anonymous
performing PERMISSION_REVOKE on None
2013-12-13 17:13:02,401 Trac[perm] DEBUG: No policy allowed anonymous
performing TICKET_ADMIN on None
2013-12-13 17:13:02,401 Trac[perm] DEBUG: No policy allowed anonymous
performing VERSIONCONTROL_ADMIN on None
2013-12-13 17:13:02,403 Trac[PyGIT] DEBUG: PyGIT.Storage instance 169670668
constructed
2013-12-13 17:13:02,404 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage
instance 169670668 for '/opt/git/bloodhound.git'
2013-12-13 17:13:02,404 Trac[git_fs] DEBUG: disabled CachedRepository for
'/opt/git/bloodhound.git'
2013-12-13 17:13:02,405 Trac[PyGIT] DEBUG: PyGIT.Storage instance 169670700
constructed
2013-12-13 17:13:02,405 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage
instance 169670700 for '/opt/git/agentportal.git'
2013-12-13 17:13:02,405 Trac[git_fs] DEBUG: disabled CachedRepository for
'/opt/git/agentportal.git'
2013-12-13 17:13:02,409 Trac[web_ui] DEBUG: {'active': False, 'name':
'wiki', 'label': <Element "a">}
2013-12-13 17:13:02,409 Trac[web_ui] DEBUG: {'active': False, 'name':
'browser', 'label': <Element "a">}
2013-12-13 17:13:02,409 Trac[web_ui] DEBUG: {'active': False, 'name':
'tickets', 'label': <Element "a">}
2013-12-13 17:13:02,410 Trac[main] WARNING: [216.239.45.67] HTTPNotFound:
404 Not Found (No handler matched request to /diff)
2013-12-13 17:13:02,461 Trac[perm] DEBUG: No policy allowed anonymous
performing EMAIL_VIEW on None



On Fri, Dec 13, 2013 at 4:58 PM, Ryan Ollos <ry...@wandisco.com> wrote:

> On Fri, Dec 13, 2013 at 4:56 PM, Bobby Ninan <bm...@gmail.com> wrote:
>
>> Ryan,
>> Here is the log output:
>>
>> 2013-12-13 16:51:02,788 Trac[main] DEBUG: Dispatching
>> <ProductRequestWithSession "GET '/diff'">
>> 2013-12-13 16:51:02,790 Trac[chrome] DEBUG: Prepare chrome data for
>> request
>> 2013-12-13 16:51:02,794 Trac[session] DEBUG: Retrieving session for ID
>> u'bobby'
>> 2013-12-13 16:51:02,799 Trac[main] DEBUG: Negotiated locale: None -> en_US
>> 2013-12-13 16:51:02,807 Trac[perm] DEBUG: No policy allowed bobby
>> performing ACCTMGR_CONFIG_ADMIN on None
>> 2013-12-13 16:51:02,808 Trac[perm] DEBUG: No policy allowed bobby
>> performing ACCTMGR_USER_ADMIN on None
>> 2013-12-13 16:51:02,808 Trac[perm] DEBUG: No policy allowed bobby
>> performing TRAC_ADMIN on None
>>  2013-12-13 16:51:02,809 Trac[perm] DEBUG: No policy allowed bobby
>> performing PERMISSION_GRANT on None
>> 2013-12-13 16:51:02,809 Trac[perm] DEBUG: No policy allowed bobby
>> performing PERMISSION_REVOKE on None
>>  2013-12-13 16:51:02,809 Trac[perm] DEBUG: No policy allowed bobby
>> performing TICKET_ADMIN on None
>> 2013-12-13 16:51:02,810 Trac[perm] DEBUG: No policy allowed bobby
>> performing VERSIONCONTROL_ADMIN on None
>> 2013-12-13 16:51:02,812 Trac[PyGIT] DEBUG: PyGIT.Storage instance
>> 196858732 constructed
>> 2013-12-13 16:51:02,812 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage
>> instance 196858732 for '/opt/git/bloodhound.git'
>> 2013-12-13 16:51:02,812 Trac[git_fs] DEBUG: disabled CachedRepository for
>> '/opt/git/bloodhound.git'
>> 2013-12-13 16:51:02,813 Trac[PyGIT] DEBUG: PyGIT.Storage instance
>> 197239340 constructed
>> 2013-12-13 16:51:02,813 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage
>> instance 197239340 for '/opt/git/portal.git'
>> 2013-12-13 16:51:02,814 Trac[git_fs] DEBUG: disabled CachedRepository for
>> '/opt/git/portal.git'
>> 2013-12-13 16:51:02,817 Trac[web_ui] DEBUG: {'active': False, 'name':
>> 'wiki', 'label': <Element "a">}
>> 2013-12-13 16:51:02,818 Trac[web_ui] DEBUG: {'active': False, 'name':
>> 'browser', 'label': <Element "a">}
>> 2013-12-13 16:51:02,818 Trac[web_ui] DEBUG: {'active': False, 'name':
>> 'tickets', 'label': <Element "a">}
>> 2013-12-13 16:51:02,818 Trac[main] WARNING: [216.239.45.67]
>> HTTPNotFound: 404 Not Found (No handler matched request to /diff)
>> 2013-12-13 16:51:02,819 Trac[perm] DEBUG: No policy allowed bobby
>> performing EMAIL_VIEW on None
>>
>
>
> Restarting Trac and getting the output from the first page load is
> critical. That's when we'll see messages about plugins Loading, and
> possibly some "Skipping" as well.
>

Re: Error while trying to diff source files/directories

Posted by Ryan Ollos <ry...@wandisco.com>.
On Fri, Dec 13, 2013 at 4:56 PM, Bobby Ninan <bm...@gmail.com> wrote:

> Ryan,
> Here is the log output:
>
> 2013-12-13 16:51:02,788 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/diff'">
> 2013-12-13 16:51:02,790 Trac[chrome] DEBUG: Prepare chrome data for request
> 2013-12-13 16:51:02,794 Trac[session] DEBUG: Retrieving session for ID
> u'bobby'
> 2013-12-13 16:51:02,799 Trac[main] DEBUG: Negotiated locale: None -> en_US
> 2013-12-13 16:51:02,807 Trac[perm] DEBUG: No policy allowed bobby
> performing ACCTMGR_CONFIG_ADMIN on None
> 2013-12-13 16:51:02,808 Trac[perm] DEBUG: No policy allowed bobby
> performing ACCTMGR_USER_ADMIN on None
> 2013-12-13 16:51:02,808 Trac[perm] DEBUG: No policy allowed bobby
> performing TRAC_ADMIN on None
> 2013-12-13 16:51:02,809 Trac[perm] DEBUG: No policy allowed bobby
> performing PERMISSION_GRANT on None
> 2013-12-13 16:51:02,809 Trac[perm] DEBUG: No policy allowed bobby
> performing PERMISSION_REVOKE on None
> 2013-12-13 16:51:02,809 Trac[perm] DEBUG: No policy allowed bobby
> performing TICKET_ADMIN on None
> 2013-12-13 16:51:02,810 Trac[perm] DEBUG: No policy allowed bobby
> performing VERSIONCONTROL_ADMIN on None
> 2013-12-13 16:51:02,812 Trac[PyGIT] DEBUG: PyGIT.Storage instance
> 196858732 constructed
> 2013-12-13 16:51:02,812 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage
> instance 196858732 for '/opt/git/bloodhound.git'
> 2013-12-13 16:51:02,812 Trac[git_fs] DEBUG: disabled CachedRepository for
> '/opt/git/bloodhound.git'
> 2013-12-13 16:51:02,813 Trac[PyGIT] DEBUG: PyGIT.Storage instance
> 197239340 constructed
> 2013-12-13 16:51:02,813 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage
> instance 197239340 for '/opt/git/portal.git'
> 2013-12-13 16:51:02,814 Trac[git_fs] DEBUG: disabled CachedRepository for
> '/opt/git/portal.git'
> 2013-12-13 16:51:02,817 Trac[web_ui] DEBUG: {'active': False, 'name':
> 'wiki', 'label': <Element "a">}
> 2013-12-13 16:51:02,818 Trac[web_ui] DEBUG: {'active': False, 'name':
> 'browser', 'label': <Element "a">}
> 2013-12-13 16:51:02,818 Trac[web_ui] DEBUG: {'active': False, 'name':
> 'tickets', 'label': <Element "a">}
> 2013-12-13 16:51:02,818 Trac[main] WARNING: [216.239.45.67] HTTPNotFound:
> 404 Not Found (No handler matched request to /diff)
> 2013-12-13 16:51:02,819 Trac[perm] DEBUG: No policy allowed bobby
> performing EMAIL_VIEW on None
>


Restarting Trac and getting the output from the first page load is
critical. That's when we'll see messages about plugins Loading, and
possibly some "Skipping" as well.

Re: Error while trying to diff source files/directories

Posted by Bobby Ninan <bm...@gmail.com>.
Ryan,
Here is the log output:

2013-12-13 16:51:02,788 Trac[main] DEBUG: Dispatching
<ProductRequestWithSession "GET '/diff'">
2013-12-13 16:51:02,790 Trac[chrome] DEBUG: Prepare chrome data for request
2013-12-13 16:51:02,794 Trac[session] DEBUG: Retrieving session for ID
u'bobby'
2013-12-13 16:51:02,799 Trac[main] DEBUG: Negotiated locale: None -> en_US
2013-12-13 16:51:02,807 Trac[perm] DEBUG: No policy allowed bobby
performing ACCTMGR_CONFIG_ADMIN on None
2013-12-13 16:51:02,808 Trac[perm] DEBUG: No policy allowed bobby
performing ACCTMGR_USER_ADMIN on None
2013-12-13 16:51:02,808 Trac[perm] DEBUG: No policy allowed bobby
performing TRAC_ADMIN on None
2013-12-13 16:51:02,809 Trac[perm] DEBUG: No policy allowed bobby
performing PERMISSION_GRANT on None
2013-12-13 16:51:02,809 Trac[perm] DEBUG: No policy allowed bobby
performing PERMISSION_REVOKE on None
2013-12-13 16:51:02,809 Trac[perm] DEBUG: No policy allowed bobby
performing TICKET_ADMIN on None
2013-12-13 16:51:02,810 Trac[perm] DEBUG: No policy allowed bobby
performing VERSIONCONTROL_ADMIN on None
2013-12-13 16:51:02,812 Trac[PyGIT] DEBUG: PyGIT.Storage instance 196858732
constructed
2013-12-13 16:51:02,812 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage
instance 196858732 for '/opt/git/bloodhound.git'
2013-12-13 16:51:02,812 Trac[git_fs] DEBUG: disabled CachedRepository for
'/opt/git/bloodhound.git'
2013-12-13 16:51:02,813 Trac[PyGIT] DEBUG: PyGIT.Storage instance 197239340
constructed
2013-12-13 16:51:02,813 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage
instance 197239340 for '/opt/git/portal.git'
2013-12-13 16:51:02,814 Trac[git_fs] DEBUG: disabled CachedRepository for
'/opt/git/portal.git'
2013-12-13 16:51:02,817 Trac[web_ui] DEBUG: {'active': False, 'name':
'wiki', 'label': <Element "a">}
2013-12-13 16:51:02,818 Trac[web_ui] DEBUG: {'active': False, 'name':
'browser', 'label': <Element "a">}
2013-12-13 16:51:02,818 Trac[web_ui] DEBUG: {'active': False, 'name':
'tickets', 'label': <Element "a">}
2013-12-13 16:51:02,818 Trac[main] WARNING: [216.239.45.67] HTTPNotFound:
404 Not Found (No handler matched request to /diff)
2013-12-13 16:51:02,819 Trac[perm] DEBUG: No policy allowed bobby
performing EMAIL_VIEW on None



On Fri, Dec 13, 2013 at 4:42 PM, Ryan Ollos <ry...@wandisco.com> wrote:

> On Fri, Dec 13, 2013 at 4:20 PM, Bobby Ninan <bm...@gmail.com> wrote:
>
>> When clicking the "View changes..." button in the Source browser, I get
>> the following error:
>>
>> "Error: Not Found
>> No handler matched request to /diff"
>>
>> How do I go about fixing this? I am using Bloodhound 0.8.0dev-r1534486
>>
>> Thanks,
>> Bobby...
>>
>
> Most likely the component is failing to load (assuming you haven't
> explicitly disabled it). Could you please set the logging level to DEBUG,
> restart Trac and check the logs?:
> https://issues.apache.org/bloodhound/wiki/TracLogging
>

Re: Error while trying to diff source files/directories

Posted by Ryan Ollos <ry...@wandisco.com>.
On Fri, Dec 13, 2013 at 4:20 PM, Bobby Ninan <bm...@gmail.com> wrote:

> When clicking the "View changes..." button in the Source browser, I get
> the following error:
>
> "Error: Not Found
> No handler matched request to /diff"
>
> How do I go about fixing this? I am using Bloodhound 0.8.0dev-r1534486
>
> Thanks,
> Bobby...
>

Most likely the component is failing to load (assuming you haven't
explicitly disabled it). Could you please set the logging level to DEBUG,
restart Trac and check the logs?:
https://issues.apache.org/bloodhound/wiki/TracLogging