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.

[BUG] Console scripts missed

See original GitHub issue

Issue Description

Describe the bug

When adding an entry point was missed due it being defined in a unusual way:

To Reproduce

$ grayskull pypi consolemd
#### Initializing recipe for consolemd (pypi) ####

Recovering metadata from pypi...
Starting the download of the sdist package consolemd-0.5.1.tar.gz

Expected behavior The following YAML is generated:

    - consolemd = consolemd.cli:cli


$ rg -C 5 'build:' consolemd/meta.yaml
10-  url:{{ name[0] }}/{{ name }}/consolemd-{{ version }}.tar.gz
11-  sha256: 9bededcc256155ad52194c78a4fb9d9d8e93adc728e7bbdea0ab1eae7f590ebd
14-  number: 0
15-  noarch: python
16-  script: {{ PYTHON }} -m pip install . -vv


$ grayskull --version

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

BastianZimcommented, Feb 22, 2021

Note: This was originally reported in #212 which is now closed due to being a duplicate.

Describe the bug A clear and concise description of what the bug is.

console_scripts entry_points cannot be extracted when not formatted as a dictionary.

The format which fails:

    awslimitchecker = awslimitchecker.runner:console_entry_point

To Reproduce Steps to reproduce the behavior:

  1. Create a recipe for a formula that has entry_points formatted as above.
  2. entry_points is not extracted

Expected behavior A clear and concise description of what you expected to happen.

The build section should have an entry_points section:

  - awslimitchecker = awslimitchecker.runner:console_entry_point

Outputs If applicable, add the output to help explain your problem.

Current output:

{% set name = "awslimitchecker" %}
{% set version = "10.0.0" %}

  name: {{ name|lower }}
  version: {{ version }}

  url:{{ name[0] }}/{{ name }}/awslimitchecker-{{ version }}.tar.gz
  sha256: 7610ac0fbe0817754e238099053a4ff4d3ea5260676094af86331891d6934a09

  number: 0
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv

    - pip
    - python
    - boto3 >=1.9.175
    - botocore
    - python
    - python-dateutil
    - pytz
    - termcolor >=1.1.0
    - urllib3
    - versionfinder >=0.1.1

    - awslimitchecker
    - awslimitchecker.alerts
    - pip check
    - pip

  summary: A script and python module to check your AWS service limits and usage, and warn when usage approaches limits.
  license: AGPL-3.0
  license_file: LICENSE


Environment: Not dependent on environment

Additional context Add any other context about the problem here.

This has been verified with two packages: (Original entry_points) and (Original entry_points)

Can also be reproduced by entering awslimitchecker into

jakirkhamcommented, Jul 21, 2022

Same issue with distributed.

Just tested the Grayskull 1.4.1 release including PR ( ) with Distributed and it worked great! 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firebug cannot find _firebugConsole element, missing scripts list ...
Firebug cannot find _firebugConsole element, missing scripts list, missed console.log calls · 1) Navigate to a webpage which has Firebug enabled by default....
Read more >
Bug: Error: "syntax error at "script" missing" - Glyphs Forum
The console file is telling me the following: syntax error at "script" missing { useExtension "{" } [features.fea 71] makeotfGlyphs [FATAL] < ...
Read more >
Console doesn't display content script errors - Mozilla Discourse
During an extension development, I noticed that the Firefox debugger console doesn't display any errors while injecting content scripts, for ...
Read more >
Bug - Empty error in console - Unity Forum
Hi guys, I recently installed Unity Linux 2017.3.0f1 and when I added a new C# script I get an empty error in the...
Read more >
Reproduce Bugs Faster with Console Logs Recording
The missing piece in bug reports ... You can always see these errors when you open the script of that website, but it...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found