[issue17513] astrike(*) in argv
New submission from Amin: suppose the the following simple program argvtest.py: import sys print sys.argv[1] in my Python 2.6.6. if I run it with the following parameters: $ python argvtest.py tc* it returns: tc2 (or the first result of ls tc*) but it should return tc* -- components: Library (Lib) files: argvtest.py messages: 184921 nosy: Amin priority: normal severity: normal status: open title: astrike(*) in argv versions: Python 2.6 Added file: http://bugs.python.org/file29536/argvtest.py ___ Python tracker <http://bugs.python.org/issue17513> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44510] file.read() UnicodeDecodeError with large files on Windows
New submission from Rohan Amin : When using file.read() with a large text file, there is a UnicodeDecodeError. I expected file.read(1) to read one character from the file. It works with a smaller text file. I experienced this bug on Windows 10 version 20H2. My teacher couldn't reproduce this bug on Linux. -- components: IO, Unicode, Windows files: Bug Reproduction Code.zip messages: 396532 nosy: RohanA, ezio.melotti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware priority: normal severity: normal status: open title: file.read() UnicodeDecodeError with large files on Windows type: behavior versions: Python 3.6, Python 3.9 Added file: https://bugs.python.org/file50126/Bug Reproduction Code.zip ___ Python tracker <https://bugs.python.org/issue44510> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.
Amin Radjabov added the comment: I have same issue on Win 7 x64 -- nosy: +Amin Radjabov ___ Python tracker <https://bugs.python.org/issue32545> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.
Amin Radjabov added the comment: log -- Added file: https://bugs.python.org/file47695/Python 3.7.0 (32-bit)_20180628184532.log ___ Python tracker <https://bugs.python.org/issue32545> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.
Amin Radjabov added the comment: yes I try to install to all user, but I have no any other python installations in my OS. I succeeded to install it to just me. -- ___ Python tracker <https://bugs.python.org/issue32545> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45957] _tkinter.TclError: expected boolean value but got ""
New submission from Ali Amin-Nejad : On macOS, the following minimal example: ``` import tkinter as tk root = tk.Tk() button = tk.Button(root, text="Exit", command=root.destroy) button.pack() root.wm_overrideredirect(True) root.mainloop() ``` yields the following stack trace: ``` Traceback (most recent call last): File "blah.py", line 6, in root.wm_overrideredirect(True) File "/Users/ali/miniconda3/envs/bitfount/lib/python3.8/tkinter/__init__.py", line 2176, in wm_overrideredirect return self._getboolean(self.tk.call( File "/Users/ali/miniconda3/envs/bitfount/lib/python3.8/tkinter/__init__.py", line 1448, in _getboolean return self.tk.getboolean(string) _tkinter.TclError: expected boolean value but got "" ``` -- components: Tkinter, macOS messages: 407494 nosy: amin-nejad, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: _tkinter.TclError: expected boolean value but got "" type: crash versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue45957> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45957] _tkinter.TclError: expected boolean value but got ""
Ali Amin-Nejad added the comment: @serhiy.storchaka I tried that command, the returned value is not an empty string, it is an object of type . However including that line in my script immediately after creating the `root` object actually fixes the problem - no more error and the button appears and is responsive. @ned.deily I am on tkinter 8.6.11. The output from the second command is: ``` /Users/ali/miniconda3/envs/bitfount/lib/python3.8/lib-dynload/_tkinter.cpython-38-darwin.so: @rpath/libtcl8.6.dylib (compatibility version 8.6.0, current version 8.6.11) @rpath/libtk8.6.dylib (compatibility version 8.6.0, current version 8.6.11) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) ``` I have just tried the same script in a separate python 3.9 environment with python 3.9.6 and tkinter 8.6.10 and the error is not there so it seems like it is introduced in 8.6.11. Happy to try on 8.6.12 but I'm not sure how to upgrade to it. -- ___ Python tracker <https://bugs.python.org/issue45957> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45957] _tkinter.TclError: expected boolean value but got ""
Ali Amin-Nejad added the comment: Thanks Serhiy, the output is: ['StateSpec'] [''] -- ___ Python tracker <https://bugs.python.org/issue45957> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45957] _tkinter.TclError: expected boolean value but got ""
Ali Amin-Nejad added the comment: It seems like it must be a mac-specific issue just on 8.6.11 then if ned couldn't reproduce on 8.6.12. How does one go about upgrading their tkinter version? Thanks -- ___ Python tracker <https://bugs.python.org/issue45957> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30481] lib/socket.py, line 330, Treated 'file' as a socket object, instead of int
New submission from Mohamad amin Khakzadan: When I network programming, I got this problem: File "ft.py", line 43, in SendFile sent=conn.sendfile(fd.fileno(), offset) File "D:\Program Files\Python\Python35-32\lib\socket.py", line 391, in sendfile return self._sendfile_use_send(file, offset, count) File "D:\Program Files\Python\Python35-32\lib\socket.py", line 330, in _sendfile_use_send file_read = file.read AttributeError: 'int' object has no attribute 'read' file_read = file.read ^ 'file' is fd.fileno() not a socket object socket.sendfile() documentation: https://docs.python.org/3/library/socket.html#socket.socket.sendfile -- components: Windows messages: 294539 nosy: Mohamad amin Khakzadan, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: lib/socket.py, line 330, Treated 'file' as a socket object, instead of int type: compile error versions: Python 3.5 ___ Python tracker <http://bugs.python.org/issue30481> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30481] lib/socket.py, line 330, Treated 'file' as a socket object, instead of int
Mohamad amin Khakzadan added the comment: sorry, my code have bug. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue30481> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
