Christian,

I enabled logging in ReviewBoard:

2015-03-18 08:56:18,605 - ERROR -  - Failed to convert data uri to image: 
decoder zip not available.
2015-03-18 08:56:18,606 - ERROR -  - Error when calling get_thumbnail for 
MimetypeHandler <rbpowerpack.pdf.mimetypes.PDFMimetype object at 
0xba792b0c>: decoder zip not available
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/attachments/models.py",
 
line 89, in _set_thumbnail
    self.mimetype_handler.set_thumbnail(data)
  File "build/bdist.macosx-10.10-intel/egg/rbpowerpack/pdf/mimetypes.py", 
line 85, in set_thumbnail
IOError: decoder zip not available

No JavaScript errors are reported, only the file is being downloaded 
multiple times per second, so the log is being flushed with these messages.

When trying to create a comment in the document I get this error:
TypeError: this.commentDlg.is is not a function
http://revboard.eu.omron.net/static/ext/rbpowerpack.extension.PowerPackExtension/js/powerpack-pdf.min.aaa0c6673283.js
Line 1

This also gives the following message in the ReviewBoard log:
2015-03-18 09:09:44,054 - ERROR -  - PDF Review UI: Could not convert 
thumbnailData to stored image for file attachment comment 109: decoder zip 
not available

It looks like both are related to a missing decoder zip.

BTW: I also use Comment Severity 0.5.1

Regards,
    Johan

On Wednesday, March 18, 2015 at 9:25:31 AM UTC+1, Christian Hammond wrote:
>
> Hi Johan, 
>
> Is there anything in the reviewboard.log file (if that's enabled)? 
>
> The "request_info" KeyError usually indicates that something with the 
> Review Board logging setup got into an inconsistent state. It might be 
> masking the real error. 
>
> Also, when you load a page with a PDF file, and it just spins 
> indefinitely, are there any JavaScript errors in the browser's JavaScript 
> console? 
>
> Thanks, 
>
> Christian 
>
> --   
> Christian Hammond - chri...@beanbaginc.com <javascript:>   
> Review Board - https://www.reviewboard.org   
> Beanbag, Inc. - https://www.beanbaginc.com 
>
> -----Original Message----- 
> From: Johan Borkhuis <bork...@gmail.com <javascript:>> 
> Reply: revie...@googlegroups.com <javascript:> <revie...@googlegroups.com 
> <javascript:>>> 
> Date: March 18, 2015 at 1:20:55 AM 
> To: revie...@googlegroups.com <javascript:> <revie...@googlegroups.com 
> <javascript:>>> 
> Subject:  Issues with document review in Powerpack 
>
> > We are trying Powerpack, and we came across some issues with the 
> document 
> > review: 
> >   
> > - After creating a document review the page shows a "Loading..." box at 
> > the top that continuously appears and disappears and there is no image 
> in 
> > the document box, only the rotating dots. Other people get a yellow 
> warning 
> > sign. 
> > - When trying to enter a comment in the document I get a popup with 
> > "Error saving comment: HTTP 500 INTERNAL SERVER ERROR". 
> >   
> > I tried removing the attached PDF and uploading it again, but this did 
> not 
> > help. 
> >   
> > We are using RB 2.0.15 with PowerPack 1.2.1. Are there any other 
> required 
> > packages that I need for this to work? 
> >   
> > From the apache error.log: 
> >   
> > [Wed Mar 18 08:06:38 2015] [error] Traceback (most recent call last): 
> > [Wed Mar 18 08:06:38 2015] [error] File 
> > "/usr/lib/python2.7/logging/__init__.py", line 850, in emit 
> > [Wed Mar 18 08:06:38 2015] [error] msg = self.format(record) 
> > [Wed Mar 18 08:06:38 2015] [error] File 
> > "/usr/lib/python2.7/logging/__init__.py", line 723, in format 
> > [Wed Mar 18 08:06:38 2015] [error] return fmt.format(record) 
> > [Wed Mar 18 08:06:38 2015] [error] File 
> > "/usr/lib/python2.7/logging/__init__.py", line 467, in format 
> > [Wed Mar 18 08:06:38 2015] [error] s = self._fmt % record.__dict__ 
> > [Wed Mar 18 08:06:38 2015] [error] KeyError: u'request_info' 
> > [Wed Mar 18 08:06:38 2015] [error] Logged from file mimetypes.py, line 
> 84 
> > [Wed Mar 18 08:06:38 2015] [error] Traceback (most recent call last): 
> > [Wed Mar 18 08:06:38 2015] [error] File 
> > "/usr/lib/python2.7/logging/__init__.py", line 850, in emit 
> > [Wed Mar 18 08:06:38 2015] [error] msg = self.format(record) 
> > [Wed Mar 18 08:06:38 2015] [error] File 
> > "/usr/lib/python2.7/logging/__init__.py", line 723, in format 
> > [Wed Mar 18 08:06:38 2015] [error] return fmt.format(record) 
> > [Wed Mar 18 08:06:38 2015] [error] File 
> > "/usr/lib/python2.7/logging/__init__.py", line 467, in format 
> > [Wed Mar 18 08:06:38 2015] [error] s = self._fmt % record.__dict__ 
> > [Wed Mar 18 08:06:38 2015] [error] KeyError: u'request_info' 
> > [Wed Mar 18 08:06:38 2015] [error] Logged from file models.py, line 93 
> >   
> > Regards, 
> >   
> > Johan Borkhuis 
> >   
> > -- 
> > Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/   
> > Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/ 
> > Happy user? Let us know! https://www.reviewboard.org/users/ 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups "reviewboard"   
> > group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to reviewboard...@googlegroups.com <javascript:>.   
> > For more options, visit https://groups.google.com/d/optout. 
> >   
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to