Giter Site home page Giter Site logo

Cannot generate any gallery about sigal HOT 11 CLOSED

saimn avatar saimn commented on August 16, 2024
Cannot generate any gallery

from sigal.

Comments (11)

ranskis avatar ranskis commented on August 16, 2024

Exact same issue on squeeze

from sigal.

saimn avatar saimn commented on August 16, 2024

Thanks for the report. This is an issue with the latest version of pilkit. Could you install the previous version to confirm ? (easy_install -U pilkit==1.1.1).

from sigal.

ranskis avatar ranskis commented on August 16, 2024

Hello,

That's right, sigal runs fine with that previous version

Regards,
alex

On 25 August 2013 15:32, Simon Conseil [email protected] wrote:

Thanks for the report. This is an issue with the latest version of pilkit.
Could you install the previous version to confirm ? (easy_install -U
pilkit==1.1.1).


Reply to this email directly or view it on GitHubhttps://github.com//issues/31#issuecomment-23227730
.

from sigal.

jmtrivial avatar jmtrivial commented on August 16, 2024

Here is the error with that piltk version (I tried with two directories). The sizes of my images are 3072x2304:

Traceback (most recent call last): ] 0/19
File "/usr/local/bin/sigal", line 9, in
load_entry_point('sigal==0.4.1', 'console_scripts', 'sigal')()
File "/usr/local/lib/python2.7/dist-packages/sigal-0.4.1-py2.7.egg/sigal/init.py", line 156, in main
parser.dispatch()
File "/usr/local/lib/python2.7/dist-packages/argh-0.23.3-py2.7.egg/argh/helpers.py", line 53, in dispatch
return dispatch(self, _args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/argh-0.23.3-py2.7.egg/argh/dispatching.py", line 123, in dispatch
for line in lines:
File "/usr/local/lib/python2.7/dist-packages/argh-0.23.3-py2.7.egg/argh/dispatching.py", line 199, in _execute_command
for line in result:
File "/usr/local/lib/python2.7/dist-packages/argh-0.23.3-py2.7.egg/argh/dispatching.py", line 182, in _call
result = args.function(_positional, *_keywords)
File "/usr/local/lib/python2.7/dist-packages/sigal-0.4.1-py2.7.egg/sigal/init.py", line 122, in build
gal.build()
File "/usr/local/lib/python2.7/dist-packages/sigal-0.4.1-py2.7.egg/sigal/gallery.py", line 192, in build
label_width=label_width)
File "/usr/local/lib/python2.7/dist-packages/sigal-0.4.1-py2.7.egg/sigal/gallery.py", line 227, in process_dir
process_image(f, outpath, self.settings)
File "/usr/local/lib/python2.7/dist-packages/sigal-0.4.1-py2.7.egg/sigal/gallery.py", line 252, in process_image
method=settings['img_processor'])
File "/usr/local/lib/python2.7/dist-packages/sigal-0.4.1-py2.7.egg/sigal/image.py", line 68, in generate_image
save_image(img, outname, format, options=options, autoconvert=autoconvert)
File "/usr/local/lib/python2.7/dist-packages/pilkit-1.1.1-py2.7.egg/pilkit/utils.py", line 175, in save_image
img.save(outfile, format, **options)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 1439, in save
save_handler(self, fp, filename)
File "/usr/lib/python2.7/dist-packages/PIL/JpegImagePlugin.py", line 471, in _save
ImageFile._save(im, fp, [("jpeg", (0,0)+im.size, 0, rawmode)])
File "/usr/lib/python2.7/dist-packages/PIL/ImageFile.py", line 499, in _save
s = e.encode_to_file(fh, bufsize)
OverflowError: signed integer is greater than maximum

from sigal.

saimn avatar saimn commented on August 16, 2024

I have reported the first issue with pilkit here: matthewwithanm/pilkit#8
This is already fixed in sigal's master (87cc1bb) and I hope to release a new version soon.

@jmtrivial : about the second issue, this is well-known and old bug with PIL. It should be fixed with the latest version of pilkit (1.1.3) or with Pillow 2.1.0, which is a fork of PIL (you have Pillow 2.0.0 in debian's experimental repo).

from sigal.

saimn avatar saimn commented on August 16, 2024

Should be fixed with pilkit 1.1.4

from sigal.

ranskis avatar ranskis commented on August 16, 2024

Hello,

I will try and report issues, if any.
Since your earlier recommendation I was able to try it out, it is great,
thank you for making this !

Best regards,
Alexandre

On 26 August 2013 21:29, Simon Conseil [email protected] wrote:

Should be fixed with pilkit 1.1.4


Reply to this email directly or view it on GitHubhttps://github.com//issues/31#issuecomment-23288365
.

from sigal.

saimn avatar saimn commented on August 16, 2024

@ranskis @jmtrivial can you confirm that this is fixed with the latest version of pilkit ?

from sigal.

ranskis avatar ranskis commented on August 16, 2024

Hello,

Just checked, it works fine with pilkit 1.1.4

Regards,
Alex

On 3 September 2013 00:16, Simon Conseil [email protected] wrote:

@ranskis https://github.com/ranskis @jmtrivialhttps://github.com/jmtrivialcan you confirm that this is fixed with the latest version of pilkit ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/31#issuecomment-23680335
.

from sigal.

saimn avatar saimn commented on August 16, 2024

Thanks for the feedback !

from sigal.

jmtrivial avatar jmtrivial commented on August 16, 2024

Thank you for your quick answer, and for this software!

from sigal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.