1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #6077 duplicate

Python error on `git push`

dheeraj chand
created an issue

Hi,

I get the following error when I try to push:

REINHEIT:racso dheerajchand$ git push
Counting objects: 9, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 36.71 KiB, done.
Total 6 (delta 3), reused 0 (delta 0)
remote: bb/acl: dchand is allowed. accepted payload.
remote: Top level Sentry exception caught - failed creating log record
remote: [git@bitbucket24.private.bitbucket.org/7309] Hook error: /data/netapp01/netapp01_sas03_12/data/d-101/r-1979101
remote: 
remote: Traceback (most recent call last):
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/orochi/hooks.py", line 56, in _runhooks
remote:     delnodes)
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/db/helpers.py", line 58, in wrapper
remote:     return func(*args, **kwargs)
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/repo2/hooks.py", line 116, in brokers
remote:     username, repo2=True)
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/bhost/tasks.py", line 26, in make_payload
remote:     kwd.update(repository=repo.to_dict())
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/bb/models.py", line 380, in to_dict
remote:     'absolute_url': self.get_clone_url(None) + u'/',
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/bb/cname.py", line 111, in inner
remote:     return creverse(request, bits[0], None, *bits[1:3])
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/bb/cname.py", line 101, in creverse
remote:     url = reverse(*args, **kwargs)
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/core/urlresolvers.py", line 391, in reverse
remote:     *args, **kwargs)))
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/core/urlresolvers.py", line 312, in reverse
remote:     possibilities = self.reverse_dict.getlist(lookup_view)
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/core/urlresolvers.py", line 229, in _get_reverse_dict
remote:     self._populate()
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/core/urlresolvers.py", line 208, in _populate
remote:     for name in pattern.reverse_dict:
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/core/urlresolvers.py", line 229, in _get_reverse_dict
remote:     self._populate()
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/core/urlresolvers.py", line 197, in _populate
remote:     for pattern in reversed(self.url_patterns):
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/core/urlresolvers.py", line 279, in _get_url_patterns
remote:     patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/core/urlresolvers.py", line 274, in _get_urlconf_module
remote:     self._urlconf_module = import_module(self.urlconf_name)
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
remote:     __import__(name)
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/account/urls.py", line 5, in <module>
remote:     from bitbucket.apps.account import forms, views, xhr
remote: 
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/account/views.py", line 9, in <module>
remote:     from apps.common import timeout
remote: 
remote: ImportError: No module named apps.common
remote: 
remote: Traceback (most recent call last):
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/raven/handlers/logging.py", line 56, in emit
remote:     return self._emit(record)
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/raven/contrib/django/handlers.py", line 32, in _emit
remote:     return super(SentryHandler, self)._emit(record, request=request)
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/raven/handlers/logging.py", line 141, in _emit
remote:     date=date, **kwargs)
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/raven/contrib/django/client.py", line 108, in capture
remote:     result = super(DjangoClient, self).capture(event_type, **kwargs)
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/raven/base.py", line 408, in capture
remote:     extra, stack, public_key=public_key, tags=tags, **kwargs)
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/raven/contrib/django/client.py", line 77, in build_ms
remote:     data = super(DjangoClient, self).build_msg(*args, **kwargs)
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/raven/base.py", line 286, in build_msg
remote:     for x in self.include_paths)
remote:   File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/raven/base.py", line 286, in <genexpr>
remote:     for x in self.include_paths)
remote: TypeError: startswith first arg must be str, unicode, or tuple, not NoneType
remote: 
To ssh://git@bitbucket.org/dchand/racso.git
   7e99be7..6b95f63  master -> master
REINHEIT:racso dheerajchand$ 

Can you explain this to me?

Comments (3)

  1. Log in to comment