trac

Django + trac-wiki to html markdown 'SafeText' object has no attribute 'get'

拈花ヽ惹草 提交于 2019-12-13 04:41:46
问题 I am trying to render trac wiki markdown format as html for display on my website. I tried following this other SO question 'how do i use trac wiki formatting', but the code snippet returns an error when I run it. It should be noted that the question and code are nearly 4 years old. Any idea how I can get this to work? In my urls.py i simply call the tracwiki (from the snippet) view. # urls.py url(r'^$', 'tracwiki', name='index'), # views.py """ Usage: {% load tracwiki %} {{ object.body

How checkout source from Scala Trac?

情到浓时终转凉″ 提交于 2019-12-12 06:23:09
问题 This is ridiculous. I am trying to download some code from scala trac: http://lampsvn.epfl.ch/trac/scala/browser/scala-tool-support/trunk/src/vim How in the world do I find out which version control tool is used (SVN or git etc...) and what url to use to checkout/clone it? PS: Great - it also doesn't download the original file - unless I click on the tiny "Original file" link at the bottom. 回答1: Is there a reason to not use the official Github repo? You can download it with git clone https:/

Integrating SVN with Trac - dll load failed

心不动则不痛 提交于 2019-12-12 02:25:56
问题 I have a Wandisco SVN server installed using :WANdiscoSubversion_1.7.8-2.exe from Wandisco site on a Windows 2008 R2 server. I am using Python 2.7.5 (32 bit) and Trac 1.0.1 on the above mentioned server. I need to get SVN integrated with Trac for bug tracking purposes within my project. While working on this, I installed the svn python bindings from : http://sourceforge.net/projects/win32svn/files/1.7.8/apache22/svn-win32-1.7.8_py27.zip I unzipped this folder and copied the libsvn and svn

Trac remote ticket plugin

别说谁变了你拦得住时间么 提交于 2019-12-12 02:02:46
问题 I'm trying to use Trac Remote Ticket plugin and I want to link one or more tickets of project B to the tickets of project A (physically hosted on the same machine with trac multi-projects) with a 1-several relationship between A and B. I configured the project A in this way: [components] tracremoteticket.api.remoteticketsystem = enabled tracremoteticket.links.remotelinksprovider = enabled tracremoteticket.web_ui.remoteticketmodule = enabled I configured the project B in this way: [components]

Trac Single Signon not working as mentioned in the cookbook

时间秒杀一切 提交于 2019-12-11 12:18:08
问题 I am using Trac 0.12.3 in a multi project setup with subversion and am using AccountManagerPlugin from the trunk. The default index page enlists all the project directories and clicking on any of them takes me to the trac page for that project. When I try to login, I am successfully authenticated, however, coming to another project needs me to log in again. I wanted to use single sign on and followed the steps mentioned at http://trac-hacks.org/wiki/CookBook/AccountManagerPluginConfiguration

How to define parent and subpages in Trac?

北战南征 提交于 2019-12-11 09:37:46
问题 I know the Confluence wiki pretty well, and I like much the natural hierarchy of pages you get there. I have to use now a Trac wiki (which is not that bad, same root as MoinMoin), and am searching the feature here. What I want to reach: Edit the page "MyPage" and enter there the link to a page you want to be a subpage, eg. MySubPage . The link should be similar to /MySubPage or [/MySubPage] . The character "/" denotes that the resulting page should be a subpage of the current one. Follow the

Referencing javascript from trac wiki

本小妞迷上赌 提交于 2019-12-11 07:03:27
问题 I have a problem running javascripts from trac. I know there are security issues around this, but my trac installation is only used as an intranet. I have got the following code to work (requires setting rendering_unsafe_content = true under [wiki] in trac.ini): {{{ #!html <script type="text/javascript" > document.write("This is a test") </script> }}} However, replacing this with the javascript in a seperate file will fail: {{{ #!html <script type="text/javascript" src="/tracproject/htdocs

Download the project from Trac?

故事扮演 提交于 2019-12-11 06:24:00
问题 I want to download this project: http://trac.sitecore.net/AdvancedDatabaseCrawler/browser/Branches/v2/ How should I download the whole project? 回答1: If you go up a couple levels (I just removed parts from the URL until it worked), you get this: The project code and documentation has been moved to the following location: ​https://github.com/sitecorian/SitecoreSearchContrib The codebase will not be maintained here any longer. So, go to the new URL on GitHub and grab the git URL (git://github

What does “sdl6” in an RPM package name refer to? [closed]

Deadly 提交于 2019-12-11 05:49:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . The specific package I'm referring to is trac-1.0.1-1.sdl6.noarch.rpm. According to this page: http://www.rpm.org/max-rpm/ch-rpm-file-format.html it seems to be part of the package release version. The fact that "sdl" does not appear in my /usr/lib/rpm/rpmrc file also suggests that it's not related to the

How do you fix a Trac installation that begins giving errors relating to PYTHON_EGG_CACHE?

为君一笑 提交于 2019-12-11 05:34:09
问题 We've been using Trac for task/defect tracking and things were going well enough, but this morning it started serving up a 500 error. Looking in the Apache error_log, I get a stack trace that culminates in: PythonHandler trac.web.modpython_frontend: ExtractionError: Can't extract file(s) to egg cache The following error occurred while trying to extract file(s) to the Python egg cache: [Errno 13] Permission denied: '/.python-eggs' The Python egg cache directory is currently set to: /.python