[ python-Bugs-1195984 ] SystemError: error return without exception set
Bugs item #1195984, was opened at 2005-05-05 11:38 Message generated for change (Comment added) made by nbajpai You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1195984&group_id=5470 Category: Python Interpreter Core Group: Python 2.4 Status: Open Resolution: None >Priority: 6 Submitted By: Niraj Bajpai (nbajpai) Assigned to: Nobody/Anonymous (nobody) Summary: SystemError: error return without exception set Initial Comment: I am getting following error with Python 2.4.1 relase: "SystemError: error return without exception set" my code works fine with earlier release (python 2.4). Its a C code build in python so does not leave much traces to describe problem more. Important Notes: Release name: 2.4.1(final) Platform: Solaris 2.8 Error: "SystemError: error return without exception set" -- >Comment By: Niraj Bajpai (nbajpai) Date: 2005-05-10 09:50 Message: Logged In: YES user_id=1165734 Actually the same error happens in both 2.4 and 2.4.1. I call in python code to receive events from C code embedded in python interpreter. There are two meaningful events and idle event. I commented idle event in the code (C-code) and start seeing this error. from python code: x.receive(A) << Error happens here where A can be , receive "X" or receive "Y" or receive "NOTHING" In C code when I comment "NOTHING" event generator, I get the error. Some meaningful exception in python would have been better. -- Comment By: Michael Hudson (mwh) Date: 2005-05-06 07:45 Message: Logged In: YES user_id=6656 Uh, there's not a lot to go on here. Can you post some code? -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1195984&group_id=5470 ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[ python-Bugs-1195984 ] SystemError: error return without exception set
Bugs item #1195984, was opened at 2005-05-05 16:38 Message generated for change (Comment added) made by mwh You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1195984&group_id=5470 Category: Python Interpreter Core Group: Python 2.4 Status: Open Resolution: None >Priority: 5 Submitted By: Niraj Bajpai (nbajpai) Assigned to: Nobody/Anonymous (nobody) Summary: SystemError: error return without exception set Initial Comment: I am getting following error with Python 2.4.1 relase: "SystemError: error return without exception set" my code works fine with earlier release (python 2.4). Its a C code build in python so does not leave much traces to describe problem more. Important Notes: Release name: 2.4.1(final) Platform: Solaris 2.8 Error: "SystemError: error return without exception set" -- >Comment By: Michael Hudson (mwh) Date: 2005-05-10 14:52 Message: Logged In: YES user_id=6656 Are you writing your own C code? If so, why do you suspect a bug in Python itself? (Also, a debug build of python can be useful for this sort of thing). -- Comment By: Niraj Bajpai (nbajpai) Date: 2005-05-10 14:50 Message: Logged In: YES user_id=1165734 Actually the same error happens in both 2.4 and 2.4.1. I call in python code to receive events from C code embedded in python interpreter. There are two meaningful events and idle event. I commented idle event in the code (C-code) and start seeing this error. from python code: x.receive(A) << Error happens here where A can be , receive "X" or receive "Y" or receive "NOTHING" In C code when I comment "NOTHING" event generator, I get the error. Some meaningful exception in python would have been better. -- Comment By: Michael Hudson (mwh) Date: 2005-05-06 12:45 Message: Logged In: YES user_id=6656 Uh, there's not a lot to go on here. Can you post some code? -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1195984&group_id=5470 ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[ python-Bugs-1199282 ] subprocess _active.remove(self) self not in list _active
Bugs item #1199282, was opened at 2005-05-10 18:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1199282&group_id=5470
Category: None
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: cheops (atila-cheops)
Assigned to: Nobody/Anonymous (nobody)
Summary: subprocess _active.remove(self) self not in list _active
Initial Comment:
I start a subprocess in a seperate thread (25 concurrent
threads)
in some of the threads the following error occurs
Exception in thread Thread-4:
Traceback (most recent call last):
File "C:\Python24\lib\threading.py", line 442, in
__bootstrap
self.run()
File "upgrade.py", line 45, in run
returncode = p.wait()
File "C:\Python24\lib\subprocess.py", line 765, in wait
_active.remove(self)
ValueError: list.remove(x): x not in list
this is the code that starts the subprocess and where I
wait for the result
p = subprocess.Popen('command', stdin=None,
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
universal_newlines=True)
returncode = p.wait()
errormessage = p.stdout.readlines()
--
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1199282&group_id=5470
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[ python-Bugs-1085208 ] Installation ends prematurely
Bugs item #1085208, was opened at 2004-12-14 08:18
Message generated for change (Comment added) made by tungwaiyip
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1085208&group_id=5470
Category: Installation
Group: Python 2.4
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: anamh0001 (anamh0001)
Assigned to: Martin v. Löwis (loewis)
Summary: Installation ends prematurely
Initial Comment:
Test machine:
Pentium 4M 1.7Ghz
Win XP Pro w/ SP2
512Mb RAM
30Gb HD
.Net Framework 1.0 and 1.1
Windows Scripting Host 5.6
After double clicking the installation file. It proceeds to
act like any other Windows Installer. After accepting
c:\Python24 as the install directory, I am presented with
this screen saying that there was an error and that the
installation has ended prematurely.
FYI, I tried to install over Python 2.3 (as in upgrade) but
I got the same error. So I proceeded to uninstall Python
2.3 and other installed libraries. I then restarted the PC
and tried to install Python 2.4 again. This bug is the
symptom of this second try.
Please find the screenshot attached showing the final
screen.
--
Comment By: Wai Yip Tung (tungwaiyip)
Date: 2005-05-10 12:58
Message:
Logged In: YES
user_id=561546
Having previously sucessfully installer Python 2.4. I run into
this same error with both 2.4 and 2.4.1.msi on a new
computer. Running x.vbs gives me 0. Doing
regsvr32 c:\windows\system32\scrrun.dll
does not help. cscript shows version info below:
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights
reserved.
I have captured a log file but perhaps I'm not the orginator of
this bug I don't seems to have the capability to upload it.
--
Comment By: Martin v. Löwis (loewis)
Date: 2004-12-22 04:41
Message:
Logged In: YES
user_id=21627
This is fixed for 2.4.1, which will not require VB anymore.
--
Comment By: anamh0001 (anamh0001)
Date: 2004-12-16 07:21
Message:
Logged In: YES
user_id=1178107
BUG FIXED -- solution below.
1)
BTW I actually thought the installer was looking for
c:\python24. So I created the folder before running the
installer again. But it didnt work.
When I ran the script. It returned this error: I used cscript.
c:\x.vbs(2, 7) (null): The specified module could not be found.
2) The version of wscript and cscript is 5.6.0.8825
3) This is latest version because I read that installing the
latest version of scripting host fixes installation problems.
I managed to fix it. I registered scrrun.dll by typing:
regsvr32 c:\windows\system32\scrrun.dll
Thanks for all the help..
--
Comment By: Martin v. Löwis (loewis)
Date: 2004-12-16 05:07
Message:
Logged In: YES
user_id=21627
Can you please try the following things?
1. Run the script
== SNIP
Function CheckDir()
Set FSO = CreateObject("Scripting.FileSystemObject")
if FSO.FolderExists("c:\python24") then
wscript.echo "1"
else
wscript.echo "0"
end if
End Function
CheckDir()
= SNIP ==
in wscript.exe (i.e. save it into c:\x.vbs, then run c:\x.vbs)
2. Report the version of
C:\WINDOWS\SYSTEM32\wscript.exe
(5.6 is too imprecise - could it be that you have 5.6.0.8820?)
3. Install VBScript, from
http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943
-7E4B-4622-86EB-95A22B832CAA&displaylang=en
--
Comment By: anamh0001 (anamh0001)
Date: 2004-12-16 02:04
Message:
Logged In: YES
user_id=1178107
Please find the msi log file attached.
I managed to pinpoint the area where it breaks.. It's failing
on CheckDir with an error 2896.
-
MSI (c) (88:54) [09:50:38:430]: Doing action: CheckDir
Action start 09:50:38: CheckDir.
MSI (c) (88:3C) [09:50:38:440]: Cloaking enabled.
MSI (c) (88:3C) [09:50:38:440]: Attempting to enable all
disabled priveleges before calling Install on Server
MSI (c) (88:3C) [09:50:38:440]: Connected to service for CA
interface.
MSI (c) (88:88) [09:50:38:580]: Entering
MsiProvideComponentFromDescriptor. Descriptor: 2eAq^]D2g
(8V7Xaq(hoRIngresDBMS>M5KDYSUnf(HA*L[xeX)y, PathBuf:
1C4F348, pcchPathBuf: 1C4F344, pcchArgsOffset: 1C4F2A4
MSI (c) (88:88) [09:50:38:580]:
MsiProvideComponentFromDescriptor called for component
{997FA962-E067-11D1-9396-00A0C90F27F9}: returning
harcoded oleaut32.dll value
MSI (c) (88:88) [09:50:38:580]:
MsiProvideComponentFromDescriptor is returning: 0
Action ended 09:50:38: CheckDir. Return value 3.
MSI (c) (88:54) [09:50:38:921]: Note: 1: 2262 2: Error 3: -
2147287038
DEBUG: Error 2896: Executing action CheckDir failed.
The installe
[ python-Bugs-1198275 ] time module ignores timezone changes
Bugs item #1198275, was opened at 2005-05-09 06:14 Message generated for change (Comment added) made by bcannon You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1198275&group_id=5470 Category: Extension Modules Group: Python 2.2.3 Status: Open Resolution: None Priority: 5 Submitted By: David Lambert (jdalambert) Assigned to: Brett Cannon (bcannon) Summary: time module ignores timezone changes Initial Comment: Running on Fedora Core 3 Linux Consider the simple program import time while 1: print time.localtime() time.sleep(1) The tuple printed by this program does not reflect any change in the system timezone until the interpreter is exited and restarted. Using reload(time) does not fix the problem. Are there any workarounds? -- >Comment By: Brett Cannon (bcannon) Date: 2005-05-10 16:07 Message: Logged In: YES user_id=357491 David, how did you change the timezone? And did you call time.tzset()? If you didn't call time.tzset(), that's the problem. If you did, then there is a bug. -- Comment By: Raymond Hettinger (rhettinger) Date: 2005-05-09 20:09 Message: Logged In: YES user_id=80475 Brett, are you still in the time business? -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1198275&group_id=5470 ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[ python-Bugs-1198275 ] time module ignores timezone changes
Bugs item #1198275, was opened at 2005-05-09 06:14 Message generated for change (Comment added) made by bcannon You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1198275&group_id=5470 Category: Extension Modules Group: Python 2.2.3 >Status: Closed >Resolution: Wont Fix Priority: 5 Submitted By: David Lambert (jdalambert) Assigned to: Brett Cannon (bcannon) Summary: time module ignores timezone changes Initial Comment: Running on Fedora Core 3 Linux Consider the simple program import time while 1: print time.localtime() time.sleep(1) The tuple printed by this program does not reflect any change in the system timezone until the interpreter is exited and restarted. Using reload(time) does not fix the problem. Are there any workarounds? -- >Comment By: Brett Cannon (bcannon) Date: 2005-05-10 16:10 Message: Logged In: YES user_id=357491 Wait, I just noticed after I sent my follow-up that this bug report is against Python 2.2.3 . You won't find time.tzset() that far back. The issue is that you need to use time.tzset() to reset the timezone for the C library functions to use any change you have made since they cache information internally. I am closing this as "won't fix" since it has been resolved in later versions and 2.2 is too old to bother backporting for. -- Comment By: Brett Cannon (bcannon) Date: 2005-05-10 16:07 Message: Logged In: YES user_id=357491 David, how did you change the timezone? And did you call time.tzset()? If you didn't call time.tzset(), that's the problem. If you did, then there is a bug. -- Comment By: Raymond Hettinger (rhettinger) Date: 2005-05-09 20:09 Message: Logged In: YES user_id=80475 Brett, are you still in the time business? -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1198275&group_id=5470 ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[ python-Bugs-1198275 ] time module ignores timezone changes
Bugs item #1198275, was opened at 2005-05-09 08:14 Message generated for change (Comment added) made by jdalambert You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1198275&group_id=5470 Category: Extension Modules Group: Python 2.2.3 Status: Closed Resolution: Wont Fix Priority: 5 Submitted By: David Lambert (jdalambert) Assigned to: Brett Cannon (bcannon) Summary: time module ignores timezone changes Initial Comment: Running on Fedora Core 3 Linux Consider the simple program import time while 1: print time.localtime() time.sleep(1) The tuple printed by this program does not reflect any change in the system timezone until the interpreter is exited and restarted. Using reload(time) does not fix the problem. Are there any workarounds? -- >Comment By: David Lambert (jdalambert) Date: 2005-05-10 21:33 Message: Logged In: YES user_id=845425 Ouch! I don't know how I got 2.2.3 on the bug report? My version of Python is 2.3.4. Sorry for the confusion.:-( Let me explain further. The problem is that I have a Python script that is run as a daemon and uses localtime(). If another program (outside of my control) changes the timezone, the my daemon gets the local time according to the original timezone. Do I have to periodically poll to see if the timezone has changed? That seems somewhat inelegant. -- Comment By: Brett Cannon (bcannon) Date: 2005-05-10 18:10 Message: Logged In: YES user_id=357491 Wait, I just noticed after I sent my follow-up that this bug report is against Python 2.2.3 . You won't find time.tzset() that far back. The issue is that you need to use time.tzset() to reset the timezone for the C library functions to use any change you have made since they cache information internally. I am closing this as "won't fix" since it has been resolved in later versions and 2.2 is too old to bother backporting for. -- Comment By: Brett Cannon (bcannon) Date: 2005-05-10 18:07 Message: Logged In: YES user_id=357491 David, how did you change the timezone? And did you call time.tzset()? If you didn't call time.tzset(), that's the problem. If you did, then there is a bug. -- Comment By: Raymond Hettinger (rhettinger) Date: 2005-05-09 22:09 Message: Logged In: YES user_id=80475 Brett, are you still in the time business? -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1198275&group_id=5470 ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[ python-Bugs-1085208 ] Installation ends prematurely
Bugs item #1085208, was opened at 2004-12-14 17:18
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1085208&group_id=5470
Category: Installation
Group: Python 2.4
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: anamh0001 (anamh0001)
Assigned to: Martin v. Löwis (loewis)
Summary: Installation ends prematurely
Initial Comment:
Test machine:
Pentium 4M 1.7Ghz
Win XP Pro w/ SP2
512Mb RAM
30Gb HD
.Net Framework 1.0 and 1.1
Windows Scripting Host 5.6
After double clicking the installation file. It proceeds to
act like any other Windows Installer. After accepting
c:\Python24 as the install directory, I am presented with
this screen saying that there was an error and that the
installation has ended prematurely.
FYI, I tried to install over Python 2.3 (as in upgrade) but
I got the same error. So I proceeded to uninstall Python
2.3 and other installed libraries. I then restarted the PC
and tried to install Python 2.4 again. This bug is the
symptom of this second try.
Please find the screenshot attached showing the final
screen.
--
>Comment By: Martin v. Löwis (loewis)
Date: 2005-05-11 07:39
Message:
Logged In: YES
user_id=21627
This can't be the same bug (maybe the same symptom), so
please submit a new bug report.
--
Comment By: Wai Yip Tung (tungwaiyip)
Date: 2005-05-10 21:58
Message:
Logged In: YES
user_id=561546
Having previously sucessfully installer Python 2.4. I run into
this same error with both 2.4 and 2.4.1.msi on a new
computer. Running x.vbs gives me 0. Doing
regsvr32 c:\windows\system32\scrrun.dll
does not help. cscript shows version info below:
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights
reserved.
I have captured a log file but perhaps I'm not the orginator of
this bug I don't seems to have the capability to upload it.
--
Comment By: Martin v. Löwis (loewis)
Date: 2004-12-22 13:41
Message:
Logged In: YES
user_id=21627
This is fixed for 2.4.1, which will not require VB anymore.
--
Comment By: anamh0001 (anamh0001)
Date: 2004-12-16 16:21
Message:
Logged In: YES
user_id=1178107
BUG FIXED -- solution below.
1)
BTW I actually thought the installer was looking for
c:\python24. So I created the folder before running the
installer again. But it didnt work.
When I ran the script. It returned this error: I used cscript.
c:\x.vbs(2, 7) (null): The specified module could not be found.
2) The version of wscript and cscript is 5.6.0.8825
3) This is latest version because I read that installing the
latest version of scripting host fixes installation problems.
I managed to fix it. I registered scrrun.dll by typing:
regsvr32 c:\windows\system32\scrrun.dll
Thanks for all the help..
--
Comment By: Martin v. Löwis (loewis)
Date: 2004-12-16 14:07
Message:
Logged In: YES
user_id=21627
Can you please try the following things?
1. Run the script
== SNIP
Function CheckDir()
Set FSO = CreateObject("Scripting.FileSystemObject")
if FSO.FolderExists("c:\python24") then
wscript.echo "1"
else
wscript.echo "0"
end if
End Function
CheckDir()
= SNIP ==
in wscript.exe (i.e. save it into c:\x.vbs, then run c:\x.vbs)
2. Report the version of
C:\WINDOWS\SYSTEM32\wscript.exe
(5.6 is too imprecise - could it be that you have 5.6.0.8820?)
3. Install VBScript, from
http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943
-7E4B-4622-86EB-95A22B832CAA&displaylang=en
--
Comment By: anamh0001 (anamh0001)
Date: 2004-12-16 11:04
Message:
Logged In: YES
user_id=1178107
Please find the msi log file attached.
I managed to pinpoint the area where it breaks.. It's failing
on CheckDir with an error 2896.
-
MSI (c) (88:54) [09:50:38:430]: Doing action: CheckDir
Action start 09:50:38: CheckDir.
MSI (c) (88:3C) [09:50:38:440]: Cloaking enabled.
MSI (c) (88:3C) [09:50:38:440]: Attempting to enable all
disabled priveleges before calling Install on Server
MSI (c) (88:3C) [09:50:38:440]: Connected to service for CA
interface.
MSI (c) (88:88) [09:50:38:580]: Entering
MsiProvideComponentFromDescriptor. Descriptor: 2eAq^]D2g
(8V7Xaq(hoRIngresDBMS>M5KDYSUnf(HA*L[xeX)y, PathBuf:
1C4F348, pcchPathBuf: 1C4F344, pcchArgsOffset: 1C4F2A4
MSI (c) (88:88) [09:50:38:580]:
MsiProvideComponentFromDescriptor called for component
{997FA962-E067-11D1-9396-00A0C90F27F9}: returning
harcoded oleaut32.dll value
MSI (c) (88
