[Trac] Re: Error with genshi dev 0.5

2008-06-19 Thread didley



On Jun 16, 11:01 am, [EMAIL PROTECTED] wrote:
> Which version of trac?
>
I'm using 0.11dev. Since I changed the tracaccountmanager and using
Genshi-0.5.1dev-py2.5-win32.egg it works.
Now I got only two messages

2008-06-20 08:09:11,476 Trac[loader] ERROR: Skipping
"tracteamroster.rpc = tracteamroster.rpc": (can't import "No module
named tracrpc.api")
2008-06-20 08:09:11,492 Trac[loader] ERROR: Skipping "worklog =
worklog": (can't import "cannot import name TicketAdminPage")

But these messages I have to ask trac-hacks.org.

 - Thanx
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] unsubscribe

2008-06-19 Thread Hamid Majidy
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Trac on Leopard--not working properly

2008-06-19 Thread Noah Kantrowitz

Max wrote:

I'm trying to setup Trac under OS X (10.5.3), and I have followed
several "tutorials" on how to do it without much success. The main
source I have followed is http://www.sonzea.com/articles/subversion-trac.html
following those instructions I managed to get to the point where I
"have a functional and secure subversion server operating on port 443
using HTTPs".

I do believe Trac (0.11rc2) is properly installed now, as I'm able to
create a project under: /usr/local/, with:

$ sudo trac-admin /usr/local/trac initenv
$ sudo chown -R _www /usr/local/trac

But then, when I try to access it with:
$ tracd --port 8000 /usr/local/trac

I get the following error by accessing http://localhost:8000/trac

Traceback (most recent call last):
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
web/api.py", line 339, in send_error
'text/html')
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
web/chrome.py", line 684, in render_template
data = self.populate_data(req, data)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
web/chrome.py", line 592, in populate_data
d['chrome'].update(req.chrome)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
web/api.py", line 168, in __getattr__
value = self.callbacks[name](self)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
web/chrome.py", line 460, in prepare_request
for category, name, text in contributor.get_navigation_items(req):
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
ticket/web_ui.py", line 133, in get_navigation_items
if 'TICKET_CREATE' in req.perm:
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
perm.py", line 523, in has_permission
return self._has_permission(action, resource)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
perm.py", line 537, in _has_permission
check_permission(action, perm.username, resource, perm)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
perm.py", line 424, in check_permission
perm)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
perm.py", line 282, in check_permission
get_user_permissions(username)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
perm.py", line 357, in get_user_permissions
for perm in self.store.get_user_permissions(username):
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
perm.py", line 173, in get_user_permissions
db = self.env.get_db_cnx()
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
env.py", line 257, in get_db_cnx
return DatabaseManager(self).get_connection()
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
db/api.py", line 76, in get_connection
return self._cnx_pool.get_cnx(self.timeout or None)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
db/pool.py", line 101, in get_cnx
cnx = self._connector.get_connection(**self._kwargs)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
db/sqlite_backend.py", line 126, in get_connection
return SQLiteConnection(path, params)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
db/sqlite_backend.py", line 168, in __init__
% (getuser(), path))
TracError: The user max requires read _and_ write permission to the
database file /usr/local/trac/db/trac.db and the directory it is
located in.

I don't know what could be the problem for this, any help would be
much appreciate it.



The user max requires read _and_ write permission to the database file 
/usr/local/trac/db/trac.db and the directory it is located in.


You are not running tracd as _www, you are running it as your user.

--Noah



signature.asc
Description: OpenPGP digital signature


[Trac] Trac on Leopard--not working properly

2008-06-19 Thread Max

I'm trying to setup Trac under OS X (10.5.3), and I have followed
several "tutorials" on how to do it without much success. The main
source I have followed is http://www.sonzea.com/articles/subversion-trac.html
following those instructions I managed to get to the point where I
"have a functional and secure subversion server operating on port 443
using HTTPs".

I do believe Trac (0.11rc2) is properly installed now, as I'm able to
create a project under: /usr/local/, with:

$ sudo trac-admin /usr/local/trac initenv
$ sudo chown -R _www /usr/local/trac

But then, when I try to access it with:
$ tracd --port 8000 /usr/local/trac

I get the following error by accessing http://localhost:8000/trac

Traceback (most recent call last):
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
web/api.py", line 339, in send_error
'text/html')
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
web/chrome.py", line 684, in render_template
data = self.populate_data(req, data)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
web/chrome.py", line 592, in populate_data
d['chrome'].update(req.chrome)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
web/api.py", line 168, in __getattr__
value = self.callbacks[name](self)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
web/chrome.py", line 460, in prepare_request
for category, name, text in contributor.get_navigation_items(req):
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
ticket/web_ui.py", line 133, in get_navigation_items
if 'TICKET_CREATE' in req.perm:
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
perm.py", line 523, in has_permission
return self._has_permission(action, resource)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
perm.py", line 537, in _has_permission
check_permission(action, perm.username, resource, perm)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
perm.py", line 424, in check_permission
perm)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
perm.py", line 282, in check_permission
get_user_permissions(username)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
perm.py", line 357, in get_user_permissions
for perm in self.store.get_user_permissions(username):
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
perm.py", line 173, in get_user_permissions
db = self.env.get_db_cnx()
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
env.py", line 257, in get_db_cnx
return DatabaseManager(self).get_connection()
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
db/api.py", line 76, in get_connection
return self._cnx_pool.get_cnx(self.timeout or None)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
db/pool.py", line 101, in get_cnx
cnx = self._connector.get_connection(**self._kwargs)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
db/sqlite_backend.py", line 126, in get_connection
return SQLiteConnection(path, params)
  File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/
db/sqlite_backend.py", line 168, in __init__
% (getuser(), path))
TracError: The user max requires read _and_ write permission to the
database file /usr/local/trac/db/trac.db and the directory it is
located in.

I don't know what could be the problem for this, any help would be
much appreciate it.

Many thanks,
Max.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: OForge 2008.06 Announcement

2008-06-19 Thread rupert thurner

On Jun 13, 7:33 pm, Robert C Corsaro <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> The OForge team would like to announce it's first public release, OForge
> 2008.06.  OForge is a Trac-based enterprise collaboration tool that
> helps development teams work together to assemble great software.
>
> As many of you know, setting up a multi-project Trac server can be
> difficult for beginners.  Not to mention the trouble of installing the
> "right" plugins and being sure they will work properly.  OForge aims to
> be a Trac distribution of sorts.  Unlike some similar projects, we aim
> to not fork from Trac or trac-hacks, but to be active members of the
> community.  The advantage of using OForge is that you will get a tested,

do you plan to release your plugins so that they install with the
usual "easy_install http://oforge.com/.../someplugin"; also?

rupert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: source: displays an image rather than linking to it

2008-06-19 Thread Noah Kantrowitz

This was just a dumb design choice in the 0.9 series, and was fixed for
0.10. Just gotta upgrade, sorry.

--Noah

> -Original Message-
> From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED]
> On Behalf Of Justin Stockton
> Sent: Thursday, June 19, 2008 7:19 AM
> To: Trac Users
> Subject: [Trac] source: displays an image rather than linking to it
> 
> 
> I'm using trac 0.9.4 (yes I know its really old) and having an issue
> where adding a link to an image in my SVN repository displays the
> images in the wiki page rather than just linking to the image. For
> example,
> 
> [source:"trunk/wireframes/Add User.png" Add User]
> 
> Rather than creating an Add User link on my page the above code embeds
> the Add User.png image in my page the same way that the [[Image]]
> macro does.
> 
> Does anyone know how to stop this or knows if this has been fixed in
> newer versions?
> 
> Thanks,
> 
> - Justin
> 
> 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] source: displays an image rather than linking to it

2008-06-19 Thread Justin Stockton

I'm using trac 0.9.4 (yes I know its really old) and having an issue
where adding a link to an image in my SVN repository displays the
images in the wiki page rather than just linking to the image. For
example,

[source:"trunk/wireframes/Add User.png" Add User]

Rather than creating an Add User link on my page the above code embeds
the Add User.png image in my page the same way that the [[Image]]
macro does.

Does anyone know how to stop this or knows if this has been fixed in
newer versions?

Thanks,

- Justin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Installing Plugins under 0.11 how to? Ubuntu 6.06

2008-06-19 Thread yoheeb

On Jun 19, 3:04 am, setcookie <[EMAIL PROTECTED]> wrote:
> hmm i did put in the plugin folder on trac env and took the macro version
> from Mike Greer - still same error
>
> i did put: [[WikiTicketCalendar(*,*)]] on my wiki start site but the error
> persists? i have on ticket with due date?! maybe its a database error or
> something? cant find anything in the logfile
>
>
>
> yoheeb-2 wrote:
>
> > On Jun 18, 2:30 pm, [EMAIL PROTECTED] wrote:
> >> On Jun 18, 1:27 pm, setcookie <[EMAIL PROTECTED]> wrote:> its says:
>
> >> > Error: Failed to load processor WikiTicketCalendar
>
> >> > No macro or processor named 'WikiTicketCalendar' found
>
> >> > but than again it may be in the wrong location?! formerly one had to
> >> put it
> >> > in the wiki-macro folder but that doesnt exist anymore in 0.11 envs? so
> >> > where to put it ... ?
>
> >> 
>
> >> That sounds like the location, in 0.11, you can put it in the /plugins
> >> directory of your trac environment.
>


try this, go and actually open the version you downloaded in an
editor.  I suspect, it will be an html document, and not the actual
code.

I realized thinking back I had this.  I had to actually open the link,
and copy/paste the code into a WikiCalendarMacro.py file.  After I did
a save link as.WikiCalendarMacro.py to my plugins directory, I
decided to go look at the code..suprise, this is  NOT python!

also, the modified version, while works, has 2 issues I have noticed:

first, he seems to of completely recoded, and as a bonus, decided not
to include any comments/usage.  Therefore I also downloaded the
original as a text document just so I had it.

Second, the Click on a day (with no milestone) feature doesn't seem
implemented.  It doesn't go to the create page for %Y-%d-%m or
whatever(or if one exists, just go to that page).  which is why, I am
running both, side by side, in a kludgy way.  meets my needs, as it's
a minor bonus feature that I don't want to mess with, as it is not
needed for our uses.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: trac + win32 + svn crash

2008-06-19 Thread Michael Bradley Jr

Hi,



Erik Bray wrote:
> Need more info.  Did you also install SVN 1.4.5?  Are you in fact
> using Python 2.5?  Regardless, you have a binary version
> incompatibility.  How does the server crash?  Are there any error
> messages displayed in the browser or in your logs?
>

the problem has been fixed.
I did install the wrong version of the file.
I'm using apache2.2 and not apache2.0 and the downloaded file was intended to 
run on apache2.0

Thanks any way!
bR
Mike

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: trac + win32 + svn crash

2008-06-19 Thread Erik Bray

On 6/19/08, Michael Bradley Jr <[EMAIL PROTECTED]> wrote:
>  i'm using trac on windows.
>  After i've install svn-python-1.4.5.win32-py2.5.exe i can't no more access 
> the
>  server since it always crashes!
>  Any idea or hint?
>  bR
>  Mike

Need more info.  Did you also install SVN 1.4.5?  Are you in fact
using Python 2.5?  Regardless, you have a binary version
incompatibility.  How does the server crash?  Are there any error
messages displayed in the browser or in your logs?

Erik

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] trac + win32 + svn crash

2008-06-19 Thread Michael Bradley Jr

Hi,

i'm using trac on windows.
After i've install svn-python-1.4.5.win32-py2.5.exe i can't no more access the 
server since it always crashes!
Any idea or hint?
bR
Mike

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: XMLRPC plug-in issue

2008-06-19 Thread Stephen Moretti
2008/6/19 もんきち <[EMAIL PROTECTED]>:

>
> Hi.
>
> When "XMLRPC plugin" was installed, "XMLRPC plugin" is not displayed
>  in the plugin list of the "WebAdmin" page.
>
> Someone, please offer the idea for the solution.
> Reading is a light.
>

Sounds like there was an error when you installed the plugin...
Did you install the right version for your version of Trac?

For Trac 0.11+ : easy_install http://trac-hacks.org/svn/xmlrpcplugin/trunk/
For Trac 0.10   : easy_install http://trac-hacks.org/svn/xmlrpcplugin/0.10/

Regards

Stephen

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Installing Plugins under 0.11 how to? Ubuntu 6.06

2008-06-19 Thread Graham Dumpleton



On Jun 19, 5:02 pm, "Hr. Johannes Loose" <[EMAIL PROTECTED]>
wrote:
> Am 18 Jun 2008 um 14:23 hat Erik Bray geschrieben:
>
> > I took a quick scan through the latest version of it, but no obvious
> > problems jumped out at me.  How is it broken?
>
> I have the WikiTicketCalendarMacro currently running under 0.11rc2, it's 
> running fine under
> the current  0.12 trunk, too. But I had to do some code changes to get it to 
> run, which should
> be regarded rather 'quick and dirty' than real bugfixes.
>
> a) Usingmod_wsgithere is a problem with writing to sys.stdout. As a 
> workaround I added the
> line 'sys.stdout = sys.stderr'.

Please try and get the WikiTicketCalendarMacro fixed rather than use
the hack. The code shouldn't use 'print' to try and output debugging
as it will not work under CGI-WSGI bridge, or other WSGI adapters that
use stdin/stdout for communicating with web server. Although mod_wsgi
doesn't use stdin/stdout in this way, for that reason mod_wsgi
specifically denies it as well to promote portability. If people keep
working around it, the problems in original code will never be fixed
and keep tripping people up.

If original code wants to output debugging, at worst they should use:

  print >> sys.stderr, . original arguments ..

Ie., direct output of 'print' to sys.stderr explicitly.

At best, they should use whatever mechanism Trac may use to get a
handle on appropriate log file for output.

Graham

