[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error while running Duali's dict2db.py on Windows 2000



Hello Mohammad,
Congratulations on the first pre-alpha version of Duali.
I downloaded the duali-0.1a and duali-data files.
Tried to run the dict2db.py on my Windows 2000 Advanced Server after I downloaded and installed Python 2.2.2 and I got this error.
----------------------------------------------------
C:\duali-data>dict2db.py
dict2db - $Revision: 1.1 $


Writing stems...
Traceback (most recent call last):
 File "C:\duali-data\dict2db.py", line 102, in ?
   main()
 File "C:\duali-data\dict2db.py", line 95, in main
   createDictDB("stems")
 File "C:\duali-data\dict2db.py", line 87, in createDictDB
   dict[w_vanilla] = "%s\t%s\t%s\t%s\t%s" % (w_full, w_cat, w_gloss, w_pos,
bsddb.error: (0, 'Error')
----------------------------------------------------
I tried to run it in IDLE GUI but got another error.
----------------------------------------------------
dict2db - $Revision: 1.1 $
Traceback (most recent call last):
 File "C:\duali-data\dict2db.py", line 102, in ?
   main()
 File "C:\duali-data\dict2db.py", line 95, in main
   createDictDB("stems")
 File "C:\duali-data\dict2db.py", line 51, in createDictDB
   lines = open(filename, 'r').readlines()
IOError: [Errno 2] No such file or directory: 'stems'
---------------------------------------------------

Please advice,
Ossama