You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by Apache Bloodhound <de...@bloodhound.apache.org> on 2013/05/10 15:22:20 UTC

[Apache Bloodhound] #519: trac-admin deploy command fails

#519: trac-admin deploy command fails
---------------------+---------------
  Reporter:  gjm     |    Owner:
      Type:  defect  |   Status:  new
  Priority:  major   |  Version:
Resolution:          |
---------------------+---------------
 {{{
 Copying resources from:
   trac.web.chrome.Chrome
     /home/gjm/projects/bloodhound/trunk/trac/trac/htdocs
 /home/gjm/projects/bloodhound/trunk/installer/bloodhound/environments/main/htdocs
   acct_mgr.web_ui.AccountModule
     /home/gjm/projects/bloodhound/trunk/testenv/local/lib/python2.7/site-
 packages/acct_mgr/htdocs
   acct_mgr.web_ui.LoginModule
     /home/gjm/projects/bloodhound/trunk/testenv/local/lib/python2.7/site-
 packages/acct_mgr/htdocs
   acct_mgr.admin.AccountManagerAdminPanel
     /home/gjm/projects/bloodhound/trunk/testenv/local/lib/python2.7/site-
 packages/acct_mgr/htdocs
   bhdashboard.web_ui.DashboardModule
 /home/gjm/projects/bloodhound/trunk/bloodhound_dashboard/bhdashboard/htdocs
 /home/gjm/projects/bloodhound/trunk/bloodhound_dashboard/bhdashboard/layouts/htdocs
   bhrelations.web_ui.RelationManagementModule
 ValueError: too many values to unpack
 }}}

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/519>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Re: [Apache Bloodhound] #519: trac-admin deploy command fails

Posted by Apache Bloodhound <de...@bloodhound.apache.org>.
#519: trac-admin deploy command fails
------------------------+-----------------------
  Reporter:  gjm        |      Owner:  gjm
      Type:  defect     |     Status:  closed
  Priority:  blocker    |  Milestone:  Release 6
 Component:  relations  |    Version:
Resolution:  fixed      |   Keywords:
------------------------+-----------------------

Comment (by rjollos):

 (In [1503571])

 !BloodhoundRelations `web_ui` module now returns an empty list since there
 are no static resource directories. Refs #519.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/519#comment:4>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Re: [Apache Bloodhound] #519: trac-admin deploy command fails

Posted by Apache Bloodhound <de...@bloodhound.apache.org>.
#519: trac-admin deploy command fails
------------------------+-----------------------
  Reporter:  gjm        |      Owner:  gjm
      Type:  defect     |     Status:  closed
  Priority:  blocker    |  Milestone:  Release 6
 Component:  relations  |    Version:
Resolution:  fixed      |   Keywords:
------------------------+-----------------------
Changes (by gjm):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 This appears to have been revealed by r1480991, exposing a small error in
 r1477605.

 {{{get_htdocs_dirs}}} appears to require a prefix to be provided

 r1481007 fixes by specifying {{{'relations'}}} as the prefix

 Not sure if this was the appropriate prefix so I won't be surprised if
 this is altered.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/519#comment:2>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Re: [Apache Bloodhound] #519: trac-admin deploy command fails

Posted by Apache Bloodhound <de...@bloodhound.apache.org>.
#519: trac-admin deploy command fails
------------------------+-----------------------
  Reporter:  gjm        |      Owner:  gjm
      Type:  defect     |     Status:  closed
  Priority:  blocker    |  Milestone:  Release 6
 Component:  relations  |    Version:
Resolution:  fixed      |   Keywords:
------------------------+-----------------------

Comment (by rjollos):

 Since the //bloodhound_relations// plugin doesn't have an `htdocs`
 directory, I think it would be more correct to just return an empty list:

 {{{#!python
 def get_htdocs_dirs(self):
     return []
 }}}

 This is fairly common for plugins that provide templates but not static
 resources (for example, [http://trac-
 hacks.org/browser/finegrainedpageauthzeditorplugin/0.11/page_authz_policy_editor/pape_admin.py?version=7144&marks=44-45#L40
 FineGrainedPageAuthzEditorPlugin]).

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/519#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Re: [Apache Bloodhound] #519: trac-admin deploy command fails

Posted by Apache Bloodhound <de...@bloodhound.apache.org>.
#519: trac-admin deploy command fails
------------------------+-----------------------
  Reporter:  gjm        |      Owner:  gjm
      Type:  defect     |     Status:  accepted
  Priority:  blocker    |  Milestone:  Release 6
 Component:  relations  |    Version:
Resolution:             |   Keywords:
------------------------+-----------------------
Changes (by gjm):

 * priority:  major => blocker
 * owner:   => gjm
 * component:   => relations
 * status:  new => accepted
 * milestone:   => Release 6


-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/519#comment:1>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker