Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trying to upload/analyse a CSV corpus to my locally deployed gargantext I get errors: #1

Open
ungentilgarcon opened this issue Apr 21, 2017 · 3 comments

Comments

@ungentilgarcon
Copy link

ungentilgarcon commented Apr 21, 2017

WHERE score >= 3
AND ngA <= ngB
COOCS: NEW matrix shape [0x0]
CORPUS #58: [2017-04-21_11:08:51] computed mainlist coocs for specif rank
SPECIFICITY: computing on 0 ngrams
WARNING: had no terms in COOCS => empty SPECCLUSION node
WARNING: had no terms in COOCS => empty GENCLUSION node
CORPUS #58: [2017-04-21_11:08:51] new spec-clusion node #78
CORPUS #58: [2017-04-21_11:08:51] new gen-clusion node #79
MAPLIST quotas: {'topgen': {'multigrams': 168, 'monograms': 42}, 'topspec': {'multigrams': 112, 'monograms': 28}}
Exception in thread Thread-108:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/env_3-5/lib/python3.5/site-packages/celery/local.py", line 188, in call
return self._get_current_object()(*a, **kw)
File "/env_3-5/lib/python3.5/site-packages/celery/app/task.py", line 428, in call
return self.run(*args, **kwargs)
File "/srv/gargantext/gargantext/util/toolchain/main.py", line 168, in parse_extract_indexhyperdata
grouplist_id=group_id
File "/srv/gargantext/gargantext/util/toolchain/list_map.py", line 104, in do_maplist
raise ValueError("No ngrams in cooc table ?")
ValueError: No ngrams in cooc table ?

@ungentilgarcon ungentilgarcon changed the title trying to upload/analyse a CSV corpus to my locally deployed gargantext I get erros: trying to upload/analyse a CSV corpus to my locally deployed gargantext I get errors: Apr 21, 2017
@ungentilgarcon
Copy link
Author

Guichard.zip
Guichardcsv.zip

Guichard.zip Archive contains content,
while Guichard csv contains index (zipped here only in order to post it online)

@delanoe
Copy link
Collaborator

delanoe commented May 12, 2017

Hello,
there is no sentence in your CSV file. So you have no ngrams. As a consequence you get: "ValueError: No ngrams in cooc table ?"
Please try with more text.

@delanoe
Copy link
Collaborator

delanoe commented May 12, 2017

Moreover the title column is the title of your document, not a path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants