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.

Fix error message on yml extension or support it

See original GitHub issue

Hi, I’m reading https://framework.frictionlessdata.io/docs/guides/getting-started/#usage manual, but I didn’t understand what the basic workflow to follow, using the gli.

Imagine I have this CSV:

string,number,date
one,1,2021-01-01
two,2,2021-01-02

If I run frictionless describe tmp.csv, I have

---
metadata: tmp.csv
---

encoding: utf-8
format: csv
hashing: md5
name: tmp
path: tmp.csv
profile: tabular-data-resource
schema:
  fields:
    - name: string
      type: string
    - name: number
      type: integer
    - name: date
      type: date
scheme: file
stats:
  bytes: 53
  fields: 3
  hash: 764797fe75bece2a3175303181b48912
  rows: 2

If I want to create a Frictionless CSV using the cli, what’s the steps do I must run?

Is the one to save the describe output, running frictionless describe tmp.csv >tmp.resource.yml?

Once I have it, if I run frictionless validate tmp.resource.yml --basepath . I have

---
invalid: tmp.resource.yml
---
==========  ========================================================
code        message
==========  ========================================================
task-error  The task has an error: 'NoneType' object is not iterable
==========  ========================================================

Seeing the error I think I have not understood anything and I stop. Then what are the steps i should take to build my first hello world frictionless CSV, using the cli?

Thank you

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
aborrusocommented, Feb 1, 2021

Thank you. I felt completely stupid, while I am only partially 😃

Ok, I hope to be able to build a complete frictionless cli pipeline as soon as poosible. If I will write something useful, I share it with you. It could be useful for current documentation.

1reaction
aborrusocommented, Feb 8, 2021

Thank you very much

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Errors in YAML (.YML) Config Files - Knowledgebase
Paste your .yml configuration file into the YAML Parser - the file with the error is most likely the file you edited last....
Read more >
Error message about required pipeline file .yml extension ...
Summary I'm using custom path to pipeline file which is continuous-integration/gitlab/pipeline instead of default .gitlab-ci.yml.
Read more >
Issues - GitHub
Support for .yml extension for Chart.yaml/value.yaml #7747 ... I am also working on improving the error message--which should definitely be ...
Read more >
Error when importing core.extension.yml [#2852607] - Drupal
This looks like an issue with cm_config_tools, both from the error message and because even though that is quite a strange use case...
Read more >
Fix linting errors in yaml files - Stack Overflow
Use this extension for VSCODE. It provides comprehensive YAML Language support to Visual Studio Code, via the yaml-language-server, ...
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