cdli-gh / annotation_assistant

0 stars 1 forks source link

Can't get a new text #11

Open lukurkurra opened 6 years ago

lukurkurra commented 6 years ago

Hello Ilya:

Unfortunately, I encountered an error message while trying to get a new text - I have installed both python and PIP. When I hit 'get a new text' the follow error occurs (in my command prompt window):

Traceback (most recent call last): File "C:\Users\lukurkurra\AppData\Local\Programs\Python\Python36\lib\shutil.py", line 544, in move os.rename(src, real_dst) FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\MTAAC\annotation_assistant\scr\data\mtaac_gold_corpus\morph\processed\output\P141030.conll' -> 'C:\MTAAC\annotation_assistant\scr\data\mtaac_gold_corpus\morph\processed\P141030.conll'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "src\gevent\greenlet.py", line 716, in gevent._greenlet.Greenlet.run File "C:\Users\lukurkurra\AppData\Local\Programs\Python\Python36\lib\site-packages\eel__init__.py", line 184, in _process_message return_val = _exposed_functionsmessage['name'] File "main.py", line 439, in select_new_text d.select_new_text() File "main.py", line 369, in select_new_text self.af.select_new_text() File "main.py", line 230, in select_new_text self.preannotate_and_replace(dest) File "main.py", line 256, in preannotate_and_replace path) File "C:\Users\lukurkurra\AppData\Local\Programs\Python\Python36\lib\shutil.py", line 558, in move copy_function(src, real_dst) File "C:\Users\lukurkurra\AppData\Local\Programs\Python\Python36\lib\shutil.py", line 257, in copy2 copyfile(src, dst, follow_symlinks=follow_symlinks) File "C:\Users\lukurkurra\AppData\Local\Programs\Python\Python36\lib\shutil.py", line 120, in copyfile with open(src, 'rb') as fsrc: FileNotFoundError: [Errno 2] No such file or directory: 'C:\MTAAC\annotation_assistant\scr\data\mtaac_gold_corpus\morph\processed\output\P141030.conll' 2018-06-22T18:46:56Z <Greenlet "Greenlet-0" at 0x2b01f40d648: _process_message({'call': 1.1033254119397424, 'name': 'select_new_t, <geventwebsocket.websocket.WebSocket object at 0x0)> failed with FileNotFoundError

khoidt commented 6 years ago

Hi @lukurkurra! Sorry for the delayed reply. To start, could you please check if C:\MTAAC\annotation_assistant\scr\data\mtaac_gold_corpus\morph\processed\output\P141030.conll, C:\MTAAC\annotation_assistant\scr\data\mtaac_gold_corpus\morph\processed\output\ and C:\MTAAC\annotation_assistant\scr\data\mtaac_gold_corpus\morph\processed\ exist?

lukurkurra commented 6 years ago

I only have the last one: C:\MTAAC\annotation_assistant\scr\data\mtaac_gold_corpus\morph\processed\ The output folder and P141030.conll do not exist.

khoidt commented 6 years ago

It seems that for some unclear reason the CoNLL file wasn't copied. Could you delete the program locally, clone it again, and try it once more? If the error returns, please quit and attach here the console.log file from the scr folder before doing anything else with the script.