Re: Issue 3386 in reviewboard: Comments on PNG images don't show the image.

2014-07-10 Thread reviewboard

Updates:
Status: SetupIssue

Comment #8 on issue 3386 by trowb...@gmail.com: Comments on PNG images  
don't show the image.

http://code.google.com/p/reviewboard/issues/detail?id=3386

(No comment was entered for this change.)

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3386 in reviewboard: Comments on PNG images don't show the image.

2014-05-28 Thread reviewboard

Updates:
Status: NeedInfo

Comment #2 on issue 3386 by chip...@gmail.com: Comments on PNG images don't  
show the image.

http://code.google.com/p/reviewboard/issues/detail?id=3386

It's possible there was a problem writing the thumbnail.

Can you check and verify that $sitedir/htdocs/media/files/, and all  
directories and files within it, are writable by the web server?


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3386 in reviewboard: Comments on PNG images don't show the image.

2014-05-28 Thread reviewboard


Comment #3 on issue 3386 by pvals...@gmail.com: Comments on PNG images  
don't show the image.

http://code.google.com/p/reviewboard/issues/detail?id=3386

The server logs were showing no error.
My media directory was looking like that:
# ls -la htdocs/media
total 20
drwxr-xr-x 4 root root 4096 Feb  5 11:21 .
drwxr-xr-x 4 root root 4096 May 27 08:52 ..
-rw-r--r-- 1 root root  522 May 27 08:52 .htaccess
drwxr-xr-x 2 www-data root 4096 Feb  5 11:21 ext
drwxr-xr-x 4 www-data root 4096 Feb  6 16:00 uploaded

Can it be a migration issue (I upgraded from 1.7)?

I do have a weird error messages in apache's logs:
Traceback (most recent call last):
  File /usr/lib/python2.7/logging/__init__.py, line 851, in emit
msg = self.format(record)
  File /usr/lib/python2.7/logging/__init__.py, line 724, in format
return fmt.format(record)
  File /usr/lib/python2.7/logging/__init__.py, line 467, in format
s = self._fmt % record.__dict__
KeyError: u'request_info'
Logged from file djblets_images.py, line 125

Which is the place where it tries to log an error when building the  
thumbnail.


I guess the logging is having setup problems...

I'll continue investigating how to fix that.



--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3386 in reviewboard: Comments on PNG images don't show the image.

2014-05-28 Thread reviewboard


Comment #4 on issue 3386 by chip...@gmail.com: Comments on PNG images don't  
show the image.

http://code.google.com/p/reviewboard/issues/detail?id=3386

Sorry, I meant htdocs/media/uploaded/files/.

That error message may be the cause. However, the change that would have  
caused that has been around for some time. I wouldn't expect it.


Just to be sure, is there only one consumer of mod_wsgi on your server, and  
was Apache restarted since upgrading to 2.0?


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3386 in reviewboard: Comments on PNG images don't show the image.

2014-05-28 Thread reviewboard


Comment #5 on issue 3386 by pvals...@gmail.com: Comments on PNG images  
don't show the image.

http://code.google.com/p/reviewboard/issues/detail?id=3386

OK, adding code to djblets_images.py to get the actual exception, I found  
that error:

decoder zip not available

Looking on the web, I removed PIL and installed some -dev packages,  
easy_install pillow and the stuff works, now.


There is really a problem when Djblets or some other package tries to log  
(KeyError: u'request_info'), though. I would have had no problem debugging  
this setup problem if I had proper logs.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3386 in reviewboard: Comments on PNG images don't show the image.

2014-05-28 Thread reviewboard


Comment #6 on issue 3386 by pvals...@gmail.com: Comments on PNG images  
don't show the image.

http://code.google.com/p/reviewboard/issues/detail?id=3386

Yes, I've fixed my setup and there is only one consumer of mod_wsgi (I've  
put in place a redirect for the other hostname) and my apache/cached were  
restarted.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3386 in reviewboard: Comments on PNG images don't show the image.

2014-05-28 Thread reviewboard


Comment #7 on issue 3386 by pvals...@gmail.com: Comments on PNG images  
don't show the image.

http://code.google.com/p/reviewboard/issues/detail?id=3386

By the way, during my tests I was adding and image, deleting it, adding,  
deleting...
Looks like when the image is deleted, the matching file is not deleted from  
the filesystem in htdocs/media/uploaded/files/2014/05/28/. I can see all  
the ones I've deleted.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3386 in reviewboard: Comments on PNG images don't show the image.

2014-05-27 Thread reviewboard


Comment #1 on issue 3386 by pvals...@gmail.com: Comments on PNG images  
don't show the image.

http://code.google.com/p/reviewboard/issues/detail?id=3386

Argh, forgot the attachment.

Attachments:
bugCommentOnImage.png  115 KB

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.