[Rest2web-develop] Installation instructions not correct
Brought to you by:
mjfoord
From: Grzegorz A. H. <gr...@ti...> - 2006-08-27 16:32:19
|
Hi. In the installing section I read "The files in the 'modules' folder are used by macros. They will also need to be somewhere on sys.path (e.g. in 'site-packages'.) Alternatively, if the modules directory is in the same directory as 'r2w.py' when you run it, it will automatically be added to the path.". I understand that means I can call r2w from anywhere as long as the modules directory is there too. But it doesn't work: [~/t]$ python ../instalacion_manual/rest2web-dist-201/r2w.py rest2web version 0.5.0 beta1 Running rest2web the Site Builder. Sun Aug 27 18:25:18 2006 Traceback (most recent call last): [err] File "../instalacion_manual/rest2web-dist-201/r2w.py", line 185, in ? [err] count = main(options, config) [err] File "../instalacion_manual/rest2web-dist-201/r2w.py", line 94, in main [err] return processor.walk() [err] File "/home/gradha/instalacion_manual/rest2web-dist-201/rest2web/restprocessor.py", line 246, in walk [err] self.setmacros(self.macrofile) [err] File "/home/gradha/instalacion_manual/rest2web-dist-201/rest2web/restprocessor.py", line 193, in setmacros [err] raise RuntimeError('macros file can\'t be found "%s".' % macrofile) [err] RuntimeError: macros file can't be found "macros.py". [err] Hit return to continue >>> [~/t]$ ls ../instalacion_manual/rest2web-dist-201/modules/ colorize.py colorize.pyc path.py path.pyc smiley.py smiley.pyc [~/t]$ ls ../instalacion_manual/rest2web-dist-201/macros.py ../instalacion_manual/rest2web-dist-201/macros.py |