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

Import Error while running lazydocs #36

Closed
RenukaMane opened this issue Apr 8, 2022 · 4 comments
Closed

Import Error while running lazydocs #36

RenukaMane opened this issue Apr 8, 2022 · 4 comments
Labels
bug Something isn't working stale Awaiting input from creator for prolonged time period

Comments

@RenukaMane
Copy link

RenukaMane commented Apr 8, 2022

Describe the bug:

While trying to run it against the python directory I am getting an import error for get_terminal_size. Is there any way to sort out this error.

Error Screenshot

lazyDocs error

Technical details:

  • Host Machine OS (Windows/Linux/Mac): Windows
  • Browser (Chrome/Firefox/Safari): Chrome

Possible Fix:

Additional context:

@RenukaMane RenukaMane added the bug Something isn't working label Apr 8, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2022

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Awaiting input from creator for prolonged time period label Jul 8, 2022
@LukasMasuch LukasMasuch removed the stale Awaiting input from creator for prolonged time period label Jul 8, 2022
@mane292
Copy link

mane292 commented Jul 28, 2022

I also encountered this issue. After poking around a bit I believe that lazydocs only recognizes modules starting with a letter alphabetically before the current module. For example, when I tried to document DBpipeline, ILpipeline, and FPutils classes (in which DBpipeline and ILpipeline classes are dependent on FPutils), lazydocs did NOT find FPutils when trying to document DBpipeline, but recognized ILpipeline after documenting FPutils.

@nmiletic
Copy link

nmiletic commented Aug 26, 2022

The solution for me was to include the directory in PYTHONPATH example:
PYTHONPATH=$PYTHONPATH:./path/to/code lazydocs ./path/to/code

@github-actions
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Awaiting input from creator for prolonged time period label Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale Awaiting input from creator for prolonged time period
Projects
None yet
Development

No branches or pull requests

4 participants