CJWorkbench / cjworkbench

The data journalism platform with built in training
http://workbenchdata.com
Other
304 stars 45 forks source link

Suggested system resources #267

Closed mpiccolino-tealblue closed 2 years ago

mpiccolino-tealblue commented 3 years ago

What would be the recommended specs for running CJW on a development machine?

adamhooper commented 3 years ago

Not quite sure ... 2GB should be fine and there's no lower bound on the amount of CPU.

mpiccolino-tealblue commented 3 years ago

Thanks Adam. I've given it a go on an i5 macmini, 4Gb, with ubuntu server. I tried a few CSV datasets which comprise a handful of columns and some 50 rows, it mostly seems to hang (spinning "busy" icon) after one or two steps. The server logs printed on screen do not highlight anything in particular. What would be the best way to try and understand what's going on? Thanks.

adamhooper commented 3 years ago
mpiccolino-tealblue commented 3 years ago

Here's a sample dataset: https://data2.unhcr.org/population/get/origin?export=csv&widget_id=261209&sv_id=11&population_group=4924&population_collection=28&limit=10&fromDate=2021-01-01

(requires Split columns)

adamhooper commented 2 years ago

This could happen if one of the steps is never completing.

The problem could arise because your dataset is UTF-16. Workbench is meant to support that encoding, but it's uncommon and there might be a bug there. So the "paste" approach would fix it:

  1. Open your CSV in a text file
  2. Copy the contents
  3. Paste them into a "Paste" step

But you'll need to bin/dev stop && bin/dev start first -- otherwise, Workbench will continue trying to render your step.

mpiccolino-tealblue commented 2 years ago

Thanks Adam, I'll check it out. Marco

Il Gio 16 Set 2021, 14:56 Adam Hooper @.***> ha scritto:

This could happen if one of the steps is never completing.

The problem could arise because your dataset is UTF-16. Workbench is meant to support that encoding, but it's uncommon and there might be a bug there. So the "paste" approach would fix it:

  1. Open your CSV in a text file
  2. Copy the contents
  3. Paste them into a "Paste" step

But you'll need to bin/dev stop && bin/dev start first -- otherwise, Workbench will continue trying to render your step.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CJWorkbench/cjworkbench/issues/267#issuecomment-920876782, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANR347DSD6Q6VYGIZ4CCBF3UCHSRNANCNFSM5EC4IQ7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mpiccolino-tealblue commented 2 years ago

Indeed it looks like it was an issue with that particular resource - loading other kind of data worked well. Many thanks!