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

git up throws Exception AttributeError: #18

Closed
hguturu opened this issue Nov 13, 2014 · 10 comments
Closed

git up throws Exception AttributeError: #18

hguturu opened this issue Nov 13, 2014 · 10 comments

Comments

@hguturu
Copy link

hguturu commented Nov 13, 2014

I installed git up using pip (>sudo pip install git-up)

pip --version
pip 1.5.6 from /usr/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg (python 2.7)

The following packages are installed

pip list | grep -i git
git-up (1.1.4)
gitdb (0.5.4)
GitPython (0.3.2.RC1)

When I do git up, I see the following:

git up
Fetching origin
dev up to date
Exception AttributeError: "'NoneType' object has no attribute 'debug'" in <bound method ThreadPool.del of <async.pool.ThreadPool object at 0x26c4328>> ignored

This seem to be a general issue since

git up -h

Shows the help and then ends with the same error.

// If OS details are neded
CentOS release 6.5 (Final)
2.6.32-431.23.3.el6.x86_64

@msiemens
Copy link
Owner

Strange... The word debug doesn't show up in the PyGitUp source at all nor in the source of it's dependencies as far as I can see.

@hguturu
Copy link
Author

hguturu commented Nov 14, 2014

Interesting. It may be something that is being kicked up to python? I noticed my comment was not showing up properly due to markdown syntax. Not sure if the new version is anymore helpful since it appears ThreadPool doesn't appear in git up either, but perhaps an underlying threading library?

I also have python2.6 on the machine, let me see if this error occurs there as well. It may be something to do with this build of python2.7 (I don't believe its a custom build).

@msiemens
Copy link
Owner

Obvious question: Does this behaviour appear when using other Python applications?

@hguturu
Copy link
Author

hguturu commented Nov 19, 2014

No it does not. Althought, I don't believe any of the other python applications I am using use "ThreadPool".

@msiemens
Copy link
Owner

It seems like a depencencies dependency uses ThreadPool. There has been an update that doesn't use it any more. I'll update it when releasing the next version of PyGitUp and hopefully this will fix this problem.

@hguturu
Copy link
Author

hguturu commented Nov 19, 2014

Awesome. Thanks!

@msiemens msiemens reopened this Nov 19, 2014
@msiemens
Copy link
Owner

Oops, didn't mean to close this issue via the commit message

@msiemens
Copy link
Owner

I've just released PyGitUp v1.1.5. Could you please verify it works now?

@hguturu
Copy link
Author

hguturu commented Nov 19, 2014

Just upgraded and tested. This is indeed gone with v1.1.5

@msiemens
Copy link
Owner

Great!

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