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

Errors out on Linux x64 with Miniconda #2

Closed
codic12 opened this issue Feb 23, 2020 · 4 comments
Closed

Errors out on Linux x64 with Miniconda #2

codic12 opened this issue Feb 23, 2020 · 4 comments

Comments

@codic12
Copy link

codic12 commented Feb 23, 2020

Not sure if this is an MiniConda specific issue, but

Traceback (most recent call last):
  File "/home/codic/.local/bin/pyautogit", line 8, in <module>
    sys.exit(main())
  File "/home/codic/.local/lib/python3.7/site-packages/pyautogit/__init__.py", line 182, in main
    manager = PyAutogitManager(root, target, input_type, save_metadata, credentials)
  File "/home/codic/.local/lib/python3.7/site-packages/pyautogit/__init__.py", line 342, in __init__
    self.open_repo_select_window()
  File "/home/codic/.local/lib/python3.7/site-packages/pyautogit/__init__.py", line 425, in open_repo_select_window
    self.root.apply_widget_set(self.repo_select_widget_set)
  File "/home/codic/.local/lib/python3.7/site-packages/py_cui/__init__.py", line 278, in apply_widget_set
    self.refresh_height_width(height, width)
  File "/home/codic/.local/lib/python3.7/site-packages/py_cui/__init__.py", line 925, in refresh_height_width
    self.grid.update_grid_height_width(self.height, self.width)
  File "/home/codic/.local/lib/python3.7/site-packages/py_cui/grid.py", line 132, in update_grid_height_width
    raise py_cui.errors.PyCUIOutOfBoundsError
py_cui.errors.PyCUIOutOfBoundsError

@jwlodek
Copy link
Owner

jwlodek commented Feb 23, 2020

This error shows up when there isnt enough terminal characters to render a widget. Could you make the terminal window larger and try running it again?

@codic12
Copy link
Author

codic12 commented Feb 23, 2020

@jwlodek that works, thanks so much!
However is it possible to add a compact mode of sorts?

@jwlodek
Copy link
Owner

jwlodek commented Feb 23, 2020

I think that would be worthwhile, I use a 4K monitor at my desktop so I didnt notice the dimensions, but on my 720p laptop the window has to be pretty large to work, so for lower dpi displays I think a compact mode would be great.

I also found resizing the terminal font size allowed for smaller windows to work, but obviously that shouldn't be a longer term solution.

@codic12
Copy link
Author

codic12 commented Feb 23, 2020

I'm a heavy user of drop down terminals, and I use them all the time for Git. It'd be awesome to have it, yes. I'll close this issue for now.

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