Re: [Trac] Re: Support for Pygments lexer

2016-09-28 Thread Emmanuel Blot
On Wed, Sep 28, 2016 at 3:57 PM, Jun Omae  wrote:
> mime_map = text/x-protobuf:protobuf, ...
> pygments_modes = text/x-protobuf:protobuf:7, …

Ok, thanks for the hint, it does work.

Cheers,
Manu

-- 
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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: Support for Pygments lexer

2016-09-28 Thread Emmanuel Blot
> 2. PygmentsRenderer.render() never gets called, even if ‘text/x-proto’
> for ‘proto’ type successfully appears in the output of
> [[KnownMimeTypes]]

Sorry for the confusion:

As protobuf does not have any mimetype, it does not appear *by
default* in the macro output.

It does appear, however, if it is added to the proper trac.ini config section.
In this latter case, Trac does not call PygmentRenderer.render() anyway.

Is there any other configuration option to set in this specific case?

-- 
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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: Support for Pygments lexer

2016-09-28 Thread Emmanuel Blot
> On Wed, Sep 28, 2016 at 3:16 PM, RjOllos  wrote:
>
> KnownMimeTypes macro should give the list:
> https://trac.edgewall.org/wiki/TracSyntaxColoring#SyntaxColoringSupport
> https://trac.edgewall.org/wiki/WikiMacros#KnownMimeTypes-macro
>
> It seems like proto should be in the list, I haven't looked yet why that's
> not the case.

Ok, thanks for the links.
pygmentize on the server does pygment a simple protobuf file.

I’ve added some traces to trac/mimeview/pygments.py

1. pygments.lexers.get_all_lexers() is used to retrieves _types
As protobuf does not have a defined mimetype, it gets filter out.

2. PygmentsRenderer.render() never gets called, even if ‘text/x-proto’
for ‘proto’ type successfully appears in the output of
[[KnownMimeTypes]]

I have not looked any further for now.

Cheers,
Manu

-- 
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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Support for Pygments lexer

2016-09-28 Thread Emmanuel Blot
Hi,

Is there a way to obtain the list of supported lexers in Trac syntax
coloring based on Pygments, and which lexer name in {{{#! … }}} block
to use to trigger the proper rendering?

For example, pygments doc states that GPB (protocol buffer) is
supported since version 1.4. My current setup (Trac 1.2rc1, Pygments
2.1.3) seems to recognize neither #!proto nor #!protobuf lexer names
(http://pygments.org/docs/lexers#pygments.lexers.dsls.ProtoBufLexer)

Adding ‘proto’ to [mimeviewer] / mime_map makes Trac to accept the
‘proto’ lexer name, but not to make it rendered as expected.

I did not find help on this topic within the official documentation,
but I may have missed the proper doc.

Thanks,
Manu

-- 
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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: Javascript calendar

2013-12-24 Thread Emmanuel Blot
Thanks a lot, I will give it a try!

Cheers,
Manu

On Tue, Dec 24, 2013 at 9:11 AM, Jun Omae jun6...@gmail.com wrote:
 Hi,

 On Sat, Dec 21, 2013 at 7:49 PM, Emmanuel Blot eblot...@gmail.com wrote:
 Are you using Babel?

 No, Babel is not installed, we are only using the default english
 settings, with the GB locale.

 All dates are displayed in 24 hours format, except the ones that are
 managed with the DatePicker.

 Reproduced with Trac 1.1.1 without Babel. This issue is filed in
 http://trac.edgewall.org/ticket/11416 and fixed.

 To try to apply the following changes or upgrade using trunk on repository.

  - http://trac.edgewall.org/changeset/12371
  - http://trac.edgewall.org/changeset/12372

 Thanks.

 --
 Jun Omae jun6...@gmail.com (大前 潤)

 --
 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 trac-users+unsubscr...@googlegroups.com.
 To post to this group, send email to trac-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/trac-users.
 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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Trac] Re: Javascript calendar

2013-12-22 Thread Emmanuel Blot
 Probably Jun has already looked at this as a solution to your issues, but we
 are currently using TimePicker (TP) version 1.1.1 on the trunk, TP version
 1.0.1 on 1.0-stable and the latest released version of TP is 1.4.3. TP may
 get upgraded in the Trac 1.1.3 release along with the jQuery and jQuery UI
 upgrade:
 http://trac.edgewall.org/ticket/11019

Ok, thanks.

-- 
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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Trac] Re: Javascript calendar

2013-12-21 Thread Emmanuel Blot
 Are you using Babel?

No, Babel is not installed, we are only using the default english
settings, with the GB locale.

All dates are displayed in 24 hours format, except the ones that are
managed with the DatePicker.

Cheers,
Manu

-- 
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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Trac] Re: Javascript calendar

2013-12-20 Thread Emmanuel Blot
 And, apply the following patch.

Thanks, I'll give it a try.

 That's so bad. However I cannot reproduce it and I don't know how to
 configure to use the 24 hours scheme. Could you please provide the
 configurations?

The server is configured with the en_GB locale:

in trac.wsgi:
  os.environ['LC_ALL'] = 'en_GB.UTF-8'

BTW, I found another time extension for JQueryUI's datepicker:
http://trentrichardson.com/examples/timepicker/

It seems to be able to deal with 24 hour format, but I have not tried
using it with Trac.

Best Regards,
Manu

-- 
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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Trac] Javascript calendar

2013-12-09 Thread Emmanuel Blot
Hi All,

Is there a way to disable the Trac Javascript calendar for date fields ?
It's driving me mad :-)

Thanks,
Manu

-- 
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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Trac] Re: Javascript calendar

2013-12-09 Thread Emmanuel Blot
 Putting a snippet in site.js seems to work:

 jQuery(document).ready(function($) {
   $(.hasDatepicker).datetimepicker(destroy);
 });

Ok, thanks, I'll give it a try.

 What issues are you having with the datepicker?

Settings the time with the slider takes much more time than entering
the time in the text field, and whenever the text field is edited, the
datapicker can't help fixing the digits. The end result is that
using this widget is less effective that submitting the date/time with
a simple text field.

Having a datepicker that help entering a date/time would be nice.

However this auto-fixing, always-on feature that cannot be disabled
and understand most of the submitted values wrong is really getting on
the nerves :-) Automagic stuff always gets stupid at some point.
Helping is nice, forcing is -really- bad.

Issue #1
 * Select a date field with an existing value, select the month, type
a new month value. As soon as the second digit of the month is
entered, the cursor is moved to the end of field, which is not natural
and requires more edition hits from the user to change the time.

Issue #2
 * The time format on our server is configured to use the 24 hours
scheme (vs. 12 hours), but the datepicker sticks with 12 hours - I did
not get a chance to have a look and understand why. Whenever the
edited hour is = 12, the time is automagically reverted to the 12
hour scheme - and there is not even a pm marker, e.g. 17 simply
becomes 05

Issue #3
 * Current time is 05:00:00. Move the cursor after 5 and hit
backspace to edit the hour. Datepicker wants to be smarter, replaces
the time with 12 (WTF?) and moves the cursor to the end of the text
field
 * Similar issue if the day digits are selected and the user starts
typing a new day: datepicker changes the hour to something unrelated,
and moves the cursor at the end of the field... (except if the day is
invalid, in this case datapicker remains inactive and silent)
 * It seems that as soon as datepicker is able to compute a valid
date, it steals the focus and starts playing on its own: type 01/01/
- boom, autocompletion is triggered with some default date.

I'm pretty sure I bumped into other issues, but each issue described
here is a PITA and justify, from my perspective, to get rid of this
helper.

Moreover, whereas the following point are not issues, the make the
datepicker far less usable than most data picker available on other
websites:
 * There is no way to jump to an arbitrary month or year.
 * The hour/minute/second sliders are really not easy to use (my
personal feeling is that a slider is a bad idea to select a time)

Maybe it is just about a configuration issue.
The default JQuery UI with date-only selection does not trigger any of
these issues. It seems that these issues come from the addition of
time support.

Cheers,
Manu

-- 
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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Trac] InterTrac / InterMapTxt RestructuredText

2013-04-04 Thread Emmanuel Blot

 Nothing special, really.

Thanks. I'm not sure which syntax I tried but failed last time.
It works fine, indeed.

Normal links:

   Tickets: :trac:`#1` or :trac:`ticket:1`

 InterTrac links:

   Tickets: :trac:`#T1` or :trac:`trac:ticket:1`


Is there a way to define indirect links, such as:

one link_

.. _link: :trac:`ref`

?

Thanks,
Manu

-- 
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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Trac] Pygments syntax highlighting

2012-08-16 Thread Emmanuel Blot
Hi,

I'm not sure how to add file type that Pygments supports natively, but
that Trac does not recognize.

For example, CMake files have been supported by Pygments for a long
time (since 1.2), but Trac does not manage them.

It seems the way to go (from
http://trac.edgewall.org/wiki/TracIni#mimeviewer-section) is to add
CMake type to the mime_map option.

I've added text/x-cmake:cmake and now the syntax highlighter works
with #!cmake in quoted blocks. However, Trac file browser does not
highlight CMakeLists.txt files. I've added
text/x-cmake:CMakeLists.txt to the mime_map option, but it does not
help.

1. Specific question: How to specify to Trac that CMakeLists.txt
files should be highlighted
2. Generic question: How to tell Trac to defer all highlighting
decisions to Pygments,  which already knows about all supported types,
rather than letting Trac performs the mapping on its own - is it even
possible?

TIA,
Manu

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Pygments syntax highlighting

2012-08-16 Thread Emmanuel Blot
Hi Christian,

 No. This is #5533.
Ok ;-)

 So basically the only solution you have for now short of implementing
 #5533, is to do a `svn pset svn:mime-type text/x-cmake` on your CMake files
 in the repository.
Ok. I don't think it worth dealing with so many changes. I can leave without.

Thanks for your help,
Manu

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Unsupported version control system svn, Trac broken between [11050] and [11125]

2012-07-18 Thread Emmanuel Blot
 Please visit that link again, I've documented the r11082 change a bit more.
 Basically you just need to explicitly enable the new optional component
 (tracopt.versioncontrol.svn.* = enable, in the [components] section of you
 env/conf/trac.ini file). Sorry for the disruption, we'll emphasize this
 point in the upgrade notes.

IMHO, the upgrade command should automatically update the
[components] section to transparently enable back SVN when SVN was
already used for the upgraded environment. There are already far too
many ways to fail a Trac installation, maybe this one could be
avoided. It took me about one work day to replicate a Trac environment
from our server to a local development machine. I'm not a Trac expert,
but I used to know Trac and I bumped into half a dozen issues when
performing this replication (most of them are due to Trac
dependencies). Upgrade should be as seamless as possible, I believe.
Upgrading is always a risky task, reducing the risk to stop the
service for hours would be great.

Just my two cents - I know it is far easier to give advice than to
work on the implementation ;-)

Cheers,
Manu

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Unsupported version control system svn, Trac broken between [11050] and [11125]

2012-07-18 Thread Emmanuel Blot
 I tend to agree with this, but it has one drawback: currently, when we
 programmatically rewrite trac.ini, we throw away comments and
 formatting. But maybe that's not really a problem.

IIRC this also happends whenever the conf file is updated through the
administration panel, right?
I guess that if the existing config file is backed up, it is less
intrusive to ditch comments than to leave Trac upgrade with a
non-functional installation…

Cheers,
Manu.

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



[Trac] Migrating attachment files

2012-07-16 Thread Emmanuel Blot
Hi,

I'm trying to upgrade a Trac test server to the latest version from
the trunk, and I got the following error:

Trac [/Users/eblot/Trac/sdk] upgrade

11:20:54 Trac[env] WARNING: Component trac.attachment.AttachmentSetup
object at 0x102430a90 requires environment upgrade

Traceback (most recent call last):
  File trac/admin/console.py, line 107, in onecmd
rv = cmd.Cmd.onecmd(self, line) or 0
  File /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cmd.py,
line 218, in onecmd
return self.default(line)
  File trac/admin/console.py, line 275, in default
return cmd_mgr.execute_command(*args)
  File /Users/eblot/Sources/Git/neotion.int/trac/trac/admin/api.py,
line 123, in execute_command
return f(*fargs)
  File /Users/eblot/Sources/Git/neotion.int/trac/trac/env.py, line
952, in _do_upgrade
self.env.upgrade(backup=no_backup is None)
  File /Users/eblot/Sources/Git/neotion.int/trac/trac/env.py, line
683, in upgrade
participant.upgrade_environment(db)
  File /Users/eblot/Sources/Git/neotion.int/trac/trac/attachment.py,
line 461, in upgrade_environment
os.rmdir(dir)
OSError: [Errno 66] Directory not empty:
'/Users/eblot/Trac/sdk/attachments/wiki/SandBox'

Surely, the directory contains an PNG file, with R/W permissions for
the current user running the upgrade.

Any idea on how to solve this issue?

Cheers,
Manu

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Migrating attachment files

2012-07-16 Thread Emmanuel Blot
Hi Remi,

 This file is not referenced in the attachment table, and is therefore
 not migrated to the new directory structure. It's up to you to decide
 what you want to do about it, but you'll have to remove it from the
 attachments/ directory before Trac will continue.

Ok, this is what I did (moved the file away) as I did not know whether
the actual error was, and I suspected it was not referenced within the DB.

 We should probably better document this before 1.0

