question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting an error when using '--keywords' option in bulk

See original GitHub issue

Hello @koaning thanks for such a great library!

I am getting an error when I am using ‘–keywords’ option in the bulk. It works great, if I don’t use ‘–keywords’ option … I wonder what the cause is …

python -m bulk text ready2.csv --keywords “frozen”

About to serve bulk over at http://localhost:5006/. Uncaught exception GET / (::1) HTTPServerRequest(protocol=‘http’, host=‘localhost:5006’, method=‘GET’, uri=‘/’, version=‘HTTP/1.1’, remote_ip=‘::1’) Traceback (most recent call last): File “C:\Users\kiyi2001\Miniconda3\envs\SemanticMatching\lib\site-packages\tornado\web.py”, line 1713, in _execute result = await result File “C:\Users\kiyi2001\Miniconda3\envs\SemanticMatching\lib\site-packages\bokeh\server\views\doc_handler.py”, line 54, in get session = await self.get_session() File “C:\Users\kiyi2001\Miniconda3\envs\SemanticMatching\lib\site-packages\bokeh\server\views\session_handler.py”, line 144, in get_session session = await self.application_context.create_session_if_needed(session_id, self.request, token) File “C:\Users\kiyi2001\Miniconda3\envs\SemanticMatching\lib\site-packages\bokeh\server\contexts.py”, line 243, in create_session_if_needed self._application.initialize_document(doc) File “C:\Users\kiyi2001\Miniconda3\envs\SemanticMatching\lib\site-packages\bokeh\application\application.py”, line 194, in initialize_document h.modify_document(doc) File “C:\Users\kiyi2001\Miniconda3\envs\SemanticMatching\lib\site-packages\bokeh\application\handlers\function.py”, line 143, in modify_document self._func(doc) File “C:\Users\kiyi2001\Miniconda3\envs\SemanticMatching\lib\site-packages\bulk\text.py”, line 27, in bkapp mapper, df = get_color_mapping(df) File “C:\Users\kiyi2001\Miniconda3\envs\SemanticMatching\lib\site-packages\bulk\utils.py”, line 25, in get_color_mapping palette=Category10[len(all_values)], KeyError: 1 500 GET / (::1) 28.95ms

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
koaningcommented, Nov 11, 2022

https://pypi.org/project/bulk/#history

The most recent version is v0.1.3, could you install that manually and try again?

python -m pip install --upgrade bulk
1reaction
koaningcommented, Nov 11, 2022

Please share errors using the markdown blocks. Screenshots are horrible to copy/paste from and they also don’t show up in search results.

Will have a look tho! Thanks for reporting.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bulk editor error messages | Pinterest Business help
Error 2044 : A keyword with the same value and match type already exists. Please re-download your sheet. Check to see if any...
Read more >
Fix issues with your spreadsheet for bulk uploads
Under “Bulk actions,” click Uploads. Find your spreadsheet in the table. If there were errors in uploading the spreadsheet, you'll see the number...
Read more >
Bulksheets frequently asked questions (FAQs) - Amazon Ads
This article contains FAQs for general bulksheets questions, along with campaign-specific ones. Click on the questions to see the answers and learn more....
Read more >
Bulk Keywords Data (Import Keywords) Feature - YouTube
In this video, you will learn how to use Keywords Everywhere's Bulk Keywords Data feature to get search volume, CPC and other metrics...
Read more >
How to add keywords to Apple Search ads in bulk - YouTube
Learn how to add (and troubleshoot) keywords to Apple search ads campaigns in bulk, two separate ways, via excel upload and comma separated ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found