papo-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Papo-hackers] [bugs #8876] DateEntry falla y congela la ventana.


From: anonymous
Subject: [Papo-hackers] [bugs #8876] DateEntry falla y congela la ventana.
Date: Tue, 11 May 2004 00:34:21 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040506 Firefox/0.8

This mail is an automated notification from the bugs tracker
 of the project: PAPO.




/**************************************************************************/
[bugs #8876] Full Item Snapshot:

URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=8876>
Project: PAPO
Submitted by: 0
On: Tue 05/11/04 at 00:13

Category:  cimarron
Severity:  5 - Grave
Resolution:  None
Assigned to:  None
Originator Name:  Ignacio
Originator Email:  address@hidden
Status:  Open
Fecha planificada:  
Cómo reproducir:  


Summary:  DateEntry  falla y congela la ventana.

Original Submission:  En un DateEntry cuando pierde foco, el valor se pone en 
None y aparece el siguiente mensaje en consola:

Traceback (most recent call last):
  File "/home/ignacio/cimarron/Gtk2/Gtk2TextEntry.py", line 40, in _focusOut
    return self.submit()
  File "/home/ignacio/cimarron/Generic/StatefulControl.py", line 66, in submit
    self.acceptInput()
  File "/home/ignacio/cimarron/Generic/StatefulControl.py", line 53, in 
acceptInput
    self.setValue (value)
  File "/home/ignacio/cimarron/Generic/StatefulControl.py", line 45, in 
setValue    return super(StatefulControl, self).setValue(value) 
  File "/home/ignacio/cimarron/Gtk2/Gtk2DateEntry.py", line 134, in _doSetValue
    self._label.set_markup('<span size="x-small">%s</span>' % 
(self.getValue().strftime(_('%a %b %e, %Y')),))
AttributeError: 'NoneType' object has no attribute 'strftime'

si levantamos el calendario nos tira ademas:
Traceback (most recent call last):
  File "/home/ignacio/cimarron/Gtk2/Gtk2DateEntry.py", line 113, in 
_popup_dialog
    cal.select_month(value.month-1, value.year)
AttributeError: 'NoneType' object has no attribute 'month'

y los botones "aceptar" y "cancelar" del calendario dejan de funcionar. Al 
cerrar la ventana, no se habilita nuevamente el DateEntry (queda en gris)







File Attachments
-------------------

-------------------------------------------------------
Date: Tue 05/11/04 at 00:13  Name: dateentry.py  Size: 350KB   By: None
Archivo usado para probar DateEntry
http://savannah.nongnu.org/bugs/download.php?item_id=8876&amp;item_file_id=1291






For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=8876>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]