Ticket #6243 (new task)

Opened 3 years ago

Last modified 4 months ago

Switch from ClearSilver to Genshi

Reported by: anonymous Assigned to: rjollos
Priority: high Component: TracWikiToPdfPlugin
Severity: blocker Keywords:
Cc: omega_canta@yahoo.com Trac Release: 0.11

Description

You're using a plugin which requires the Clearsilver template engine and Clearsilver is not installed. Either disable that plugin or install Clearsilver.

With Trac0.11 and Python2.6, I don't install clearsilver anymore. The Trac community recommends to switch to genshi.

http://trac.edgewall.org/wiki/ClearSilver

Attachments

Change History

01/20/11 10:42:49 changed by rjollos

I'd suggest taking a look at the TracWikiPrintPlugin. We may want to deprecate this plugin in favor of that one.

02/08/12 10:07:53 changed by rjollos

  • owner changed from diorgenes to rjollos.

02/08/12 10:49:24 changed by rjollos

(In [11262]) Refs #6243:

  • Replaced some deprecated calls to the Trac API.
  • Cleaned up imports.
  • Fixed incorrect indentation.

04/11/12 06:19:08 changed by rjollos

04/11/12 06:48:33 changed by rjollos

(In [11469]) Refs #6243:

  • Fixed indentation.
  • Removed un-needed imports.

04/11/12 08:43:29 changed by rjollos

(In [11472]) Refs #6243:

  • Fixed indentation.

04/11/12 09:27:07 changed by rjollos

(In [11474]) Refs #6243: Tagged trunk with dev.

(follow-up: ↓ 12 ) 04/19/12 15:11:37 changed by ChrisNelson

At least list ClearSilver as a requirement and provide some guidance on how to get it working. Neither the ClearSilver page not EdgeWall's mention of it says much more than "download it".

04/20/12 06:07:50 changed by rjollos

(In [11507]) Refs #4043, #6243:

  • Removed some needed imports in [11469].
  • When wiki page is created from the Admin panel, the page variables in not passed as a argument in the request. We'll have to find some other way to get it.

10/17/12 23:35:51 changed by rjollos

  • type changed from defect to task.

#10491 closed as a duplicate.

01/28/13 22:10:14 changed by rjollos

  • cc set to omega_canta@yahoo.com.

#10836 closed as a duplicate.

(in reply to: ↑ 8 ) 01/30/13 17:47:34 changed by omega_canta@yahoo.com

Replying to ChrisNelson:

At least list ClearSilver as a requirement and provide some guidance on how to get it working. Neither the ClearSilver page not EdgeWall's mention of it says much more than "download it".

+1.

On Debian:

$> apt-get install python-clearsilver

That runs OK, but makes no changes on Trac's behaviour. So, i did this other thing:

$> easy_install clearsilver
install_dir /usr/local/lib/python2.6/dist-packages/
Searching for clearsilver
Reading pypi.python.org/simple/clearsilver/
Reading clearsilver.net/
Best match: clearsilver 0.10.1
Downloading willowmail.com/clearsilver/clearsilver-0.10.1.tar.gz
Processing clearsilver-0.10.1.tar.gz
Running clearsilver-0.10.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-pOGq5v/clearsilver-0.10.1/egg-dist-tmp-3Mo_ZO
sh: configure: not found
sh: make: not found
error: clearsilver/rules.mk: No such file or directory

$>

Then, this other command:

$> pip install clearsilver
Downloading/unpacking clearsilver
  Downloading clearsilver-0.10.1.tar.gz (436Kb): 436Kb downloaded
  Running setup.py egg_info for package clearsilver
    sh: configure: not found
    sh: make: not found
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/root/build/clearsilver/setup.py", line 29, in <module>
        rules = open("clearsilver/rules.mk").read()
    IOError: [Errno 2] No such file or directory: 'clearsilver/rules.mk'
    Complete output from command python setup.py egg_info:
    sh: configure: not found

sh: make: not found

Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/root/build/clearsilver/setup.py", line 29, in <module>

    rules = open("clearsilver/rules.mk").read()

IOError: [Errno 2] No such file or directory: 'clearsilver/rules.mk'

Will post here any update. NOTE: edited some URLs because trac-hacks didn't let me post the raw log saying that, as it had some URLs, it could be spam.


Add/Change #6243 (Switch from ClearSilver to Genshi)




Change Properties
Action