Re: Python 2.6, GUI not working on vista?

2008-10-02 Thread [EMAIL PROTECTED]
On Oct 2, 2:27 pm, process <[EMAIL PROTECTED]> wrote:
> i just downloaded 2.6 and when running the gui nothing happens.
>
> anyone else with the same problem?

I have no idea what "gui" you're referring to.
However, when I try to run Python on vista, I get:

 The application has failed to start because its side-by-side
configuration is incorrect. Please see the application event log for
more detail.



--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-02 Thread Mensanator
On Oct 2, 1:27 pm, process <[EMAIL PROTECTED]> wrote:
> i just downloaded 2.6 and when running the gui nothing happens.

I assume you mean IDLE won't run.

>
> anyone else with the same problem?

Yes. Here's how I fixed it:

First of all, there's a note on the Python page
that says


Vista Note
Administrators installing Python for all users on
Windows Vista either need to be logged in as
Administrator, or use the runas command, as
in:

runas /user:Administrator "msiexec /i \.msi"



Now, you MIGHT think that this doesn't apply to you
because you're the only user of this Vista machine.

BUT -- apparently, IDLE won't run unless you set it up
for ALL users (even though there aren't any others).

So you HAVE to use the the note suggested.

Only by default, THE NOTE WILL NOT WORK!

Because, by default, the Administrator account is DISABLED
on a Vista install.

And having "administrator" priveleges doesn't make you
equivalent to THE Adminstrator. Fucking Microsoft assholes.

To use the suggested install note, you MUST enable the
Administrator account (and I think it's NECESSARY to assign it
a password if you want to use the "runas" command).

You can easily find out how to do this, just Google
"Vista"+"Administrator"+"enable" to find lots of examples.
I don't happen to remember it. If you can't figger it out,
post a note here and I'll look it up when I get home.

--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-04 Thread Michel Claveau - NoSpam SVP ; merci

Hi!

Another way is to de-activate UAC.

@-salutations
--
Michel Claveau


--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-05 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Michel Claveau - NoSpam
SVP ; merci wrote:

> Another way is to de-activate UAC.

Please don't be stupid!
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-05 Thread Thorsten Kampe
* Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
> In message <[EMAIL PROTECTED]>, Michel Claveau - NoSpam
> SVP ; merci wrote:
> 
> > Another way is to de-activate UAC.
> 
> Please don't be stupid!

He's not stupid. Disabling UAC is the recommended way to get rid of 
these problems.

Thorsten
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-05 Thread Steve Holden
Thorsten Kampe wrote:
> * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
>> In message <[EMAIL PROTECTED]>, Michel Claveau - NoSpam
>> SVP ; merci wrote:
>>
>>> Another way is to de-activate UAC.
>> Please don't be stupid!
> 
> He's not stupid. Disabling UAC is the recommended way to get rid of 
> these problems.
> 
Microsoft have now admitted that they implemented UAC not to improve
security but to cause complaints from customers so that application
vendors would stop their programs from taking actions that needed UAC
confirmation.

http://arstechnica.com/news.ars/post/20080411-vistas-uac-security-prompt-was-designed-to-annoy-you.html

regards
 Steve
-- 
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC  http://www.holdenweb.com/

--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-06 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Thorsten Kampe
wrote:

> * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
>
>> In message <[EMAIL PROTECTED]>, Michel Claveau -
>> NoSpam SVP ; merci wrote:
>> 
>> > Another way is to de-activate UAC.
>> 
>> Please don't be stupid!
> 
> He's not stupid. Disabling UAC is the recommended way to get rid of
> these problems.

Disabling UAC is NOT recommended.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-06 Thread Tim Roberts
Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:

>In message <[EMAIL PROTECTED]>, Thorsten Kampe
>wrote:
>
>> * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
>>
>>> In message <[EMAIL PROTECTED]>, Michel Claveau -
>>> NoSpam SVP ; merci wrote:
>>> 
>>> > Another way is to de-activate UAC.
>>> 
>>> Please don't be stupid!
>> 
>> He's not stupid. Disabling UAC is the recommended way to get rid of
>> these problems.
>
>Disabling UAC is NOT recommended.

That depends entirely on your audience.  For developers, UAC is provably
detrimental to productivity.  I have no hesitation recommending its
disablement in that case.  As a driver developer, I use Device Manager a
LOT.  It didn't take me long to pull the plug.

Now, if you have an office floor full of secretaries and salesmen, then I
think they SHOULD be frightned if they touch the wrong buttons.
-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-07 Thread Thorsten Kampe
* Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
> In message <[EMAIL PROTECTED]>, Thorsten Kampe
> wrote:
> > * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
> >
> >> In message <[EMAIL PROTECTED]>, Michel Claveau -
> >> NoSpam SVP ; merci wrote:
> >> 
> >> > Another way is to de-activate UAC.
> >> 
> >> Please don't be stupid!
> > 
> > He's not stupid. Disabling UAC is the recommended way to get rid of
> > these problems.
> 
> Disabling UAC is NOT recommended.

YOU don't recommend it. I don't "recommend" it either - all the people I 
know (and this includes Microsoft techsupport people) do it anyway 
without recommendation.

Thorsten
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-07 Thread Mensanator
On Oct 7, 12:40 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> * Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
>
> > In message <[EMAIL PROTECTED]>, Thorsten Kampe
> > wrote:
> > > * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
>
> > >> In message <[EMAIL PROTECTED]>, Michel Claveau -
> > >> NoSpam SVP ; merci wrote:
>
> > >> > Another way is to de-activate UAC.
>
> > >> Please don't be stupid!
>
> > > He's not stupid. Disabling UAC is the recommended way to get rid of
> > > these problems.
>
> > Disabling UAC is NOT recommended.
>
> YOU don't recommend it. I don't "recommend" it either - all the people I
> know (and this includes Microsoft techsupport people) do it anyway
> without recommendation.

Be that as it may, it is still enabled by default, isn't it?

So advice that requires it to be disabled (or the Administrator
account enabled) ought to mention such a pertinent fact, shouldn't it?

>
> Thorsten

--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-07 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Tim Roberts wrote:

> Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:
> 
>>In message <[EMAIL PROTECTED]>, Thorsten Kampe
>>wrote:
>>
>>> * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
>>>
 In message <[EMAIL PROTECTED]>, Michel Claveau -
 NoSpam SVP ; merci wrote:
 
 > Another way is to de-activate UAC.
 
 Please don't be stupid!
>>> 
>>> He's not stupid. Disabling UAC is the recommended way to get rid of
>>> these problems.
>>
>>Disabling UAC is NOT recommended.
> 
> That depends entirely on your audience.  For developers, UAC is provably
> detrimental to productivity.  I have no hesitation recommending its
> disablement in that case.  As a driver developer, I use Device Manager a
> LOT.  It didn't take me long to pull the plug.

Is that why Dimdows device drivers are so crap? Because they're written by
people like you, who think they know better than Microsoft?
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-07 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Thorsten Kampe
wrote:

> * Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
>
>> In message <[EMAIL PROTECTED]>, Thorsten Kampe
>> wrote:
>>>
>>> * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
>>>
 In message <[EMAIL PROTECTED]>, Michel Claveau -
 NoSpam SVP ; merci wrote:
 
> Another way is to de-activate UAC.
 
 Please don't be stupid!
>>> 
>>> He's not stupid. Disabling UAC is the recommended way to get rid of
>>> these problems.
>> 
>> Disabling UAC is NOT recommended.
> 
> YOU don't recommend it. I don't "recommend" it either - all the people I
> know (and this includes Microsoft techsupport people) do it anyway
> without recommendation.

I find that hard to believe. Any company that would spend so much time and
effort developing and promoting such a feature on one hand, while quietly
disabling it on the other hand, would have to be sick.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-07 Thread Steve Holden
Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, Thorsten Kampe
> wrote:
> 
>> * Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
>>
>>> In message <[EMAIL PROTECTED]>, Thorsten Kampe
>>> wrote:
 * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)