> b) If there are accents (special chars like german umlauts) in the 
> description of tilestones or
> tickets, the calendar will fail to load. Alex gave the hint that this 
> behaviour could be changed
> '...by changing the line "from cStringIO import StringIO" to "from StringIO 
> import StringIO"'.
>
> b) Finally search for 'celpadding' and correct the typo.
>
> Note, that there is a ticket (#3159) on track hacks, describing that 
> shortcomings. With that
> points patched, the plugin is running really fine.
>
> Johannes
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Installing Plugins under 0.11 how to? Ubuntu 6.06

2008-06-19 Thread setcookie


hmm i did put in the plugin folder on trac env and took the macro version
from Mike Greer - still same error

i did put: [[WikiTicketCalendar(*,*)]] on my wiki start site but the error
persists? i have on ticket with due date?! maybe its a database error or
something? cant find anything in the logfile



yoheeb-2 wrote:
> 
> 
> On Jun 18, 2:30 pm, [EMAIL PROTECTED] wrote:
>> On Jun 18, 1:27 pm, setcookie <[EMAIL PROTECTED]> wrote:> its says:
>>
>> > Error: Failed to load processor WikiTicketCalendar
>>
>> > No macro or processor named 'WikiTicketCalendar' found
>>
>> > but than again it may be in the wrong location?! formerly one had to
>> put it
>> > in the wiki-macro folder but that doesnt exist anymore in 0.11 envs? so
>> > where to put it ... ?
>>
>> 
>>
>> That sounds like the location, in 0.11, you can put it in the /plugins
>> directory of your trac environment.
>>
>> OR put in in a shared plugins directory (any name) and point the
>> plugins_dir = value under the [inherit] section of your trac.ini
>> file.  depending on your setup, the location of the plugins_dir might
>> need rights settings etc.
>> -you will need to restart your server for this to take affect.
>>
>> That said, additionally, on the site where this plugin is hosted,
>> there is a link in the dicussion section at the bottom for a 0.11
>> patched version.  not sure if  you are using that one.
>>
>> Finally, I have a question about this tool.  if I don't fill in the
>> "due date" field for a ticket, can't it just use the milestone it is
>> associated with as the due date?  or does it maybe default to that
>> date in the calendar view?  if not, any thoughts on make that so?
>> This of course, fits where fine grained milestones are used in a
>> project (which we do: V&V of component X 10/10/2010, V&V of component
>> y, 10/12/2010...etc. for our milestones, or better, if a component
>> could have a due date :D
>>
>> anyway.
> 
> Just an update, I did indeed need to download the version someone
> attached to that web site to get it to work in 0.11(rc2 here)
> 
> it doesn't, for some reason link to create daily pages, like the
> original, but that's ok, I created a table and put both calendars side
> by side, since they link different information. (yet the month
> navigation is somehow linked, which is fine, I don't show it on the
> WikiCalendar macro, and it follows)
> 
> I do have a question for anyone that might answer.  when I create a
> wikiCalendar page of the format 6-20-2008 via linkthrough, I put a
> ticketquery to display ticket, with the due_close date as the search
> string [[TicketQuery(due_close=06/20/08,compact)]] manually.  how
> would I automagically (tm) derive that from the m-d-Y page name
> format?  Then of course, make it a template?  otherwise, the people
> who actually find this page useful, will have to insert that macro
> manually every time.
> 
> anyway,
> 
> cheers
> > 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Installing-Plugins-under-0.11-how-to--Ubuntu-6.06-tp17986028p17999398.html
Sent from the Trac Users mailing list archive at Nabble.com.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Installing Plugins under 0.11 how to? Ubuntu 6.06

2008-06-19 Thread Hr. Johannes Loose

Am 18 Jun 2008 um 14:23 hat Erik Bray geschrieben:

> I took a quick scan through the latest version of it, but no obvious
> problems jumped out at me.  How is it broken?

I have the WikiTicketCalendarMacro currently running under 0.11rc2, it's 
running fine under 
the current  0.12 trunk, too. But I had to do some code changes to get it to 
run, which should 
be regarded rather 'quick and dirty' than real bugfixes.

a) Using mod_wsgi there is a problem with writing to sys.stdout. As a 
workaround I added the 
line 'sys.stdout = sys.stderr'.

b) If there are accents (special chars like german umlauts) in the description 
of tilestones or 
tickets, the calendar will fail to load. Alex gave the hint that this behaviour 
could be changed 
'...by changing the line "from cStringIO import StringIO" to "from StringIO 
import StringIO"'.

b) Finally search for 'celpadding' and correct the typo.

Note, that there is a ticket (#3159) on track hacks, describing that 
shortcomings. With that 
points patched, the plugin is running really fine.

Johannes



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---