[ python-Bugs-1199808 ] installation problem with python 2.4.1 on Win2k system

2005-05-11 Thread SourceForge.net
Bugs item #1199808, was opened at 2005-05-11 05:50
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=1199808&group_id=5470

Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: mmkobayashi (mmkobayashi)
Assigned to: Nobody/Anonymous (nobody)
Summary: installation problem with python 2.4.1 on Win2k system

Initial Comment:
After several attempts to install python2.4.1 on a win2k 
systems with doing all windows updates, we have been 
unable to install python2.4.1 on this system. We have 
attached an error logfile. The main thing that happens is 
that the install proceeds as normal but at some point 
the install decides that something has gone wrong and 
uninstalls itself.

Any help in this matter would be greatly appreciated.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1199808&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1199947 ] Python 2.4.1 Installer ended prematurely

2005-05-11 Thread SourceForge.net
Bugs item #1199947, was opened at 2005-05-11 09:01
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=1199947&group_id=5470

Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Wai Yip Tung (tungwaiyip)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python 2.4.1 Installer ended prematurely

Initial Comment:
Similar symptom to bug 105470
http://sourceforge.net/tracker/index.php?
func=detail&aid=1085208&group_id=5470&atid=105470

Running python-2.4.1.msi with all default setting. It ends 
quickly with a dialogbox titled "Python 2.4.1 Installer 
ended prematurely". Same problem running the 2.4 msi.

Machine information:

Windows XP Professional V2002 SP2
Dell Latitude D600 640MB RAM
Symantec Antivirus 9.0.1.1000 (disable it does not help)
cscript.exe version 5.6.0.8825 (upgraded from 8820?)

The workaround mentioned in 105470 does not help. 
Running x.vbs gives me 0. Doing 

regsvr32 c:\windows\system32\scrrun.dll

makes no difference.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1199947&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1196315 ] WeakValueDictionary.__init__ is backwards

2005-05-11 Thread SourceForge.net
Bugs item #1196315, was opened at 2005-05-05 21:59
Message generated for change (Comment added) made by mcfletch
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1196315&group_id=5470

Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Pavel Pergamenshchik (ppergame)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: WeakValueDictionary.__init__ is backwards

Initial Comment:
>>> from weakref import WeakValueDictionary as wvd
>>> class A:
... pass
... 
>>> wvd({1:A()})
Traceback (most recent call last):
  File "", line 1, in ?
  File "/usr/lib/python2.4/weakref.py", line 46, in
__init__
UserDict.UserDict.__init__(self, *args, **kw)
  File "/usr/lib/python2.4/UserDict.py", line 7, in
__init__
self.update(dict)
  File "/usr/lib/python2.4/weakref.py", line 161, in update
d[key] = KeyedRef(o, self._remove, key)
AttributeError: WeakValueDictionary instance has no
attribute '_remove'


WeakValueDictionary.__init__ calls UserDict.__init__
first and sets self._remove second. It should do it the
other way around. This is a regression from 2.3.


--

Comment By: Mike C. Fletcher (mcfletch)
Date: 2005-05-11 15:23

Message:
Logged In: YES 
user_id=34901

I would agree that the order is definitely broken.

--

Comment By: Raymond Hettinger (rhettinger)
Date: 2005-05-09 23:36

Message:
Logged In: YES 
user_id=80475

Fred, I believe this was your change (1.23).
The OP's request apprears correct to me.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1196315&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

2005-05-11 Thread SourceForge.net
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.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-11 13:35

Message:
Logged In: YES 
user_id=357491

OK, fixed the version and reopened this.

No, you don't need to poll, just call time.tzset() before
you call time.localtime() or anything else that relies on
the timezone.  It isn't that expensive of a call.  Post here
if that fixes it or not.

And in terms of inelegance, the only other solution is to
implicitly call time.tzset() internally for all time
functions.  This is an issue imposed by the ISO C libraries.

--

Comment By: David Lambert (jdalambert)
Date: 2005-05-10 19: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 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-1195984 ] SystemError: error return without exception set

2005-05-11 Thread SourceForge.net
Bugs item #1195984, was opened at 2005-05-05 11:38
Message generated for change (Comment added) made by tjreedy
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: Terry J. Reedy (tjreedy)
Date: 2005-05-11 19:07

Message:
Logged In: YES 
user_id=593130

When people mix their own C code with CPython and get a 
SystemError like this, the probability that the error is in the 
added code and not the core code is perhaps greater than .95.  
Please consider closing this report as invalid unless and until you 
have evidence that the problem is indeed in the core code.

To get help reviewing your added code, you can post to 
comp.lang.python, the general Python mailing list (python.org), 
or gmane.comp.python.general (gmane.org).

To me, the Python error message seems meaningful enough.  It 
seems to claim that you made an error return without setting an 
exception according to the rules of the C API.  

--

Comment By: Michael Hudson (mwh)
Date: 2005-05-10 09: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 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-1200287 ] Windows msi installer fails on virtual drives

2005-05-11 Thread SourceForge.net
Bugs item #1200287, was opened at 2005-05-11 19:55
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=1200287&group_id=5470

Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: bartgrantham (bartgrantham)
Assigned to: Nobody/Anonymous (nobody)
Summary: Windows msi installer fails on virtual drives

Initial Comment:
The MSI installer for 2.4.1 failed to install from a
virtual drive under windows (ie. a drive created with
subst).  It would error out without an error code,
immediately after package selection and before
"thinking...".   Not sure if this also applies to
network mapped drives.  Moving installer to genuine C:
drive and running from there fixed the problem.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1200287&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1199808 ] installation problem with python 2.4.1 on Win2k system

2005-05-11 Thread SourceForge.net
Bugs item #1199808, was opened at 2005-05-11 05:50
Message generated for change (Comment added) made by mmkobayashi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1199808&group_id=5470

Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: mmkobayashi (mmkobayashi)
Assigned to: Nobody/Anonymous (nobody)
Summary: installation problem with python 2.4.1 on Win2k system

Initial Comment:
After several attempts to install python2.4.1 on a win2k 
systems with doing all windows updates, we have been 
unable to install python2.4.1 on this system. We have 
attached an error logfile. The main thing that happens is 
that the install proceeds as normal but at some point 
the install decides that something has gone wrong and 
uninstalls itself.

Any help in this matter would be greatly appreciated.

--

>Comment By: mmkobayashi (mmkobayashi)
Date: 2005-05-11 22:53

Message:
Logged In: YES 
user_id=1273313

add file

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1199808&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com