> In message <[EMAIL PROTECTED]>, Michel Claveau -
> NoSpam SVP ; merci wrote:
>
>> Another way is to de-activate UAC.
> Please don't be stupid!
 He's not stupid. Disabling UAC is the recommended way to get rid of
 these problems.
>>> Disabling UAC is NOT recommended.
>> YOU don't recommend it. I don't "recommend" it either - all the people I
>> know (and this includes Microsoft techsupport people) do it anyway
>> without recommendation.
> 
> I find that hard to believe. Any company that would spend so much time and
> effort developing and promoting such a feature on one hand, while quietly
> disabling it on the other hand, would have to be sick.

Well, that's certainly a more realistic assessment of Microsoft. Though
in fact they are just a big company with a huge backward compatibility
anchor. Just in case you jumped in without reading this whole thread, I
repeat:

http://arstechnica.com/news.ars/post/20080411-vistas-uac-security-prompt-was-designed-to-annoy-you.html

regards
 Steve
-- 
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC  http://www.holdenweb.com/

--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-07 Thread Steve Holden
Lawrence D'Oliveiro wrote:
[...]
> Is that why Dimdows device drivers are so crap? Because they're written by
> people like you, who think they know better than Microsoft?

Why the hostility? Dimdows device drivers are crap because they live in
a crap operating system. Which the majority of computer users are stuck
with.

