Changes between Version 8 and Version 9 of BittenRecipesExtractorScript
- Timestamp:
- Jul 31, 2012, 8:18:45 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BittenRecipesExtractorScript
v8 v9 22 22 Also, on some of my clusters that I work with, multiple version of python can exist. Meaning, if you receive errors like: 23 23 {{{ 24 #!sh 24 25 ImportError: No module named trac.env 25 26 }}} 26 27 You need to adjust your PATH environment to include the path to which ever python version was used to install and run Trac: 27 28 {{{ 29 #!sh 28 30 export PATH=/usr/local/python2.7/bin:$PATH 29 31 }}} 30 32 ^Note: This, being the one reason I do not include the common #!/usr/bin/python interrupter header in my scripts.^[[BR]][[BR]] 31 32 33 33 34 == Download == … … 46 47 Each 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: 47 48 {{{ 49 #!sh 48 50 trac-admin /some/trac/environment 49 51 }}} 50 52 To be absolutely clear on this, and to add additional text spam to this site: 51 53 {{{ 54 #!sh 52 55 sudo python recipe_get.py /some/trac/environment 53 56 }}} 54 57 and: 55 58 {{{ 59 #!sh 56 60 sudo python recipe_put.py /some/trac/environment 57 61 }}}