homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: float argument required, not NoneType
Type: compile error Stage:
Components: Library (Lib) Versions: Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 2.7, Python 2.6
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, jonathanf
Priority: normal Keywords: patch

Created on 2012年04月13日 19:49 by jonathanf, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
locale.patch jonathanf, 2012年04月13日 19:49 patch for location.py for cpython for current mercurial branch review
locale.patch jonathanf, 2012年04月13日 19:49 patch for location.py for cpython for current mercurial branch review
Messages (3)
msg158229 - (view) Author: Jonathan Finlay (jonathanf) Date: 2012年04月13日 19:49
File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/main.py", line 1194, in _sig_remove_book
 res = page.sig_close()
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/form.py", line 492, in sig_close
 dialog.destroy()
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/win_form.py", line 396, in destroy
 self.screen.switch_view(view_type=self.prev_view.view_type)
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/view_form/screen/screen.py", line 320, in switch_view
 self.display()
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/view_form/screen/screen.py", line 657, in display
 view.display()
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/view_form/view/form.py", line 126, in display
 record[field].get(record, check_load=False)
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/view_form/model/record.py", line 124, in __getitem__
 self.set(value, signal=False)
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/view_form/model/record.py", line 421, in set
 self.group.fields[fieldname].set(self, value, modified=False)
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/view_form/model/field.py", line 757, in set
 group.destroy()
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/view_form/model/group.py", line 390, in destroy
 self.clear()
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/view_form/model/group.py", line 107, in clear
 self.signal('group-list-changed', ('record-removed', record))
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/signal_event.py", line 14, in signal
 fnct(self, signal_data, *data)
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/view_form/screen/screen.py", line 219, in _group_list_changed
 view.group_list_changed(group, signal)
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/view_form/view/list.py", line 627, in group_list_changed
 self.display()
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/view_form/view/list.py", line 747, in display
 self.update_children()
 File "/home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/view_form/view/list.py", line 783, in update_children
 True)
 File "/usr/lib/python2.6/locale.py", line 182, in format
 formatted = percent % value
msg158230 - (view) Author: Jonathan Finlay (jonathanf) Date: 2012年04月13日 19:49
This is the patch for the issue
msg158231 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2012年04月13日 20:24
It's a problem in tryton, which incorrectly passes a None value instead of a float.
The issue was actually fixed 10 hours ago (!) in tryton: http://hg.tryton.org/tryton/rev/58a615b60cbd
Please update to the last version!
History
Date User Action Args
2022年04月11日 14:57:29adminsetgithub: 58776
2012年04月13日 20:24:52amaury.forgeotdarcsetstatus: open -> closed

nosy: + amaury.forgeotdarc
messages: + msg158231

resolution: fixed -> not a bug
2012年04月13日 19:49:53jonathanfsetfiles: + locale.patch
resolution: fixed
messages: + msg158230
2012年04月13日 19:49:08jonathanfcreate

AltStyle によって変換されたページ (->オリジナル) /