regards
 Steve
-- 
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC  http://www.holdenweb.com/

--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Thorsten Kampe
* Lawrence D'Oliveiro (Wed, 08 Oct 2008 10:47:54 +1300)
> In message <[EMAIL PROTECTED]>, Thorsten
> Kampe wrote:
> > * Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
> >> In message <[EMAIL PROTECTED]>, Thorsten
> >> Kampe wrote:
> >>> * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
> >>>
>  In message <[EMAIL PROTECTED]>, Michel Claveau -
>  NoSpam SVP ; merci wrote:
>  
> > Another way is to de-activate UAC.
>  
>  Please don't be stupid!
> >>> 
> >>> He's not stupid. Disabling UAC is the recommended way to get rid of
> >>> these problems.
> >> 
> >> Disabling UAC is NOT recommended.
> > 
> > YOU don't recommend it. I don't "recommend" it either - all the
> > people I know (and this includes Microsoft techsupport people) do it
> > anyway without recommendation.
> 
> I find that hard to believe. Any company that would spend so much time
> and effort developing and promoting such a feature on one hand, while
> quietly disabling it on the other hand, would have to be sick.

You can believe what you want. The people who developed UAC don't have 
to support it.

T.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Thorsten Kampe
* Mensanator (Tue, 7 Oct 2008 10:58:24 -0700 (PDT))
> On Oct 7, 12:40 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> > * Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
> > > In message <[EMAIL PROTECTED]>, Thorsten Kampe
> > > wrote:
> > > > * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
> >
> > > >> In message <[EMAIL PROTECTED]>, Michel Claveau -
> > > >> NoSpam SVP ; merci wrote:
> >
> > > >> > Another way is to de-activate UAC.
> >
> > > >> Please don't be stupid!
> >
> > > > He's not stupid. Disabling UAC is the recommended way to get rid of
> > > > these problems.
> >
> > > Disabling UAC is NOT recommended.
> >
> > YOU don't recommend it. I don't "recommend" it either - all the people I
> > know (and this includes Microsoft techsupport people) do it anyway
> > without recommendation.
> 
> Be that as it may, it is still enabled by default, isn't it?
> 
> So advice that requires it to be disabled (or the Administrator
> account enabled) ought to mention such a pertinent fact, shouldn't it?

The fact that it's enabled by default is totally irrelevant for the 
advise.