Definitely :P

 Anything, really, would be better than the traceback, I guess. I like
 the last option, with a clear notice after the upgrade. Thoughts?

At least, there should be an error message with something like
file  exists in attachment directory and is not referenced as a
valid attachment.
 Please remove it and resume upgrade

BTW, this is slightly off-topic, but while migrating, I noticed the
following issues.
I'm not sure whether there are specific to my installation or more generic
(I have not read the new documentation yet, if there is one, me bad):

 * SVN is now a tracopt, but Trac upgrade did not automatically update
the trac.ini file
   so that existing SVN repository can be accessed without an error,
as the tracopt
   component is not enabled
 * Trac component names in the web admin panel slightly overwrite
their description.
   It looks weird on both Safari and Firefox on my machine
 * I read #10712, but is not that weird that a feature that really
look optional is part
   of the Trac core rather than the Trac optional package? #10712's
rationale for keeping
   SVN authz file is that it does not depend on Subversion, which is
very true. On the
   other hand, a very optional feature (parsing authz file) is left in
Trac core. Sounds
   weird to me: isn't it unlikely to use a SVN config file without
using SVN at all?

Cheers,
Manu

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



[Trac] Wiki syntax for wiki page history

2012-01-12 Thread Emmanuel Blot
Hi All,

I'm looking for the Wiki syntax for a wiki page diff. Any idea?
For example, what is the wiki equivalent for
   
http://trac.edgewall.org/wiki/WikiStart?action=diffversion=147old_version=146

Thanks,
Manu

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Long-running tasks (was: Trac slowness with version 0.12 on RHEL)

2011-12-30 Thread Emmanuel Blot


On 30 Dec 2011, at 13:12, W. Martin Borgert deba...@debian.org wrote:

 This is an interesting aspect, indeed. Trac should not perform
 long-running tasks like SMTP inside of a request, but either do
 it asynchronously in a thread (or give it to third party tools
 like celery/rabbitmq). How is it implemented currently in Trac?

I do not agree with the above assertion, but I would suggest you read the Trac 
archive about the motivation for the details (discussed and argued so many 
times...)

There are two ways for Trac to send emails: either as a synchronous request, or 
using a forked sendmail process. The second option should not block a web 
request, but I never tested it myself.

Cheers,
Manu.

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Trac slowness with version 0.12 on RHEL

2011-12-29 Thread Emmanuel Blot
Have you try to disable SMTP hust to be sure it's not the ticket notification 
that deadlocks?

On 29 Dec 2011, at 18:04, 3vix6 jvilla1...@gmail.com wrote:

 Hi Everyone,
 
 I have one other issue that's bugging me with Trac and that is how
 long it takes to access a ticket. I've tried many things in the last
 few days to speed Trac up, these would include..
 
 Removing bad plugins,
 turning off other plugins that may be slowing Trac down,
 Turning off compression for httpd traffic (mod_decompress),
 
 I was at an average 4 - 5 second wait for tickets to load. I've now
 got it down to 3.5 seconds according to firebug. My wait time is
 mostly in the accessing information from the DB.
 
 Would anyone know of a way that I can speed this up considerably?
 
 Thanks,
 Joe
 
 -- 
 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 
 trac-users+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/trac-users?hl=en.
 

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Attachment links from RST block

2011-09-27 Thread Emmanuel Blot
Weird:

The example from Trac works:

{{{
#!rst
Attachment: :trac:`attachment:ticket:944:attachment.1073.diff`
}}}

However, the following syntax does not work:

{{{
#!rst
Attachment: :trac:`attachment:wiki:SandBox:test.zip`
}}}

and it seems that the rendering engine goes mad,  if the following
syntax is used:

{{{
#!rst
Attachment: :trac:`attachment:ticket:944:attachment.1073.diff`
Attachment: :trac:`attachment:wiki:SandBox:test.zip`
}}}

the whole RST block is rendered as a code block…

What would be the proper syntax for wiki page attached file, and is it
possible to use a relative syntax (only the filename is specified
when the link is local to the current page)?

Thanks,
Manu

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



[Trac] Attachment links from RST block

2011-09-26 Thread Emmanuel Blot
Hello All,

What is the RST syntax to create a link from a restructured text block
to an attachment ?

Thanks,
Manu

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Attachment links from RST block

2011-09-26 Thread Emmanuel Blot

On 26 Sep 2011, at 21:56, osimons oddsim...@gmail.com wrote:

 There is actually a wiki page for it:
 
 http://trac.edgewall.org/wiki/WikiRestructuredTextLinks

Thanks a lot, I have not seen/read the links at the bottom of the main Rst 
page. Me bad :-)

Cheers,
Manu.

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



[Trac] Milestone list

2011-06-06 Thread Emmanuel Blot
Hello all,

Is there a way to create a short list of (completed) milestones within
a Wiki page, as it is possible to create ticket lists using the
embedded TicketQuery macro ?

Thanks,
Manu

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Milestone list

2011-06-06 Thread Emmanuel Blot
 [[TicketQuery(format=table,col=milestone)]]

It shows all the milestones' tickets, I'd like to get the milestone
list only (milestone name and date, mostly).

Manu.

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Milestone list

2011-06-06 Thread Emmanuel Blot
 Ah, I was afraid of that.  Sorry, I don't have any other suggestions.
 Unless TicketQuery has some deduplication option.  But it likely doesn't
 because it usually only gets each ticket once.

I wrote a simple macro, it was just a matter of a couple of lines.

Thanks anyway,
Cheers,
Manu

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Milestone list

2011-06-06 Thread Emmanuel Blot
 something like
  select name,due,completed from milestone where completed  0 order by name
 ?

The macro code:

from datetime import datetime
from genshi.builder import tag
from trac.ticket import Milestone
from trac.util.datefmt import format_datetime, utc
from trac.wiki.api import parse_args
from trac.wiki.macros import WikiMacroBase

class MilestonesMacro(WikiMacroBase):
Show a list of milestones

This macro accepts a comma-separated list of optional formatters:
  - `all` shows all milestones
  - `format` is a keyed parameter accepting a Python time formatting string


def expand_macro(self, formatter, name, content):

def milestone_anchor(milestone):
return tag.a(milestone.name,
 href=formatter.href.milestone(milestone.name))

formatter.perm.require('MILESTONE_VIEW')
largs, kwargs = parse_args(content)
milestones = Milestone.select(self.env, True)
if 'all' not in largs:
milestones = [m for m in milestones if m.completed]
return tag.div(tag.dl([(tag.dt(milestone_anchor(milestone)),
tag.dd(format_datetime(milestone.due,
   kwargs.get('format','%x'
for milestone in milestones],
class_='wiki compact'))

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Using SVG in wiki-formatted text

2010-11-08 Thread Emmanuel Blot
 But I don't see how to put those header fields in wiki text.  Any thoughts?

For the Revtree plugin - which generates SVG, I use a different page template.

If you want to embed SVG within a standard Trac page, I guess the only
solution is to use an object tag, or you'll break the XHTML grammar.

BTW, is there any plan to drop XHTML in Trac and use HTML5 instead ?

Cheers,
Manu

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



Re: [Trac] Using SVG in wiki-formatted text

2010-11-08 Thread Emmanuel Blot
 So your best bet, as mentioned by Emmanuel, is to use an object tag
 referencing e.g. an attachment.

Note that this becomes a nightmare when you want to add Javascript to
control/interact with the SVG elements.

Remy, any thought about dropping XHTML for HTML5? Could Genshi handle SVG?

Cheers,
Manu

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



Re: [Trac] Wiki, line breaks

2010-11-02 Thread Emmanuel Blot
 line1 [[BR]]
 line2 [[BR]]
 line3 [[BR]]

Or since 0.12

line1 \\
line2 \\
line3 \\

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



Re: [Trac] Trac response very slow

2010-07-27 Thread Emmanuel Blot
On Thu, Jul 22, 2010 at 7:56 PM, suntrac sunqu...@yahoo.com wrote:
 I have installed Trac using mod_wsgi and Apache on my QNAP TS-219p. The
 loading of the pages is horribly slow, it takes up to 40 seconds.

QNAP devices are powered by Marvell ARM cores.
They are designed and optimized to provide large data throughput when
serving static files, but are far from being the best CPUs for
power-hungry applications such as Trac.

I'm afraid that there is no solution to this issue - especially since
Trac uses Genshi - but to switch to another server hardware. An AMD or
Intel modern chip would perform far better with Trac.

You may improve the overall speed by a few percents if you switch from
Apache to Lighttpd, but it will stay too slow to be useable anyway.

Really, small ARM cores to not fit Trac power requirements.

Cheers,
Manu

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



Re: [Trac] LDAP plugin advice, user details

2010-06-24 Thread Emmanuel Blot
 Looking on trac-hacks there are a number of LDAP plugins, does anyone use
 any of them just to pull user data from LDAP (Active Directory) rather
 than authentication as well?

As far as I can tell, there is no API in Trac to retrieve details from
anywhere but its own database.
The IUserDirectory interface (or whatever its new name) has been
discussed many times, but is yet to be implemented; meanwhile no Trac
plugin may provide user data to the Trac core for now.

Cheers,
Manu

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



Re: [Trac] modpython project is dead... What impact on trac development?

2010-06-23 Thread Emmanuel Blot




On 23 Jun 2010, at 10:27, Crusty Applesniffer crusty.applesnif...@free.fr 
wrote:

 I wonder if it will have major (or minor) impact on the trac development ?

Given that there are many ways to serve Trac from Apache, with better 
performances and less troubles (fastcgi, wsgi, ...) I don't think it matters 
that much, except for admins who would have to upgrade on day or another.

Cheers,
Manu.

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



[Trac] Re: wget of a Trac report

2009-10-09 Thread Emmanuel Blot

 OK. What is the syntax? I would imagine it is something specific to
 Trac, right? I know about this for ftp. But I have not done this with
 http:

Simply merge your Location .../project/login section directives
into your Location .../project section,
then remove the Location .../project/login section

Have a look at 
http://trac.edgewall.org/wiki/TracModPython#ConfiguringAuthentication,
see the mod_ldap section for example. You'll see that the /trac/
location contains both the Trac regular configuration option and the
authentication ones.

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Plugin with multiple projects

2009-10-07 Thread Emmanuel Blot

 Is it a normal behavior ?

See http://trac.edgewall.org/ticket/7869

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Redirect from http to https

2009-09-28 Thread Emmanuel Blot

 Every time that I try to submit something (like change preferences, update
 the wiki ...) the server returns me to https.

Check out your trac.ini file, base_url parameter.

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Set Up Trac Notification

2009-09-26 Thread Emmanuel Blot

 it took long to check with all the thing here i am posting the thing which i
 gt while i send mail might this help u to solve my issue

This is the web server log, not the Trac log. Fully useless
You need to configure trac to ouput debug message, and check out those
debug messages from trac log file. See TracIni page for details

 smtp_from = t...@example.net
 smtp_from_name = example.net
 smtp_replyto = nore...@example.net
 smtp_user =

BTW: example.* domains are reserved for demo purposes, and should not be used

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Trac and LDAP

2009-09-24 Thread Emmanuel Blot

 What plugin(s) should I use to set up authentication (I don't care about 
 anything else right now) with LDAP?

If it's only about *authentication* and you don't use tracd, then you
don't need a plugin at all: HTTP authentication is managed with the
HTTP server, Trac does not care about it.
If you need to manage *permissions* with LDAP, then LdapPlugin is an answer.

If you have installed AccountManagerPlugin, it's a different story:
this plugin may manage authentication and permissions, but I don't
know the current status for LDAP support

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Set Up Trac Notification

2009-08-28 Thread Emmanuel Blot

Search the ML archive for threads that deal with troubleshooting SMTP
connections.
There've been a lot of them.

Look for SMTP and telnet, for example.

On Fri, Aug 28, 2009 at 7:09 AM, vishal kumaronlyla...@gmail.com wrote:
 Hi All

 Thanks to every one out there .

 I tried the way u mentioned but this did not worked for me still i dont
 receive mails from trac.

 Thanks
 Mak

 On Fri, Aug 28, 2009 at 12:09 AM, Sergio Charpinel Jr.
 sergiocharpi...@gmail.com wrote:

 I dont know if it is the best way, but  I would recommend it because maybe
 your sendmail is not proper configured.
 So, You can test with an email server like Gmail, hotmail, etc.

 Your [notification] in trac.ini should be like that (gmail for example):

 [notification]
 smtp_enabled = true
 use_tls = true
 mime_encoding = base64
 smtp_server = smtp.gmail.com
 smtp_port = 587
 smtp_user =
 smtp_password =

 in smtp_user you should put your email: u...@gmail.com

 restart Trac and in assigned to field for example put your email.

 2009/8/27 vishal kumar onlyla...@gmail.com

 Hi All

 first of all thanks to every one that certainly helped me out but still
 iam not able to send mail from trac. Can any one help how can i check
 whether trac is sending tha mail or not

 thanks

 mak


 On Wed, Aug 26, 2009 at 5:03 PM, Sergio Charpinel Jr.
 sergiocharpi...@gmail.com wrote:

 If notification is enabled in trac.ini and the mail server is
 configured, you can put the person's email in 'assigned to' field, and
 he/she will receive the email.
 But if you want to improve this, there is some plugins like
 Autocompletefield (I forgot the link), so you can have an idea.

 Bye

 2009/8/25 RJOllos ry...@physiosonics.com

 On Aug 25, 2:05 am, RJOllos ry...@physiosonics.com wrote:
  I would suggest that you start by looking at the [notification]
  options (1), and if those don't directly implement what you want, try
  to put together a more detailed explanation of the conditions under
  which you'd like users to be notified, and who those users are.
 
  (1)http://trac.edgewall.org/wiki/TracIni#notification-section

 More specifically, you want to look at the always_notify* parameters
 in that section.




 --
 Sergio Roberto Charpinel Jr.








 --
 Sergio Roberto Charpinel Jr.




 




-- 
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Ticket - User Access restriction

2009-08-21 Thread Emmanuel Blot

 Please give me an immense solution for this.

Please: do not cross-post to several mailing lists at once.

Thanks.

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Error at login

2009-08-15 Thread Emmanuel Blot

 can somebody help me to find the problem?

Have you created the 'nge' project using the trac-admin initenv
command line tool?


-- 
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Error at login

2009-08-15 Thread Emmanuel Blot

Maybe try to check out the file and directory permissions: the Apache
server should have R/W priviledges

-- 
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Using existing Pygment language for another language

2009-08-14 Thread Emmanuel Blot

 But the Javascript lexer would be fine for haXe files.  So is there a
 way to tell either Trac or Pygment to *also* use the Javascript lexer
 for files with extension hx?

This might help:
http://groups.google.com/group/trac-users/msg/d282b2bc4760756b

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Collabnet svn and trac

2009-08-13 Thread Emmanuel Blot

 Can't synchronize with the repository (Couldn't open Subversion
 repository /var/svn/repo/myproj: SubversionException: (Expected FS
 format '2'; found format '4', 160043)). Look in the Trac log for more
 information.

It means you're using a quite old version of SVN Python bindings with
a recent SVN repository. You need to upgrade your python-subversion
package.

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Knowing Enough to be Dangerous

2009-08-10 Thread Emmanuel Blot

 This is only needed if you want to install from a subversion
 repository made by svn 1.6,

Actually, if you checkout the code with a SVN 1.6 *client*, the
repository server/format does not matter.

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Disabling html renderer

2009-08-10 Thread Emmanuel Blot

Hi,

What's the easiest/best solution to prevent users from writing
{{{
#!html
...
}}}
content ?

Thanks,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: No svn:externals configured in trac.ini

2009-07-22 Thread Emmanuel Blot

On Wed, Jul 22, 2009 at 2:31 AM, RJOllosry...@physiosonics.com wrote:
 Can the repository browser actually be configured to display a
 directory from the svn:externals as you would see if you checked out a
 working copy?

There's a preliminary patch for Trac 0.12dev (trunk), see
http://trac.edgewall.org/ticket/7687.


Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TRAC Internal Error after setting up TRAC with SVN.

2009-07-22 Thread Emmanuel Blot

On Tue, Jul 21, 2009 at 8:15 AM, Addison
McDermidad...@itconstruct.com.au wrote:
 This seems to be a problem with X64 environments using python version 2.5.
 Does anyone know how to fix this issue?

Have you installed any plugin?
Trac 0.11 does not need ClearSilver templating engine anymore, support
for it has been kept for old plugins.

If you don't need/use such a plugin, you'd better uninstall ClearSilver.

-- 
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Graph generator question

2009-07-20 Thread Emmanuel Blot





On 20 juil. 2009, at 15:06, Steve stephe...@gmail.com wrote:

 The problem that I have is in trying to understand how to configure
 TRAC to return an XML file containing data dynamically generated from
 it's database. I'm not even entirely sure if this is possible.


Trac is dynamically generating XHTML (that is, XML).

However the document type needs to be tweaked if you want Trac to  
generate non-XHTML files.

Have a look at the RevtreePlugin for rexample: it is generating XML 
+SVG files dynamically.


--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: No svn:externals configured in trac.ini

2009-07-20 Thread Emmanuel Blot





On 17 juil. 2009, at 18:25, pcrespo pedro.crespoval...@gmail.com  
wrote:

 Any guesses??

It only works with http:// and https:// protocols, you cannot access  
svn:// URLs from a web browser

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: AttributeError: 'SimpleContainer' object has no attribute 'build'

2009-07-16 Thread Emmanuel Blot

 Thx, that did the trick !

I think one of the enhancers is broken, although you might want to
upgrade them as well and give them a try.

Sorry, I have no spare time to work on RevtreePlugin, which definitely
needs some enhancement to support the SVN mergeinfo properties...

Cheers
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: AttributeError: 'SimpleContainer' object has no attribute 'build'

2009-07-15 Thread Emmanuel Blot

On Wed, Jul 15, 2009 at 12:52 PM, komak...@koma.be wrote:
 Do I need to uninstall the previous version maybe ???

Remove RevtreePlugin's own plugins (MergeInfoEnhancer, etc.) first.


-- 
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: tracd and memory leak? in 0.11.1 (memory at 44%, 450mb)

2009-07-14 Thread Emmanuel Blot

 Trac version:0.11.1

Please upgrade to a more recent Trac release (0.11.4, or delay the
update till 0.11.5 is released in the next few days)

 Any idea of known memory leaks ?

Read
http://trac.edgewall.org/ticket/8145
http://trac.edgewall.org/ticket/6614

HTH,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Trac and subversion

2009-07-07 Thread Emmanuel Blot

 When you do a code svn check-in, can it close a Trac bug automatically?
 In Trac, when we view a bug, can we see the source code changes related to
 the bug?

Yes, with the help of the trac hook scripts for SVN (see /contrib
directory and many threads about these features in the ML archive).

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Problem downloading TracMercurial Plugin.

2009-07-06 Thread Emmanuel Blot

On Mon, Jul 6, 2009 at 9:46 PM, Olemis Langole...@gmail.com wrote:
 Could anybody please tell me how to download TracMercurial plugin
 (preferently for Windows) ? This is what I get with SVN :

No issue to download this plugin with both protocols (http, https) ...
Are you using a direct connection to the Internet?

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Accessing permissions

2009-06-19 Thread Emmanuel Blot

 Can anyone guide me on how to do this?

Such tests are performed throughout the Trac code, you really want to
have a look at it to understand how to implement this feature.

Search for components that implement the IRequestHandler interface
(process_request()), and search for use of the req.perm attribute.

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: inline images in v.11 (from external URL from wiki install)

2009-06-18 Thread Emmanuel Blot

 can someone please provide me with an example snippit of wiki markup
 that would allow us to do this.

[[Image(http://server/path/image.png)]] should work

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: inline images in v.11 (from external URL from wiki install)

2009-06-18 Thread Emmanuel Blot

 Thanks. That's what I thought, but it's not working.

I just give a try on a local machine, and points the URL towards an
image located on a public web site and it worked as expected. I'm
using 0.12dev, not sure if it can make a difference.

Samba share?
This is not a valid web URL. Look no further.

You have to use http:// or https://

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: access to the ticket array

2009-06-17 Thread Emmanuel Blot

 Yes, I can see that, now you mention it. I had assumed this was a
 developer/coder list...when actually it's named 'trac-users'. Is there a
 more targeted list for developers?

trac-users is fine for this kind of questions, but it still easier to
understand what you want/need to do at first.

Cheers
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: current user

2009-06-16 Thread Emmanuel Blot

 Is the current user name available anywhere within the request structures or
 environment?

req.authname

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Does Trac really work on Windows

2009-06-16 Thread Emmanuel Blot

 Question 1. Does Trac really work on Windows? I am beginning to doubt
 it.

Everything is more complicated on Windows ;-)
I haven't installed Trac on Windows for a while - I really hope I
won't have to use Windows at all, but you might want to check that
your SVN DLLs (with the SAME version as PySVN you've installed) are
available from your system path (c:\windows\system32 or the like).

 Question 2. Where is the Trac log they refer to in the error message?
 I cannot find it.
The default log file is written in project/log/trac.log
On your environment, that would be
c:\repositories\projects\tracproject\log\trac.log

However you need to edit the [logging] section from trac.ini
(c:\repositories\projects\tracproject\conf\trac.ini) and set log_type
as file, then restart the tracd daemon.

HTH,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Browse source - Download in other formats - Original format question

2009-06-11 Thread Emmanuel Blot

 Why doesn't it just ask me where to save the file, like it does for the
 C file?

Which browser are you using?

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Email locations

2009-06-10 Thread Emmanuel Blot

 When people put their emails in via the preferences, where are these stored?

as user session attributes (DB table), and tracked with a cookie

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: unable to access Trac from network

2009-06-10 Thread Emmanuel Blot

 tracd -p 8000 --auth=algonotes,c:\digest.txt,trac d:\projects\trac
 \algonotes

Try setting -b option to set the address on which tracd should
listen for incoming connections

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Email locations

2009-06-10 Thread Emmanuel Blot

 Thanks. And that is persistent?
Yes.

 Or does it disappear with the cookie?
No.

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Python question

2009-06-08 Thread Emmanuel Blot

 Can someone explain this construct to me?
You'd want to look for list comprehension documentation in Python

The code snipped can be rewritten as:

errors = []
for field_name in required_fields:
   if self._is_empty(ticket[field_name]):
  errors.append((field_name, '%s is required' % field_name))


     errors = [(field_name, '%s is required' % field_name)
        for field_name in required_fields
        if self._is_empty(ticket[field_name])]

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Python question

2009-06-08 Thread Emmanuel Blot

 Never mind, looks like I needed an internal paren, I guess to produce a 
 'tuple'
Yeah ;-)

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: ldap authentication and anonymous query

2009-06-07 Thread Emmanuel Blot

 simple_bind_s(userdn, password).
 obs.: the password is the password that the user entered to login.
So this is not an anonymous bind ;-)

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: ldap authentication and anonymous query

2009-06-05 Thread Emmanuel Blot

  here i have been facing one issue, i want to search the usernames
 from specified domain without username and password [ anonymous ].

I don't see the relation with Trac.
You can nevertheless check out the code of the LdapPlugin and/or the
AccountManagerPlugin+LDAP to see how to perform LDAP searches with
anonymous binding.

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Invalid ticket URL in notification e-mails when using proxy

2009-06-03 Thread Emmanuel Blot

 How can I set up the Trac to get proper URL in notification e-mails?

Check out TracIni document, base_url setting.

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: How to store the data globaly

2009-06-02 Thread Emmanuel Blot

 how can i store the data globaly.

I'm afraid you need to provide more details about your request...

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: line breaks starting new paragraph

2009-06-02 Thread Emmanuel Blot

 Does anybody know what can be wrong?

Do you use custom CSS file for your Trac site?

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: line breaks starting new paragraph

2009-06-02 Thread Emmanuel Blot

 Note that my HTML has an additional br /.
 How can this be?

See 'preserve_newlines' option in
http://trac.edgewall.org/wiki/TracIni#ticket-section

Disable this option.

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Need to connect to trac with a script

2009-05-28 Thread Emmanuel Blot

 Is there any script to create connection, catch the id session or
 something else?

You could use the XmlRpcPlugin (see trac-hacks.org)

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: How to register on http://trac.edgewall.org/

2009-05-27 Thread Emmanuel Blot

 Is there some possobility to get login/password for access to
 http://trac.edgewall.org/ ?

Credentials are reserved for Trac developers.

You can nevertheless save your preferences - see Preferences menu
item on the top-right corner of any Trac page - such as your email
address, name, timezone, etc.

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: The workflow of trac development

2009-05-27 Thread Emmanuel Blot

 As I can see ftom the trac roadmap - there are a lot ot versions in
 development:
The following figures represent milestones, which do not indicate
versions in (active) development

 0.11.5
Next 0.11 maintenance release (major issues / security issues)
 0.11.6
Maybe never released, depends on 0.1
 0.12
Current development version

 0.13
 1.0
 2.0
No active development for these versions: these milestones reflect the
planning/schedule for future releases

 experimental
Applied to experimental development: some of these branches may be
merged into a future versions, some other will never be released

 not applicable
For tickets that are not related to some piece of modified code or documentation

 For me it is not clear how the development takes place.
Either within the trunk or within the sandboxes when a new major
feature is being development.
Sandboxes get eventually merged into the trunk.
A new major release is branched from the trunk. Minor releases are
evolution (bug fixes) from a major releases

 There is the
 trunk in svn - it usually contains the latest verion, but in this
 situation the latest version of what does it contain?
The latest development release of Trac (currently heading for 0.12)

 There is a lot of branches, but what are the login of that branches -
login?

 for example there is branch 0.5-stable why hasn't this branch been
 removed, its the very old copy.
Why would it be removed?

Regular users check out the latest main Trac release (0.11.4)
Developers and testers check out the Trac development version
(0.12dev, i.e. trunk)

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: browser view for attached PDF files

2009-05-25 Thread Emmanuel Blot

 You don't. We force downloading the raw views for security reasons.

I agree with all of this, but Trac is also used in protected
environment, such as on a company LAN.
In this context, being able to get rid of the boring Try downloading
it message would be a great plus.

I know about IE issues (IE is an issue ;-)), but I think there should
still be an admin option to enable in-browser rendering:
Trac already offers an option to bypass HTML sanitizing, I think it
would be great to have an option to render PDF files within the
browser window.

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: trac 0.11 / Genshi performance

2009-05-25 Thread Emmanuel Blot

 My question is if this still applies or if later versions of the
 stable 0.11 branch show an improved performance. Are there any
 experiences?

Not really. The improvement would mostly come from the Genshi engine
itself - that is unrelated to the Trac version. I think there've been
some speed improvements lately (genshi 0.6dev), although I don't think
you'll find this development version within Lenny or Sid.

It is definitely slower than the Clearsilver templating engine, it's a
tradeoff for more flexibility and power.
I also wish it would be snappier ;-)

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: read only Trac ?

2009-05-23 Thread Emmanuel Blot

 By the way, how do I make sure thtat the pluggin is detected ?

With Trac 0.11+, you can check and configure plugin from the
'Admin/Plugins' tab.
With Trac 0.10, you either need to install the WebAdmin plugin to get
the same feature, or read the DEBUG traces in the log file. Far easier
w/ the web admin panel.

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: read only Trac ?

2009-05-22 Thread Emmanuel Blot

 where shoould I look, is there a log file I can have access to that would
 contain some usefull information ?

your projects/db directory (and its contents) should be
read/writeable for the Apache user, i.e. www-data on Debian.

Which browser do you use? Which kind of authentication do you use?
InternetExplorer + mod_sspi is known to have some issues.

 It's trac 0.10.3

SO old!
Moreover, 0.10.3 has some security issue that has been fixed in 0.10.3.1.
Check out http://trac.edgewall.org/wiki/ChangeLog#a0.10.3.1

Anyway, you should definitely think about installing Trac 0.11.4,
rather than starting up with an ancient Trac release.

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Add javascript for only one project.

2009-05-18 Thread Emmanuel Blot

 Anybody know how to add javascript to particular project so that
 javascript will only run for that project only.

I would edit the templates/site.html file to add a new link to the
Javascript you want to load.

 I think that this can be done through by setting htdocs_location parameter 
 in trac.ini.

This option is useful if you want the static files (Javascript, CSS,
images, ...) to be served with the web server, rather than to be
served with Trac web engine. It's not directly related to adding files
to a project. It's only useful to define which server process handles
the requests from the web browser for static files.

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: moving trac/svn to new server

2009-05-10 Thread Emmanuel Blot

 ah, okay, found some stuff on the bindings...  svn was just built
 using the standard process .configure, make, make install...

These commands do not built the Python bindings, see:
make swig-py
make swig-py-install

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: moving trac/svn to new server

2009-05-10 Thread Emmanuel Blot

 yes, I have already rebuilt the swig bindings...  svn shipped with and
 built v1.3.29... a trac/svn page said this was a bad version, so I had
 manually rebuilt them at v1.3.25, the trac recommended version, but
 still have he same issue...

Are you sure your system does not have an older version of the Python
bindings that could be loaded and used instead of the one you built?

Try loading SVN bindings from Python interactive command prompt and
get the actual SVN library revision

python
import svn.core
print %d.%d.%d % (svn.core.SVN_VER_MAJOR, svn.core.SVN_VER_MINOR,
svn.core.SVN_VER_MICRO)

be sure to run python with the same uid as the web server.

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: moving trac/svn to new server

2009-05-10 Thread Emmanuel Blot

 Okay, now you are just making things confusing!  ;)
You meant: it starts to make sense with the error you got ;-)

 Doing so yields the following result:
 1.4.2
This means that the SVN bindings you use come from SVN 1.4.2, which
may not use a SVN FSFS repository created/upgraded with SVN 1.5.x

 if I do yum list subversion it also reports 1.4.2???
No idea, I don't use this package manager.

 could there be multiple subversions installed on the server in
 different locations (I know this is the trac user group...) and
 different things are pulling from different installations??
Yes.
You may have Subversion command tools for 1.5, and Subversion python
bindings for 1.4 on the same machine.
The first ones are located by the system using the PATH environment
variable, while the second ones are located using the PYTHONPATH
environment variable.

Time to search for libsvn directory using the 'find' tool...

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: moving trac/svn to new server

2009-05-10 Thread Emmanuel Blot

 PYTHONPATH includes (I believe via  PythonPath sys.path + ['/usr/
 local/lib/svn-python'] in httpd.conf) /usr/local/lib/svn-python
 directory...  there are subdirs libsvn and svn under there...

If sys.path points to one the previously installed SVN python
bindings, then your own built bindings will never be loaded.


Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: moving trac/svn to new server

2009-05-09 Thread Emmanuel Blot

 Resyncing repository history...
 Command failed: Couldn't open Subversion repository /svn:
 SubversionException: (Expected FS format '2'; found format '3',
 160043)

It looks like you are using a wrong version of Subversion on the
server, a version that does not match the version that has been used
to create and manage the repository.

Did you move your SVN repository using a raw method (save/restore
SVN directories), or did you use the proper method (svnadmin dump 
svnadmin load) ?

I don't remember which SVN FS version numbering scheme, but it's something like:
 FS v2: SVN 1.4
 FS v3: SVN 1.5 (+upgrade)
 FS v4: SVN 1.6 (+upgrade)

Cross check that the Subversion Python binding you use do match the
SVN repository FS format.

HTH
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: trac subversion's version

2009-04-28 Thread Emmanuel Blot

 I actually don't have any problems with your responses--your answer to
 Sajjad Akhter's original question was correct.

Yeah, you're right.
Sajjad needs to provide more details about his current setup  environment.

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Caching plugin data

2009-04-27 Thread Emmanuel Blot

 How can a plugin store data so it doesn't have to recompute it on
 every page request? Is there an API to get a file object I can write
 to/ read from? I don't want to store structured data (i.e. in the
 database), just a big blob of cache.

A simple solution would be to use local files.
Have a look at the GraphvizPlugin, generated SVG/PNG files are cached this way.

HTH,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: trac subversion's version

2009-04-25 Thread Emmanuel Blot

On Sat, Apr 25, 2009 at 9:49 PM, Sajjad Akhter sajjadakh...@gmail.com wrote:

 What version svn trac 11.2 is supported. I downloaded latest tortoise svn and 
 created svn repository. Now if I use that repository with trac it gives me 
 error that repository has version 4 while only 1-3 is supported.

Current Trac release is 0.11.2 (not 11.2)
Latest SVN release is 1.6.1 (1.6 series). It is recommended to stick
with the 1.5.x SVN series for now.

TortoiseSVN is an SVN client. What really matters is the version of
the SVN *server*. Trac does not deal with SVN clients, so you may use
any version of TortoiseSVN.

However, you need to use a SVN server (mod_dav_svn w/ Apache or
svnserve) from the 1.5.x series.

HTH,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Trying to install Trac on PowerPC Mac with OS X 10.5

2009-04-15 Thread Emmanuel Blot

Which version of setuptools do you use?

It might be worth trying to upgrade setuptools (i.e. easy_install is
part of this package) before installing Genshi.

On Wed, Apr 15, 2009 at 3:07 AM, Hans hanso...@gmail.com wrote:

 Same problem here on an Intel Mac...

 $ sudo easy_install Genshi
 Password:
 Searching for Genshi
 Reading http://pypi.python.org/simple/Genshi/
 Reading http://genshi.edgewall.org/
 Reading http://genshi.edgewall.org/wiki/Download
 Best match: Genshi 0.5.1
 Downloading http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.zip
 Processing Genshi-0.5.1.zip
 Running Genshi-0.5.1/setup.py -q bdist_egg --dist-dir /tmp/
 easy_install-VA0SRj/Genshi-0.5.1/egg-dist-tmp-Tj1Ir_
 warning: no previously-included files found matching 'doc/
 2000ft.graffle'
 warning: no previously-included files matching '*' found under
 directory 'doc/logo.lineform'
 No eggs found in /tmp/easy_install-VA0SRj/Genshi-0.5.1/egg-dist-tmp-
 Tj1Ir_ (setup script problem?)


 $ sudo easy_install 
 http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1-py2.5-macosx-10.5-i386.egg
 Downloading 
 http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1-py2.5-macosx-10.5-i386.egg
 Processing Genshi-0.5.1-py2.5-macosx-10.5-i386.egg
 Moving Genshi-0.5.1-py2.5-macosx-10.5-i386.egg to /Library/Python/2.5/
 site-packages
 Adding Genshi 0.5.1 to easy-install.pth file

 Installed /Library/Python/2.5/site-packages/Genshi-0.5.1-py2.5-
 macosx-10.5-i386.egg
 Processing dependencies for Genshi==0.5.1
 Searching for Genshi==0.5.1
 Reading http://pypi.python.org/simple/Genshi/
 Reading http://genshi.edgewall.org/
 Reading http://genshi.edgewall.org/wiki/Download
 Best match: Genshi 0.5.1
 Downloading http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.zip
 Processing Genshi-0.5.1.zip
 Running Genshi-0.5.1/setup.py -q bdist_egg --dist-dir /tmp/
 easy_install-TS1Yd_/Genshi-0.5.1/egg-dist-tmp-T_xP2X
 warning: no previously-included files found matching 'doc/
 2000ft.graffle'
 warning: no previously-included files matching '*' found under
 directory 'doc/logo.lineform'
 No eggs found in /tmp/easy_install-TS1Yd_/Genshi-0.5.1/egg-dist-tmp-
 T_xP2X (setup script problem?)
 error: Could not find required distribution Genshi==0.5.1


 On Mar 13, 3:45 am, Emmanuel Blot manu.b...@gmail.com wrote:
  I am trying to install Trac on a PowerPCMacwith OS X 10.5. I tried
  using easy_install, but I got an error when it got to the Genshi part
  of the install. Is it even possible to install on the PowerPCMac?

 I never tried, but I don't see why it could not be done.
 It would help if you could copy 'n paste the actual error ;-)

 --
 Manu

 




-- 
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Logout

2009-04-07 Thread Emmanuel Blot

 Still: there should not be a logout button if not log out action is 
 available.
 Logout is sometimes possible by clicking logout and restarting the browser.

Sure, but this was not my point ;-)
(btw: A browser with a clear HTTP credential option is even better)

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: No email notifications

2009-04-06 Thread Emmanuel Blot

 smtp_default_domain = @thedomain.com
Remove @

 smtp_server = mail.thedomain.com
What gives ping mail.thedomain.com from a Terminal window?

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Subversion 1.6 with Trac 0.11.4

2009-04-03 Thread Emmanuel Blot

Can anyone confirm that there are no known issues with Subversion 1.6
and Trac 0.11.4?

With Trac, I can't say, but as usual with SVN (and most software
applications), it's better to wait a bit when a new major version is
released.
SVN 1.5 has suffered major issues till 1.5.4 - even 1.5.5 to handle
the merge information the right way (1.5.3 was simply unusable).

I gave a try two weeks ago with a SVN 1.6.0 client and a 1.5.5 server,
this experiment left a major mess in my test resository; as with SVN
1.5 early releases, the culprit is once again the merging feature. SVN
became mad, trying to add and merge files from already merged and
integrated branches.

So I can't tell about the server side yet, but on the client side, I'm
sure I'll wait for the next release(s?) before upgrading. YMMV

Cheers,
Manu.

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Trac-Haks subversion trouble

2009-04-02 Thread Emmanuel Blot

 Must be something screwy on my end, wouldn't suprise me, our IT is
 getting so overzealous soon we won't even need computers, since we
 won't be able to do anything with them.

