PythonCard 0.7

Tim H tim at
Tue Jan 21 08:55:00 CET 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:

unable to create config directory %USERPROFILE%\.pythoncard
Traceback (most recent call last):
  File "C:\Python\Lib\site-packages\PythonCardPrototype\samples\",
e 8, in ?
    from PythonCardPrototype import dialog, model
  File "C:\PYTHON\lib\site-packages\PythonCardPrototype\", line 9,
in ?

    import font
  File "C:\PYTHON\lib\site-packages\PythonCardPrototype\", line 8, in
    import res
  File "C:\PYTHON\lib\site-packages\PythonCardPrototype\", line 10, in
    import pom
  File "C:\PYTHON\lib\site-packages\PythonCardPrototype\", line 8, in
    import event, dispatch, registry
  File "C:\PYTHON\lib\site-packages\PythonCardPrototype\", line 7,
in ?
    import log
  File "C:\PYTHON\lib\site-packages\PythonCardPrototype\", line 7, in
    import config
  File "C:\PYTHON\lib\site-packages\PythonCardPrototype\", line 55,
    shutil.copy2(os.path.join(default_homedir, file), path)
  File "C:\Python\lib\", line 73, in copy2
    copyfile(src, dst)
  File "C:\Python\lib\", line 29, in copyfile
    fdst = open(dst, 'wb')
IOError: [Errno 2] No such file or directory:

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?


PS Python 2.2.2, wxWindows, Win2K SP3

More information about the Python-list mailing list