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

Issue while generating new parser #3614

Closed
1 task done
hiteshbaliyan opened this issue Feb 1, 2024 · 2 comments
Closed
1 task done

Issue while generating new parser #3614

hiteshbaliyan opened this issue Feb 1, 2024 · 2 comments
Assignees

Comments

@hiteshbaliyan
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Description

While following https://docs.gethue.com/developer/development/#tutorial-creating-a-parser for the creation of new parser from the generic one like in example suggested node generateParsers.js -new generic postgresql encountering error as followed.

Environment versions are as followed:
Node v20.11.0
Npm 10.2.4
Python 3.9

> node generateParsers.js -new generic postgresql

Identifying parsers...
Error: Could not find parser definitions for '-new, 'postgresql'
    at findParsersToGenerateFromArgs (file:///hue/tools/jison/generateParsers.js:49:11)
    at file:///hue/tools/jison/generateParsers.js:101:33

Steps To Reproduce

cd tools/jison
npm install
node generateParsers.js -new generic postgresql

Logs

Identifying parsers...
Error: Could not find parser definitions for '-new, 'postgresql'
at findParsersToGenerateFromArgs (file:///hue/tools/jison/generateParsers.js:49:11)
at file:///hue/tools/jison/generateParsers.js:101:33

Hue version

release 4.11

@hiteshbaliyan hiteshbaliyan added the BUG Issue type for reporting failure due to bug in functionality label Feb 1, 2024
@bjornalm bjornalm self-assigned this Feb 2, 2024
@bjornalm
Copy link
Collaborator

bjornalm commented Feb 2, 2024

Hi @hiteshbaliyan and thanks for reporting. I'll take look in the coming days.

@bjornalm
Copy link
Collaborator

bjornalm commented Feb 21, 2024

Hi, sorry about the long delay. It looks like new parser bootstrap tool was broken and removed some time ago since it was hardly ever used. I'll file a ticket to update the docs. Thanks for your patience.

Old PR removing it:
#3027

@bjornalm bjornalm removed the BUG Issue type for reporting failure due to bug in functionality label Feb 21, 2024
@bjornalm bjornalm closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
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