T.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Mensanator
On Oct 9, 12:36 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> * Mensanator (Tue, 7 Oct 2008 10:58:24 -0700 (PDT))
>
>
>
>
>
> > On Oct 7, 12:40 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> > > * Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
> > > > In message <[EMAIL PROTECTED]>, Thorsten Kampe
> > > > wrote:
> > > > > * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
>
> > > > >> In message <[EMAIL PROTECTED]>, Michel Claveau -
> > > > >> NoSpam SVP ; merci wrote:
>
> > > > >> > Another way is to de-activate UAC.
>
> > > > >> Please don't be stupid!
>
> > > > > He's not stupid. Disabling UAC is the recommended way to get rid of
> > > > > these problems.
>
> > > > Disabling UAC is NOT recommended.
>
> > > YOU don't recommend it. I don't "recommend" it either - all the people I
> > > know (and this includes Microsoft techsupport people) do it anyway
> > > without recommendation.
>
> > Be that as it may, it is still enabled by default, isn't it?
>
> > So advice that requires it to be disabled (or the Administrator
> > account enabled) ought to mention such a pertinent fact, shouldn't it?
>
> The fact that it's enabled by default is totally irrelevant for the
> advise.

You're talking about the wrong fact. The advice doesn't mention UAC.

Here, let me quote it to you:

Vista Note
Administrators installing Python for all users on
Windows Vista either need to be logged in as
Administrator, or use the runas command, as
in:

runas /user:Administrator "msiexec /i \.msi"


Now, how relevant is the state of the Administrator account
for this advice to work?

>
> T.

--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Thorsten Kampe
* Mensanator (Thu, 9 Oct 2008 11:03:45 -0700 (PDT))
> On Oct 9, 12:36 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> > * Mensanator (Tue, 7 Oct 2008 10:58:24 -0700 (PDT))
> > > On Oct 7, 12:40 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> > > > * Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
> > > > > In message <[EMAIL PROTECTED]>, Thorsten Kampe
> > > > > wrote:
> > > > > > * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
> >
> > > > > >> In message <[EMAIL PROTECTED]>, Michel Claveau -
> > > > > >> NoSpam SVP ; merci wrote:
> >
> > > > > >> > Another way is to de-activate UAC.
> >
> > > > > >> Please don't be stupid!
> >
> > > > > > He's not stupid. Disabling UAC is the recommended way to get rid of
> > > > > > these problems.
> >
> > > > > Disabling UAC is NOT recommended.
> >
> > > > YOU don't recommend it. I don't "recommend" it either - all the people I
> > > > know (and this includes Microsoft techsupport people) do it anyway
> > > > without recommendation.
> >
> > > Be that as it may, it is still enabled by default, isn't it?
> >
> > > So advice that requires it to be disabled (or the Administrator
> > > account enabled) ought to mention such a pertinent fact, shouldn't it?
> >
> > The fact that it's enabled by default is totally irrelevant for the
> > advise.
> 
> You're talking about the wrong fact. The advice doesn't mention UAC.

Michel's advice did.
 
> Here, let me quote it to you:
> 
> Vista Note
> Administrators installing Python for all users on
> Windows Vista either need to be logged in as
> Administrator, or use the runas command, as
> in:
> 
> runas /user:Administrator "msiexec /i \.msi"
> 
> 
> Now, how relevant is the state of the Administrator account
> for this advice to work?

I don't know. I don't care. I couldn't care less. I say, ignore this 
advice and disable UAC.

Thorsten
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Mensanator
On Oct 9, 2:09 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> * Mensanator (Thu, 9 Oct 2008 11:03:45 -0700 (PDT))
>
>
>
>
>
> > On Oct 9, 12:36 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> > > * Mensanator (Tue, 7 Oct 2008 10:58:24 -0700 (PDT))
> > > > On Oct 7, 12:40 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> > > > > * Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
> > > > > > In message <[EMAIL PROTECTED]>, Thorsten Kampe
> > > > > > wrote:
> > > > > > > * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
>
> > > > > > >> In message <[EMAIL PROTECTED]>, Michel Claveau -
> > > > > > >> NoSpam SVP ; merci wrote:
>
> > > > > > >> > Another way is to de-activate UAC.
>
> > > > > > >> Please don't be stupid!
>
> > > > > > > He's not stupid. Disabling UAC is the recommended way to get rid 
> > > > > > > of
> > > > > > > these problems.
>
> > > > > > Disabling UAC is NOT recommended.
>
> > > > > YOU don't recommend it. I don't "recommend" it either - all the 
> > > > > people I
> > > > > know (and this includes Microsoft techsupport people) do it anyway
> > > > > without recommendation.
>
> > > > Be that as it may, it is still enabled by default, isn't it?
>
> > > > So advice that requires it to be disabled (or the Administrator
> > > > account enabled) ought to mention such a pertinent fact, shouldn't it?
>
> > > The fact that it's enabled by default is totally irrelevant for the
> > > advise.
>
> > You're talking about the wrong fact. The advice doesn't mention UAC.
>
> Michel's advice did.

