[issue10647] scrollbar crash in non-US locale format settings

2011-07-14 Thread Herm Fischer

Herm Fischer fisc...@markv.com added the comment:

Yes, I can confirmm that this issue is gone on 3.2.  Closed.

--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10647
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12219] tkinter.filedialog.askopenfilename XT dialog on Windows 7

2011-05-31 Thread Herm Fischer

Herm Fischer fisc...@markv.com added the comment:

I've now tried this issue on python.org's own 3.2 and 3.2.1rc1 (64 bit) builds, 
and they also do have the same problem.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12219
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12219] tkinter.filedialog.askopenfilename XT dialog on Windows 7

2011-05-30 Thread Herm Fischer

New submission from Herm Fischer fisc...@markv.com:

tkinter.filedialog.askopenfilename works fine on the Windows builds of Python 
3.1.

However on Python 3.2 (Windows builds via Active State), this dialog comes up 
with the old Windows XT style on Windows 7 (missing navigation pane) and the 
dialog is not resizable (it was resizable in Python 3.1).

Application users are inconvenienced, trouble opening long file names.

Is there a work-around in Python 3.2?

--
components: Tkinter
files: python31-correct-filedialog.png
messages: 137325
nosy: hfischer
priority: normal
severity: normal
status: open
title: tkinter.filedialog.askopenfilename XT dialog on Windows 7
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file22201/python31-correct-filedialog.png

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12219
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12219] tkinter.filedialog.askopenfilename XT dialog on Windows 7

2011-05-30 Thread Herm Fischer

Changes by Herm Fischer fisc...@markv.com:


Added file: http://bugs.python.org/file22202/python32-wrong-filedialog.png

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12219
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12220] minidom xmlns not handling spaces in xmlns attribute value field

2011-05-30 Thread Herm Fischer

New submission from Herm Fischer fisc...@markv.com:

Minidom raises an exception if there's a space anywhere in the URI of an xmlns, 
but it is legal (but terrible practice) to have spaces in URIs.  I think this 
should work or politely raise a syntax error.  E.g., this fails:  
xmlns:abc=http:abc.com/de f g/hi/j k.

The attachment xml file from an end user has this xmlns:

  xmlns:verrels= http://xbrl.org/2010/versioning-relationship-sets;

which causes minidom to raise a ValueError exception, instead of a sensible 
syntax error message.  

The relevant python code is expabuilder.py, method _parse_ns_name, which does 
not have an elif for len(parts) != 2 (to raise a syntax error which identifies 
the bad construct).

--
components: XML
files: test.xml
messages: 137329
nosy: hfischer
priority: normal
severity: normal
status: open
title: minidom xmlns not handling spaces in xmlns attribute value field
type: crash
versions: Python 3.2
Added file: http://bugs.python.org/file22203/test.xml

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12220
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12219] tkinter.filedialog.askopenfilename XT dialog on Windows 7

2011-05-30 Thread Herm Fischer

Herm Fischer fisc...@markv.com added the comment:

Now also posted to http://bugs.activestate.com/show_bug.cgi?id=90234

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12219
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10647] scrollbar crash in non-US locale format settings

2010-12-07 Thread Herm Fischer

New submission from Herm Fischer fisc...@markv.com:

My app has a tkinter messages listbox with a scrollbar which works fine in US 
setting, but not when locale is a European setting (with comma for decimal 
point).  It's a highly interactive app with a lot of number formattings in the 
local locale, and mostly used in Europe and Asia.

This instruction: self.logListBox.insert(END, message)

causes this crash in non-US locale when scrolling down:

Class: class Scrollbar(Widget):

def set(self, *args):
Set the fractional values of the slider position (upper and
lower ends as value between 0 and 1).
self.tk.call((self._w, 'set') + args)   = this line causes 
exception in European settings

the arg is in European decimal point format, when run on European settings, the 
error trace is:

  File C:\Python31\lib\tkinter\__init__.py, line 1399, in __call__
return self.func(*args)
  File C:\Python31\lib\tkinter\__init__.py, line 2797, in set
self.tk.call((self._w, 'set') + args)
_tkinter.TclError: expected floating-point number but got 0,145833

using python 3.1.3 (r313:86834)

--
components: Tkinter
messages: 123580
nosy: hfischer
priority: normal
severity: normal
status: open
title: scrollbar crash in non-US locale format settings
type: crash
versions: Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10647
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10647] scrollbar crash in non-US locale format settings

2010-12-07 Thread Herm Fischer

Herm Fischer fisc...@markv.com added the comment:

The attached test case demonstrates this issue, run on pthyon 3.1.3 x64 and 
included tkinter.

When running on US Locale, runs fine.  Numbers have the period decimal point, 
no exceptions raised.

Then select control panel, Language or Region, Change keyboards and input 
methods, Formats tab, and I selected Dutch(Netherlands), press ok.  Rerun.  
(I'm running under Eclipse, so exceptions do not terminate the program).  Note 
these exceptions as listbox is filled and autoscrolls, and as well, if you 
manually scroll, same exceptions get raised:

  File C:\Python31\lib\tkinter\__init__.py, line 1399, in __call__
return self.func(*args)
  File C:\Python31\lib\tkinter\__init__.py, line 2797, in set
self.tk.call((self._w, 'set') + args)
_tkinter.TclError: expected floating-point number but got 0,02

--
Added file: http://bugs.python.org/file19973/ListboxScrollbarLocaleIssue.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10647
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10647] scrollbar crash in non-US locale format settings

2010-12-07 Thread Herm Fischer

Herm Fischer fisc...@markv.com added the comment:

I'm using the 3.1.3 x64 of python.org

The dll's that came with it:

tck85.dll, version 8.5.2.2, created 8/10/2010
tk85.dll, version 8.5.2.2, same date

Is there a different way to get the version that is more helpful?

Is there an easy way to try the tcl/tk you are using (and distribute it to my 
users)?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10647
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com