Re: [Gimp-developer] Need help with Python on GIMP 2.8 for bug fixing

On 08/02/2013 08:33 PM, bart neeneenee de wrote:

Dear GIMP devs,

i'm the author of "CMYK Tiff 2 PDF" which is an addon for GIMP and the Seperate+ plugin.
My script is part of the plugin registry too.

But it seems it doesn't show up in GIMP 2.8./ Ubuntu.

I changed the pythin script registration to:

    "CMYK Tiff 2 PDF",
"CMYK Tiff 2 PDF 20130802\nCreating a CMYK PDF for prepress from a CMYK Tiff image.",
    "Eckhard M. Jaeger,";,
    "GPL V2 License",
        (PF_FILENAME,    "this_file1", _("CMYK Tiff Images"), ""),
        (PF_FILENAME,    "this_file2", _(" "), ""),
(PF_RADIO, "this_compress", _("Compression"), "0", (("JPEG 95% Quality","0"), ("Zip Full Quality","2"), ("No Compression","4"))), (PF_SPINNER, "this_dpi", _("Resolution (dpi)"), 300, (0,2400,50)), (PF_TOGGLE, "delete_files", _("Delete Images\nafter PDF creation"), False), (PF_TOGGLE, "start_viewer", _("Start PDF Viewer\nafter export"), True),
    domain=("gimp20-python", gimp.locale_directory),

But i didn't get it running.

Any help or idea?


 File "/home/me/.gimp-2.8/plug-ins/", line 17, in <module>
    (PF_FILENAME,    "this_file1", _("CMYK Tiff Images"), ""),
NameError: name '_' is not defined

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]