[Trac] Re: [trac-hacks] zip download permissions
We have yet to be able to track down the cause of this. There is a metadata field in the zip file header that we are setting for all files, but certain zip programs seem to ignore this and probably use some other field which we don't set (and so is 0). If you want to do an unzip, set perms, rezip and then try to compare the header data on both files it would surely help track down what we need to set to make them work. --Noah On Mar 24, 2009, at 2:09 AM, jh...@gmx.de wrote: Hi, as of new downloading plugins from trac-hacks.org invariably results in zip archives with unusable permissions for me. E.g. $ ls -l /tmp/autocompleteusersplugin/0.11/ total 1 drwxr-xr-x 3 pytaf pytaf 96 2009-03-24 09:38 autocompleteusers/ -- 1 pytaf pytaf 667 2008-12-22 17:40 setup.py This behaviour started some time ago, I did not experience such problems before. Maybe when trac-hacks moved to the new server? I also filed a ticket in the trac-hacks bug tracker: http://trac-hacks.org/ticket/4724 Anyone else having such problems, or is there some evil firewall or whatnot hackery in place that mysteriously strips down permissions? But I don't see such problems when downloading stuff from pypi... Holger --~--~-~--~~~---~--~~ 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: a url problem in CustomNavigationEntries, in 0.12dev
Hi Bill wrote: It's OK in Trac0.11.3, but not OK in Trac 0.12dev-r7953, how to fix it ? There's a patch for 0.11-stable (but it should apply to trunk as well) on: http://trac.edgewall.org/ticket/8153 Sorry for the inconvenience. -- Remy signature.asc Description: OpenPGP digital signature
[Trac] Navigation bar for multiple projects
Hi, I'm using a standalone tracd which is happily serving three project envs. What I'm now searching for is a way (plugin?) to add a navigation bar with fixed links to all projects. What I have in mind is the navigation bar on http://trac.edgewall.org http://trac.edgewall.org/ (Home Trac Genshi ... ) Is this a plugin? If so, which? Thanks in advance, Marko --~--~-~--~~~---~--~~ 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] Disable RSS in Trac
I have done a search for disabling the RSS feed links in Trac (google group, yahoo, trac.edgewall.org), but have come up empty-handed. Can someone please tell me the trac.ini config value for disabling them? As a sidenote, can someone also verify for me that the RSS feeds have the same access restrictions as the pages they provide information from? 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] TracNav Plugin Installation
Hi, I'm new to Trac and tried to install the TracNav plugin (probably also succeeded partially). When I try to use it, I get the following Error: Error: Macro TracNav(ToC) failed 'unicode' object has no attribute 'partition' So far I created a wiki Page called ToC that includes the index. Can anybody give me a hint on that? 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: Edit page needs refresh
On Tue, Mar 24, 2009 at 10:43 AM, RobinP robin.pell...@gmail.com wrote: Hi Folks, My problem is that whenever I perform some sort of edit, the page needs to be refreshed before I see the effect. Perhaps this is because of the browser cache policies ... Did you already try to access the site using different browsers ? Sometimes things like this happen to me using M$ IE (... for testing purposes of course ;), Mozilla Firefox and Opera ... The later is the one that's been giving me less headaches these days ;) -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: --~--~-~--~~~---~--~~ 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: TracNav Plugin Installation
Hi, meanwhile I read some articles and turned on logging in trac, so I got the following messages: Traceback (most recent call last): File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/ wiki/formatter.py, line 470, in _macro_formatter return macro.process(args, in_paragraph=True) File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/ wiki/formatter.py, line 180, in process text = self.processor(text) File /usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/ wiki/formatter.py, line 167, in _macro_processor text) File build/bdist.linux-i686/egg/tracnav/tracnav.py, line 281, in expand_macro File build/bdist.linux-i686/egg/tracnav/tracnav.py, line 129, in __init__ File build/bdist.linux-i686/egg/tracnav/tracnav.py, line 129, in lambda AttributeError: 'unicode' object has no attribute 'partition' To provide mor information: I use Trac 0.11.2.1 and 2.4.3 to install TracNav I used setup tools with easy_install command. On 25 Mrz., 00:10, sunny063 sunny...@googlemail.com wrote: Hi, I'm new to Trac and tried to install the TracNav plugin (probably also succeeded partially). When I try to use it, I get the following Error: Error: Macro TracNav(ToC) failed 'unicode' object has no attribute 'partition' So far I created a wiki Page called ToC that includes the index. Can anybody give me a hint on that? 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: TracNav Plugin Installation
2009/3/25 sunny063 sunny...@googlemail.com: meanwhile I read some articles and turned on logging in trac, so I got the following messages: [...] AttributeError: 'unicode' object has no attribute 'partition' Yes, that's a known issue with TracNav 4.1 and Python 2.4. Use easy_install TracNav==dev, the trunk version contains a fix. - Thomas -- Thomas Moschny thomas.mosc...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Disable RSS in Trac
I know of no such system. You could make a plugin that does it or you could do some voodoo with mod_rewrite to block format=rss. Really not sure what that would accomplish though, seeing as people could still scrape the web UI for the same data. --Noah -Original Message- From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of ecoagora.com Sent: Tuesday, March 24, 2009 11:46 AM To: Trac Users Subject: [Trac] Disable RSS in Trac I have done a search for disabling the RSS feed links in Trac (google group, yahoo, trac.edgewall.org), but have come up empty-handed. Can someone please tell me the trac.ini config value for disabling them? As a sidenote, can someone also verify for me that the RSS feeds have the same access restrictions as the pages they provide information from? 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] Whitespaces in Trac 0.11.3
Hello, I have installed Trac for the first time and am starting to get my project setup in it and I have a question about whitespace. Whenever is tried to set up a component, milestone, ticket type, etc. with a space in the name I get an error like this when I then try to click on the new component for example: Component asdf%20asdf does not exist. This occurs when click on the component in the list of components. I've searched the FAQ, this group and looked through some of the trac tickets. Can white space be used in the names of these items? Thanks, --lance --~--~-~--~~~---~--~~ 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: Navigation bar for multiple projects
It is just a modification in site.html, if you want something more dynamic-y look at the ProjectMenu plugin. Not quite as slick graphically though. --Noah From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of Marko Mocnik Sent: Tuesday, March 24, 2009 8:58 AM To: trac-users@googlegroups.com Subject: [Trac] Navigation bar for multiple projects Hi, I'm using a standalone tracd which is happily serving three project envs. What I'm now searching for is a way (plugin?) to add a navigation bar with fixed links to all projects. What I have in mind is the navigation bar on http://trac.edgewall.org http://trac.edgewall.org/ (Home Trac Genshi . ) Is this a plugin? If so, which? Thanks in advance, Marko --~--~-~--~~~---~--~~ 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: Edit page needs refresh
Thx for that, it seems to be working now and I'm not quite sure what I did to fix it. I think it was something to do with the fact that my SSPI wasn't quite working properly, because that's the only thing I've been fiddling with. For the record, here's my new httpd.conf section (noticed I switched off Basic athentication): #= # Trac Setup #= Location /trac # # Trac with mod_python # SetHandler mod_python PythonInterpreter main_interpreter PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir E:/TRAC_ENV PythonOption TracUriRoot /trac # # Authentication # # use and enable SSPI authentication AuthType SSPI SSPIAuth On # authentication realm AuthName Trac # do not allow any other form of authentication for Trac SSPIAuthoritative On # only authenticate users in this domain SSPIDomain PRODUCTION # do not pass domain to Trac as part of login name SSPIOmitDomain On # do not allow basic authentication if SSPI fails SSPIOfferBasic Off # make username lowercase when passing to Trac SSPIUsernameCase lower # user must be authenticated Require valid-user /Location --~--~-~--~~~---~--~~ 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-hacks] zip download permissions
Hi, On 25 Mrz., 07:54, Noah Kantrowitz n...@coderanger.net wrote: We have yet to be able to track down the cause of this. There is a metadata field in the zip file header that we are setting for all files, but certain zip programs seem to ignore this and probably use some other field which we don't set (and so is 0). If you want to do an unzip, set perms, rezip and then try to compare the header data on both files it would surely help track down what we need to set to make them work. Downloaded, modified the permissions rezipped the includemacro, as an example. Unfortunately, I have no idea at all about zip file format(s) or how to output the header. That said, playing with python zipinfo I suspect the information held in external_attr is the villain; it is always 0 in the downloaded archive but has a value in the re- zipped one - whatever the value means... $ python2.4 -i -c 'import zipfile; z_downloaded = zipfile.ZipFile (includemacro-r5399.zip); z_rezipped = zipfile.ZipFile (includemacro.zip)' for name in z_downloaded.namelist(): ... print '\n', name ... print *** downloaded, pformat(z_downloaded.getinfo (name).__dict__) ... print +++ re-zipped, pformat(z_rezipped.getinfo (name).__dict__) ... includemacro/0.11/includemacro/__init__.py *** downloaded {'CRC': 0, 'comment': '', 'compress_size': 2L, 'compress_type': 8, 'create_system': 3, 'create_version': 20, 'date_time': (2007, 1, 9, 7, 15, 14), 'external_attr': 0L, 'extra': '', 'extract_version': 20, 'file_offset': 72L, 'file_size': 0L, 'filename': 'includemacro/0.11/includemacro/__init__.py', 'flag_bits': 0, 'header_offset': 0L, 'internal_attr': 0, 'orig_filename': 'includemacro/0.11/includemacro/__init__.py', 'reserved': 0, 'volume': 0} +++ re-zipped {'CRC': 0, 'comment': '', 'compress_size': 0L, 'compress_type': 0, 'create_system': 3, 'create_version': 23, 'date_time': (2007, 1, 9, 7, 15, 14), 'external_attr': 2175008768L, 'extra': 'UT\x05\x00\x03\xf22\xa3EUx\x00\x00', 'extract_version': 10, 'file_offset': 308L, 'file_size': 0L, 'filename': 'includemacro/0.11/includemacro/__init__.py', 'flag_bits': 0, 'header_offset': 215L, 'internal_attr': 0, 'orig_filename': 'includemacro/0.11/includemacro/__init__.py', 'reserved': 0, 'volume': 0} includemacro/0.11/includemacro/macros.py *** downloaded {'CRC': 1468807806, 'comment': '', 'compress_size': 1478L, 'compress_type': 8, 'create_system': 3, 'create_version': 20, 'date_time': (2008, 5, 6, 7, 52, 52), 'external_attr': 0L, 'extra': '', 'extract_version': 20, 'file_offset': 144L, 'file_size': 4230L, 'filename': 'includemacro/0.11/includemacro/macros.py', 'flag_bits': 0, 'header_offset': 74L, 'internal_attr': 0, 'orig_filename': 'includemacro/0.11/includemacro/macros.py', 'reserved': 0, 'volume': 0} +++ re-zipped {'CRC': 1468807806, 'comment': '', 'compress_size': 1478L, 'compress_type': 8, 'create_system': 3, 'create_version': 23, 'date_time': (2008, 5, 6, 7, 52, 52), 'external_attr': 2175008768L, 'extra': 'UT\x05\x00\x034\xf2\x1fHUx\x00\x00', 'extract_version': 20, 'file_offset': 399L, 'file_size': 4230L, 'filename': 'includemacro/0.11/includemacro/macros.py', 'flag_bits': 0, 'header_offset': 308L, 'internal_attr': 1, 'orig_filename': 'includemacro/0.11/includemacro/macros.py', 'reserved': 0, 'volume': 0} includemacro/0.11/setup.py *** downloaded {'CRC': -555718993, 'comment': '', 'compress_size': 446L, 'compress_type': 8, 'create_system': 3, 'create_version': 20, 'date_time': (2008, 5, 6, 7, 52, 52), 'external_attr': 0L, 'extra': '', 'extract_version': 20, 'file_offset': 1678L, 'file_size': 794L, 'filename': 'includemacro/0.11/setup.py', 'flag_bits': 0, 'header_offset': 1622L, 'internal_attr': 0, 'orig_filename': 'includemacro/0.11/setup.py', 'reserved': 0, 'volume': 0} +++ re-zipped {'CRC': -555718993, 'comment': '', 'compress_size': 446L, 'compress_type': 8, 'create_system': 3, 'create_version': 23, 'date_time': (2008, 5, 6, 7, 52, 52), 'external_attr': 2175008768L, 'extra': 'UT\x05\x00\x034\xf2\x1fHUx\x00\x00', 'extract_version': 20, 'file_offset': 1954L, 'file_size': 794L, 'filename': 'includemacro/0.11/setup.py', 'flag_bits': 0, 'header_offset': 1877L, 'internal_attr': 1, 'orig_filename': 'includemacro/0.11/setup.py', 'reserved': 0, 'volume': 0} includemacro/0.11/README *** downloaded {'CRC': -1243724499, 'comment': '', 'compress_size': 707L, 'compress_type': 8, 'create_system': 3, 'create_version': 20, 'date_time': (2008, 5, 17, 18, 25, 14), 'external_attr': 0L, 'extra': '', 'extract_version': 20, 'file_offset': 2178L, 'file_size': 1304L, 'filename': 'includemacro/0.11/README', 'flag_bits': 0, 'header_offset': 2124L, 'internal_attr': 0, 'orig_filename': 'includemacro/0.11/README', 'reserved': 0, 'volume': 0} +++ re-zipped {'CRC': -1243724499, 'comment': '', 'compress_size': 707L, 'compress_type': 8, 'create_system': 3,
[Trac] Trac 0.11.4rc2 Released
Trac 0.11.4rc2 (Release Candidate 2) This release candidate addresses one regression found in rc1. Trac 0.11.4 (final) is scheduled for release on Monday, 03/30. You will find this release at the usual place: http://trac.edgewall.org/wiki/TracDownload Bugs fixed in this release -- * Custom mainnav links regression (#8153) You can find a more detailed release note at: http://trac.edgewall.org/wiki/TracDev/ReleaseNotes/0.11 Acknowledgements Many thanks to the growing number of people who have, and continue to, support the project. Also our thanks to all people providing feedback and bug reports that helps us make Trac better, easier to use and more effective. Without your invaluable help, Trac would not evolve. Thank you all. Finally, we offer hope that Trac will prove itself useful to like- minded programmers around the world, and that this release will prove an improvement over the last version. Please let us know. :-) /The Trac Team http://trac.edgewall.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 trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: http://trac-hacks.org/wiki/TracWikiToPdfPlugin : Images won't find their way to the PDF
Hi Olemis, Is there a chance to get that WikiToPdf-Macro fixed? I stuck here and don't know how to come out, please help. Thx Ice On Mar 13, 1:23 pm, Olemis Lang ole...@gmail.com wrote: On Thu, Mar 12, 2009 at 6:23 PM, ice.po...@gmail.com wrote: Hello, Hi there ... as i said last time. It's not working proper with PythonOption TracUriRoot /trac/wiki. @Olemis: you are right, PythonOption TracUriRoot /trac is it that must be. But that way the Macro [[Image(wiki:filename)]] cannot be transformed into PDF by theWikiToPDF-Plugin. I insepcted Trac's macro.py but can't figure out what to change to make the Macro [[Image(filename)]] with theWikiToPDFworking as mentioned. Also i tried to have a alook at theWikiToPDF-Plugin to find a way to fix this path-a-magic. Ok ... Let's see what I can do ... ;) Sorry to bother you again. That's what we are here for ... ;) -- Regards, Olemis. Blog ES:http://simelo-es.blogspot.com/ Blog EN:http://simelo-en.blogspot.com/ Featured article: Click y al Sur : Amanecer feliz ... --~--~-~--~~~---~--~~ 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: SubWikiPages
On Mar 20, 4:31 pm, Remy Blank remy.bl...@pobox.com wrote: Christian Boos wrote: Yes, but as I understood it, the question was about how to create links to /sub/-pages. Perhaps the choice of page names in the above example is not the best one, as I got myself confused initially... Yes, I did misunderstand the question. So to reformulate, in TopicOne/SectionOne page, how should one write a link to SubSectionOneOne in order to get the TopicOne/SectionOne/SubSectionOneOne page? Writing [./SubSectionOneOne] would work, but with the cosmetic issues I mentioned. I'd be in favor of having [./SubSectionOneOne] be rendered as SubSectionOneOne. I find the current ./SubSectionOneOne ugly. What about [../SiblingSection]? Should that also be rendered as SiblingSection, or would this be confusing? -- Remy signature.asc 1KViewDownload (Keeping in mind I don't know the implementation implications) What if it searched for PageLink in this order? CurrentPage/PageLink (subpage) ParentPage/PageLink (sibling page) wiki/PageLink Would that slow it down too much? I'd also vote for hiding leading ./ and ../ for page links. FWIW - jevans --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---