Ned Deily added the comment:
I was able to reproduce this and from the system crash report it appears that
this is a duplicate of Issue20585. The workaround noted there should work for
you here: define a no_proxy environment variable to prevent Python from
attempting to call the System
New submission from vinod sharma:
I've have an application which uses tkMessageBox module, multiprocessing module
and urllib2 module. For some unknown reason, python child process is crashing
silently while fetching a url. This only happens when tkMessageBox module is
imported.
Sample code
R. David Murray added the comment:
When you say 'crash silently', what exactly do you mean? How are you running
the program?
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23533
Try
import tkinter.messagebox as tkMessageBox
--
http://mail.python.org/mailman/listinfo/python-list
When I do import tkMessageBox the Python Shell tells me that this
does not exist. Where do I find it? You may reply to my academic
email: rdrie...@nps.edu
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Oct 18, 2010 at 11:32 AM, richard catbird.isl...@gmail.com wrote:
When I do import tkMessageBox the Python Shell tells me that this
does not exist. Where do I find it?
What OS are you using? How did you install Python? Can you `import Tkinter`?
Cheers,
Chris
--
http
Matthias Klose d...@debian.org added the comment:
committed to the 2.6 branch as well
--
assignee: gpolo -
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4961
___
Matthias Klose d...@debian.org added the comment:
the patch works for me with tcl8.5
--
nosy: +doko
stage: test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4961
___
Matthias Klose d...@debian.org added the comment:
fixed for 2.7, 3.1, 3.2, commit pending for 2.6 until after the 2.6.5 release
--
resolution: - fixed
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4961
).
But I did find a hack around this by explicitly creating and destroying a top
level window following the askdirectory() dialog. Try this snippet on
linux/unix, the call to askyesno() returns False always.
import tkFileDialog,tkMessageBox,Tkinter
theDirectory=tkFileDialog.askdirectory
Guilherme Polo ggp...@gmail.com added the comment:
I guess this will have to be accepted without any tests, unless someone
can come up with a way to test tk_messageBox under Windows and Mac.
--
keywords: +patch
Added file: http://bugs.python.org/file14333/stringify.diff
Guilherme Polo ggp...@gmail.com added the comment:
I've verified it, it is indeed a bug in tkMessageBox.py which is very
likely to be noticed while using tk 8.5 or newer.
--
assignee: - gpolo
nosy: +gpolo
versions: +Python 2.7, Python 3.0, Python 3.1
Changes by Guilherme Polo ggp...@gmail.com:
--
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4961
___
___
Python-bugs-list
cause: the result of the _show function in tkMessageBox is not
always a string, apparently depending on what happened before. Changing
the last line to:
return str(res)
seemed to correct the problem for me.
--
components: Tkinter
files: dialog-bug.py
messages: 79944
nosy: eb303
severity
Hi,
I'm using a TkMessageBox for handling some errors and displaying them
through the message boxes.
My code is as below:
if selectedVer == strNoArchivedResults:
tkMessageBox._show(Error, \
type='ok', icon='error
On Mon, Sep 1, 2008 at 3:35 PM, [EMAIL PROTECTED] wrote:
Hi,
I'm using a TkMessageBox for handling some errors and displaying them
through the message boxes.
My code is as below:
if selectedVer == strNoArchivedResults:
tkMessageBox._show(Error
On Thu, Aug 28, 2008 at 3:54 PM, Guilherme Polo [EMAIL PROTECTED] wrote:
On Thu, Aug 28, 2008 at 10:29 AM, [EMAIL PROTECTED] wrote:
Hi,
I'm working on Windows Platform
I'm facing some problem with the tkMessageBox. My code is as below:
import tkMessageBox
import Tix
from Tkinter import
Hi,
I'm working on Windows Platform
I'm facing some problem with the tkMessageBox. My code is as below:
import tkMessageBox
import Tix
from Tkinter import *
if len(installedLibPath) != len(listOfLibraries):
if tkMessageBox.askyesno(Question, \
type
On Thu, Aug 28, 2008 at 10:29 AM, [EMAIL PROTECTED] wrote:
Hi,
I'm working on Windows Platform
I'm facing some problem with the tkMessageBox. My code is as below:
import tkMessageBox
import Tix
from Tkinter import *
if len(installedLibPath) != len(listOfLibraries
Il Fri, 03 Aug 2007 12:38:09 +1000, John McMonagle ha scritto:
Fabio Z Tessitore wrote:
I've tried to use Twm and SURPRISE! it works!!!
Can you say why? How can I fix the prob with Gnome?
Thanks
I don't know why it doesn't work correctly on the version of gnome which
you are running
Il Thu, 02 Aug 2007 13:54:46 +1000, John McMonagle ha scritto:
What window manager are you using ?
Hi John,
I'm using gnome, with gdm. Do you think the problem is this? I'm going to
try with another one ...
bye
--
http://mail.python.org/mailman/listinfo/python-list
I've tried to use Twm and SURPRISE! it works!!!
Can you say why? How can I fix the prob with Gnome?
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
Fabio Z Tessitore wrote:
I've tried to use Twm and SURPRISE! it works!!!
Can you say why? How can I fix the prob with Gnome?
Thanks
I don't know why it doesn't work correctly on the version of gnome which
you are running (I run KDE). Perhaps the question needs to be posed to
a gnome
Il Tue, 31 Jul 2007 18:45:57 -0400, jim-on-linux ha scritto:
Try This:
def reply():
showinfo('ciao','hello')
I've tried without success ... thanks
I've also discovered that when I (or some other prog using tkinter)
display menu, the underscore is an ugly little black box. So,
Tkinter import *
from tkMessageBox import *
def reply():
showinfo(title='ciao', message='hello')
win = Tk()
but = Button(win, text='press me', command=reply)
but.pack()
win.mainloop()
##
these are versions:
python: 2.4.4
res = Message(**options).show()
File lib-tk/tkCommonDialog.py, line 52, in show
s = w.tk.call(self.command, *w._options(self.options))
TclError: bad pad value 2m: must be positive screen distance
##
from Tkinter import *
from tkMessageBox import *
def reply
##
from Tkinter import *
from tkMessageBox import *
def reply():
showinfo(title='ciao', message='hello')
win = Tk()
but = Button(win, text='press me', command=reply)
but.pack()
win.mainloop()
##
these are versions:
python
Il Tue, 31 Jul 2007 19:12:48 +, kyosohma ha scritto:
I'm not sure, but I don't think you need the win variable at all. I
can get it to work as follows:
code
from Tkinter import *
from tkMessageBox import showinfo
def reply():
showinfo(title='ciao', message='hello
On Tuesday 31 July 2007 15:24, Fabio Z Tessitore
wrote:
Il Tue, 31 Jul 2007 19:12:48 +, kyosohma ha
scritto:
I'm not sure, but I don't think you need the
win variable at all. I can get it to work
as follows:
code
from Tkinter import *
from tkMessageBox import showinfo
In article [EMAIL PROTECTED], I wondered:
In article [EMAIL PROTECTED],
Glenn Hutchings [EMAIL PROTECTED] wrote:
On 4 Jun, 21:29, [EMAIL PROTECTED] wrote:
Is there a way to resize the width of the tkMessageBox.askyesno
dialog box, so that the text does not wrap to the next line.
You can use
On Jun 6, 3:38 pm, Eric Brunel [EMAIL PROTECTED] wrote:
My only advice would then be to avoid using the standard functions to
create dialog boxes, and to create them yourself. For example:
--
from Tkinter import *
[snip]
On Thu, 07 Jun 2007 09:04:24 +0200, [EMAIL PROTECTED] wrote:
[snip]
I can't believe there isn't an easier way to make a kiosk application
without titlebar.
That's not the problem: there *is* an easy way, and you found it:
overrideredirect(1). But now you're trying to mix windows ignored by
On Jun 7, 12:01 pm, Eric Brunel [EMAIL PROTECTED] wrote:
BTW, what are you trying to do here? Will your application run on a
normal desktop computer? Or will it run on special devices such as
vending machines or similar?
You got it: it's a special device.
in the second case, you shouldn't
On Tue, 05 Jun 2007 18:18:51 +0200, [EMAIL PROTECTED] wrote:
Hi everybody.
I have this code snippet that shows a window without a titlebar (using
overrideredirect) and two buttons on it: one quits and the other one
brings up a simple tkMessageBox.
On Windows (any flavour) the tkMessagebox
On Jun 6, 8:55 am, Eric Brunel [EMAIL PROTECTED] wrote:
Apparently:
Eric,
first of all, thanks!
def hello(self):
self.root.after_idle(self.root.lower)
tkMessageBox.showinfo(Popup, Hello!)
Well, this lowers the background frame but I want to keep it visible
under the popup.
As an
On Wed, 06 Jun 2007 14:26:12 +0200, [EMAIL PROTECTED] wrote:
As an aside, having a window with overrideredirect(1) creating normal
windows such as the one created via tkMessageBox.showinfo is asking for
problems. What are you trying to do here?
I just need a window without the titlebar as my
On 4 Jun, 21:29, [EMAIL PROTECTED] wrote:
Is there a way to resize the width of the tkMessageBox.askyesno
dialog box, so that the text does not wrap to the next line.
You can use the Tk option database, either explicitly or from a file.
For example, to set the wrap length of all dialogs to 10
Hi everybody.
I have this code snippet that shows a window without a titlebar (using
overrideredirect) and two buttons on it: one quits and the other one
brings up a simple tkMessageBox.
On Windows (any flavour) the tkMessagebox brings up over the
underlying window.
On Linux (apparently any
In article [EMAIL PROTECTED],
Glenn Hutchings [EMAIL PROTECTED] wrote:
On 4 Jun, 21:29, [EMAIL PROTECTED] wrote:
Is there a way to resize the width of the tkMessageBox.askyesno
dialog box, so that the text does not wrap to the next line.
You can use the Tk option database, either explicitly or
a non-native MessageBox which is
alleged to discomfort some end-users.
'Nother way to say this: tkMessageBox is implemented in terms of
native widgets, as much as possible, and native MessageBoxes on
at least some platforms do NOT provide for resizing or width
control.
--
http://mail.python.org
Hi,
Is there a way to resize the width of the tkMessageBox.askyesno
dialog box, so that the text does not wrap to the next line.
Thanks
Rahul
--
http://mail.python.org/mailman/listinfo/python-list
On Monday 04 June 2007 16:29, [EMAIL PROTECTED]
wrote:
Hi,
Is there a way to resize the width of the
tkMessageBox.askyesno dialog box, so that the
text does not wrap to the next line. Thanks
Rahul
I don't know of any.
It's a little more work but your better off using
Toplevel and/or frame,
import *
| | import tkMessageBox
| |
| | class Vue(object):
| | def __init__(self):
| | self.root=Tk()
| | self.root.title(test button visual state)
| | self.b1=Button(self.root,text=tkMessageBox.showinfo with bind
| | :-() #,command=self.showMsg
Hendrik van Rooyen wrote:
[EMAIL PROTECTED] Wrote:
|
| Hendrik van Rooyen wrote:
| [EMAIL PROTECTED] wrote:
|
| To: python-list@python.org
|
|
| | why is the button sunken when called through a bind method, and not
| | with the command attribute?
| | Thank you!
| |
| |
|
why is the button sunken when called through a bind method, and not
with the command attribute?
Thank you!
## Cut'nPaste example
from Tkinter import *
import tkMessageBox
class Vue(object):
def __init__(self):
self.root=Tk()
self.root.title(test button visual state
[EMAIL PROTECTED] wrote:
To: python-list@python.org
| why is the button sunken when called through a bind method, and not
| with the command attribute?
| Thank you!
|
|
| ## Cut'nPaste example
| from Tkinter import *
| import tkMessageBox
|
| class Vue(object):
| def __init__(self
Hendrik van Rooyen wrote:
[EMAIL PROTECTED] wrote:
To: python-list@python.org
| why is the button sunken when called through a bind method, and not
| with the command attribute?
| Thank you!
|
|
| ## Cut'nPaste example
| from Tkinter import *
| import tkMessageBox
|
| class Vue
Harlin Seritt wrote:
From what I've seen I'm afraid this is the way it is. If you call an
instance of tkMessageBox and you don't have a 'master' Tk instance
running, it will create its own.
Still, I'm sure with a bit of voodoo you can hide the self created tk
window while showing
Hi,
I've been testing the standard dialog boxes in tkMessageBox under IDLE.
If I type for example, tkMessageBox.askyesno('test', 'test'), the dialog box
comes up fine but another window also appears. I'm guessing this is the
parent window of the message box. If I click on either of the yes
Nathan,
From what I've seen I'm afraid this is the way it is. If you call an
instance of tkMessageBox and you don't have a 'master' Tk instance
running, it will create its own.
Still, I'm sure with a bit of voodoo you can hide the self created tk
window while showing the message box. If you find
Nathan wrote:
Hi,
I've been testing the standard dialog boxes in tkMessageBox under
IDLE.
If I type for example, tkMessageBox.askyesno('test', 'test'), the
dialog box
comes up fine but another window also appears. I'm guessing this is
the
parent window of the message box. If I click
51 matches
Mail list logo