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

DAG throws error #249

Closed
liviucmg opened this issue May 6, 2014 · 1 comment
Closed

DAG throws error #249

liviucmg opened this issue May 6, 2014 · 1 comment

Comments

@liviucmg
Copy link

liviucmg commented May 6, 2014

Opening View -> DAG in any repo doesn't do anything and results in the following error in the console:

Traceback (most recent call last):
  File "/usr/share/git-cola/lib/cola/widgets/dag.py", line 572, in thread_done
    self.graphview.set_initial_view()
  File "/usr/share/git-cola/lib/cola/widgets/dag.py", line 1191, in set_initial_view
    self.fit_view_to_items(items)
  File "/usr/share/git-cola/lib/cola/widgets/dag.py", line 1203, in fit_view_to_items
    x_min = sys.maxint
AttributeError: 'module' object has no attribute 'maxint'

I'm using an up-to-date Arch and Python 3.4.0. I've also tried running it with Python 2.7.6, deleting the ~/.config/git-cola directory and reinstalling it from the AUR but the issue persists.

Running git-dag on its own throws the same error in the console, but displays the window and appears to be working properly.

@davvid davvid closed this as completed in 352d0cf May 7, 2014
@liviucmg
Copy link
Author

liviucmg commented May 7, 2014

Awesome, thanks! Also, git-cola rocks. But you already know that.

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

1 participant