[issue2975] VS8 include dirs grow without bound

2008-09-02 Thread Jim Kleckner

Jim Kleckner [EMAIL PROTECTED] added the comment:

Here is the equals sign fix as a separate patch file.

Added file: http://bugs.python.org/file11343/equalsInEnv.patch

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2975
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2975] VS8 include dirs grow without bound

2008-09-02 Thread Jim Kleckner

Jim Kleckner [EMAIL PROTECTED] added the comment:

Any hope for these two patches being applied?

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2975
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2975] VS8 include dirs grow without bound

2008-09-02 Thread Jim Kleckner

Jim Kleckner [EMAIL PROTECTED] added the comment:

Yes, much better.  I should have read into the interior of the
discussion rather than just the edges...

Thanks!

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2975
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2975] VS8 include dirs grow without bound

2008-07-23 Thread Jim Kleckner

Jim Kleckner [EMAIL PROTECTED] added the comment:

Any new thoughts on this?

I had to patch my local copy again after a reinstall.
It would be nice to fix it upstream.

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2975
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2975] VS8 include dirs grow without bound

2008-07-23 Thread Jim Kleckner

Jim Kleckner [EMAIL PROTECTED] added the comment:

Sorry, posted too quickly.

Actually, the problem was a little different.
There was an environment variable with '=' characters in it.

Here is a patch to deal with that:

--- msvc9compiler.py.orig   2008-07-23 16:13:25.248438400 -0700
+++ msvc9compiler.py2008-07-23 16:13:54.059867200 -0700
@@ -252,7 +252,9 @@
 if '=' not in line:
 continue
 line = line.strip()
-key, value = line.split('=')
+i = line.index('=')
+key   = line[0:i]
+value = line[i:]
 key = key.lower()
 if key in interesting:
 if value.endswith(os.pathsep):

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2975
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2975] VS8 include dirs grow without bound

2008-05-29 Thread Jim Kleckner

Jim Kleckner [EMAIL PROTECTED] added the comment:

Actually, now that I think about it a little more, it seems like very
bad practice to change the process environment variables as a side effect.

A better solution would be to keep a variable for the required ones that
is modified as necessary.

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2975
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2975] VS8 include dirs grow without bound

2008-05-28 Thread Jim Kleckner

Jim Kleckner [EMAIL PROTECTED] added the comment:

Talk about tunnel vision...  The code is right next to it!

It is the include paths that are growing without bound (and presumably
the LIBPATH as well).

The test case is the Cython unit tests.  They run until the include
variable generates a line too long error.

The normalize_and_reduce_paths() function needs to be performed on
INCLUDE and LIBPATH in addition to the exec path.  i.e.
os.environ['lib'] and os.environ['include'].

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2975
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2256] Install failure of 2.6a1 on Windows XP without VS8 installed

2008-04-10 Thread Jim Kleckner

Jim Kleckner [EMAIL PROTECTED] added the comment:

I hadn't seen any comment here that I should try it again until your
question (that was why the ping).

I did try it again and my application worked.

Thanks!

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2256
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2256] Install failure of 2.6a1 on Windows XP without VS8 installed

2008-04-09 Thread Jim Kleckner

Jim Kleckner [EMAIL PROTECTED] added the comment:

Ping.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2256
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2256] Install failure of 2.6a1 on Windows XP without VS8 installed

2008-04-09 Thread Jim Kleckner

Jim Kleckner [EMAIL PROTECTED] added the comment:

It appears that issue2563 may be a dependency.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2256
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2256] Install failure of 2.6a1 on Windows XP without VS8 installed

2008-03-08 Thread Jim Kleckner

Jim Kleckner added the comment:

I uninstalled and re-ran the install without the compile all selected.

The install didn't report errors.

running:
 python -c import test.testall
results in a traceback with the message:
  import _socket
   ImportError: DLL load failed: The system could not find the file
specified.

What sorts of things should I probe into?

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2256
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2256] Install failure of 2.6a1 on Windows XP without VS8 installed

2008-03-07 Thread Jim Kleckner

New submission from Jim Kleckner:

When I install 2.6a1 onto a Windoze machine I get a dialog:
  There is a problem with this Windows Installer package.
  A program run as part of the setup did not finish as expected.
  Contact your support personnel or package vendor.

Note that it didn't have VS2008 or any other new code installed.
The problem appears related to Tkinter but that isn't clear.

When running the Python console, running
  import Tkinter

results in an error saying that _tkinter can't be loaded.
  DLL load failed.  The system can't find _tkinter.pyd

_tkinter.pyd and tcl84.dll and tk84.dll are in DLLs and
appear to have reasonable permissions.

I suspect something in the install failed to set something
in the registry.

This is on a current-patch XP
system and that I also tried python-2.6.13944.msi
from the buildbot just in case after uninstalling/reinstalling
with no difference.

Attached is a compressed log of the install.

Perhaps this PROPERTY CHANGE: Deleting SECONDSEQUENCE 
is the problem?

Here is an excerpt from the log file:


Property(S): Privileged = 1
Property(S): DATABASE = C:\WINDOWS\Installer\5f5ad0.msi
Property(S): OriginalDatabase = C:\cygwin\tmp\python-2.6a1.msi
Property(S): UILevel = 5
Property(S): Preselected = 1
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): SOURCEDIR = C:\cygwin\tmp\
Property(S): SourcedirProduct = {0BA82E1B-52FD-4E03-8610-A6C76238E8A8}
Property(S): ProductToBeRegistered = 1
MSI (s) (FC:D0) [16:38:30:939]: MainEngineThread is returning 1603
MSI (s) (FC:C0) [16:38:30:939]: Destroying RemoteAPI object.
MSI (s) (FC:54) [16:38:30:939]: Custom Action Manager thread ending.
MSI (c) (E0:54) [16:38:30:954]: Back from server. Return value: 1603
MSI (c) (E0:54) [16:38:30:954]: Decrementing counter to disable 
shutdown. If counter = 0, shutdown will be denied.  Counter after 
decrement: -1
MSI (c) (E0:54) [16:38:30:954]: PROPERTY CHANGE: Deleting SECONDSEQUENCE 
property. Its current value is '1'.
Action ended 16:38:30: ExecuteAction. Return value 3.
MSI (c) (E0:54) [16:38:30:954]: Doing action: FatalError
Action 16:38:30: FatalError.
Action start 16:38:30: FatalError.
Action 16:38:30: FatalError. Dialog created
Action ended 16:38:32: FatalError. Return value 2.
Action ended 16:38:32: INSTALL. Return value 3.
MSI (c) (E0:54) [16:38:32:375]: Destroying RemoteAPI object.
MSI (c) (E0:2C) [16:38:32:375]: Custom Action Manager thread ending.
Property(C): X = C:\Python26\Tools\pynche\X\
Property(C): UpgradeCode = {65E6DE48-A358-434D-AA4F-4AF72DB4718F}
Property(C): ProductName = Python 2.6a1
Property(C): ProductCode = {0BA82E1B-52FD-4E03-8610-A6C76238E8A8}
Property(C): ProductVersion = 2.6.101
Property(C): Manufacturer = Python Software Foundation

--
components: Installation
files: debuglog.txt.zip
messages: 63371
nosy: jkleckner
severity: normal
status: open
title: Install failure of 2.6a1 on Windows XP without VS8 installed
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file9634/debuglog.txt.zip

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2256
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com