Changes between Version 8 and Version 9 of BittenRecipesExtractorScript


Ignore:
Timestamp:
Jul 31, 2012, 8:18:45 PM (12 years ago)
Author:
Ryan J Ollos
Comment:

Added Syntax highlighting.

Legend:

Unmodified
Added
Removed
Modified
  • BittenRecipesExtractorScript

    v8 v9  
    2222Also, on some of my clusters that I work with, multiple version of python can exist. Meaning, if you receive errors like:
    2323{{{
     24#!sh
    2425ImportError: No module named trac.env
    2526}}}
    2627You need to adjust your PATH environment to include the path to which ever python version was used to install and run Trac:
    2728{{{
     29#!sh
    2830export PATH=/usr/local/python2.7/bin:$PATH
    2931}}}
    3032^Note: This, being the one reason I do not include the common #!/usr/bin/python interrupter header in my scripts.^[[BR]][[BR]]
    31 
    3233
    3334== Download ==
     
    4647Each python script uses the same single argument. The only argument that is needed, is the path to your Trac environment. Which is exactly what is necessary when ever you run:
    4748{{{
     49#!sh
    4850trac-admin /some/trac/environment
    4951}}}
    5052To be absolutely clear on this, and to add additional text spam to this site:
    5153{{{
     54#!sh
    5255sudo python recipe_get.py /some/trac/environment
    5356}}}
    5457and:
    5558{{{
     59#!sh
    5660sudo python recipe_put.py /some/trac/environment
    5761}}}