Try using HTTPS: if you IT has set up a transparent proxy that does
not speak WebDAV, this kind of error may occur - I hope TH can do
https://

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: How to clear the plugins cache ...

2009-04-02 Thread Emmanuel Blot

 {{{
 $ kill -s HUP `pgrep apache2`
 }}}


sudo kill 

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Trac Sphinx

2009-03-29 Thread Emmanuel Blot

Hi Ryan,

 This may be a bit more complicated than what you are looking for, but
 I have done the following:
 1. Generate your documentation in html format.

The problem is that without this extra step, the doc will not be
updated automatically.
I guess the commit hook script could take care of the HTML generation as well.

 3. Link the documentation to Trac via this plug-in:
 http://trac-hacks.org/wiki/TracTabPlugin

iframe? This is not a valid XHTML tag ;-(

Anyway, thanks for your help, I'll have a look at this solution

Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Trac Sphinx

2009-03-27 Thread Emmanuel Blot

Hi All,

Is there a way to integrate Trac  Sphinx, so that for example
Sphinx-based documentation archived in the SVN repository may be
rendered on-line when browsing a Trac page?

I know Noah have been working on the new documentation/help system,
but I'm not sure about the current status and if the Sphinx
integration is off-line (i.e. Sphinx needs to be run to generate
documentation pages) or if there is some kind of on-line rendering -
I don't know if the latter option is even possible.

Thanks,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Ticket notification emails in HTML?

2009-03-21 Thread Emmanuel Blot

 The reason why I
 want this is because GMail uses a non-monospaced font for plain text
 emails.

You could use one of the GMail Labs feature that displays a message
with a fixed size (monospaced) font.

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: configuring email notification for tickets (empty 'to' field and no mail send)

2009-03-20 Thread Emmanuel Blot

 Has anyone seen this problem before or did I overlook something in the
 configuration?

Check out the use_public_cc option in [notification]: use a true value.
Trac keeps the recipient listed masked out except told otherwise.

Cheers,
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Calling web services from inside Trac

2009-03-19 Thread Emmanuel Blot

 Do you have any idea about this problem?

Have you check that your standalone script, ran as the same user (uid)
as your trac web server executes, actually works ?

Cheers
Manu

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



  1   2   3   4   5   6   7   8   9   >