Michel's advice isn't on the download page, is it?

>
> > Here, let me quote it to you:
> > 
> > Vista Note
> > Administrators installing Python for all users on
> > Windows Vista either need to be logged in as
> > Administrator, or use the runas command, as
> > in:
>
> > runas /user:Administrator "msiexec /i \.msi"
> > 
>
> > Now, how relevant is the state of the Administrator account
> > for this advice to work?
>
> I don't know.

I do.

> I don't care.

I do.

> I couldn't care less.

Because I had to do it.

> I say, ignore this advice and disable UAC.

Fine. Can you then see to it that this is mentioned on the Python
download page?

>
> Thorsten

--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Jerry Hill
On Thu, Oct 9, 2008 at 3:48 PM, Mensanator <[EMAIL PROTECTED]> wrote:
> Fine. Can you then see to it that this is mentioned on the Python
> download page?

I'm not sure if anyone has mentioned it in all of the invective, but
the right thing to do is to report a bug on http://bugs.python.org.
If the documentation for installing under Vista is wrong, file a bug
against the docs.  If you know the right way to fix the docs, attach a
patch.

-- 
Jerry
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Martin v. Löwis
>> I say, ignore this advice and disable UAC.
> 
> Fine. Can you then see to it that this is mentioned on the Python
> download page?

I think Thorsten's advice is helpful (in the sense that it solves
the problem, and is IMO pragmatic also), but I *still* wouldn't
put it on the Python download page, for fear of the flak from the
security folks who start screaming that the PSF should never give
such advice. I would personally think they would be wrong, but still
revert giving the advise under public pressure.

In any case, Python 2.6.1 will approach this problem in a different
way.

Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Martin v. Löwis
> You can believe what you want. The people who developed UAC don't have 
> to support it.

I know for a fact that the implementation is incomplete. In Windows
Installer, there is no way (that I know of) to create an MSI file
that conditionally turns on UAC, only when the installation actually
needs privilege elevation.

There is a static bit in the installer that indicates whether the MSI
file will do UAC, and there is no way to toggle this bit, e.g. after
asking the user whether this is a "for me" installation or "for all users".

I set this bit to "no UAC" for 2.6, in order to allow non-privileged
installation at all - only to find out that (due to an unrelated
problem), the "for me" installation doesn't actually work. I only found
out after the release, because nobody bothered reporting this problem
during the betas and release candidates. I didn't notice on my Vista
machine, because that has VS 2008 installed, in which case the "for me"
installation works just fine.

If anybody knows how to make the "for me" installation work
(i.e. how to set up the manifests that a single copy of the CRT
is used both by python26.dll, and all extension modules), please
let me know.

IOW: HELP! HELP!! HELP!!!
Meanwhile: just say no to Vista.

Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Thorsten Kampe
* "Martin v. Löwis" (Thu, 09 Oct 2008 23:32:42 +0200)
> >> I say, ignore this advice and disable UAC.
> > Fine. Can you then see to it that this is mentioned on the Python
> > download page?
> 
> I think Thorsten's advice is helpful (in the sense that it solves the
> problem, and is IMO pragmatic also),

I can't except this honour, it was Michel's advice and I only seconded.

> but I *still* wouldn't put it on the Python download page, for fear of
> the flak from the security folks who start screaming that the PSF
> should never give such advice.

