Helmut Jarausch [EMAIL PROTECTED] added the comment:
Many thanks, that solved the problem.
Since the cause of the problem wasn't easy to find out
(for me, at least)
would be possible to check at import time if Tcl/Tk has been
configured with threads enabled?
Helmut
Helmut Jarausch [EMAIL PROTECTED] added the comment:
Hi,
is this assumed to be fixed in 3.0rc1 ?
with SVN 66506 (3.0rc1+)
for dirname, subdirs, files in os.walk(bytes(Top,'iso-8859-1')) :
still gives an error here:
for dirname, subdirs, files in os.walk(bytes(Top,'iso-8859-1')) :
File
New submission from Helmut Jarausch [EMAIL PROTECTED]:
Background:
I (as many others, too) have used the following code in the past
ARC='MyDumpFile'
tar_inp= os.popen('/bin/tar cjf '+ARC+' -T -','w')
tar_exit_code= tar_inp.close()
if tar_exit_code != None and tar_exit_code % 256 :
print
Helmut Jarausch [EMAIL PROTECTED] added the comment:
The suggested fix succeeds but then the next problem occurs
Traceback (most recent call last):
File /usr/local/bin/2to3, line 6, in module
sys.exit(refactor.main(fixers))
File /usr/local/lib/python3.0/lib2to3/refactor.py, line 81, in main
Helmut Jarausch [EMAIL PROTECTED] added the comment:
This patch seems to work, but
when invoked it tries to write to /usr/local/lib/python3.0/lib2to3
( I get
root: Writing failed:[Errno 13] Permission denied: '/usr/local/lib/
python3.0/lib2to3/PatternGrammar3.0.0.beta.1.pickle'
)
I hope
New submission from Helmut Jarausch [EMAIL PROTECTED]:
The script below produces 1664 lines of output before it bails out with
Traceback (most recent call last):
File WalkBug.py, line 5, in module
for Dir, SubDirs, Files in os.walk('/home/jarausch') :
File /usr/local/lib/python3.0/os.py
Helmut Jarausch [EMAIL PROTECTED] added the comment:
Could you tell us what this 1665th line should be?
Maybe the 1665th directory has something special (a filename with
spaces or non-ascii chars...)
Yes, the next directory contains a filename with an iso-latin1 but non-
ascii character
New submission from Helmut Jarausch [EMAIL PROTECTED]:
With version 3.0 (SVN 66386)
import pydoc
pydoc.gui()
gives
Exception in thread Thread-1:
Traceback (most recent call last):
File /usr/local/lib/python3.0/threading.py, line 507, in
_bootstrap_inner
self.run()
File /usr/local
New submission from Helmut Jarausch:
The following code triggers the bug:
#!/usr/bin/python3.3
#-*- coding: latin1 -*-
from email.message import Message
from email import policy
from email.parser import FeedParser
Parser= FeedParser(policy=policy.SMTP)
Parser.feed('From jarau...@igpm.rwth
New submission from Helmut Jarausch:
I have tcl/tk 8.6.0 installed here. Both Python versions below
are build from source.
I'm using LANG=en_US.iso88591 here if that matters.
When opening a file in Idle with
python-3.3.1 revision: c08bcf5302ec
or
python-3.4.0a0 (default:3a110a506d35) (HG
Helmut Jarausch added the comment:
The problem is caused by the new format_exception in Python's traceback.py
file. It reads
def format_exception(etype, value, tb, limit=None, chain=True):
list = []
if chain:
values = _iter_chain(value, tb)
else:
values = [(value, tb
New submission from Helmut Jarausch:
Trying to generate an email with Latin-1 characters in the TO or FROM
field either produces an exception or produces strange values in the generated
email:
Using Python 3.2.3+ (3.2:481f5d9ef577+, Aug 8 2012, 10:00:28)
#!/usr/bin/python3
#-*- coding
New submission from Helmut Jarausch:
import tkinter as Tk
root= Tk.Tk()
root.tk_setPalette(background = 'AntiqueWhite1', foreground = 'blue')
but python-3.3:0+ (3.3:27cb1a3d57c8+) gives
Traceback (most recent call last):
File Matr_Select.py, line 174, in module
root.tk_setPalette
13 matches
Mail list logo