Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XP manifest files should be installed #38876

Closed
hpunt mannequin opened this issue Jul 19, 2003 · 7 comments
Closed

XP manifest files should be installed #38876

hpunt mannequin opened this issue Jul 19, 2003 · 7 comments
Assignees

Comments

@hpunt
Copy link
Mannequin

hpunt mannequin commented Jul 19, 2003

BPO 774188
Nosy @tim-one, @mhammond

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/mhammond'
closed_at = <Date 2004-03-01.06:12:54.000>
created_at = <Date 2003-07-19.13:49:31.000>
labels = ['OS-windows']
title = 'XP manifest files should be installed'
updated_at = <Date 2004-03-01.06:12:54.000>
user = 'https://bugs.python.org/hpunt'

bugs.python.org fields:

activity = <Date 2004-03-01.06:12:54.000>
actor = 'limi'
assignee = 'mhammond'
closed = True
closed_date = None
closer = None
components = ['Windows']
creation = <Date 2003-07-19.13:49:31.000>
creator = 'h_punt'
dependencies = []
files = []
hgrepos = []
issue_num = 774188
keywords = []
message_count = 7.0
messages = ['17119', '17120', '17121', '17122', '17123', '17124', '17125']
nosy_count = 4.0
nosy_names = ['tim.peters', 'mhammond', 'h_punt', 'limi']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue774188'
versions = ['Python 2.3']

@hpunt
Copy link
Mannequin Author

hpunt mannequin commented Jul 19, 2003

In order for python based windows programs to use
the right widget (e.g. common control) versions on
XP, a manifest file must be present for both executables
(python.exe and pythonw.exe).
I believe Python2.2 installs these per default.

If these are not present, weird graphical artifacts may
show up on windows XP in tree and list controls when
high-color icons are used.
A sample of a manifest file ('pythonw.exe.manifest'):

<?xml version="1.0" encoding="UTF-8" standalone="yes"?

<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<assemblyIdentity
version="0.64.1.0"
processorArchitecture="x86"
name="Controls"
type="win32"
/>
<description>Python Interpreter</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>

@hpunt hpunt mannequin closed this as completed Jul 19, 2003
@hpunt hpunt mannequin assigned mhammond Jul 19, 2003
@hpunt hpunt mannequin added the OS-windows label Jul 19, 2003
@hpunt hpunt mannequin closed this as completed Jul 19, 2003
@hpunt hpunt mannequin assigned mhammond Jul 19, 2003
@hpunt hpunt mannequin added the OS-windows label Jul 19, 2003
@tim-one
Copy link
Member

tim-one commented Jul 19, 2003

Logged In: YES
user_id=31435

Mark, does this mean anything to you? We've (PLabs)
certainly never installed anything like this before.

@hpunt
Copy link
Mannequin Author

hpunt mannequin commented Jul 19, 2003

Logged In: YES
user_id=729698

I may have put them there myself, It is a known problem
though, lookup section
'2.4.2.1 Windows XP and Python 2.2.2'
of the wxpython Wiki at:
http://wiki.wxpython.org/index.cgi/Frequently_20Asked_20Que
stions
It would not hurt to have these installed by default for the
Windows platform

@mhammond
Copy link
Contributor

Logged In: YES
user_id=14198

Welcome to .NET <wink>. I can believe this would help some
GUI programs, but am hard pressed to call it critical enough
to bang in 2.3 at this late stage.

A concern is that how do we know the assertion about what
control library we want to use is true for *all* programs
hosted by our executables?

@hpunt
Copy link
Mannequin Author

hpunt mannequin commented Jul 20, 2003

Logged In: YES
user_id=729698

I've googled around a bit more,
http://www.python.org/cgi-bin/moinmoin/PythonQuestions
section '4 Windows XP look-and-feel'
advises against it, apparently somebody ran into problems
with this.
Mark is right, we don't know what the right control library is
for any program run with the python.exe interpreter.
sigh, I guess for microsoft a program is only a program when
it is an .exe :-(.
As far as I am concerned this is also not very critical.

@tim-one
Copy link
Member

tim-one commented Jul 20, 2003

Logged In: YES
user_id=31435

I'm closing this, for lack of a sane way to proceed at this
time. The

http://www.python.org/cgi-bin/moinmoin/PythonQuestions

link has a claim that adding a manifest file caused Tkinter to
crash ... until it's clear what to do, I'm not touching this.

@limi
Copy link
Mannequin

limi mannequin commented Mar 1, 2004

Logged In: YES
user_id=403979

I can confirm that this works fine with the cross-platform
Python controller we are shipping with Plone 2.0, if that is of
any use. We use Python 2.3.3 and wxPython 2.4.2.4.
Stumbled over this issue when I was searching for information
on Python and Manifest-files, and thought I'd add my 0.02
euros.

Screenshots on http://download.limi.net/xcontroller/ if you're
curious about how it looks. :)

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants