Changes between Version 35 and Version 36 of TracDownloaderPlugin


Ignore:
Timestamp:
Mar 1, 2008, 10:06:01 PM (16 years ago)
Author:
Petr Škoda
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracDownloaderPlugin

    v35 v36  
    5757The easiest way to start using Downloader plug-in is to get downloaded python egg into plugin directory of project environment (egg is most probably python version independent, just rename it, but who knows, there's still source package...), after that you must turn both modules of Downloader on in WebAdmin/plugins (Downloader is dependent on WebAdmin plug-in). And finally there is need to get some permissions of Downloader to some users... In this case if you like to use PyCaptcha, you must take care of installing it by yourself, PyCaptcha is dependent on PIL so you must download it too.
    5858
    59 '''SOURCE''' (for those who have problems with dependencies)[[BR]]
     59'''SOURCE''' - installation with PyCaptcha and Python Imaging Library (PIL) which are needed for Captcha to work[[BR]]
    6060
    6161{{{
    6262easy_install --find-links http://www.pythonware.com/products/pil/ Imaging
     63easy_install PyCaptcha
    6364easy_install http://trac-hacks.org/svn/tracdownloaderplugin/0.10/
     65
    6466}}}
    6567
    6668
    67 Second and maybe better way is to download and unpack somewhere source zip package and then just run "setup.py install". Setup should take care of all dependences (PyCaptcha and PIL but it could get some errors while dowloading them so if automatic dependency resolution doesn't work use code above) and prepare plugin to be turned on in WebAdmin/plugins. Then you must assign some permissions of downloader to someone and you can start trying Downloader plug-in...
     69'''Second and maybe better way''' is to download and unpack somewhere source zip package and then just run "setup.py install" (or on windows maybe better "python setup.py install") or you can just use easy_install commands written above. ~~Setup should take care of all dependences (PyCaptcha and PIL but it could get some errors while dowloading them so if automatic dependency resolution doesn't work use code above) and prepare plugin to be turned on in WebAdmin/plugins.~~ Setup just installs TracDownloaderPlugin. If you like to use Captcha tests you have to install PIL and PyCaptcha manually either (note that PIL is in most ''Linux distributions'' package named '''python-imaging''' so you don't need to install it by easy install but you can use your package manager). Then you must enable both Downloader modules in TracAdmin/Plugins (or enable Downoader components in your envronment's ini file - source bottom) and assign some permissions of downloader to someone and you can start trying Downloader plug-in...
     70{{{
     71[components]
     72tracdownloader.admin.downloaderadminpage = enabled
     73tracdownloader.web_ui.downloadermodule = enabled
     74
     75}}}
    6876
    6977After steps above and clicking to any part of Downloader you should be asked about location of directory to store uploaded files. When it is set up, you must Submit that form two times and there can occur exception "!DatabaseError: database schema has changed". If this exception is thrown, it's best to restart your http server.