Open adityavkk opened 7 years ago
Hey! Same error but line 242: coquille.py
lst = info_msg.split('\n')
AttributeError: 'Option' object has no attribute 'split'
The issue seems to be that "info_msg" might not just be None, but might be Option(val=None), which is something that coqtop.py constructs. Not sure how all this comes together, but my fix was changing the condition on line 241 of coquille.py to:
if info_msg is not None and (not isinstance(info_msg, CT.Option) or info_msg.val is not None):
Actually it was my bad, I'm using coq 8.6 which is not currently supported by coquille. After looking into the issue it seems the API of coqtop has been modified quite a bit. Does anyone know where I can find some documentation about it? I've seen nothing on the offical website and neither in the coq project doc.
line18 in coquille.py
AttributeError: 'Option' object has no attribute 'split'