famous last words: UnboundLocalError thumbheight
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phraymd |
Fix Released
|
Critical
|
dmoore |
Bug Description
After creating a new collection the verify job starts,
but dies with these last words:
Traceback (most recent call last):
File "/home/
self.
File "/home/
overlay_
UnboundLocalError: local variable 'thumbheight' referenced before assignment
look at the added line below:
Regards
Bratix
=== modified file 'modules/
--- modules/
+++ modules/
@@ -668,6 +668,7 @@
elif item.cannot_thumb:
+ (thumbwidth,
Changed in phraymd: | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
assignee: | nobody → spillz (damien-moore) |
Changed in phraymd: | |
status: | Fix Committed → Fix Released |
thanks for the report and patch. I'll commit soon.
On Tue, Mar 9, 2010 at 5:24 PM, Bratix <email address hidden> wrote: cbra/develop/ phraymd/ phraymd/ modules/ phraymd/ browser. py", line 588, in expose_signal signal( event) cbra/develop/ phraymd/ phraymd/ modules/ phraymd/ browser. py", line 694, in realize_signal height= int(y+self. geo_pad/ 2+thumbheight+ (self.geo_ thumbheight- thumbheight) /2-ly) phraymd/ browser. py' phraymd/ browser. py 2010-03-08 23:31:32 +0000 phraymd/ browser. py 2010-03-09 22:21:33 +0000 geo_pad/ 2+(128- thumbwidth) /2 draw_pixbuf( gc, item.thumb, 0, 0,int(x+ adjx),int( y+adjy) ) thumbheight) =(0,0) draw_pixbuf( gc, self.pixbuf_ thumb_fail, 0, 0,int(x+ adjx),int( y+adjy) ) /bugs.launchpad .net/bugs/ 535381
> Public bug reported:
>
> After creating a new collection the verify job starts,
> but dies with these last words:
>
> Traceback (most recent call last):
> File "/home/
> self.realize_
> File "/home/
> overlay_
> UnboundLocalError: local variable 'thumbheight' referenced before assignment
>
> look at the added line below:
>
> Regards
> Bratix
>
> === modified file 'modules/
> --- modules/
> +++ modules/
> @@ -668,6 +668,7 @@
> adjx=self.
> drawable.
> elif item.cannot_thumb:
> + (thumbwidth,
> adjy=self.geo_pad/2
> adjx=self.geo_pad/2
> drawable.
>
> ** Affects: phraymd
> Importance: Undecided
> Status: New
>
> --
> famous last words: UnboundLocalError thumbheight
> https:/
> You received this bug notification because you are subscribed to
> phraymd.
>