Absolutely correct. Disabling UAC is a major change in the whole 
security model in Windows - and while one can mention that, it's 
certainly nothing you should suggest.

Thorstn
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Mensanator
On Oct 9, 4:41 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > You can believe what you want. The people who developed UAC don't have
> > to support it.
>
> I know for a fact that the implementation is incomplete. In Windows
> Installer, there is no way (that I know of) to create an MSI file
> that conditionally turns on UAC, only when the installation actually
> needs privilege elevation.
>
> There is a static bit in the installer that indicates whether the MSI
> file will do UAC, and there is no way to toggle this bit, e.g. after
> asking the user whether this is a "for me" installation or "for all users".
>
> I set this bit to "no UAC" for 2.6, in order to allow non-privileged
> installation at all - only to find out that (due to an unrelated
> problem), the "for me" installation doesn't actually work. I only found
> out after the release, because nobody bothered reporting this problem
> during the betas and release candidates.

I posted a problem with Vista on Jul 6 concerning not being
able to run IDLE in 2.6b1. No replies.

I also noted the successful use and need to use the
Administrator account on Sep 12 for 2.6rc1. Again,
no replies.

What am I supposed to do? File bug reports on things
I don't even know are bugs?

> I didn't notice on my Vista
> machine, because that has VS 2008 installed, in which case the "for me"
> installation works just fine.
>
> If anybody knows how to make the "for me" installation work
> (i.e. how to set up the manifests that a single copy of the CRT
> is used both by python26.dll, and all extension modules), please
> let me know.
>
> IOW: HELP! HELP!! HELP!!!
> Meanwhile: just say no to Vista.
>
> Regards,
> Martin

--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Martin v. Löwis
> I posted a problem with Vista on Jul 6 concerning not being
> able to run IDLE in 2.6b1. No replies.

Where did you post that? On python-dev?

> What am I supposed to do? File bug reports on things
> I don't even know are bugs?

You mean, it might have been intentional that IDLE won't run
on Vista?

Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Thorsten Kampe
* "Martin v. Löwis" (Thu, 09 Oct 2008 23:41:44 +0200)
> > You can believe what you want. The people who developed UAC don't
> > have to support it.
> 
> I know for a fact that the implementation is incomplete. In Windows
> Installer, there is no way (that I know of) to create an MSI file
> that conditionally turns on UAC, only when the installation actually
> needs privilege elevation.

You cannot turn on (or turn off) UAC for a single application or 
operation. That's the whole point of UAC.
 
> There is a static bit in the installer that indicates whether the MSI
> file will do UAC, and there is no way to toggle this bit, e.g. after
> asking the user whether this is a "for me" installation or "for all users".
> 
> I set this bit to "no UAC" for 2.6, in order to allow non-privileged
> installation at all - only to find out that (due to an unrelated
> problem), the "for me" installation doesn't actually work. I only found
> out after the release, because nobody bothered reporting this problem
> during the betas and release candidates. I didn't notice on my Vista
> machine, because that has VS 2008 installed, in which case the "for me"
> installation works just fine.

Are you sure it worked with UAC enabled and a non-privileged account? 
Anyway, here are some links regarding UAC:

* http://www.codeproject.com/KB/vista-security/MakingAppsUACAware.aspx
* http://en.wikipedia.org/wiki/User_Account_Control#Requesting_elevation

...and for the background:
* http://www.faq-o-matic.net/2008/02/22/benutzerkontensteuerung-uac-
richtig-einsetzen/

Thorsten
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Mensanator
On Oct 9, 5:48 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > I posted a problem with Vista on Jul 6 concerning not being
> > able to run IDLE in 2.6b1. No replies.
>
> Where did you post that? On python-dev?

No, right here on comp.lang.python. I don't even know what
you're referring to.

>
> > What am I supposed to do? File bug reports on things
> > I don't even know are bugs?
>
> You mean, it might have been intentional that IDLE won't run
> on Vista?

No, as in maybe it's not a bug, maybe it's just me
being stupid or there's something wrong with my setup
(aside from using Vista in the first place over which
I had no control).

