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

2013-05-10 Thread Apache Bloodhound
#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


svn commit: r1481007 - /bloodhound/trunk/bloodhound_relations/bhrelations/web_ui.py

2013-05-10 Thread gjm
Author: gjm
Date: Fri May 10 13:26:01 2013
New Revision: 1481007

URL: http://svn.apache.org/r1481007
Log:
get_htdoc_dirs requires a prefix to be specified in the returned list - fixes 
#519

Modified:
bloodhound/trunk/bloodhound_relations/bhrelations/web_ui.py

Modified: bloodhound/trunk/bloodhound_relations/bhrelations/web_ui.py
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_relations/bhrelations/web_ui.py?rev=1481007r1=1481006r2=1481007view=diff
==
--- bloodhound/trunk/bloodhound_relations/bhrelations/web_ui.py (original)
+++ bloodhound/trunk/bloodhound_relations/bhrelations/web_ui.py Fri May 10 
13:26:01 2013
@@ -64,7 +64,7 @@ class RelationManagementModule(Component
 # ITemplateProvider methods
 def get_htdocs_dirs(self):
 resource_filename = pkg_resources.resource_filename
-return [resource_filename('bhrelations', 'htdocs'), ]
+return [('relations', resource_filename('bhrelations', 'htdocs')), ]
 
 def get_templates_dirs(self):
 resource_filename = pkg_resources.resource_filename




[Apache Bloodhound] New user registration: smattila

2013-05-10 Thread Apache Bloodhound
New user registration for user smattila

--
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker



Re: [Apache Bloodhound] #521: Relations error on ticket page

2013-05-10 Thread Apache Bloodhound
#521: Relations error on ticket page
+
  Reporter:  jdreimann  |  Owner:  nobody
  Type:  defect | Status:  new
  Priority:  major  |  Milestone:
 Component:  relations  |Version:
Resolution: |   Keywords:
+

Comment (by olemis):

 Replying to [ticket:521 jdreimann]:
  I'm encountering the following error on every ticket page:
 
  {{{
  #!html
  div class=relations
  div role=application
h3 style=display: inline;Widget error/h3
nbsp;nbsp;
br
  div
p class=alert alert-error
  span class=label label-important
Error
  /span
  nbsp;Exception raised while rendering widget. Contact your
 administrator for further details.
  button type=button class=close data-dismiss=alert×/button
/p
  dl class=dl-horizontal
  dtWidget name/dt
  ddTicketRelations/dd
  dtException type/dt
  ddcodeInvalidIdentifier/code/dd
  dtLog entry ID/dt
  dda93d0bca-9609-494d-87df-b6d710ee2cfe/dd
  /dl
  /div
/div
  /div
  }}}
 
 [...]

 @jdreimann : This error report will be more useful after posting related
 entries in the log file . After enabling TracLogging , please search for
 entry ID in log records (e.g. `a93d0bca-9609-494d-87df-b6d710ee2cfe`) and
 provide further details about this failure mode in order to determine
 what's going wrong with this .

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


[Apache Bloodhound] BloodhoundMigratingEnvironments modified

2013-05-10 Thread Apache Bloodhound
Page BloodhoundMigratingEnvironments was changed by smattila
Diff URL: 
https://issues.apache.org/bloodhound/wiki/BloodhoundMigratingEnvironments?action=diffversion=2
Revision 2
Changes:
---8--8--8--8--8--8--8--8
Index: BloodhoundMigratingEnvironments
=
--- BloodhoundMigratingEnvironments (version: 1)
+++ BloodhoundMigratingEnvironments (version: 2)
@@ -9,3 +9,11 @@
 [[BR]]
 
  1. Copy your trac.db 
+ cp -r /path/to/trac/your-project/db/trac.db 
/path/to/bloodhound/environments/your-project/db/bloodhound.db
+
+ 2. Run trac-admin upgrade 
+ trac-admin /path/to/bloodhound/environments/processor upgrade
+ trac-admin /path/to/bloodhound/environments/processor wiki upgrade
+
+ 3. Copy wiki  ticket attachments 
+ cp -r /path/to/trac/your-project/files/attachments/* 
/path/to/bloodhound/your-project/products/@/files/attachments/
---8--8--8--8--8--8--8--8

--
Page URL: 
https://issues.apache.org/bloodhound/wiki/BloodhoundMigratingEnvironments
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker

This is an automated message. Someone added your email address to be
notified of changes on 'BloodhoundMigratingEnvironments' page.
If it was not you, please report to .


[Apache Bloodhound] BloodhoundMigratingEnvironments modified

2013-05-10 Thread Apache Bloodhound
Page BloodhoundMigratingEnvironments was changed by olemis
Diff URL: 
https://issues.apache.org/bloodhound/wiki/BloodhoundMigratingEnvironments?action=diffversion=4
Revision 4
Comment: Sample code snippets formatted using wiki processors
Changes:
---8--8--8--8--8--8--8--8
Index: BloodhoundMigratingEnvironments
=
--- BloodhoundMigratingEnvironments (version: 3)
+++ BloodhoundMigratingEnvironments (version: 4)
@@ -1,19 +1,21 @@
 = Migrating environments =
 This page instructs you on how to migrate from various environments
-[[BR]][[BR]]
-
 
 == Migrating from trac ==
-There are only a few steps when migrating from an existing trac installation, 
this guide applies for trac version 0.12  bloodhound 0.6.0, it might work for 
other versions too.
-[[BR]]
-[[BR]]
+There are only a few steps when migrating from an existing trac installation, 
this guide applies for Trac version 0.12 and Apache™ Bloodhound 0.6.0, it might 
work for other versions too.
 
- 1. Copy your trac.db 
- cp -r /path/to/trac/your-project/db/trac.db 
/path/to/bloodhound/environments/your-project/db/bloodhound.db
+ 1. Copy your trac.db #migrate-step-copyenv
+{{{#!sh
+$ cp -r /path/to/trac/your-project/db/trac.db 
/path/to/bloodhound/environments/your-project/db/bloodhound.db
+}}}
 
- 2. Run trac-admin upgrade 
- trac-admin /path/to/bloodhound/environments/processor upgrade [[BR]]
- trac-admin /path/to/bloodhound/environments/processor wiki upgrade
+ 2. Run trac-admin upgrade #migrate-step-upgrade
+{{{#!sh
+$ trac-admin /path/to/bloodhound/environments/processor upgrade 
+$ trac-admin /path/to/bloodhound/environments/processor wiki upgrade
+}}}
 
- 3. Copy wiki  ticket attachments 
- cp -r /path/to/trac/your-project/files/attachments/* 
/path/to/bloodhound/your-project/products/@/files/attachments/
+ 3. Copy wiki  ticket attachments #migrate-step-attachment
+{{{#!sh
+$ cp -r /path/to/trac/your-project/files/attachments/* 
/path/to/bloodhound/your-project/products/@/files/attachments/
+}}}
---8--8--8--8--8--8--8--8

--
Page URL: 
https://issues.apache.org/bloodhound/wiki/BloodhoundMigratingEnvironments
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker

This is an automated message. Someone added your email address to be
notified of changes on 'BloodhoundMigratingEnvironments' page.
If it was not you, please report to .