Re: Unable to upload screenshots

2012-10-20 Thread Christian Hammond
Hy Chris, Good information, thanks for digging! That is strange. Glad to know Pillow worked (I'd love to see it replace PIL entirely), but I wish I knew why zlib couldn't be found. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http

Re: Unable to upload screenshots

2012-10-19 Thread Chris Clark
Yet more info, please excuse the top post. We hit this again (reviewboard 1.6.11 silently does not create thumbnails now, rather than raising an error). I think I have a better handle on why the"simple" test works and yet Django/Reviewboard fails. Image.open() doesn't do anything interesting. I

Re: Unable to upload screenshots

2012-06-14 Thread Casey
Wow. This actually worked for me. Thanks! On Monday, October 24, 2011 3:29:59 PM UTC-6, Chris Clark wrote: > > Thilo-Alexander Ginkel wrote: > > On Mon, Feb 14, 2011 at 23:01, Christian Hammond > wrote: > > > >> I don't believe they're stored temporarily anywhere. If so, it's > internal to >

Re: Unable to upload screenshots

2011-10-24 Thread Chris Clark
Thilo-Alexander Ginkel wrote: On Mon, Feb 14, 2011 at 23:01, Christian Hammond wrote: I don't believe they're stored temporarily anywhere. If so, it's internal to Django and I don't know it off-hand. The only thing I've ever seen permission-wise is when there's a directory within media/uplo

Re: Unable to upload screenshots

2011-02-16 Thread Thilo-Alexander Ginkel
On Mon, Feb 14, 2011 at 23:01, Christian Hammond wrote: > I don't believe they're stored temporarily anywhere. If so, it's internal to > Django and I don't know it off-hand. > > The only thing I've ever seen permission-wise is when there's a directory > within media/uploaded that doesn't have the

Re: Unable to upload screenshots

2011-02-14 Thread Christian Hammond
I don't believe they're stored temporarily anywhere. If so, it's internal to Django and I don't know it off-hand. The only thing I've ever seen permission-wise is when there's a directory within media/uploaded that doesn't have the proper write permissions for the server. Christian -- Christian

Re: Unable to upload screenshots

2011-02-14 Thread Thilo-Alexander Ginkel
On Tue, Jan 26, 2010 at 18:33, Thilo-Alexander Ginkel wrote: > On Thu, Jan 7, 2010 at 08:34, David Resnick wrote: >> Well, loading the image in PIL from the command line works. > > I am facing the same issue. Command line image loading works, but > uploading through the RB UI fails: > > $ python

Re: Unable to upload screenshots

2010-06-27 Thread David Resnick
I somehow missed your reply until now. I'm currently at Review Board 1.0.8, with Djblets at 0.6.2. I tried it again and found that I am now able to upload GIF files -- though the first one I tried uploading failed. PNG and JPG still fail with the same "The file you uploaded was either not an imag

Re: Unable to upload screenshots

2010-02-26 Thread Christian Hammond
What version of Djblets is on there? I believe this may now be fixed as of 0.5.6. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Jan 26, 2010 at 12:55 PM, David Resnick wrote: > No, I'm still stuck w

Re: Unable to upload screenshots

2010-01-26 Thread David Resnick
No, I'm still stuck with this. -David On Tue, Jan 26, 2010 at 6:33 PM, Thilo-Alexander Ginkel wrote: > On Thu, Jan 7, 2010 at 08:34, David Resnick wrote: > > Well, loading the image in PIL from the command line works. > > I am facing the same issue. Command line image loading works, but > uploa

Re: Unable to upload screenshots

2010-01-26 Thread Thilo-Alexander Ginkel
On Thu, Jan 7, 2010 at 08:34, David Resnick wrote: > Well, loading the image in PIL from the command line works. I am facing the same issue. Command line image loading works, but uploading through the RB UI fails: $ python Python 2.6 (r26:66714, Feb 21 2009, 02:16:04) [GCC 4.3.2 [gcc-4_3-branch

Re: Unable to upload screenshots

2010-01-06 Thread David Resnick
Well, loading the image in PIL from the command line works. I'll probably have to wait on upgrading the review board server -- I don't want to risk interrupting peoples work. Thanks for your help. -David On Wed, Jan 6, 2010 at 11:14 PM, Christian Hammond wrote: > Sort of. It depends on where th

Re: Unable to upload screenshots

2010-01-06 Thread Christian Hammond
Sort of. It depends on where the problem actually is. try: >>> from PIL import Image >>> Image.open("your-filename") If that fails, it should throw an exception. Otherwise, it should print to the console the name of the class loading that image (which will indicate the file type). If that does

Re: Unable to upload screenshots

2010-01-06 Thread David Resnick
Hi, I downloaded and built PIL. The build summary shows this: PIL 1.1.6 BUILD SUMMARY version 1.1.6 platform linux2 2.6.2 (release26-maint, Apr 19 2

Re: Unable to upload screenshots

2009-12-06 Thread David Resnick
Thanks for the suggestion, Christian, I'll try that. -David On Sun, Dec 6, 2009 at 1:15 PM, Christian Hammond wrote: > Hi David, > > Sorry that I missed this before. This time of year tends to be quite busy. > > This error is coming from Python Imaging Library. Even though the proper > packages

Re: Unable to upload screenshots

2009-12-06 Thread Christian Hammond
Hi David, Sorry that I missed this before. This time of year tends to be quite busy. This error is coming from Python Imaging Library. Even though the proper packages are installed on that system, it appears that PIL isn't properly loading support for the image files. It might be worth attemptin

Re: Unable to upload screenshots

2009-12-06 Thread David Resnick
I'm still trying to get this working. I've enabled debugging on the server but do not have any indications of an error. This is what I can see in the apache log when I post a screenshot: rboard:80 152.62.71.102 - - [06/Dec/2009:16:19:24 +0200] "POST /reviews/api/json/reviewrequests/499/screenshot