py2exe Registry Access from NT Service ...

Harald Schneider h_schneider at marketmix.com
Thu Apr 17 15:54:53 CEST 2003


No permission probs, logged in as Admin. Platform is Win2K, not updated from
NT.
There are no exceptions. Reading a registry key just claims it would not
exist. When I run the same code outside the service wrapper, I can read the
key.

--Harald


"Thomas Heller" <theller at python.net> schrieb im Newsbeitrag
news:y929gt00.fsf at python.net...
> "Harald Schneider" <h_schneider at marketmix.com> writes:
>
> > Hi,
> >
> > I created a NT service under with py2exe under Python 2.1
> > The service ran without any problems.
> >
> > Then I upgraded to Python 2.2 and py2exe for 2.2 and now I have a big
> > problem:
> > All functions that access registry keys from within the service fail.
> > When I run my application outside the Service class, everything works
well.
> >
> > Any idea?
>
> Whithout any further information, one can only guess.
> Permission problems? Did you not only move from Python 2.1 to 2.2,
> but also from NT to 2000?
>
> What error do you get?
>
> Thomas






More information about the Python-list mailing list