[issue34787] imghdr raise TypeError for PNG
New submission from lorenzogotuned : Found on Python 3.6 This line https://github.com/python/cpython/blob/master/Lib/imghdr.py#L45 always raises`TypeError`as `startswith` does not accept bytes. -- messages: 326237 nosy: lorenzogotuned priority: normal severity: normal status: open title: imghdr raise TypeError for PNG type: crash ___ Python tracker <https://bugs.python.org/issue34787> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27051] Create PIP gui
lorenzogotuned added the comment: I made it run from the root directory with: python pip_tkinter/__main__.py For sure the right way should be python -m pip_tkinter The first view works fine for PyPi, the second one is just void. I added a issue for an enhancement at <https://github.com/upendra-k14/pip_gui/issues/2>. We are going to fix what we have this weekend, for the sake of the first deadline. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27051> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27051] Create PIP gui
lorenzogotuned added the comment: @Terry: Fine, we can do it. @Upendra: All the checks you mentioned have to be performed at start-up, so create a script that returns a configuration object for the UI. I think you can try to build a first easy view in which a package is selected (an input form when you can type a package name, with two buttons: 'search', 'install'); when a button is pushed, an the event is generated as Terry suggested. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27051> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27051] Create PIP gui
lorenzogotuned added the comment: Ok Upendra. Nice summary. In the next days: - Explain each *top task* (install, unistall, update) and in detail the way the underlying pip commands work (underline mandatory and optional parameters, requests performed to servers, filesystem storage and anything involved) - Map your natural explanation into different *page views* (each page view conrainig well defined UI components and structures) - Design and *sketch* each page (upload image files. I saw you had started doing it in the previous issue; make them much more explicative, name or assign a number to each view and UI component) - Simplify and optimize each task flow and page (get familiar and be precise with the vocabulary needed to describe the UI) - write at least one user case for command (install: user search the xyz string in a package in the input box, user clicks on a item in the ywz panel, the user clicks the abc button, etc) in the shape of ordered lists or better flow charts. This will complete the first design iteration. After receiving feedback and adjusting the sketches, I think we can dive into tkinter to find the right objects/patterns to start coding. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27051> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27051] Create PIP gui
Changes by lorenzogotuned <tunedconsult...@gmail.com>: -- nosy: +lorenzogotuned ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27051> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com