Re: [Trac] Options plugin to send email in html format?!?!
ynoslenav ivanelsonnu...@gmail.com writes: Steffen, Here best explains the problem of AnnouncerPlugin: Hello, I'm using the AnnouncerPlugin on a couple of Trac installations to send HTML emails, and it's not properly formatting ticket updates that have Wiki formatting in them. For example, if I put in the Wiki text: Test of `formatting` in '''announcer''' * Including * Bulleted * Lists It will display in the ticket something like this: Test of formatting in announcer ☆ Including ☆ Bulleted ☆ Lists But in my email like this: Test of `formatting` in '''announcer''' * Including * Bulleted * Lists So all the formatting of the text/plain version of the wiki text is still there as expected but the text has been reflowed. That is, only white space and end-of-line characters have been changed. Has anybody else seen this? Is there a configuration option I'm missing somewhere? Or is this something I should report as a bug? I have never this but could it be that your mail reader is doing the reflowing? Can you look at the raw mail message? Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- 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: Best practices
RjOllos ry...@physiosonics.com writes: On Tuesday, June 19, 2012 10:35:33 AM UTC-7, wayne marsh wrote: Is this something like what is normally done? Where do most people put their Trac environement folder? Everywhere I looked it was some arbitrary path like the TracGuide /path /to/project. I'm just using for best/most common practices, nothing fancy. /var/trac/$TRAC_ENV and /var/svn/$PROJ are what I've used, and I think it's fairly common. I've been using /srv/projects/$PROJECT/ /srv/projects/$PROJECT/apache.conf# web server configuration snippet /srv/projects/$PROJECT/trac/ # trac environment /srv/projects/$PROJECT/svn/ for a site that serves multiple projects in a multi-env setup. Each project has *all* of its data in that directory. The svn repositories are made available via symlinks, like so: /srv/repositories/svn/$PROJECT - /srv/projects/$PROJECT/svn and the apache.conf snippets for active projects are all included in the web server's config. Project admins can *not* modify these, BTW. BTW, the /srv/ directory is documented in the File Hierarchy Standard (FHS)[1], but I don't know whether the BSDs pay any attention to that. [1] http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- 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] Problem with PrivateTicketsPlugin / VirtualTicketsPermissions
jhNz johannes.h...@googlemail.com writes: [...] In short: I followed the configuration instructions provided on trac-hacks.org step by step. To test it I created a guest-user and granted him the permission TICKET_VIEW_REPORTER, since I want him to only see the tickets he reported himself. Beside that guest doesn't have any other permissions since the guest-account inherits all permissions from authenticated which are at the moment: TICKET_CREATE, TICKET_MODIFY, TICKET_VIEW, WIKI_CREATE, WIKI_MODIFY and WIKI_VIEW. As you can see, the user- and permission-configuration is as basic as it gets. The problem is that it doesn't seem to work at all. My guest user is still able to see all tickets. Are there any errors regarding my permission configuration or do you see any other things that I might have missed? Just shooting in the dark but does the `anonymous` user have TICKET_VIEW permissions by any chance? Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- 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] Workflow-specific permissions
Cooke, Mark mark.co...@siemens.com writes: -Original Message- From: trac-users@googlegroups.com On Behalf Of jingda wang Sent: 18 May 2012 06:43 To: trac-users@googlegroups.com Subject: Re: [Trac] Workflow-specific permissions Hi Is it possible to install different versions of trac in the same computer and both version has a project in side? and do not disturb each other? Why would you want to do that? Conflicting requirements for the plugins used by the various projects? Separation of access privileges to project data? Just some thoughts, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- 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] Configuring Trac on my shared hosting provider
Benjamin Lau benjamin.a@gmail.com writes: On Wed, Mar 28, 2012 at 11:08 PM, Cooke, Mark mark.co...@siemens.com wrote: -Original Message- From: trac-users@googlegroups.com On Behalf Of Benjamin Lau Sent: 29 March 2012 05:30 To: trac-users@googlegroups.com Subject: [Trac] Configuring Trac on my shared hosting provider I need a little help with finishing configuring Trac on my shared hosting provider. I've managed to get everything working (http://netjunki.org/blog/deploying-trac-on-shared-hosting there were issues. ;-) but there's one problem remaining. If you click on any of the links inside trac they go to the cgi-bin/trac.cgi version of the URL instead of the direct one (http://netjunki.org/cgi-bin/trac.cgi/blog/deploying-trac-on-s hared-hosting using the page I linked as an example). Is there some way to fix this? Thanks, Ben What have you set for the various URL parameters in your trac.ini? http://trac.edgewall.org/wiki/TracIni# Check out `base_url` and `use_base_url_for_redirect`... base_url was blank and use_base_url_for_redirect was False... I tried setting the base_url alone and that didn't do anything... then I tried setting use_ to True but that still doesn't seem to have worked. All the links in the wiki still have the cgi-bin/trac.cgi portion in their URLs. base_url = http://netjunki.org/ use_base_url_for_redirect = True There's also a url variable in the project section. I believe that'll do the trick. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- 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] Create Ticket has TWO bold, italic, heading, etc... buttons rows
DavidS salinas.d...@gmail.com writes: I've recently moved one Trac server (0.11) projects to a new Trac server (0.12). In the process I've tar'ed up the tracs, done the upgrade on both the project and wiki and everything updated fine. But it seems as though I have two format toolbars on one of the projects New Ticket form. Anyone know where these settings are set? I was thinking that it was in the /trac/projects/ templates directory. But I wasn't sure if it was as simple as commenting out a trac.ini entry. A project local TracWysiwyg plugin perhaps? Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- 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] question re: how to update multiple folders at once
Peter 'Fish' Fisera kdesvn_us...@goatvirus.com writes: hi all. i've got a how-do-i question here... [...snip...] so the question is... is there any way i can copy in all the new files and yet somehow tell svn to use the version control info already stored in the remote repository for each local directory that's been changed, rather than assuming they are new files? and that it would somehow regenerate the .svn directory for each? or some kind of tool (or sequence of linux commands) that could do a recursive copy from one folder to another, blowing away all files in the target directory structure EXCEPT the .svn folders? anyone know how to do this? From the directory that contains the changed foo directory: find foo -type f | sed '/\.svn/d' \ | while read name; do cp $name target-dir/$name; done where target-dir is the directory in your svn working copy that holds foo. Filenames with spaces will be handled correctly. Should there be any .svn stuff in the changed foo directory, it will be ignored. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- 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] Non-ASCII strings in 0.11
Chris Nelson chris.nel...@sixnet.com writes: Trying to address http://trac-hacks.org/ticket/9277, I'm not sure how to proceed. I only have access to Trac 0.11 and it's not clear to me if I can create non-ASCII milestone names in 0.11 We have no trouble with Japanese with our milestone:アルファ and similar milestone names on 0.11.7. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- 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] question about user groups in trac
milena milena.ru...@gmail.com writes: How to create groups of users for example 'developers' group or a 'QA' group which contain one or more users? This is documented[1], but you basically add the `developers` group like any other _user_ and then add users to that. The web interface to the Permissions have a bit where you can add users to groups. We use a local convention where groups start with an `@` to tell them apart. [1] http://trac.edgewall.org/wiki/TracPermissions#AddingaNewGroupandPermissions Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- 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] Line numbers of unified diffs - like github
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2010?10?07? 09:33, Justin Kelly wrote: Just wondering if its possible to display the line number on unified diffs - like github does github example: http://github.com/chrisboulton/php-diff/commit/516c4be3abf98d3fa3740bdd709a229e60c74df0 trac example: http://i.imgur.com/RdPjt.jpg I've been searching but couldn't find the answer so far Unless I completely misunderstand, the answer is looking you right in the face on the second URL. The second diff is a unified diff and has line numbers on it. The diff your pointing to is a tabular diff. Just click on the Unified tab in the diff's upper right corner should give you what you want, no? Hope this helps, - -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyznJUACgkQt5qrxaZLMnJcHACgoydLZT+HBhbvLVhsddz+5uD1 lHwAoLJ4I8jdLGKb5tOMyD8v5dNHmr1e =KJ6b -END PGP SIGNATURE- -- 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: What is a unique tag?
Roger Oberholtzer roger.oberholt...@gmail.com writes: On Wed, 2009-09-16 at 08:25 +0900, Olaf Meeuwissen wrote: ANSI C defines ispunct(), which is locale-sensitive. Perhaps that is of some use here. Is that also available in python? That would be used on the server side so gets whatever locale the server process was started under or configured to use. Any tickets that are submitted may well be in a language that doesn't match that. Case in point, our Trac instances use C/POSIX for their locale. Tickets are in en_US/en_GB/ja_JP. Definitely server side, as that is the only config Trac has. I am guessing the text is not identified as such in Trac? I am guessing it is limited to the encoding, like UTF-8. This surely makes it more complicated. Is your Trac translated into Japanese (menus and all)? Awaiting 0.12 eagerly ;-) Menus are in English. All default Trac wiki pages are removed. Instead I point the various instances at a central Trac wiki page location for those removed pages. The central location serves content negotiated wiki pages (via TracWikiNegotiationPlugin). Awaiting newhelp eagerly too ;-) Or is it mixed English / local? I am guessing the later. A very mixed setup. Wiki pages are generally in a single language. Important pages may be translated (but keeping stuff in sync is a pain). Tickets are typically mixed English/Japanese. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ 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: What is a unique tag?
Roger Oberholtzer roger.oberholt...@gmail.com writes: On Mon, 2009-09-14 at 12:26 -0500, David Huang wrote: On Sep 14, 2009, at 11:52 AM, Roger Oberholtzer wrote: For the purpose of tags, whitespace should be extended (surely not a complete list) to include ':;.,()[]{}!? I know of no words that contain these characters. Sentences and phrases, yes. Words, no. And tags refer to words, not sentences or phrases. Perhaps, but where have you configured TagsPlugin to get its tags from? By default, tags come from the ticket's keywords field; assuming you've left it at the default, the question is why are you putting punctuation in the keywords field if you don't want them in the tags. If you're not using the default setting, the question is if the field you're getting the tags from is really the right place. I get the tags from the summary and the keywords. This is reasonable. Only if you can safely assume a single language for all your tickets. That may be true for your case but it certainly isn't for mine. We run several trac instances with mixed Japanese/English tickets. If this is a problem for the plugin, then it should limit itself to the rarefied world of tags. Since it allows ticket fields in general to be used, it should then deal with punctuation. What qualifies as punctuation in Japanese? In any other language? Can the plugin make assumptions as to what language a ticket summary is in, in general? Can it do so when it knows the ticket's character encoding? Not necessarily saying it is a problem for the plugin, but it is most certainly not trivial to ignore punctuation. For that matter, splitting on whitespace sucks when you use Japanese (which normally doesn't use whitespace). Splitting should be done on word boundaries. Hopefully 0.12 will address at least some of these issues for non-POSIX locales. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ 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: What is a unique tag?
Roger Oberholtzer roger.oberholt...@gmail.com writes: On Tue, 2009-09-15 at 16:48 +0900, Olaf Meeuwissen wrote: For that matter, splitting on whitespace sucks when you use Japanese (which normally doesn't use whitespace). Splitting should be done on word boundaries. Hopefully 0.12 will address at least some of these issues for non-POSIX locales. I am not doubting the complexity. Perhaps it could be as simple as a configured parameter where one could add characters, beyond the ones defined by the locale, that are to be treated as whitespace/punctuation. If you are happy with the current result, just leave the list alone. ANSI C defines ispunct(), which is locale-sensitive. Perhaps that is of some use here. Is that also available in python? That would be used on the server side so gets whatever locale the server process was started under or configured to use. Any tickets that are submitted may well be in a language that doesn't match that. Case in point, our Trac instances use C/POSIX for their locale. Tickets are in en_US/en_GB/ja_JP. As to Japanese, I am guessing that word boundaries at sentence punctuation is ok. It is just spaces that are the problem. Are you talking about addressing the problem of splitting at word boundaries here? Then yes, punctuation would indicate a boundary. But that doesn't really help. Your two lines above would then result in a whopping total of _three_ words: As to Japanese I am guessing that word boundaries at sentence punctuation is ok It is just spaces that are the problem Mind you, end-of-line is _not_ necessarily a word boundary in Japanese. Anyway, we're not using the ticket summary to harvest tags so it's not that much of a problem. The area where it hurts most is in the wiki where we don't get the links for free. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ 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: call external script on new ticket
yoheeb yoh...@gmail.com writes: On Jul 17, 6:15 am, oximoron oximo...@alinto.com wrote: Hello everyone, I searched the archives but didn't find any info about my problem. I would like to be able to call an external script (shell or perl or php) when a new ticket is created. I need that because we interact trac with several other softwares and I need to update informations elsewhere when a new ticket is created. Can anyone tell me how to do that? Thank you Kenny I can think of a few ways: -write a listener plugin -Using mail notification, run a mailer daemon that fires off the scripts. (maybe with the AnnouncerPlugin, or TicketTeamDispatcherPlugin, might be a bit easier) -use a bot that subscribes to the time-line rss and reacts that way. (this is what I would do, personally) -depending on your database back end, use a db trigger -There's probably a way to use xmlrpc as well. -There might be a way to modify the genshi template to run a script on submit, or modify the submit code directly (this would be ugly, and hard to maintain, IMHO, but sometimes quick and dirty is the way to go) I bet someone has even more brilliant ideas. Better yet, someone even implemented them ;-) See the AdvancedTicketWorkflowPlugin's `run_external` operation. [1] http://trac-hacks.org/wiki/AdvancedTicketWorkflowPlugin Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ 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: build / test automation with features
W. Martin Borgert deba...@debian.org writes: Quoting Johnny Chang johnny...@gmail.com: I looked at the documentation and it wasn't clear to me how to run a test suite, look for output, and check in. Can you give me some hints? Running tests itself is not in the scope of bitten (and would be the wrong place IMHO). You run e.g. unittests (in my case junit tests via ant) and bitten makes the logs available via trac. For further questions I suggest you ask on the bitten mailing list. Seconded, all of it. From what I've looked at (haven't tried anything yet in this area), several of the *unit elements can parse the test results and put this up on the build page. There is also support for test coverage and test success/failure ratio graphs. Have a look at http://bitten.edgewall.org/build/trunk/1456#step_test http://bitten.edgewall.org/build/trunk to get an idea. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ 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: Wiki: Group Topics
Roger Oberholtzer roger.oberholt...@gmail.com writes: On May 30, 2009, at 1:10 PM, ptrash wrote: Hi, is it possible to group topics, e.g. in the link TitleIndex I see: Trac * TracAccessibility * TracAdmin * TracBackup * TracBrowser * ... or Wiki * WikiDeletePage * WikiFormatting * WikiHtml * WikiMacros So there is a list of all trac (or wiki) topics. I think this happens automatically, based on the name of the page. The TitleIndex macro takes a few arguments that can be used to tweak the behaviour. Have a look at the WikiMacros documentation. My only request would be that TestProcedureTprofilePP be grouped with the other TestProcedure items instead of the strict alphabetical method used. That doesn't seem to be supported. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ 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: build / test automation with features
Johnny Chang johnny...@gmail.com writes: Hello, I just started using trac with svn and it is very nice. I wanted to implement some build and test automation into it and was looking for these features: -checks out code -builds and checks for errors -runs a test suite (run the executable with various predetermined parameters, checks exit status, logs messages) -allows automatic parsing of log messages -checks in working executable Any suggestions are appreciated! Have a look at Bitten (http:// bitten.edgewall.org/). Should be able to do everything you list. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ 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: Permission to filter the components
toddy t...@bos-bremen.de writes: Hello everybody, I use trac to manage a software project. My project is an OpenSource project, so I want open my trac for guest user. Now, I have three questions which I have no answer found in the faqs and in the search in this group. 1. I want to split the wiki in an english area and in a german area. How can I do this? Have a look at http://trac-hacks.org/wiki/TracWikiNegotiatorPlugin 2. I want, that user of my application can write a bug in a formular in my application and than it will be post in my trac. My application runs in ruby on rails. How can I do this? Any Ideas? Is there a plugin to do this? Use a dedicated bug email address and set up email2trac? See http://trac-hacks.org/wiki/EmailtoTracScript Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ 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: blog template further variables
Thomas thorn...@gmail.com writes: I'm use the FullBlogPlugin. I would like to adminblogsettings tab it is possible to define a template for naming new posts, with variables like %Y/%m/%d/. How can I extend this to minutes and seconds ? where is a documentation of all %variables and $variables that can be used here ? Quick copy from what the IniAdmin plugin shows for the fullblog section's default_postname. I would assume it gets that from the source documentation. Option for a default naming scheme for new posts. The string can include substitution markers for time (UTC) and user: %Y=year, %m=month, %d=day, %H=hour, %M=minute, %S=second, $USER. Example template string: %Y/%m/%d/my_topic Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ 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: Exporting Japanese wiki pages to PDF
Olaf Meeuwissen [EMAIL PROTECTED] writes: Shun-ichi GOTO [EMAIL PROTECTED] writes: If you want to print like a book, another plugin PageToDocbook plugin may help you. FWIW, the plugin is at http://trac-hacks.org/wiki/Page2DocbookPlugin. You can create PDF like this: wiki --(plugin)-- DocBook --(xsl)-- XSL-FO --(fop)-- PDF It's not automated process but Japanese can be allowed. Thanks for the tip. I'll have a look at it. I've managed to get the plugin to output a Docbook file with Japanese. I've had no luck so far using the companion python script to combine multiple wiki pages in a single Docbook document. Cluebats welcome. I've also tried converting the Japanese Docbook file with Debian's fop but it seems I also have to fiddle with font settings. All Japanese shows up as ### in the PDF. I have Japanese TrueType fonts. FWIW, I used fop -xml WikiStart.docbook -xsl /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl -pdf WikiStart.pdf to convert. After an attempt to get http://docbook.sourceforge.net/release/images/draft.png timed out, the process mutters several times that this image is not available before it finally completes. I have my http_proxy set and exported, and checked that that URL exists. # Why bother trying to get it when it's included in docbook-xsl? # Me goes off, trying to find out how to prevent fop from accessing # external resources. In the mean time, information on the Japanese fonts would be most appreciated. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Exporting Japanese wiki pages to PDF
Shun-ichi GOTO [EMAIL PROTECTED] writes: 2008/12/9 Olaf Meeuwissen [EMAIL PROTECTED]: Shun-ichi GOTO [EMAIL PROTECTED] writes: If you want to print like a book, another plugin PageToDocbook plugin may help you. You can create PDF like this: wiki --(plugin)-- DocBook --(xsl)-- XSL-FO --(fop)-- PDF It's not automated process but Japanese can be allowed. Thanks for the tip. I'll have a look at it. Apart from not being automatic, it also looks a bit Unix centered ;-) F.Y.I., there's one another path using dblatex: wiki --(plugin)-- DocBook --(dblatex)-- pdf Thanks for the pointer. More stuff to look into. Unfortunately, setting up dblatex (and LaTeX related tools) for Japanese is a bit complex, but it provides good looking result for the book. The Debian packages suggests latex-cjk-all so that might make life a bit easier. I'll have a look. -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Exporting Japanese wiki pages to PDF
Noah Kantrowitz [EMAIL PROTECTED] writes: Another, possibly simpler way to this is use the CombineWiki plugin to export to HTML, and then use something like a PDF virtual printer (or Safari's built-in PDF support if you are a Mac person). Thanks for the tip. I'll have a look at that too but there are other reasons why I want to look at a Docbook to PDF flow as well. --Noah On Dec 9, 2008, at 8:34 PM, Olaf Meeuwissen wrote: Shun-ichi GOTO [EMAIL PROTECTED] writes: 2008/12/9 Olaf Meeuwissen [EMAIL PROTECTED]: Shun-ichi GOTO [EMAIL PROTECTED] writes: If you want to print like a book, another plugin PageToDocbook plugin may help you. You can create PDF like this: wiki --(plugin)-- DocBook --(xsl)-- XSL-FO --(fop)-- PDF It's not automated process but Japanese can be allowed. Thanks for the tip. I'll have a look at it. Apart from not being automatic, it also looks a bit Unix centered ;-) F.Y.I., there's one another path using dblatex: wiki --(plugin)-- DocBook --(dblatex)-- pdf Thanks for the pointer. More stuff to look into. Unfortunately, setting up dblatex (and LaTeX related tools) for Japanese is a bit complex, but it provides good looking result for the book. The Debian packages suggests latex-cjk-all so that might make life a bit easier. I'll have a look. -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Exporting Japanese wiki pages to PDF
Shun-ichi GOTO [EMAIL PROTECTED] writes: If you want to print like a book, another plugin PageToDocbook plugin may help you. You can create PDF like this: wiki --(plugin)-- DocBook --(xsl)-- XSL-FO --(fop)-- PDF It's not automated process but Japanese can be allowed. Thanks for the tip. I'll have a look at it. Apart from not being automatic, it also looks a bit Unix centered ;-) -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Exporting Japanese wiki pages to PDF
Olaf Meeuwissen [EMAIL PROTECTED] writes: I've been looking for ways to export (a set of) wiki pages to PDF and come across TracWikiToPdfPlugin and PageToPdfPlugin. Both seem to be quite useful but for a limitation in HTMLDOC. The current stable version of HTMLDOC (1.8.27) doesn't support UTF-8. The development snapshot has basic UTF-8 support but no support yet for Asian and other complex languages. That's a big show-stopper because part of my wiki pages are in Japanese. I anyone here aware of a plugin that can export Japanese wiki pages to PDF? Based on the lack of follow-ups, I guess not. For now I'll just have to settle for printing individual wiki pages from a browser (and maybe tweak the stylesheet for print media). That way, I can at least create a PDF file but it doesn't look too great. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Exporting Japanese wiki pages to PDF
I've been looking for ways to export (a set of) wiki pages to PDF and come across TracWikiToPdfPlugin and PageToPdfPlugin. Both seem to be quite useful but for a limitation in HTMLDOC. The current stable version of HTMLDOC (1.8.27) doesn't support UTF-8. The development snapshot has basic UTF-8 support but no support yet for Asian and other complex languages. That's a big show-stopper because part of my wiki pages are in Japanese. I anyone here aware of a plugin that can export Japanese wiki pages to PDF? Thanks in advance, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: removing own events from timeline view
Christian Boos [EMAIL PROTECTED] writes: Olaf Meeuwissen wrote: I do the bulk of the work on a project so obviously most of the events in the timeline view are my own and events of other people drown in my noise. How would I only see other people's events in the timeline? 0.12 introduces a user filter in the timeline. I already thought about the feature you requested and think we could extend this filter by accepting a list of users, and the possibility to reject them. Examples on Trac: - show me the changes done by Odd Simon and Remy: osimons rblank - show me the changes ''not'' done by me: -cboos In the future, it would be good to accept group names there as well. Cool, but from your reply I understand that there is currently no way to achieve what I want. BTW, a number of other query constructs use ! for negation already and you may need to be careful about user names with special characters such as space and - (don't know what is currenty allowed, though). Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] removing own events from timeline view
I do the bulk of the work on a project so obviously most of the events in the timeline view are my own and events of other people drown in my noise. How would I only see other people's events in the timeline? Thanks in advance, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: installing Subversion SWIG bindings in a virtualenv?
Graham Dumpleton [EMAIL PROTECTED] writes: More below. On Aug 27, 3:33 pm, Graham Dumpleton [EMAIL PROTECTED] wrote: On Aug 27, 2:54 pm, Olaf Meeuwissen [EMAIL PROTECTED] wrote: Graham Dumpleton [EMAIL PROTECTED] writes: [snip!] How in your configuration are you getting: /path/to/SandBox/lib/python2.5/site-packages added to sys.path? The same way as /path/to/WSGIHome/lib/python2.5/site-packages, I'd presume. That is, I have no clue, really. I think virtualenv and/or easy_install automagically take care of that. If this contains .pth files you can't just use: sys.path.append() as that doesn't result in .pth files being parsed with content added to sys.path in the process. The /path/to/SandBox/lib/python2.5/site-packages directory contains a .pth file with the following contents: /usr/share/python-support/python-subversion You previously indicated locations as: *.py in /usr/share/python-support/python-subversion/{svn,libsvn} *.so in /usr/lib/python-support/python-subversion/python2.[45]/ libsvn And that you had: $ cat /path/to/virtualenv/lib/python2.5/site-packages/svn- python.pth /usr/lib/python-support/python-subversion/python2.5 /usr/lib/python-support/python-subversion /usr/share/python-support/python-subversion Shouldn't the directory containing the .so files, ie., /usr/lib/python-support/python-subversion/python2.5 still be in the .pth file? You now only have: /usr/share/python-support/python-subversion which would mean only .py files would be found. Yes/No? Tried that, but it didn't make things work. The additional entries in the .pth file do get listed in the Apache error logs, though. BUT! If I also add the libsvn directory that lives below /usr/lib/python-support/python-subversion/python2.5/ to the .pth file things work! As in, that 'module _fs not found' error goes away and I can browse the repository. For the record, my python-subversion.pth now contains: /usr/share/python-support/python-subversion /usr/lib/python-support/python-subversion/python2.5/libsvn Me now wonders why all this works out of the box using a virtualenv *with* site-packages ... A `virtualenv --no-site-packages` use the following sys.path: ['', '/path/to/WSGIHome/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg', '/path/to/WSGIHome/lib/python2.5/site-packages/Pygments-0.10-py2.5.egg', '/path/to/WSGIHome/lib/python2.5/site-packages/pytz-2008c-py2.5.egg', '/path/to/WSGIHome/lib/python25.zip', '/path/to/WSGIHome/lib/python2.5', '/path/to/WSGIHome/lib/python2.5/plat-linux2', '/path/to/WSGIHome/lib/python2.5/lib-tk', '/path/to/WSGIHome/lib/python2.5/lib-dynload', '/usr/lib/python2.5', '/usr/lib/python2.5/lib-tk', '/path/to/WSGIHome/lib/python2.5/site-packages'] And a regular `virtualenv` uses: ['', '/path/to/WSGIHome/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg', '/path/to/WSGIHome/lib/python2.5/site-packages/Pygments-0.10-py2.5.egg', '/path/to/WSGIHome/lib/python2.5/site-packages/pytz-2008c-py2.5.egg', '/path/to/WSGIHome/lib/python25.zip', '/path/to/WSGIHome/lib/python2.5', '/path/to/WSGIHome/lib/python2.5/plat-linux2', '/path/to/WSGIHome/lib/python2.5/lib-tk', '/path/to/WSGIHome/lib/python2.5/lib-dynload', '/usr/lib/python2.5', '/usr/lib/python2.5/lib-tk', '/path/to/WSGIHome/lib/python2.5/site-packages', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/PIL', '/var/lib/python-support/python2.5'] There's gotta be some kind of magic going on in those last four directories. The first one is empty and I doubt PIL has anything to do with. The leaves only two but I don't know enough about Python to figure out where and what. A cluebat is appreciated. [snip] Thanks! -- Olaf Meeuwissen FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: installing Subversion SWIG bindings in a virtualenv?
Graham Dumpleton [EMAIL PROTECTED] writes: In the WSGI script file, add: import sys print sys.stderr, str(sys.path) This will cause value of sys.path to be logged to Apache error log. Go through what is dumped out to just make sure that .pth files contents added correctly and that all the other directories added look reasonable and refer to your virtual environment. Thanks for the tip. Did that and here is what ends up in my Apache error log: [Wed Aug 27 08:45:58 2008] [error] ['/path/to/WSGIHome/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg', '/path/to/WSGIHome/lib/python2.5/site-packages/Pygments-0.10-py2.5.egg', '/path/to/WSGIHome/lib/python2.5/site-packages/pytz-2008c-py2.5.egg', '/path/to/SandBox/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg', '/path/to/SandBox/lib/python2.5/site-packages/pysqlite-2.4.1-py2.5-linux-i686.egg', '/path/to/SandBox/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg', '/path/to/SandBox/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg', '/path/to/WSGIHome/lib/python2.5', '/path/to/WSGIHome/lib/python2.5/plat-linux2', '/path/to/WSGIHome/lib/python2.5/lib-tk', '/path/to/WSGIHome/lib/python2.5/lib-dynload', '/usr/lib/python2.5', '/usr/lib/python2.5/lib-tk', '/path/to/WSGIHome/lib/python2.5/site-packages', '/path/to/SandBox/lib/python2.5/site-packages', '/usr/share/python-support/python-subversion'] My WSGIPythonHome is set to /path/to/WSGIHome which is a symlink pointing to a --no-site-packages virtualenv. I use the symlink so I can switch easily between virtualenvs w/ and w/o site packages. The /path/to/SandBox is another no-site-packages virtualenv and here's where I added a python-subversion.pth with the contents shown by the last element of the sys.path. Still, I get an error message in the browser and the following in my trac.log: 2008-08-27 08:45:57,961 Trac[svn_fs] INFO: Failed to load Subversion bindings Traceback (most recent call last): File /path/to/SandBox/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/versioncontrol/svn_fs.py, line 253, in __init__ _import_svn() File /path/to/SandBox/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/versioncontrol/svn_fs.py, line 69, in _import_svn from svn import fs, repos, core, delta File /usr/share/python-support/python-subversion/svn/fs.py, line 19, in module from libsvn.fs import * File /usr/share/python-support/python-subversion/libsvn/fs.py, line 7, in module import _fs ImportError: No module named _fs I'm clueless. Anyone have any ideas? Graham On Aug 26, 9:38 am, Olaf Meeuwissen [EMAIL PROTECTED] wrote: Sorry, meant to get back to this earlier but work got in the way. osimons [EMAIL PROTECTED] writes: On Aug 21, 5:02 am, Olaf Meeuwissen [EMAIL PROTECTED] wrote: Is there an easy way to install the Subversion SWIG bindings in a virtualenv, or two? Install the Subversion bindings against your correct main Python as usual, That would be `apt-get install python-subversion` in my case. Note that this package installs the *.py files and the native .so libs in different places. *.py in /usr/share/python-support/python-subversion/{svn,libsvn} *.so in /usr/lib/python-support/python-subversion/python2.[45]/libsvn The libsvn_swig_py2.[45] .so's are in /usr/lib/. and in each virtualenv sitepackages derived from this Python add a .pth file that points to location of svn libraries. Like, $ echo /opt/local/lib/svn-python2.4 /path/to/my/virutalenv/lib/ python2.4/site-packages/svn-python.pth Did that. $ cat /path/to/virtualenv/lib/python2.5/site-packages/svn-python.pth /usr/lib/python-support/python-subversion/python2.5 /usr/lib/python-support/python-subversion /usr/share/python-support/python-subversion Restarted apache2 and fired up a new browser for good measure. (My /opt/local/lib/svn-python2.4 contains the directories 'svn' and 'libsvn') Unfortunately, that didn't work. Here's (what I think is) the relevant piece of the log: 2008-08-26 08:25:48,471 Trac[svn_fs] INFO: Failed to load Subversion bindings Traceback (most recent call last): File /path/to/virtualenv/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac /versioncontrol/svn_fs.py, line 253, in __init__ _import_svn() File /path/to/virtualenv/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac /versioncontrol/svn_fs.py, line 69, in _import_svn from svn import fs, repos, core, delta File /usr/share/python-support/python-subversion/svn/fs.py, line 19, in module from libsvn.fs import * File /usr/share/python-support/python-subversion/libsvn/fs.py, line 7, in module import _fs ImportError: No module named _fs FWIW, I'm using virtualenv-1.1 and using a virtualenv with site packages (that is, created without the --no-site-packages option) as my WSGIPythonHome works fine. Any ideas? -- Olaf
[Trac] Re: installing Subversion SWIG bindings in a virtualenv?
Sorry, meant to get back to this earlier but work got in the way. osimons [EMAIL PROTECTED] writes: On Aug 21, 5:02 am, Olaf Meeuwissen [EMAIL PROTECTED] wrote: Is there an easy way to install the Subversion SWIG bindings in a virtualenv, or two? Install the Subversion bindings against your correct main Python as usual, That would be `apt-get install python-subversion` in my case. Note that this package installs the *.py files and the native .so libs in different places. *.py in /usr/share/python-support/python-subversion/{svn,libsvn} *.so in /usr/lib/python-support/python-subversion/python2.[45]/libsvn The libsvn_swig_py2.[45] .so's are in /usr/lib/. and in each virtualenv sitepackages derived from this Python add a .pth file that points to location of svn libraries. Like, $ echo /opt/local/lib/svn-python2.4 /path/to/my/virutalenv/lib/ python2.4/site-packages/svn-python.pth Did that. $ cat /path/to/virtualenv/lib/python2.5/site-packages/svn-python.pth /usr/lib/python-support/python-subversion/python2.5 /usr/lib/python-support/python-subversion /usr/share/python-support/python-subversion Restarted apache2 and fired up a new browser for good measure. (My /opt/local/lib/svn-python2.4 contains the directories 'svn' and 'libsvn') Unfortunately, that didn't work. Here's (what I think is) the relevant piece of the log: 2008-08-26 08:25:48,471 Trac[svn_fs] INFO: Failed to load Subversion bindings Traceback (most recent call last): File /path/to/virtualenv/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/versioncontrol/svn_fs.py, line 253, in __init__ _import_svn() File /path/to/virtualenv/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/versioncontrol/svn_fs.py, line 69, in _import_svn from svn import fs, repos, core, delta File /usr/share/python-support/python-subversion/svn/fs.py, line 19, in module from libsvn.fs import * File /usr/share/python-support/python-subversion/libsvn/fs.py, line 7, in module import _fs ImportError: No module named _fs FWIW, I'm using virtualenv-1.1 and using a virtualenv with site packages (that is, created without the --no-site-packages option) as my WSGIPythonHome works fine. Any ideas? -- Olaf Meeuwissen FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: [Q] installing Subversion SWIG bindings in a virtualenv?
Noah Kantrowitz [EMAIL PROTECTED] writes: Olaf Meeuwissen wrote: Hi all, I've been looking into setting up a server with multiple Trac envs, using a combination of virtualenv and WSGI to keep the environments separate. As I'd also like to keep the server's Python environment separate from that used by the Trac environments, I created another `virtualenv --no-site-packages` and used that for WSGIPythonHome. To this WSGIPythonHome virtualenv you can easy_install whatever you need for all the Trac environments. I got that to work fine as long as you don't have a Trac environment that uses a Subversion repository. Trac requires the Subversion SWIG binding (as opposed to PySVN which is just an easy_install away) and I have no clue how to install that (short of `make swig-py; sudo make install-swig-py`, which is a no-go on a production machine). Is there an easy way to install the Subversion SWIG bindings in a virtualenv, or two? Subversion installs the bindings to $PREFIX/lib[64]/svn-python/ so if you set $PREFIX to be some temp folder, and then move the svn/ and libsvn/ folders into the virtualenv site-packages it should work fine. Eh, I think I also need the various *.py files, correct? I had a look at the content of Debian's python-subversion package and it looks like I can use that as is by just doing a `dpkg-deb -x` in the right place. ... me goes off to give that a try ... Tough luck. I couldn't get that to work. Resyncing from within a virtualenv gives: Command failed: Unsupported version control system svn: No module named _fs Apparently some of the search paths are missing bits and pieces. At least the all the *.(so|py) files in python-subversion do not seem to refer to absolute filenames. So am under the impression that Noah is right and the $PREFIX approach should work fine but I do not have the time to test that right now :-( Any other suggestions? -- Olaf Meeuwissen FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] [Q] installing Subversion SWIG bindings in a virtualenv?
Hi all, I've been looking into setting up a server with multiple Trac envs, using a combination of virtualenv and WSGI to keep the environments separate. As I'd also like to keep the server's Python environment separate from that used by the Trac environments, I created another `virtualenv --no-site-packages` and used that for WSGIPythonHome. To this WSGIPythonHome virtualenv you can easy_install whatever you need for all the Trac environments. I got that to work fine as long as you don't have a Trac environment that uses a Subversion repository. Trac requires the Subversion SWIG binding (as opposed to PySVN which is just an easy_install away) and I have no clue how to install that (short of `make swig-py; sudo make install-swig-py`, which is a no-go on a production machine). Is there an easy way to install the Subversion SWIG bindings in a virtualenv, or two? Thanks in advance, -- Olaf Meeuwissen FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Wiki markup lists with no bullets?
Scott Bussinger [EMAIL PROTECTED] writes: Is this a common scenario? What kind of lists are you creating that you don't want a bullet for? I chatted with the people that were looking for this and they were trying to imitate the layout of some existing help pages. The contents were essentially a list of instructions. Not so much a step by step (which is why they didn't think a numbered list was appropriate) and having bullets was distracting, but they didn't like all of the paragraph breaks making the page very tall. If I understand you correctly, you could use [[BR]] instead of starting paragraphs. Something like Item one[[BR]] Item two[[BR]] Indented first item[[BR]] Admittedly, using a lot of [[BR]]s is a bit ugly but the other suggestions seem like overkill if this achieves what you're looking for. Hope this helps, -- Olaf Meeuwissen FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Custom default trac.ini
Jani Tiainen [EMAIL PROTECTED] writes: Is there way to provide custom default trac.ini that would be used every time I setup new environment? Create that default trac.ini as your global ini file and use the --inherit option to trac-admin. See: http://trac.edgewall.com/wiki/TracIni#GlobalConfiguration Mostly I would like to setup default logo, url, smtp and few other options that would be used to new environments as well. Hope this helps, -- Olaf Meeuwissen FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Linking To Headings
ResumeWriter [EMAIL PROTECTED] writes: One more question. Using the same instructions I'm not able to link to a heading unless it's on the same page. I try to use /#heading but that doesn't do the trick. What's the syntax for MainPage#Heading? Sorry for not being clear. That would just be MainPage#Heading just like the WikiFormatting#using-explicit-id-in-heading I refered to earlier. If you want to link to something on the default start page of the wiki, that would be WikiStart#Heading Thank you. Angela On Oct 22, 4:44 pm, Olaf Meeuwissen [EMAIL PROTECTED] wrote: ResumeWriter [EMAIL PROTECTED] writes: The WikiFormatting doesn't seem to explain how to link to headings. Do you have any idea how to link to aheading? I know how to link to a page: I don't know how to link to aheading(== MyHeading ==). It is explained but not all that explicitly. See the following pages in the default wiki pages. WikiPageNames WikiFormatting#using-explicit-id-in-heading So, it's just a # followed by theheading, stripped of all spaces. If you hover near the end of aheading(in the preview or final page), the link should be shown by your browser somewhere. Hope this helps, -- Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Default location of trac.ini
Emmanuel Blot [EMAIL PROTECTED] writes: There is no default path for trac.ini trac.ini is located in the conf/ directory of any Trac project. As a trac project may be created in any location, there is no such default path. True, but also note that at least Debian provides support for a system-wide trac.ini in /etc/trac/. Each Trac project's own trac.ini is processed after this files, overwriting whatever settings are in the system-wide file. Please avoid posting/cross-posting several emails with the same content or private messages: it does not help. Seconded. -- Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Linking To Headings
ResumeWriter [EMAIL PROTECTED] writes: The WikiFormatting doesn't seem to explain how to link to headings. Do you have any idea how to link to a heading? I know how to link to a page: I don't know how to link to a heading (== MyHeading ==). It is explained but not all that explicitly. See the following pages in the default wiki pages. WikiPageNames WikiFormatting#using-explicit-id-in-heading So, it's just a # followed by the heading, stripped of all spaces. If you hover near the end of a heading (in the preview or final page), the link should be shown by your browser somewhere. Hope this helps, -- Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Clearing Sample Data
Eric Anderson [EMAIL PROTECTED] writes: When setting up a new trac environment it comes with a bunch of sample data. It seems to be 4 milestones and the Trac manual. Is there anyway I can get it to not do this? Right now I am manually deleting each wiki page but that is time consuming. I am hoping to setup a trac environment for each project I work on and really don't want to do this on every project. I can live with the milestones but the wiki is a pain. You may also want to take a look at: http://www.trac-hacks.org/wiki/SiteWikiDefaultPlugin The part that irks me most about the default wiki, apart for a lack of separation between user and admin oriented stuff already mentioned, is the fact that you end up with a copy for every Trac environment you set up. I'd like to be able to centralize the current wiki-default in a single environment and have all my other environments point there. It looks like this shouldn't be too hard using InterTrac prefixes but I haven't gotten around to trying it out. # So many ideas, so little time. The advantage of a (site) central wiki-default is that (site specific) changes to the TracGuide can be made in a single location. Hope this helps, -- Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: latex viewer
Kurt [EMAIL PROTECTED] writes: I have latex documents in my svn repo but I'd like to be able to download them as a pdf and not just view them with syntax highlighting. Is there such a plugin? Did your homework for you ;-) http://www.trac-hacks.org/wiki/Trac2LatexPlugin Hope this helps, -- Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: latex viewer
Olaf Meeuwissen [EMAIL PROTECTED] writes: Kurt [EMAIL PROTECTED] writes: I have latex documents in my svn repo but I'd like to be able to download them as a pdf and not just view them with syntax highlighting. Is there such a plugin? Did your homework for you ;-) http://www.trac-hacks.org/wiki/Trac2LatexPlugin Oops! This is for converting Wiki pages to LaTeX/PDF and you're talking about file in an SVN repository. Hope this helps, I guess it didn't, but maybe it's a good starting point. -- Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---