comictagger/scripts
Alban Seurat 184dbf0684 Prevent error when running the script
Script raised an unhandled exception:  coercing to Unicode: need string or buffer, NoneType found
Traceback (most recent call last):
  File "/root/comictagger/comictaggerlib/options.py", line 233, in launch_script
    script.main()
  File "scripts/move2folder.py", line 80, in main
    ca = ComicArchive(filename, settings.rar_exe_path)
  File "/root/comictagger/comicapi/comicarchive.py", line 648, in __init__
    with open(fname, 'rb') as fd:
TypeError: coercing to Unicode: need string or buffer, NoneType found
2015-03-21 14:17:05 +01:00
..
find_dupes.py Huge code cleanup 2015-02-22 03:30:32 +01:00
inventory.py Huge code cleanup 2015-02-22 03:30:32 +01:00
make_links.py Huge code cleanup 2015-02-22 03:30:32 +01:00
move2folder.py Prevent error when running the script 2015-03-21 14:17:05 +01:00
name_fixer.py Huge code cleanup 2015-02-22 03:30:32 +01:00
README.txt Huge code cleanup 2015-02-22 03:30:32 +01:00
remove_ads.py Huge code cleanup 2015-02-22 03:30:32 +01:00
shrink.py Huge code cleanup 2015-02-22 03:30:32 +01:00
validate_cover.py Huge code cleanup 2015-02-22 03:30:32 +01:00
xforms removed extra line 2013-04-22 02:37:13 +00:00

This folder contains a set of example scripts that be used to extend the
capabilities of the ComicTagger app.  They can be run either directly through
the python interpreter, or via the ComicTagger app.

To run via python directly, install ComicTagger source on your system using
the setup.py file.

To run via the ComicTagger app, invoke:

$ comictagger.py -S script.py [script args]

(This will work also for binary distributions on Mac and Windows.  No need for
an extra python install.)

The script must have an entry point function called "main()" to be invoked
via the app.

-----------------------------------------------------------------------------

This feature is UNSUPPORTED, and is for the convenience of development-minded
users of ComicTagger.  The comictaggerlib module will remain largely
undocumented, and it will be up to the crafty script developer to look through
the code to discern APIs and such.

That said, if there are questions, please post in the forums, and hopefully we
can get your add-on scripts working!

http://comictagger.forumotion.com/