Re: [Pythoncard-users] Windows release 0.6.9 binary installer
by Thomas Heller other posts by this author
Oct 24 2002 1:15PM messages near this date
RE: [Pythoncard-users] Windows release 0.6.9 binary installer
|
RE: [Pythoncard-users] Windows release 0.6.9 binary installer
"Kevin Altis" <altis@[...].com> writes:
> > -----Original Message-----
> > From: Fred Pacquier
> >
> > The new installer sure looks great. As had been said before, it will
> > certainly improve newcomers' first experience with PyCard !
> >
> > Unfortunately on my (French) win98SE it doesn't quite run to the end :
> > after the pyc/pyo compilation steps, the installer stops with
> > a textarea displaying an exception :
> >
> > Traceback (most recent call last):
> > File "C:\PYTHON22\Scripts\install-pythoncard.py", line 20, in ?
> > prg = get_special_folder_path("CSIDL_COMMON_PROGRAMS")
> > OSError: no such folder (CSIDL_COMMON_PROGRAMS)
> >
> > As far as I can tell everything is installed correctly, but the start
> > menu entries were not created.
>
> Well this is why I wanted to check what results other people got.
>
> I ran my tests under Win2K. It is quite possible that
> "CSIDL_COMMON_PROGRAMS" doesn't exist in Win95, Win98, or WinME. I looked in
> regedit for CSIDL and didn't find anything. In fact, I'm not quite sure
> whether the function get_special_folder_path comes from either in the line:
>
> prg = get_special_folder_path("CSIDL_COMMON_PROGRAMS")
>
This is a builtin function only available when Python is run
embedded in the installer.
And Kevin is right: CSIDL_COMMON_PROGRAMS only exists under NT (or
later). I'm only using win2000 nowadays, and it's too easy to forget
that there are still other windows versions in use ;-).
> We'll have to wait for Thomas to reply for some explanation as he wrote the
> script. As Andy Todd mentioned, the script should probably be guarded with a
> sys.platform[:3] == "win" check and exit if that isn't true early on.
> Perhaps the special folder and that could just be part of a try/except
> block.
>
I will look into this issue this night and post an updated script.
Thomas
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
_______________________________________________
Pythoncard-users mailing list
Pythoncard-users@[...].net
https://lists.sourceforge.net/lists/listinfo/pythoncard-users
Thread:
Kevin Altis
Fred Pacquier
Kevin Altis
Thomas Heller
Kevin Altis
Thomas Heller
Kevin Altis
|