I'm not a developer, just a lowly end user. I'm not in
a position to be able to fix anything. All I can do is
report it and if it's legitimate, then hopefully someone
who knows what he's doing will fix it.

>
> Regards,
> Martin

--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Craig Allen
as a 20 year observer of microsoft, I have to say this is not amazing
at all... and I do not mean that as a random put down of Microsoft.
Microsoft often develops things in response to demand... but they
don't always fit in their system well, and thus are not really used in
the spirit of the demand... meanwhile, bullet items are added to many
a software box and magazine review.

I would not presume to know more that Microsoft about that as a
business practice, but as an engineering practice, it speaks for
itself.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Martin v. Löwis
> I'm not a developer, just a lowly end user. I'm not in
> a position to be able to fix anything. All I can do is
> report it and if it's legitimate, then hopefully someone
> who knows what he's doing will fix it.

Ok. It's then still unfortunate that nobody reported the
problem; your message to comp.lang.python was not "reported"
(through the usual bug report channels). Somebody might have
told you what those channels are; it's unfortunate that nobody
did.

Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-09 Thread Martin v. Löwis
>> I know for a fact that the implementation is incomplete. In Windows
>> Installer, there is no way (that I know of) to create an MSI file
>> that conditionally turns on UAC, only when the installation actually
>> needs privilege elevation.
> 
> You cannot turn on (or turn off) UAC for a single application or 
> operation. That's the whole point of UAC.

The installer runs in two phases: the UI phase, and the actual
installation phase. They are separate processes, and UAC is invoked
only in the middle (when it switches to the "server" phase).

It would well be possible to invoke UAC conditionally, depending on
what the UI phase learned.

> Are you sure it worked with UAC enabled and a non-privileged account? 
> Anyway, here are some links regarding UAC:
> 
> * http://www.codeproject.com/KB/vista-security/MakingAppsUACAware.aspx
> * http://en.wikipedia.org/wiki/User_Account_Control#Requesting_elevation

Unfortunately, these are irrelevant, since they talk about UAC wrt.
applications. However, an MSI file is not an application, so all these
settings and APIs don't apply.

Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-10-10 Thread Michael Shih

no mind !
bad vista ...


--
From: ""Martin v. Löwis"" <[EMAIL PROTECTED]>
Sent: Friday, October 10, 2008 2:28 PM
To: 
Subject: Re: Python 2.6, GUI not working on vista?


I'm not a developer, just a lowly end user. I'm not in
a position to be able to fix anything. All I can do is
report it and if it's legitimate, then hopefully someone
who knows what he's doing will fix it.


Ok. It's then still unfortunate that nobody reported the
problem; your message to comp.lang.python was not "reported"
(through the usual bug report channels). Somebody might have
told you what those channels are; it's unfortunate that nobody
did.

Regards,
Martin




--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-11-06 Thread alphadog
On Oct 5, 4:13 am, Lawrence D'Oliveiro <[EMAIL PROTECTED]
central.gen.new_zealand> wrote:
> In message <[EMAIL PROTECTED]>, Michel Claveau - NoSpam
>
> SVP ; merci wrote:
> > Another way is to de-activate UAC.
>
> Please don't be stupid!

How about a compromise: Disable UAC. Install Python "for all". Re-
enable UAC. Why do people have to be so black-and-white?
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6, GUI not working on vista?

2008-11-06 Thread Steve Holden
alphadog wrote:
> On Oct 5, 4:13 am, Lawrence D'Oliveiro <[EMAIL PROTECTED]
> central.gen.new_zealand> wrote:
>> In message <[EMAIL PROTECTED]>, Michel Claveau - NoSpam
>>
>> SVP ; merci wrote:
>>> Another way is to de-activate UAC.
>> Please don't be stupid!
> 
> How about a compromise: Disable UAC. Install Python "for all". Re-
> enable UAC. Why do people have to be so black-and-white?

Because they insist on believing each question has exactly one correct
answer.

regards
 Steve
-- 
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC  http://www.holdenweb.com/

--
http://mail.python.org/mailman/listinfo/python-list