PythonCard 0.7
Tim H
tim at frontier.net.nospam
Tue Jan 21 02:55:00 EST 2003
Just wondering if anybody has 0.7 working on Win2k, because it doesn't work
here. I uninstalld the previos version, removed the PythonCardPrototype
directory and used the installer version of 0.7. Any attempt to use any of
the samples or tools gives an error like this:
C:\Python\Lib\site-packages\PythonCardPrototype\samples>samples.py
unable to create config directory %USERPROFILE%\.pythoncard
Traceback (most recent call last):
File "C:\Python\Lib\site-packages\PythonCardPrototype\samples\samples.py",
lin
e 8, in ?
from PythonCardPrototype import dialog, model
File "C:\PYTHON\lib\site-packages\PythonCardPrototype\dialog.py", line 9,
in ?
import font
File "C:\PYTHON\lib\site-packages\PythonCardPrototype\font.py", line 8, in
?
import res
File "C:\PYTHON\lib\site-packages\PythonCardPrototype\res.py", line 10, in
?
import pom
File "C:\PYTHON\lib\site-packages\PythonCardPrototype\pom.py", line 8, in
?
import event, dispatch, registry
File "C:\PYTHON\lib\site-packages\PythonCardPrototype\event.py", line 7,
in ?
import log
File "C:\PYTHON\lib\site-packages\PythonCardPrototype\log.py", line 7, in
?
import config
File "C:\PYTHON\lib\site-packages\PythonCardPrototype\config.py", line 55,
in
?
shutil.copy2(os.path.join(default_homedir, file), path)
File "C:\Python\lib\shutil.py", line 73, in copy2
copyfile(src, dst)
File "C:\Python\lib\shutil.py", line 29, in copyfile
fdst = open(dst, 'wb')
IOError: [Errno 2] No such file or directory:
'%USERPROFILE%\\.pythoncard\\pytho
ncard_config.txt'
I have manually created the .pythoncard directory and copied
pythoncard_config.txt and stc-styles.rc.cfg and still nogo. Have used
previous versions with no problem.
Judging from the PythonCard Sourceforge site the .pythoncard stuff was added
very recently, does it work for anybody else?
Thanks,
Tim
PS Python 2.2.2, wxWindows 2.4.0.1, Win2K SP3
More information about the Python-list
mailing list