I'm getting a run-time error:
<type 'exceptions.AttributeError'> function 'enchant_dict_add' not
found
  File "<string>", line 1334, in <module>
  File "Listomax\build\pyi.win32\Listomax\outPYZ1.pyz/wx._core", line
8078, in __init__
  File "Listomax\build\pyi.win32\Listomax\outPYZ1.pyz/wx._core", line
7978, in __init__
  File "Listomax\build\pyi.win32\Listomax\outPYZ1.pyz/wx._core", line
7552, in _BootstrapApp
  File "<string>", line 176, in OnInit
  File "Listomax\build\pyi.win32\Listomax\outPYZ1.pyz/frame", line
105, in __init__
  File "Listomax\build\pyi.win32\Listomax\outPYZ1.pyz/frame", line 62,
in __init__
  File "C:\devtools\pyinstaller\iu.py", line 436, in importHook
  File "C:\devtools\pyinstaller\iu.py", line 521, in doimport
  File "Listomax\build\pyi.win32\Listomax\outPYZ1.pyz/stockpanel",
line 18, in <module>
  File "C:\devtools\pyinstaller\iu.py", line 436, in importHook
  File "C:\devtools\pyinstaller\iu.py", line 521, in doimport
  File "Listomax\build\pyi.win32\Listomax\outPYZ1.pyz/stockdlg", line
6, in <module>
  File "C:\devtools\pyinstaller\iu.py", line 436, in importHook
  File "C:\devtools\pyinstaller\iu.py", line 521, in doimport
  File "Listomax\build\pyi.win32\Listomax\outPYZ1.pyz/spelling", line
4, in <module>
  File "C:\devtools\pyinstaller\iu.py", line 436, in importHook
  File "C:\devtools\pyinstaller\iu.py", line 521, in doimport
  File "Listomax\build\pyi.win32\Listomax\outPYZ1.pyz/enchant", line
90, in <module>
  File "C:\devtools\pyinstaller\iu.py", line 477, in importHook
  File "C:\devtools\pyinstaller\iu.py", line 521, in doimport
  File "Listomax\build\pyi.win32\Listomax\outPYZ1.pyz/
enchant._enchant", line 250, in <module>
  File "Listomax\build\pyi.win32\Listomax\outPYZ1.pyz/ctypes", line
366, in __getattr__
  File "Listomax\build\pyi.win32\Listomax\outPYZ1.pyz/ctypes", line
371, in __getitem__
None

My environment is:
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit
(Intel)] on win32
Windows 5.1 build 2600 platform 2, Service Pack 3
PyInstaller 1.5
pyenchant 1.6.5

The pyinstaller script has worked well for me for years, using wx,
pubsub and PIL with few problems.  The pyenchant failure occurred when
I upgraded python 2.5 => 2.6, pyinstaller 1.4 => 1.5 and pyenchant
1.3.1 => 1.6.5.  The old pyenchant had a simpler structure, but I
can't reuse it because it's built for 2.5.

The source lines that are failing are:
spelling.py line 4:
    import enchant
enchant\__init__.py line 90:
    from enchant import _enchant as _e
_enchant.py line 250:
    dict_add1 = e.enchant_dict_add

Can anyone offer any clues?  Thanks!
Phil

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to