Bug 872579 - [abrt] cycle-0.3.1-12.fc17: cal_year.py:563:info:UnboundLocalError: local variable 'p' referenced before assignment
Summary: [abrt] cycle-0.3.1-12.fc17: cal_year.py:563:info:UnboundLocalError: local var...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: cycle
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:fe7f69d3980f71a341a43cd5f64...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-02 13:22 UTC by Václav Jansa
Modified: 2018-04-11 15:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-01 02:52:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: environ (1.66 KB, text/plain)
2012-11-02 13:22 UTC, Václav Jansa
no flags Details
File: smolt_data (3.41 KB, text/plain)
2012-11-02 13:22 UTC, Václav Jansa
no flags Details
File: core_backtrace (171 bytes, text/plain)
2012-11-02 13:22 UTC, Václav Jansa
no flags Details

Description Václav Jansa 2012-11-02 13:22:37 UTC
Version-Release number of selected component:
cycle-0.3.1-12.fc17

Additional info:
libreport version: 2.0.16
abrt_version:   2.0.16
cmdline:        python /usr/bin/cycle
kernel:         3.6.3-1.fc17.x86_64

backtrace:
:cal_year.py:563:info:UnboundLocalError: local variable 'p' referenced before assignment
:
:Traceback (most recent call last):
:  File "/usr/share/cycle/cal_year.py", line 63, in OnLeftDown
:    Val.frame.SetStatusText(info(d))
:  File "/usr/share/cycle/cal_year.py", line 563, in info
:    s+=" - "+_('%s day of period from %s to %s') % (str(k),d2.Format('%d %b'), d.Format('%d %b')) +' ' + _('length %s days') % (str(p))
:UnboundLocalError: local variable 'p' referenced before assignment
:
:Local variables in innermost frame:
:d: <wx.DateTime: "Út 21. srpen 2012, 00:00:00 CEST" at _60daea0200000000_p_wxDateTime>
:i: 58
:k: 265
:gestation: 1
:day: <wx.DateTime: "Ne 10. červen 2012, 00:00:00 CEST" at _e038ec0200000000_p_wxDateTime>
:s: u'10 \u010derven - 265% day of gestation, 37% weeks + 6% days'
:w: 37
:d2: <wx.DateTime: "Út 20. září 2011, 00:00:00 CEST" at _607de30200000000_p_wxDateTime>
:find: 1

Comment 1 Václav Jansa 2012-11-02 13:22:40 UTC
Created attachment 637076 [details]
File: environ

Comment 2 Václav Jansa 2012-11-02 13:22:42 UTC
Created attachment 637077 [details]
File: smolt_data

Comment 3 Václav Jansa 2012-11-02 13:22:44 UTC
Created attachment 637078 [details]
File: core_backtrace

Comment 4 Fedora End Of Life 2013-07-03 23:50:09 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2013-08-01 02:52:42 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.