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

AttributeError: 'NoneType' object has no attribute 'lower' #324

Open
olegs opened this issue Feb 22, 2023 · 0 comments
Open

AttributeError: 'NoneType' object has no attribute 'lower' #324

olegs opened this issue Feb 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@olegs
Copy link
Member

olegs commented Feb 22, 2023

[2023-02-21 19:33:37,326: ERROR/ForkPoolWorker-9] Task analyze_search_terms[b619861e-69c9-4117-adc4-199bd31ee25e] raised unexpected: AttributeError("'NoneType' object has no attribute 'lower'")
Traceback (most recent call last):
  File "/home/user/miniconda3/envs/pubtrends/lib/python3.10/site-packages/celery/app/trace.py", line 385, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/home/user/miniconda3/envs/pubtrends/lib/python3.10/site-packages/celery/app/trace.py", line 650, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/user/pysrc/celery/tasks_main.py", line 48, in analyze_search_terms
    analyzer.analyze_papers(ids, query, topics, test=test, task=current_task)
  File "/home/user/pysrc/papers/analyzer.py", line 235, in analyze_papers
    self.progress.info(f'Extracting {topics.lower()} number of topics from papers text and graph similarity',
AttributeError: 'NoneType' object has no attribute 'lower'
@olegs olegs added the bug Something isn't working label Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant