hrishikeshrt / PyCDSL

Python Interface to Cologne Digital Sanskrit Lexicon (CDSL)
https://pypi.org/project/PyCDSL/
Other
12 stars 1 forks source link

Error while running REPL #5

Closed drdhaval2785 closed 2 years ago

drdhaval2785 commented 2 years ago

Description

I tried to use MW and search for rAma (slp1). It gave me errors.

What I Did

(CDSL::None) use MW
(CDSL::MW) scheme slp1
Input scheme: slp1
(CDSL::MW) rAma
Traceback (most recent call last):
  File "/usr/lib/python3.6/cmd.py", line 214, in onecmd
    func = getattr(self, 'do_' + cmd)
AttributeError: 'CDSLShell' object has no attribute 'do_rAma'
hrishikeshrt commented 2 years ago

I am not sure about the source of this error. Can you please try with a python >= 3.7 environment and see if that fixes it. Something with cmd module might have changed that is affecting the default REPL behaviour.

hrishikeshrt commented 2 years ago

This issue will be handled with #10. Closing it here.