1. Marcin Kuzminski
  2. RhodeCode
  3. Issues

Issues

Issue #417 resolved

RhodeCode does not show any changesets

Anonymous created an issue

I upgraded from RhodeCode 1.2.5 to 1.3.4 today. Everything works as expected.

But if I create a new private git repo no changesets will be shown. I tried the following: - push to newly created repo had to use 'push url master' because git complains empty repo --> no changesets shown, but if i look at the repo on the server there are the changesets... - clone newly created repo, add file push had to use 'push url master' because git complains --> no changesets shown, but they are on the server...

Note: These where private repos

Comments (27)

  1. Anonymous

    I dont know if it is a regression. I upgraded directly from 1.2.5 to 1.3.4.

    (Sorry for the bad formatting in the first post.)

  2. Anonymous

    It seems to be a local issue, because on the demo it works.

    How can I debug this?

    Additional, if I try to view the Admin Journal (/_admin) rhodecode throws an 500 Internal Server Error..

  3. Anonymous

    After some graceful apache restarts and editing production.ini back and forth, it seems the problem is mysterious.

    Sometimes all revisions are shown, sometimes 'no changesets yet' ...

    Is there a way to hardcode the path to the git binary? Because mercurial resides inside the virtual enviroment, but git not. Maybe sometimes the git binary is not found?

    Is there a way to add an file logging handler in production.ini? This would make things easier to read. Because I have one other wsgi application on the same vhost and the apache log gets massive..

    Or are the instructions for RhodeCode on apache with mod_wsgi and subdirectory?

    BTW: Server OS is FreeBSD

  4. Marcin Kuzminski repo owner

    Hmm very odd... you can set the logs to be saved to file if you set fileHandler in the .ini file in logging config section. Are you using load-balancing with few running instances of rhodecode ?

    Also make sure you don't use processes in mod_wsgi but only threaded mode

  5. Anonymous

    Nothing fancy:

    Apache config:

    WSGIDaemonProcess rhodecode user=www group=www processes=1 threads=5 \
        python-path=/usr/local/www/rhodecode-venv/lib/python2.7/site-packages \
        display-name=rhodecode
    WSGIScriptAlias /rhodecode /usr/local/www/rhodecode/dispatch.wsgi
    WSGIPassAuthorization On
    <Location /rhodecode>
    WSGIProcessGroup rhodecode
    </Location>
    
    <Directory /usr/local/www/rhodecode>
    Order allow,deny
    Allow from all
    </Directory>
    

    dispathch.wsgi

    import os
    os.environ["HGENCODING"] = "UTF-8"
    os.environ['PYTHON_EGG_CACHE'] = '/usr/local/www/rhodecode-venv/.egg-cache'
    
    os.chdir('/usr/local/www/rhodecode-venv/')
    
    import site
    site.addsitedir("/usr/local/www/rhodecode-venv/lib/python2.7/site-packages")
    
    from paste.deploy import loadapp
    from paste.script.util.logging_config import fileConfig
    
    fileConfig('/usr/local/www/rhodecode/production.ini')
    application = loadapp('config:/usr/local/www/rhodecode/production.ini')
    

    production.ini

    ################################################################################
    ################################################################################
    # RhodeCode - Pylons environment configuration                                 #
    #                                                                              #
    # The %(here)s variable will be replaced with the parent directory of this file#
    ################################################################################
    
    [DEFAULT]
    debug = true
    pdebug = false
    
    ################################################################################
    ## Uncomment and replace with the address which should receive                ##
    ## any error reports after application crash                                  ##
    ## Additionally those settings will be used by RhodeCode mailing system       ##
    ################################################################################
    email_to = # censored #
    error_email_from = # censored #
    app_email_from = # censored #
    error_message =
    email_prefix = [RhodeCode]
    
    smtp_server = # censored #
    smtp_username = # censored #
    smtp_password = # censored #
    smtp_port = 587
    smtp_use_tls = true
    #smtp_use_ssl = true
    # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
    #smtp_auth = PLAIN
    
    [server:main]
    ##nr of threads to spawn
    threadpool_workers = 5
    
    ##max request before thread respawn
    threadpool_max_requests = 10
    
    ##option to use threads of process
    use_threadpool = true
    
    use = egg:Paste#http
    host = 127.0.0.1
    port = 5000
    
    [app:main]
    use = egg:rhodecode
    full_stack = true
    static_files = false
    lang = en
    cache_dir = %(here)s/data
    index_dir = %(here)s/data/index
    app_instance_uuid = # censored #
    cut_off_limit = 256000
    force_https = true
    commit_parse_limit = 50
    use_gravatar = false
    container_auth_enabled = false
    proxypass_auth_enabled = false
    default_encoding = utf8
    
    # 1st part for sub-uri
    filter-with = proxy-prefix
    
    ## overwrite schema of clone url
    ## available vars:
    ## scheme - http/https
    ## user - current user
    ## pass - password
    ## netloc - network location
    ## path - usually repo_name
    
    #clone_uri = {scheme}://{user}{pass}{netloc}{path}
    
    ## issue tracking mapping for commits messages
    ## comment out issue_pat, issue_server, issue_prefix to enable
    
    ## pattern to get the issues from commit messages
    ## default one used here is #<numbers> with a regex passive group for `#`
    ## {id} will be all groups matched from this pattern
    
    issue_pat = (?:\s*#)(\d+)
    
    ## server url to the issue, each {id} will be replaced with match
    ## fetched from the regex and {repo} is replaced with repository name
    
    #issue_server_link = https://myissueserver.com/{repo}/issue/{id}
    
    ## prefix to add to link to indicate it's an url
    ## #314 will be replaced by <issue_prefix><id>
    
    issue_prefix = #
    
    ## instance-id prefix
    ## a prefix key for this instance used for cache invalidation when running
    ## multiple instances of rhodecode, make sure it's globally unique for
    ## all running rhodecode instances. Leave empty if you don't use it
    instance_id =
    
    ## alternative return HTTP header for failed authentication. Default HTTP
    ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
    ## handling that. Set this variable to 403 to return HTTPForbidden
    auth_ret_code =
    
    ####################################
    ###        CELERY CONFIG        ####
    ####################################
    use_celery = true
    broker.host = localhost
    broker.vhost = # censored #
    broker.port = 5672
    broker.user = # censored #
    broker.password = # censored #
    
    celery.imports = rhodecode.lib.celerylib.tasks
    
    celery.result.backend = amqp
    celery.result.dburi = amqp://
    celery.result.serialier = json
    
    #celery.send.task.error.emails = true
    #celery.amqp.task.result.expires = 18000
    
    celeryd.concurrency = 2
    #celeryd.log.file = /usr/local/www/rhodecode/celeryd.log
    celeryd.log.level = debug
    celeryd.max.tasks.per.child = 1
    
    #tasks will never be sent to the queue, but executed locally instead.
    celery.always.eager = false
    
    #celeryd.pid.file = /usr/local/www/rhodecode/celeryd.pid
    celeryd.user = www
    celeryd.group = www
    
    ####################################
    ###         BEAKER CACHE        ####
    ####################################
    beaker.cache.data_dir=%(here)s/data/cache/data
    beaker.cache.lock_dir=%(here)s/data/cache/lock
    
    beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
    
    beaker.cache.super_short_term.type=memory
    beaker.cache.super_short_term.expire=10
    beaker.cache.super_short_term.key_length = 256
    
    beaker.cache.short_term.type=memory
    beaker.cache.short_term.expire=60
    beaker.cache.short_term.key_length = 256
    
    beaker.cache.long_term.type=memory
    beaker.cache.long_term.expire=36000
    beaker.cache.long_term.key_length = 256
    
    beaker.cache.sql_cache_short.type=memory
    beaker.cache.sql_cache_short.expire=10
    beaker.cache.sql_cache_short.key_length = 256
    
    beaker.cache.sql_cache_med.type=memory
    beaker.cache.sql_cache_med.expire=360
    beaker.cache.sql_cache_med.key_length = 256
    
    beaker.cache.sql_cache_long.type=file
    beaker.cache.sql_cache_long.expire=3600
    beaker.cache.sql_cache_long.key_length = 256
    
    ####################################
    ###       BEAKER SESSION        ####
    ####################################
    ## Type of storage used for the session, current types are
    ## dbm, file, memcached, database, and memory.
    ## The storage uses the Container API
    ## that is also used by the cache system.
    
    ## db session example
    #beaker.session.type = ext:database
    #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
    #beaker.session.table_name = db_session
    
    ## encrypted cookie session, good for many instances
    #beaker.session.type = cookie
    
    beaker.session.type = file
    beaker.session.key = rhodecode
    # secure cookie requires AES python libraries
    #beaker.session.encrypt_key = # censored #
    #beaker.session.validate_key = # censored #
    beaker.session.timeout = 36000
    beaker.session.httponly = true
    
    ## uncomment for https secure cookie
    beaker.session.secure = false
    
    ##auto save the session to not to use .save()
    beaker.session.auto = False
    
    ##true exire at browser close
    #beaker.session.cookie_expires = 3600
    
    ################################################################################
    ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*  ##
    ## Debug mode will enable the interactive debugging tool, allowing ANYONE to  ##
    ## execute malicious code after an exception is raised.                       ##
    ################################################################################
    set debug = false
    
    ##################################
    ###       LOGVIEW CONFIG       ###
    ##################################
    logview.sqlalchemy = #faa
    logview.pylons.templating = #bfb
    logview.pylons.util = #eee
    
    #########################################################
    ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG    ###
    #########################################################
    
    # SQLITE [default]
    sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
    
    # POSTGRESQL
    # sqlalchemy.db1.url = postgresql://user:pass@localhost/rhodecode
    
    # MySQL
    # sqlalchemy.db1.url = mysql://user:pass@localhost/rhodecode
    
    # see sqlalchemy docs for others
    
    sqlalchemy.db1.echo = false
    sqlalchemy.db1.pool_recycle = 3600
    sqlalchemy.db1.convert_unicode = true
    
    ################################
    ### LOGGING CONFIGURATION   ####
    ################################
    [loggers]
    keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer
    
    [handlers]
    keys = console, console_sql
    
    [formatters]
    keys = generic, color_formatter, color_formatter_sql
    
    #############
    ## LOGGERS ##
    #############
    [logger_root]
    level = NOTSET
    handlers = console
    
    [logger_routes]
    level = DEBUG
    handlers =
    qualname = routes.middleware
    # "level = DEBUG" logs the route matched and routing variables.
    propagate = 1
    
    [logger_beaker]
    level = DEBUG
    handlers =
    qualname = beaker.container
    propagate = 1
    
    [logger_templates]
    level = INFO
    handlers =
    qualname = pylons.templating
    propagate = 1
    
    [logger_rhodecode]
    level = DEBUG
    handlers =
    qualname = rhodecode
    propagate = 1
    
    [logger_sqlalchemy]
    level = INFO
    handlers = console_sql
    qualname = sqlalchemy.engine
    propagate = 0
    
    [logger_whoosh_indexer]
    level = DEBUG
    handlers =
    qualname = whoosh_indexer
    propagate = 1
    
    ##############
    ## HANDLERS ##
    ##############
    
    [handler_console]
    class = StreamHandler
    args = (sys.stderr,)
    level = INFO
    formatter = generic
    
    [handler_console_sql]
    class = StreamHandler
    args = (sys.stderr,)
    level = WARN
    formatter = generic
    
    ################
    ## FORMATTERS ##
    ################
    
    [formatter_generic]
    format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
    datefmt = %Y-%m-%d %H:%M:%S
    
    [formatter_color_formatter]
    class=rhodecode.lib.colored_formatter.ColorFormatter
    format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
    datefmt = %Y-%m-%d %H:%M:%S
    
    [formatter_color_formatter_sql]
    class=rhodecode.lib.colored_formatter.ColorFormatterSql
    format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
    datefmt = %Y-%m-%d %H:%M:%S
    
    # 2nd part for sub-uri
    [filter:proxy-prefix]
    use = egg:PasteDeploy#prefix
    prefix = /rhodecode
    

    Sorry for the delay (long weekend).

  6. Anonymous

    Are the loging settings enough to get meaningful logs?

    I add the following file log:

    [handler_file]
    class = FileHandler
    args = ('RhodeCode.log', 'a')
    level = NOTSET
    formatter = generic
    
  7. Anonymous

    So, all loggers set to DEBUG. I've done the following steps: accessing the repo, view changelog, view files, clone repo, (edit one file), push repo, pull repo (from different location). On my workstation everything is fine and git works as expected. On the RhodeCode-Server works nothing. An empty repo is shown.

    TOC of logs:

    1. accessing repo
    2. view changelog
    3. view files
    4. clone repo
    5. push repo
    6. pull repo

    Here we go:

    • accessing repo
    2012-04-14 11:15:57.852 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/summary detected as GIT False
    2012-04-14 11:15:57.854 DEBUG [rhodecode.lib.middleware.simplehg] pathinfo: /testing-git/summary detected as HG False
    2012-04-14 11:15:57.864 DEBUG [routes.middleware] Matched GET /testing-git/summary
    2012-04-14 11:15:57.865 DEBUG [routes.middleware] Route path: '/{repo_name:.*}/summary', defaults: {'action': u'index', 'controller': u'summary'}
    2012-04-14 11:15:57.866 DEBUG [routes.middleware] Match dict: {'action': u'index', 'controller': u'summary', 'repo_name': u'testing-git'}
    2012-04-14 11:15:57.866 DEBUG [pylons.wsgiapp] Setting up Pylons stacked object globals
    2012-04-14 11:15:57.869 DEBUG [pylons.wsgiapp] Resolved URL to controller: u'summary'
    2012-04-14 11:15:58.686 DEBUG [pylons.wsgiapp] Found controller, module: 'rhodecode.controllers.summary', class: 'SummaryController'
    2012-04-14 11:15:58.686 DEBUG [pylons.wsgiapp] Controller appears to be a class, instantiating
    2012-04-14 11:15:58.687 DEBUG [pylons.wsgiapp] Calling controller class with WSGI interface
    2012-04-14 11:15:58.689 DEBUG [beaker.container] data file /usr/local/www/rhodecode/data/sessions/container_file/f/f0/f09e21986f7a4fffa7b1fe4b06efd857.cache
    2012-04-14 11:15:58.694 DEBUG [beaker.container] lock_creatfunc (didnt wait)
    2012-04-14 11:15:58.694 DEBUG [beaker.container] get_value creating new value
    2012-04-14 11:15:58.711 DEBUG [beaker.container] set_value stored time 1334394958.711386 expire time 10
    2012-04-14 11:15:58.712 DEBUG [beaker.container] released create lock
    2012-04-14 11:15:58.713 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 3
    2012-04-14 11:15:58.722 DEBUG [rhodecode.model.user] filling <User('id:3:Testuser')> data
    2012-04-14 11:15:58.724 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:3:Testuser|False')>
    2012-04-14 11:15:58.860 INFO  [rhodecode.lib.base] User: <AuthUser('id:3:Testuser|True')> accessed /testing-git/summary
    2012-04-14 11:15:58.861 DEBUG [pylons.controllers.core] Calling '__before__' method with keyword args: **{}
    2012-04-14 11:15:58.862 DEBUG [rhodecode.lib.auth] Checking if Testuser is authenticated @ SummaryController:__before__
    2012-04-14 11:15:58.862 INFO  [rhodecode.lib.auth] user Testuser is authenticated and granted access to SummaryController:__before__
    2012-04-14 11:15:58.863 DEBUG [rhodecode.lib.auth] checking HasRepoPermissionAnyDecorator permissions set(['repository.write', 'repository.read', 'repository.admin']) for <rhodecode.controllers.summary.SummaryController object at 0x80e492b10> <AuthUser('id:3:Testuser|True')>
    2012-04-14 11:15:58.863 DEBUG [rhodecode.lib.auth] Permission granted for <rhodecode.controllers.summary.SummaryController object at 0x80e492b10> <AuthUser('id:3:Testuser|True')>
    2012-04-14 11:15:58.907 DEBUG [beaker.container] lock_creatfunc (didnt wait)
    2012-04-14 11:15:58.908 DEBUG [beaker.container] get_value creating new value
    2012-04-14 11:15:58.912 DEBUG [beaker.container] set_value stored time 1334394958.912076 expire time 10
    2012-04-14 11:15:58.912 DEBUG [beaker.container] released create lock
    2012-04-14 11:15:58.913 DEBUG [rhodecode.model.db] Creating instance of git repository
    2012-04-14 11:15:58.992 DEBUG [pylons.controllers.core] Looking for u'index' method to handle the request
    2012-04-14 11:15:58.992 DEBUG [pylons.controllers.core] Calling 'index' method with keyword args: **{'repo_name': u'testing-git'}
    2012-04-14 11:15:59.089 DEBUG [beaker.container] clear_value
    2012-04-14 11:15:59.123 DEBUG [beaker.container] lock_createfunc (waiting)
    2012-04-14 11:15:59.123 DEBUG [beaker.container] lock_createfunc (waited)
    2012-04-14 11:15:59.123 DEBUG [beaker.container] get_value creating new value
    2012-04-14 11:15:59.124 DEBUG [rhodecode.controllers.summary] Fetching readme file
    2012-04-14 11:15:59.134 ERROR [rhodecode.controllers.summary] Traceback (most recent call last):
      File "/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/controllers/summary.py", line 197, in _get_readme_from_cache
        readme = cs.get_node(f)
      File "/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/base.py", line 490, in get_node
        raise NotImplementedError
    NotImplementedError
    
    2012-04-14 11:15:59.135 DEBUG [beaker.container] set_value stored time 1334394959.135058 expire time 36000
    2012-04-14 11:15:59.135 DEBUG [beaker.container] released create lock
    2012-04-14 11:15:59.136 DEBUG [pylons.templating] Created render namespace with pylons vars: {'c': <pylons.util.ContextObj at 0x80e492790 backends=['git', 'hg'], clone_repo_url=u'https://Testuser@some.location.local/rhodecode/testing-git', clone_repo_url_id=u'https://Testuser@some.location.local/rhodecode/_21', commit_data='{}', dbrepo=<Repository('21:testing-git')>, enable_downloads=False, following=True, ga_code=u'', no_data=True, no_data_msg=u'Statistics are disabled for this repository', overview_data='[[1302904800.0, 0], [1334440800.0, 10]]', readme_data=None, readme_file=None, repo_branches=odict(), repo_changesets=Page:
    Collection type:  <class 'rhodecode.lib.vcs.backends.g...:  0
    , repo_name=u'testing-git', repo_tags=odict(), repository_followers=1, repository_forks=0, rhodecode_db_repo=<Repository('21:testing-git')>, rhodecode_instanceid='', rhodecode_name=u'RhodeCode', rhodecode_repo=<GitRepository at /usr/local/www/hg-repos/testing-git>, rhodecode_user=<AuthUser('id:3:Testuser|True')>, rhodecode_version='1.3.4', show_stats=False, stats_percentage=0, trending_languages='{}', ts_max=1334440800.0, ts_min=1331852400.0, unread_notifications=0, use_gravatar=False>, 'ungettext': <function ungettext at 0x80a7f3668>, 'url': <routes.util.URLGenerator object at 0x80e4709d0>, 'h': <module 'rhodecode.lib.helpers' from '/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/lib/helpers.pyc'>, 'request': <Request at 0x80e470850 GET https://some.location.local/rhodecode/testing-git/summary>, 'tmpl_context': <pylons.util.ContextObj at 0x80e492790 backends=['git', 'hg'], clone_repo_url=u'https://Testuser@some.location.local/rhodecode/testing-git', clone_repo_url_id=u'https://Testuser@
    some.location.local/rhodecode/_21', commit_data='{}', dbrepo=<Repository('21:testing-git')>, enable_downloads=False, following=True, ga_code=u'', no_data=True, no_data_msg=u'Statistics are disabled for this repository', overview_data='[[1302904800.0, 0], [1334440800.0, 10]]', readme_data=None, readme_file=None, repo_branches=odict(), repo_changesets=Page:
    Collection type:  <class 'rhodecode.lib.vcs.backends.g...:  0
    , repo_name=u'testing-git', repo_tags=odict(), repository_followers=1, repository_forks=0, rhodecode_db_repo=<Repository('21:testing-git')>, rhodecode_instanceid='', rhodecode_name=u'RhodeCode', rhodecode_repo=<GitRepository at /usr/local/www/hg-repos/testing-git>, rhodecode_user=<AuthUser('id:3:Testuser|True')>, rhodecode_version='1.3.4', show_stats=False, stats_percentage=0, trending_languages='{}', ts_max=1334440800.0, ts_min=1331852400.0, unread_notifications=0, use_gravatar=False>, 'translator': <gettext.GNUTranslations instance at 0x80e475128>, 'session': {'rhodecode_user': {'username': u'Testuser', 'is_authenticated': True, 'user_id': 3}, '_accessed_time': 1334394958.690454, '_creation_time': 1334394769.607526}, 'N_': <function gettext_noop at 0x80a7f3320>, 'app_globals': <rhodecode.lib.app_globals.Globals object at 0x80bf7e710>, 'config': {'error_email_from': 'some.location.local', 'pylons.app_globals': <rhodecode.lib.app_globals.Globals object at 0x80bf7e710>, 'beaker.session.auto': 'False', 'broker.
    host': 'localhost', 'celery.result.backend': 'amqp', 'sqlalchemy.db1.pool_recycle': '3600', 'beaker.cache.sql_cache_med.expire': '360', 'beaker.cache.sql_cache_short.type': 'memory', 'celeryd.max.tasks.per.child': '1', 'celery.imports': 'rhodecode.lib.celerylib.tasks', u'rhodecode_ldap_filter': u'', 'beaker.cache.short_term.type': 'memory', 'app_instance_uuid': '{some-uuid}', 'celery.result.dburi': 'amqp://', 'celeryd.group': 'www', 'celeryd.log.level': 'debug', 'issue_prefix': '#', 'beaker.cache.sql_cache_med.type': 'memory', 'beaker.cache.sql_cache_short.key_length': '256', 'email_prefix': '[RhodeCode]', u'rhodecode_ldap_search_scope': u'', 'app_conf': {'celeryd.max.tasks.per.child': '1', 'beaker.session.auto': 'False', 'broker.vhost': 'rabbitmqhostrhodecode', 'broker.host': 'localhost', 'sqlalchemy.db1.pool_recycle': '3600', 'beaker.cache.sql_cache_med.expire': '360', 'beaker.cache.sql_cache_short.type': 'memory', 'beaker.cache.short_term.expire': '60', 'default_encoding': 'utf8', 'beaker.cache.short_term.
    key_length': '256', 'beaker.cache.lock_dir': '/usr/local/www/rhodecode/data/cache/lock', 'beaker.cache.sql_cache_long.expire': '3600', 'logview.sqlalchemy': '#faa', 'beaker.cache.long_term.expire': '36000', 'celery.imports': 'rhodecode.lib.celerylib.tasks', 'beaker.cache.short_term.type': 'memory', 'beaker.session.secure': 'false', 'cache_dir': '/usr/local/www/rhodecode/data', 'beaker.cache.super_short_term.expire': '10', 'beaker.session.type': 'file', 'celery.result.dburi': 'amqp://', 'celeryd.group': 'www', 'index_dir': '/usr/local/www/rhodecode/data/index', 'sqlalchemy.db1.echo': 'false', 'celeryd.log.level': 'debug', 'issue_prefix': '#', 'beaker.cache.sql_cache_med.type': 'memory', 'logview.pylons.templating': '#bfb', 'beaker.cache.sql_cache_short.key_length': '256', 'broker.port': '5672', 'sqlalchemy.db1.convert_unicode': 'true', 'beaker.cache.sql_cache_med.key_length': '256', 'force_https': 'true', 'app_instance_uuid': '{some-uuid}', 'beaker.cache.sql_cache_long.key_length': '256', 'use_celery': 'true',
     'celery.always.eager': 'false', 'beaker.session.httponly': 'true', 'broker.user': 'rabbitmq-rhodecode', 'container_auth_enabled': 'false', 'commit_parse_limit': '50', 'logview.pylons.util': '#eee', 'beaker.cache.long_term.type': 'memory', 'beaker.cache.sql_cache_long.type': 'file', 'beaker.cache.regions': 'super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long', 'celery.result.backend': 'amqp', 'sqlalchemy.db1.url': 'sqlite:////usr/local/www/rhodecode/rhodecode.db', 'proxypass_auth_enabled': 'false', 'auth_ret_code': '', 'lang': 'en', 'celeryd.user': 'www', 'beaker.session.timeout': '36000', 'cut_off_limit': '256000', 'issue_pat': '(?:\\s*#)(\\d+)', 'beaker.cache.super_short_term.type': 'memory', 'broker.password': 'weak-password', 'instance_id': '', 'beaker.cache.long_term.key_length': '256', 'beaker.cache.super_short_term.key_length': '256', 'use_gravatar': 'false', 'beaker.cache.data_dir': '/usr/local/www/rhodecode/data/cache/data', 'beaker.cache.sql_cache_short.expire': '10',
    'beaker.session.key': 'rhodecode', 'celeryd.concurrency': '2', 'celery.result.serialier': 'json'}, 'pylons.cache_dir': '/usr/local/www/rhodecode/data', 'beaker.cache.sql_cache_med.key_length': '256', 'force_https': 'true', 'smtp_username': 'mail@example.local', 'celery.always.eager': 'false', u'rhodecode_title': u'RhodeCode', 'celeryd.user': 'www', 'commit_parse_limit': '50', '__file__': '/usr/local/www/rhodecode/production.ini', 'beaker.cache.long_term.type': 'memory', 'default_encoding': 'utf8', 'beaker.cache.super_short_term.expire': '10', 'beaker.cache.regions': 'super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long', 'email_to': 'postmaster@example.local', 'pylons.h': <module 'rhodecode.lib.helpers' from '/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/lib/helpers.pyc'>, u'rhodecode_ldap_attr_firstname': u'', 'sqlalchemy.db1.url': 'sqlite:////usr/local/www/rhodecode/rhodecode.db', 'proxypass_auth_enabled': 'false', 'auth_ret_code': '', 'global_conf': {'
    error_email_from': 'some.location.local', 'smtp_port': '587', 'smtp_password': 'nice-try', 'smtp_use_tls': 'true', 'app_email_from': 'some.location.local', '__file__': '/usr/local/www/rhodecode/production.ini', 'error_message': '', 'smtp_server': 'poststation.example.local', 'here': '/usr/local/www/rhodecode', 'email_prefix': '[RhodeCode]', 'email_to': 'postmaster@example.local', 'debug': 'false', 'pdebug': 'false', 'smtp_username': 'mail@example.local'}, u'rhodecode_ga_code': u'', 'error_message': '', 'broker.password': 'weak-password', 'instance_id': '', 'beaker.cache.short_term.key_length': '256', u'rhodecode_ldap_attr_email': u'', 'beaker.session.timeout': '36000', 'debug': False, u'rhodecode_ldap_dn_user': u'', 'celery.result.serialier': 'json', 'broker.vhost': 'rabbitmqhostrhodecode', 'smtp_port': '587', 'pylons.paths': {'templates': ['/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/templates'], 'controllers': '/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/
    controllers', 'static_files': '/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/public', 'root': '/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode'}, 'beaker.session.httponly': 'true', 'beaker.cache.short_term.expire': '60', 'beaker.cache.super_short_term.type': 'memory', 'beaker.cache.lock_dir': '/usr/local/www/rhodecode/data/cache/lock', 'beaker.cache.sql_cache_long.expire': '3600', 'logview.sqlalchemy': '#faa', 'beaker.cache.long_term.expire': '36000', 'beaker.session.secure': 'false', 'pylons.response_options': {'headers': {'Pragma': 'no-cache', 'Cache-Control': 'no-cache'}, 'errors': 'strict', 'charset': 'utf-8', 'content_type': 'text/html'}, 'beaker.session.type': 'file', 'smtp_password': 'nice-try', 'use_celery': 'true', 'index_dir': '/usr/local/www/rhodecode/data/index', 'sqlalchemy.db1.echo': 'false', 'smtp_use_tls': 'true', 'logview.pylons.templating': '#bfb', u'rhodecode_ldap_tls_kind': u'PLAIN', 'pylons.environ_config': {'session': 'beaker.session', 'cache': '
    beaker.cache'}, 'pdebug': 'false', 'smtp_server': 'poststation.example.local', 'routes.map': <routes.mapper.Mapper object at 0x80993eb90>, 'broker.port': '5672', u'rhodecode_ldap_attr_lastname': u'', u'rhodecode_ldap_port': u'389', 'logview.pylons.util': '#eee', 'use_gravatar': 'false', 'beaker.cache.sql_cache_long.key_length': '256', u'rhodecode_ldap_base_dn': u'', 'pylons.errorware': {'from_address': 'some.location.local', 'error_email': 'postmaster@example.local', 'error_message': '', 'smtp_server': 'poststation.example.local', 'error_log': None, 'error_subject_prefix': 'WebApp Error: ', 'debug': False}, 'broker.user': 'rabbitmq-rhodecode', 'container_auth_enabled': 'false', u'rhodecode_ldap_host': u'', 'pylons.tmpl_context_attach_args': False, u'rhodecode_ldap_tls_reqcert': u'', u'rhodecode_ldap_active': False, 'here': '/usr/local/www/rhodecode', u'rhodecode_ldap_dn_pass': u'', 'beaker.cache.sql_cache_short.expire': '10', 'beaker.cache.sql_cache_long.type': 'file', 'base_path': u'/usr/local/www/hg-repos',
     'pylons.package': 'rhodecode', 'pylons.strict_tmpl_context': True, 'sqlalchemy.db1.convert_unicode': 'true', 'app_email_from': 'some.location.local', 'lang': 'en', 'pylons.request_options': {'errors': 'replace', 'decode_param_names': False, 'charset': 'utf-8', 'language': 'en-us'}, 'beaker.cache.data_dir': '/usr/local/www/rhodecode/data/cache/data', 'cut_off_limit': '256000', 'issue_pat': '(?:\\s*#)(\\d+)', u'rhodecode_realm': u'RhodeCode authentication', 'beaker.cache.long_term.key_length': '256', 'beaker.cache.super_short_term.key_length': '256', 'available_permissions': [u'repository.none', u'repository.read', u'repository.write', u'repository.admin', u'hg.admin', u'hg.create.repository', u'hg.create.none', u'hg.register.none', u'hg.register.manual_activate', u'hg.register.auto_activate', u'group.none', u'group.read', u'group.write', u'group.admin'], 'beaker.session.key': 'rhodecode', 'celeryd.concurrency': '2', 'beaker.session.data_dir': '/usr/local/www/rhodecode/data/sessions', u'rhodecode_ldap_attr_
    login': u''}, 'response': <Response at 0x80e492690 200 OK>, '_': <function ugettext at 0x80a7f3488>}
    2012-04-14 11:15:59.178 DEBUG [rhodecode.lib.auth] checking cls:HasRepoPermissionAll set(['repository.admin']) usr:<AuthUser('id:3:Testuser|True')> repo:testing-git @ unspecified location
    2012-04-14 11:15:59.179 DEBUG [rhodecode.lib.auth] Permission granted for user: <AuthUser('id:3:Testuser|True')> @ unspecified location
    2012-04-14 11:15:59.179 DEBUG [rhodecode.lib.auth] checking cls:HasPermissionAll set(['hg.admin']) usr:<AuthUser('id:3:Testuser|True')>  @ access settings on repository
    2012-04-14 11:15:59.180 DEBUG [rhodecode.lib.auth] Permission denied for user: <AuthUser('id:3:Testuser|True')> @ access settings on repository
    2012-04-14 11:15:59.182 DEBUG [rhodecode.lib.auth] checking cls:HasPermissionAll set(['hg.admin']) usr:<AuthUser('id:3:Testuser|True')>  @ access admin main page
    2012-04-14 11:15:59.182 DEBUG [rhodecode.lib.auth] Permission denied for user: <AuthUser('id:3:Testuser|True')> @ access admin main page
    2012-04-14 11:15:59.197 DEBUG [rhodecode.lib.auth] checking cls:HasPermissionAll set(['hg.admin']) usr:<AuthUser('id:3:Testuser|True')>  @ enable stats on from summary
    2012-04-14 11:15:59.198 DEBUG [rhodecode.lib.auth] Permission denied for user: <AuthUser('id:3:Testuser|True')> @ enable stats on from summary
    2012-04-14 11:15:59.210 DEBUG [rhodecode.lib.auth] checking cls:HasRepoPermissionAny set(['repository.write', 'repository.admin']) usr:<AuthUser('id:3:Testuser|True')> repo:testing-git @ unspecified location
    2012-04-14 11:15:59.211 DEBUG [rhodecode.lib.auth] Permission granted for user: <AuthUser('id:3:Testuser|True')> @ unspecified location
    2012-04-14 11:15:59.215 DEBUG [pylons.controllers.core] Controller returned a unicode string , writing it to pylons.response
    2012-04-14 11:15:59.216 DEBUG [pylons.controllers.core] Calling Response object to return WSGI data
    2012-04-14 11:15:59.218 INFO  [rhodecode.lib.base] Request to /testing-git/summary time: 0.531s
    2012-04-14 11:15:59.219 DEBUG [rhodecode.SimpleHg] Request time: 1.366s
    2012-04-14 11:15:59.220 DEBUG [rhodecode.SimpleGit] Request time: 1.368s
    
    • view changelog
    2012-04-14 11:18:34.453 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/changelog detected as GIT False
    2012-04-14 11:18:34.454 DEBUG [rhodecode.lib.middleware.simplehg] pathinfo: /testing-git/changelog detected as HG False
    2012-04-14 11:18:34.464 DEBUG [routes.middleware] Matched GET /testing-git/changelog
    2012-04-14 11:18:34.465 DEBUG [routes.middleware] Route path: '/{repo_name:.*}/changelog', defaults: {'action': u'index', 'controller': u'changelog'}
    2012-04-14 11:18:34.466 DEBUG [routes.middleware] Match dict: {'action': u'index', 'controller': u'changelog', 'repo_name': u'testing-git'}
    2012-04-14 11:18:34.466 DEBUG [pylons.wsgiapp] Setting up Pylons stacked object globals
    2012-04-14 11:18:34.469 DEBUG [pylons.wsgiapp] Resolved URL to controller: u'changelog'
    2012-04-14 11:18:34.497 DEBUG [pylons.wsgiapp] Found controller, module: 'rhodecode.controllers.changelog', class: 'ChangelogController'
    2012-04-14 11:18:34.498 DEBUG [pylons.wsgiapp] Controller appears to be a class, instantiating
    2012-04-14 11:18:34.499 DEBUG [pylons.wsgiapp] Calling controller class with WSGI interface
    2012-04-14 11:18:34.501 DEBUG [beaker.container] data file /usr/local/www/rhodecode/data/sessions/container_file/f/f0/f09e21986f7a4fffa7b1fe4b06efd857.cache
    2012-04-14 11:18:34.506 DEBUG [beaker.container] lock_creatfunc (didnt wait)
    2012-04-14 11:18:34.506 DEBUG [beaker.container] get_value creating new value
    2012-04-14 11:18:34.522 DEBUG [beaker.container] set_value stored time 1334395114.521997 expire time 10
    2012-04-14 11:18:34.522 DEBUG [beaker.container] released create lock
    2012-04-14 11:18:34.523 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 3
    2012-04-14 11:18:34.533 DEBUG [rhodecode.model.user] filling <User('id:3:Testuser')> data
    2012-04-14 11:18:34.535 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:3:Testuser|False')>
    2012-04-14 11:18:34.670 INFO  [rhodecode.lib.base] User: <AuthUser('id:3:Testuser|True')> accessed /testing-git/changelog
    2012-04-14 11:18:34.672 DEBUG [pylons.controllers.core] Calling '__before__' method with keyword args: **{}
    2012-04-14 11:18:34.672 DEBUG [rhodecode.lib.auth] Checking if Testuser is authenticated @ ChangelogController:__before__
    2012-04-14 11:18:34.673 INFO  [rhodecode.lib.auth] user Testuser is authenticated and granted access to ChangelogController:__before__
    2012-04-14 11:18:34.674 DEBUG [rhodecode.lib.auth] checking HasRepoPermissionAnyDecorator permissions set(['repository.write', 'repository.read', 'repository.admin']) for <rhodecode.controllers.changelog.ChangelogController object at 0x80eb80590> <AuthUser('id:3:Testuser|True')>
    2012-04-14 11:18:34.675 DEBUG [rhodecode.lib.auth] Permission granted for <rhodecode.controllers.changelog.ChangelogController object at 0x80eb80590> <AuthUser('id:3:Testuser|True')>
    2012-04-14 11:18:34.755 DEBUG [beaker.container] lock_creatfunc (didnt wait)
    2012-04-14 11:18:34.755 DEBUG [beaker.container] get_value creating new value
    2012-04-14 11:18:34.762 DEBUG [beaker.container] set_value stored time 1334395114.762446 expire time 10
    2012-04-14 11:18:34.763 DEBUG [beaker.container] released create lock
    2012-04-14 11:18:34.764 DEBUG [rhodecode.model.db] Creating instance of git repository
    2012-04-14 11:18:34.918 DEBUG [pylons.controllers.core] Looking for u'index' method to handle the request
    2012-04-14 11:18:34.919 DEBUG [pylons.controllers.core] Calling 'index' method with keyword args: **{}
    2012-04-14 11:18:34.978 DEBUG [pylons.templating] Created render namespace with pylons vars: {'c': <pylons.util.ContextObj at 0x80eb80410 affected_files_cut_off=60, backends=['git', 'hg'], branch_filters=[('', u'All Branches')], branch_name=None, comments=defaultdict(<type 'list'>, {}), ga_code=u'', jsdata='[]', pagination=Page:
    Collection type:  <class 'rhodecode.lib.vcs.backends.g...:  0
    , repo_name=u'testing-git', repository_followers=1, repository_forks=0, rhodecode_db_repo=<Repository('21:testing-git')>, rhodecode_instanceid='', rhodecode_name=u'RhodeCode', rhodecode_repo=<GitRepository at /usr/local/www/hg-repos/testing-git>, rhodecode_user=<AuthUser('id:3:Testuser|True')>, rhodecode_version='1.3.4', size=20, total_cs=0, unread_notifications=0, use_gravatar=False>, 'ungettext': <function ungettext at 0x80a7f3668>, 'url': <routes.util.URLGenerator object at 0x80ea7e150>, 'h': <module 'rhodecode.lib.helpers' from '/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/lib/helpers.pyc'>, 'request': <Request at 0x80ea7e6d0 GET https://some.location.local/rhodecode/testing-git/changelog>, 'tmpl_context': <pylons.util.ContextObj at 0x80eb80410 affected_files_cut_off=60, backends=['git', 'hg'], branch_filters=[('', u'All Branches')], branch_name=None, comments=defaultdict(<type 'list'>, {}), ga_code=u'', jsdata='[]', pagination=Page:
    Collection type:  <class 'rhodecode.lib.vcs.backends.g...:  0
    , repo_name=u'testing-git', repository_followers=1, repository_forks=0, rhodecode_db_repo=<Repository('21:testing-git')>, rhodecode_instanceid='', rhodecode_name=u'RhodeCode', rhodecode_repo=<GitRepository at /usr/local/www/hg-repos/testing-git>, rhodecode_user=<AuthUser('id:3:Testuser|True')>, rhodecode_version='1.3.4', size=20, total_cs=0, unread_notifications=0, use_gravatar=False>, 'translator': <gettext.GNUTranslations instance at 0x80eb85710>, 'session': {'_authentication_token': '70b4b8b2bd5cbcec88428c56e27676b1ead25906', 'rhodecode_user': {'username': u'Testuser', 'is_authenticated': True, 'user_id': 3}, '_accessed_time': 1334395114.502295, '_creation_time': 1334394769.607526}, 'N_': <function gettext_noop at 0x80a7f3320>, 'app_globals': <rhodecode.lib.app_globals.Globals object at 0x80bf7e710>, 'config': {'error_email_from': 'some.location.local', 'pylons.app_globals': <rhodecode.lib.app_globals.Globals object at 0x80bf7e710>, 'beaker.session.auto': 'False', 'broker.host': 'localhost', 'celery.
    result.backend': 'amqp', 'sqlalchemy.db1.pool_recycle': '3600', 'beaker.cache.sql_cache_med.expire': '360', 'beaker.cache.sql_cache_short.type': 'memory', 'celeryd.max.tasks.per.child': '1', 'celery.imports': 'rhodecode.lib.celerylib.tasks', u'rhodecode_ldap_filter': u'', 'beaker.cache.short_term.type': 'memory', 'app_instance_uuid': '{some-uuid}', 'celery.result.dburi': 'amqp://', 'celeryd.group': 'www', 'celeryd.log.level': 'debug', 'issue_prefix': '#', 'beaker.cache.sql_cache_med.type': 'memory', 'beaker.cache.sql_cache_short.key_length': '256', 'email_prefix': '[RhodeCode]', u'rhodecode_ldap_search_scope': u'', 'app_conf': {'celeryd.max.tasks.per.child': '1', 'beaker.session.auto': 'False', 'broker.vhost': 'rabbitmqhostrhodecode', 'broker.host': 'localhost', 'sqlalchemy.db1.pool_recycle': '3600', 'beaker.cache.sql_cache_med.expire': '360', 'beaker.cache.sql_cache_short.type': 'memory', 'beaker.cache.short_term.expire': '60', 'default_encoding': 'utf8', 'beaker.cache.short_term.key_length': '256', 'beaker.
    cache.lock_dir': '/usr/local/www/rhodecode/data/cache/lock', 'beaker.cache.sql_cache_long.expire': '3600', 'logview.sqlalchemy': '#faa', 'beaker.cache.long_term.expire': '36000', 'celery.imports': 'rhodecode.lib.celerylib.tasks', 'beaker.cache.short_term.type': 'memory', 'beaker.session.secure': 'false', 'cache_dir': '/usr/local/www/rhodecode/data', 'beaker.cache.super_short_term.expire': '10', 'beaker.session.type': 'file', 'celery.result.dburi': 'amqp://', 'celeryd.group': 'www', 'index_dir': '/usr/local/www/rhodecode/data/index', 'sqlalchemy.db1.echo': 'false', 'celeryd.log.level': 'debug', 'issue_prefix': '#', 'beaker.cache.sql_cache_med.type': 'memory', 'logview.pylons.templating': '#bfb', 'beaker.cache.sql_cache_short.key_length': '256', 'broker.port': '5672', 'sqlalchemy.db1.convert_unicode': 'true', 'beaker.cache.sql_cache_med.key_length': '256', 'force_https': 'true', 'app_instance_uuid': '{some-uuid}', 'beaker.cache.sql_cache_long.key_length': '256', 'use_celery': 'true', 'celery.always.eager': '
    false', 'beaker.session.httponly': 'true', 'broker.user': 'rabbitmq-rhodecode', 'container_auth_enabled': 'false', 'commit_parse_limit': '50', 'logview.pylons.util': '#eee', 'beaker.cache.long_term.type': 'memory', 'beaker.cache.sql_cache_long.type': 'file', 'beaker.cache.regions': 'super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long', 'celery.result.backend': 'amqp', 'sqlalchemy.db1.url': 'sqlite:////usr/local/www/rhodecode/rhodecode.db', 'proxypass_auth_enabled': 'false', 'auth_ret_code': '', 'lang': 'en', 'celeryd.user': 'www', 'beaker.session.timeout': '36000', 'cut_off_limit': '256000', 'issue_pat': '(?:\\s*#)(\\d+)', 'beaker.cache.super_short_term.type': 'memory', 'broker.password': 'weak-password', 'instance_id': '', 'beaker.cache.long_term.key_length': '256', 'beaker.cache.super_short_term.key_length': '256', 'use_gravatar': 'false', 'beaker.cache.data_dir': '/usr/local/www/rhodecode/data/cache/data', 'beaker.cache.sql_cache_short.expire': '10', 'beaker.session.key': '
    rhodecode', 'celeryd.concurrency': '2', 'celery.result.serialier': 'json'}, 'pylons.cache_dir': '/usr/local/www/rhodecode/data', 'beaker.cache.sql_cache_med.key_length': '256', 'force_https': 'true', 'smtp_username': 'mail@example.local', 'celery.always.eager': 'false', u'rhodecode_title': u'RhodeCode', 'celeryd.user': 'www', 'commit_parse_limit': '50', '__file__': '/usr/local/www/rhodecode/production.ini', 'beaker.cache.long_term.type': 'memory', 'default_encoding': 'utf8', 'beaker.cache.super_short_term.expire': '10', 'beaker.cache.regions': 'super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long', 'email_to': 'postmaster@example.local', 'pylons.h': <module 'rhodecode.lib.helpers' from '/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/lib/helpers.pyc'>, u'rhodecode_ldap_attr_firstname': u'', 'sqlalchemy.db1.url': 'sqlite:////usr/local/www/rhodecode/rhodecode.db', 'proxypass_auth_enabled': 'false', 'auth_ret_code': '', 'global_conf': {'error_email_from': 'some.
    location.local', 'smtp_port': '587', 'smtp_password': 'nice-try', 'smtp_use_tls': 'true', 'app_email_from': 'some.location.local', '__file__': '/usr/local/www/rhodecode/production.ini', 'error_message': '', 'smtp_server': 'poststation.example.local', 'here': '/usr/local/www/rhodecode', 'email_prefix': '[RhodeCode]', 'email_to': 'postmaster@example.local', 'debug': 'false', 'pdebug': 'false', 'smtp_username': 'mail@example.local'}, u'rhodecode_ga_code': u'', 'error_message': '', 'broker.password': 'weak-password', 'instance_id': '', 'beaker.cache.short_term.key_length': '256', u'rhodecode_ldap_attr_email': u'', 'beaker.session.timeout': '36000', 'debug': False, u'rhodecode_ldap_dn_user': u'', 'celery.result.serialier': 'json', 'broker.vhost': 'rabbitmqhostrhodecode', 'smtp_port': '587', 'pylons.paths': {'templates': ['/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/templates'], 'controllers': '/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/controllers', 'static_files':
    '/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/public', 'root': '/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode'}, 'beaker.session.httponly': 'true', 'beaker.cache.short_term.expire': '60', 'beaker.cache.super_short_term.type': 'memory', 'beaker.cache.lock_dir': '/usr/local/www/rhodecode/data/cache/lock', 'beaker.cache.sql_cache_long.expire': '3600', 'logview.sqlalchemy': '#faa', 'beaker.cache.long_term.expire': '36000', 'beaker.session.secure': 'false', 'pylons.response_options': {'headers': {'Pragma': 'no-cache', 'Cache-Control': 'no-cache'}, 'errors': 'strict', 'charset': 'utf-8', 'content_type': 'text/html'}, 'beaker.session.type': 'file', 'smtp_password': 'nice-try', 'use_celery': 'true', 'index_dir': '/usr/local/www/rhodecode/data/index', 'sqlalchemy.db1.echo': 'false', 'smtp_use_tls': 'true', 'logview.pylons.templating': '#bfb', u'rhodecode_ldap_tls_kind': u'PLAIN', 'pylons.environ_config': {'session': 'beaker.session', 'cache': 'beaker.cache'}, 'pdebug': '
    false', 'smtp_server': 'poststation.example.local', 'routes.map': <routes.mapper.Mapper object at 0x80993eb90>, 'broker.port': '5672', u'rhodecode_ldap_attr_lastname': u'', u'rhodecode_ldap_port': u'389', 'logview.pylons.util': '#eee', 'use_gravatar': 'false', 'beaker.cache.sql_cache_long.key_length': '256', u'rhodecode_ldap_base_dn': u'', 'pylons.errorware': {'from_address': 'some.location.local', 'error_email': 'postmaster@example.local', 'error_message': '', 'smtp_server': 'poststation.example.local', 'error_log': None, 'error_subject_prefix': 'WebApp Error: ', 'debug': False}, 'broker.user': 'rabbitmq-rhodecode', 'container_auth_enabled': 'false', u'rhodecode_ldap_host': u'', 'pylons.tmpl_context_attach_args': False, u'rhodecode_ldap_tls_reqcert': u'', u'rhodecode_ldap_active': False, 'here': '/usr/local/www/rhodecode', u'rhodecode_ldap_dn_pass': u'', 'beaker.cache.sql_cache_short.expire': '10', 'beaker.cache.sql_cache_long.type': 'file', 'base_path': u'/usr/local/www/hg-repos', 'pylons.package': '
    rhodecode', 'pylons.strict_tmpl_context': True, 'sqlalchemy.db1.convert_unicode': 'true', 'app_email_from': 'some.location.local', 'lang': 'en', 'pylons.request_options': {'errors': 'replace', 'decode_param_names': False, 'charset': 'utf-8', 'language': 'en-us'}, 'beaker.cache.data_dir': '/usr/local/www/rhodecode/data/cache/data', 'cut_off_limit': '256000', 'issue_pat': '(?:\\s*#)(\\d+)', u'rhodecode_realm': u'RhodeCode authentication', 'beaker.cache.long_term.key_length': '256', 'beaker.cache.super_short_term.key_length': '256', 'available_permissions': [u'repository.none', u'repository.read', u'repository.write', u'repository.admin', u'hg.admin', u'hg.create.repository', u'hg.create.none', u'hg.register.none', u'hg.register.manual_activate', u'hg.register.auto_activate', u'group.none', u'group.read', u'group.write', u'group.admin'], 'beaker.session.key': 'rhodecode', 'celeryd.concurrency': '2', 'beaker.session.data_dir': '/usr/local/www/rhodecode/data/sessions', u'rhodecode_ldap_attr_login': u''}, '
    response': <Response at 0x80eb80390 200 OK>, '_': <function ugettext at 0x80a7f3488>}
    2012-04-14 11:18:35.014 DEBUG [rhodecode.lib.auth] checking cls:HasRepoPermissionAll set(['repository.admin']) usr:<AuthUser('id:3:Testuser|True')> repo:testing-git @ unspecified location
    2012-04-14 11:18:35.015 DEBUG [rhodecode.lib.auth] Permission granted for user: <AuthUser('id:3:Testuser|True')> @ unspecified location
    2012-04-14 11:18:35.016 DEBUG [rhodecode.lib.auth] checking cls:HasPermissionAll set(['hg.admin']) usr:<AuthUser('id:3:Testuser|True')>  @ access settings on repository
    2012-04-14 11:18:35.017 DEBUG [rhodecode.lib.auth] Permission denied for user: <AuthUser('id:3:Testuser|True')> @ access settings on repository
    2012-04-14 11:18:35.019 DEBUG [rhodecode.lib.auth] checking cls:HasPermissionAll set(['hg.admin']) usr:<AuthUser('id:3:Testuser|True')>  @ access admin main page
    2012-04-14 11:18:35.020 DEBUG [rhodecode.lib.auth] Permission denied for user: <AuthUser('id:3:Testuser|True')> @ access admin main page
    2012-04-14 11:18:35.029 DEBUG [pylons.controllers.core] Controller returned a unicode string , writing it to pylons.response
    2012-04-14 11:18:35.031 DEBUG [pylons.controllers.core] Calling Response object to return WSGI data
    2012-04-14 11:18:35.033 INFO  [rhodecode.lib.base] Request to /testing-git/changelog time: 0.534s
    2012-04-14 11:18:35.037 DEBUG [rhodecode.SimpleHg] Request time: 0.584s
    2012-04-14 11:18:35.039 DEBUG [rhodecode.SimpleGit] Request time: 0.586s
    
    • view files
    2012-04-14 11:20:36.933 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/files/tip/ det...skipping...
    ctivate', u'hg.register.auto_activate', u'group.none', u'group.read', u'group.write', u'group.admin'], 'beaker.session.key': 'rhodecode', 'celeryd.concurrency': '2', 'beaker.session.data_dir': '/usr/local/wwwTrue')> @ unspecified location
    2012-04-14 11:20:37.855 DEBUG [rhodecode.lib.auth] checking cls:HasPermissionAll set(['hg.admin']) usr:<AuthUser('id:3:Testuser|True')>  @ access settings on repository
    2012-04-14 11:20:37.856 DEBUG [rhodecode.lib.auth] Permission denied for user: <AuthUser('id:3:Testuser|True')> @ access settings on repository
    2012-04-14 11:20:37.858 DEBUG [rhodecode.lib.auth] checking cls:HasPermissionAll set(['hg.admin']) usr:<AuthUser('id:3:Testuser|True')>  @ access admin main page
    2012-04-14 11:20:37.858 DEBUG [rhodecode.lib.auth] Permission denied for user: <AuthUser('id:3:Testuser|True')> @ access admin main page
    2012-04-14 11:20:37.864 DEBUG [rhodecode.lib.auth] checking cls:HasPermissionAll set(['hg.admin']) usr:<AuthUser('id:3:Testuser|True')>  @ enable stats on from summary
    2012-04-14 11:20:37.865 DEBUG [rhodecode.lib.auth] Permission denied for user: <AuthUser('id:3:Testuser|True')> @ enable stats on from summary
    2012-04-14 11:20:37.866 DEBUG [rhodecode.lib.auth] checking cls:HasRepoPermissionAny set(['repository.write', 'repository.admin']) usr:<AuthUser('id:3:Testuser|True')> repo:testing-git @ unspecified location
    2012-04-14 11:20:37.866 DEBUG [rhodecode.lib.auth] Permission granted for user: <AuthUser('id:3:Testuser|True')> @ unspecified location
    2012-04-14 11:20:37.870 DEBUG [pylons.controllers.core] Controller returned a unicode string , writing it to pylons.response
    2012-04-14 11:20:37.871 DEBUG [pylons.controllers.core] Calling Response object to return WSGI data
    2012-04-14 11:20:37.873 INFO  [rhodecode.lib.base] Request to /testing-git/summary time: 0.336s
    2012-04-14 11:20:37.875 DEBUG [rhodecode.SimpleHg] Request time: 0.356s
    2012-04-14 11:20:37.876 DEBUG [rhodecode.SimpleGit] Request time: 0.358s
    
    • clone repo
    2012-04-14 11:27:02.429 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/info/refs detected as GIT True
    2012-04-14 11:27:02.431 DEBUG [rhodecode.lib.middleware.simplegit] Extracted repo name is testing-git
    2012-04-14 11:27:02.452 DEBUG [beaker.container] lock_creatfunc (didnt wait)
    2012-04-14 11:27:02.453 DEBUG [beaker.container] get_value creating new value
    2012-04-14 11:27:02.461 DEBUG [beaker.container] set_value stored time 1334395622.461644 expire time 10
    2012-04-14 11:27:02.462 DEBUG [beaker.container] released create lock
    2012-04-14 11:27:02.463 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:None|False')> that could been used to log in
    2012-04-14 11:27:02.464 DEBUG [rhodecode.model.user] filling <User('id:1:default')> data
    2012-04-14 11:27:02.465 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:1:default|True')>
    2012-04-14 11:27:02.619 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set([u'repository.none']) for user:default repository:testing-git
    2012-04-14 11:27:02.620 DEBUG [rhodecode.lib.auth] permission denied for user:default on repo:testing-git
    2012-04-14 11:27:02.621 DEBUG [rhodecode.lib.middleware.simplegit] Not enough credentials to access this repository as anonymous user
    2012-04-14 11:27:02.622 DEBUG [rhodecode.SimpleGit] Request time: 0.193s
    2012-04-14 11:27:02.629 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/info/refs detected as GIT True
    2012-04-14 11:27:02.630 DEBUG [rhodecode.lib.middleware.simplegit] Extracted repo name is testing-git
    2012-04-14 11:27:02.652 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:None|False')> that could been used to log in
    2012-04-14 11:27:02.653 DEBUG [rhodecode.model.user] filling <User('id:1:default')> data
    2012-04-14 11:27:02.654 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:1:default|True')>
    2012-04-14 11:27:02.806 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set([u'repository.none']) for user:default repository:testing-git
    2012-04-14 11:27:02.807 DEBUG [rhodecode.lib.auth] permission denied for user:default on repo:testing-git
    2012-04-14 11:27:02.808 DEBUG [rhodecode.lib.middleware.simplegit] Not enough credentials to access this repository as anonymous user
    2012-04-14 11:27:02.817 DEBUG [rhodecode.lib.auth] Authenticating user using RhodeCode account
    2012-04-14 11:27:02.954 DEBUG [rhodecode.SimpleGit] Request time: 0.325s
    2012-04-14 11:27:13.850 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/info/refs detected as GIT True
    2012-04-14 11:27:13.851 DEBUG [rhodecode.lib.middleware.simplegit] Extracted repo name is testing-git
    2012-04-14 11:27:13.873 DEBUG [beaker.container] lock_creatfunc (didnt wait)
    2012-04-14 11:27:13.874 DEBUG [beaker.container] get_value creating new value
    2012-04-14 11:27:13.882 DEBUG [beaker.container] set_value stored time 1334395633.88242 expire time 10
    2012-04-14 11:27:13.883 DEBUG [beaker.container] released create lock
    2012-04-14 11:27:13.884 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:None|False')> that could been used to log in
    2012-04-14 11:27:13.885 DEBUG [rhodecode.model.user] filling <User('id:1:default')> data
    2012-04-14 11:27:13.886 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:1:default|True')>
    2012-04-14 11:27:14.038 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set([u'repository.none']) for user:default repository:testing-git
    2012-04-14 11:27:14.039 DEBUG [rhodecode.lib.auth] permission denied for user:default on repo:testing-git
    2012-04-14 11:27:14.040 DEBUG [rhodecode.lib.middleware.simplegit] Not enough credentials to access this repository as anonymous user
    2012-04-14 11:27:14.049 DEBUG [rhodecode.lib.auth] Authenticating user using RhodeCode account
    2012-04-14 11:27:14.229 INFO  [rhodecode.lib.auth] user Testuser authenticated correctly
    2012-04-14 11:27:14.235 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 3
    2012-04-14 11:27:14.236 DEBUG [rhodecode.model.user] filling <User('id:3:Testuser')> data
    2012-04-14 11:27:14.237 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:3:Testuser|False')>
    2012-04-14 11:27:14.396 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set(['repository.admin']) for user:Testuser repository:testing-git
    2012-04-14 11:27:14.396 DEBUG [rhodecode.lib.auth] permission granted for user:Testuser on repo:testing-git
    2012-04-14 11:27:14.397 DEBUG [rhodecode.lib.middleware.simplegit] Repository path is /usr/local/www/hg-repos/testing-git
    2012-04-14 11:27:14.397 INFO  [rhodecode.lib.middleware.simplegit] pull action on GIT repo "testing-git"
    2012-04-14 11:27:14.398 DEBUG [rhodecode.SimpleGit] Request time: 0.548s
    2012-04-14 11:27:14.551 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/git-upload-pack detected as GIT True
    2012-04-14 11:27:14.552 DEBUG [rhodecode.lib.middleware.simplegit] Extracted repo name is testing-git
    2012-04-14 11:27:14.564 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:None|False')> that could been used to log in
    2012-04-14 11:27:14.565 DEBUG [rhodecode.model.user] filling <User('id:1:default')> data
    2012-04-14 11:27:14.565 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:1:default|True')>
    2012-04-14 11:27:14.651 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set([u'repository.none']) for user:default repository:testing-git
    2012-04-14 11:27:14.652 DEBUG [rhodecode.lib.auth] permission denied for user:default on repo:testing-git
    2012-04-14 11:27:14.652 DEBUG [rhodecode.lib.middleware.simplegit] Not enough credentials to access this repository as anonymous user
    2012-04-14 11:27:14.657 DEBUG [rhodecode.lib.auth] Authenticating user using RhodeCode account
    2012-04-14 11:27:14.795 INFO  [rhodecode.lib.auth] user Testuser authenticated correctly
    2012-04-14 11:27:14.801 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 3
    2012-04-14 11:27:14.802 DEBUG [rhodecode.model.user] filling <User('id:3:Testuser')> data
    2012-04-14 11:27:14.803 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:3:Testuser|False')>
    2012-04-14 11:27:14.875 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set(['repository.admin']) for user:Testuser repository:testing-git
    2012-04-14 11:27:14.876 DEBUG [rhodecode.lib.auth] permission granted for user:Testuser on repo:testing-git
    2012-04-14 11:27:14.876 DEBUG [rhodecode.lib.middleware.simplegit] Repository path is /usr/local/www/hg-repos/testing-git
    2012-04-14 11:27:14.877 INFO  [rhodecode.lib.middleware.simplegit] pull action on GIT repo "testing-git"
    2012-04-14 11:27:14.877 DEBUG [rhodecode.SimpleGit] Request time: 0.326s
    2012-04-14 11:27:14.879 INFO  [dulwich.web] Handling service request for git-upload-pack
    
    • push repo
    2012-04-14 11:30:39.400 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/info/refs detected as GIT True
    2012-04-14 11:30:39.401 DEBUG [rhodecode.lib.middleware.simplegit] Extracted repo name is testing-git
    2012-04-14 11:30:39.422 DEBUG [beaker.container] lock_creatfunc (didnt wait)
    2012-04-14 11:30:39.423 DEBUG [beaker.container] get_value creating new value
    2012-04-14 11:30:39.431 DEBUG [beaker.container] set_value stored time 1334395839.431612 expire time 10
    2012-04-14 11:30:39.432 DEBUG [beaker.container] released create lock
    2012-04-14 11:30:39.433 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:None|False')> that could been used to log in
    2012-04-14 11:30:39.434 DEBUG [rhodecode.model.user] filling <User('id:1:default')> data
    2012-04-14 11:30:39.435 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:1:default|True')>
    2012-04-14 11:30:39.588 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set([u'repository.none']) for user:default repository:testing-git
    2012-04-14 11:30:39.589 DEBUG [rhodecode.lib.auth] permission denied for user:default on repo:testing-git
    2012-04-14 11:30:39.590 DEBUG [rhodecode.lib.middleware.simplegit] Not enough credentials to access this repository as anonymous user
    2012-04-14 11:30:39.591 DEBUG [rhodecode.SimpleGit] Request time: 0.191s
    2012-04-14 11:30:39.598 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/info/refs detected as GIT True
    2012-04-14 11:30:39.598 DEBUG [rhodecode.lib.middleware.simplegit] Extracted repo name is testing-git
    2012-04-14 11:30:39.621 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:None|False')> that could been used to log in
    2012-04-14 11:30:39.622 DEBUG [rhodecode.model.user] filling <User('id:1:default')> data
    2012-04-14 11:30:39.623 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:1:default|True')>
    2012-04-14 11:30:39.727 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set([u'repository.none']) for user:default repository:testing-git
    2012-04-14 11:30:39.728 DEBUG [rhodecode.lib.auth] permission denied for user:default on repo:testing-git
    2012-04-14 11:30:39.728 DEBUG [rhodecode.lib.middleware.simplegit] Not enough credentials to access this repository as anonymous user
    2012-04-14 11:30:39.734 DEBUG [rhodecode.lib.auth] Authenticating user using RhodeCode account
    2012-04-14 11:30:39.906 DEBUG [rhodecode.SimpleGit] Request time: 0.309s
    2012-04-14 11:30:48.691 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/info/refs detected as GIT True
    2012-04-14 11:30:48.691 DEBUG [rhodecode.lib.middleware.simplegit] Extracted repo name is testing-git
    2012-04-14 11:30:48.706 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:None|False')> that could been used to log in
    2012-04-14 11:30:48.707 DEBUG [rhodecode.model.user] filling <User('id:1:default')> data
    2012-04-14 11:30:48.708 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:1:default|True')>
    2012-04-14 11:30:48.810 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set([u'repository.none']) for user:default repository:testing-git
    2012-04-14 11:30:48.811 DEBUG [rhodecode.lib.auth] permission denied for user:default on repo:testing-git
    2012-04-14 11:30:48.812 DEBUG [rhodecode.lib.middleware.simplegit] Not enough credentials to access this repository as anonymous user
    2012-04-14 11:30:48.818 DEBUG [rhodecode.lib.auth] Authenticating user using RhodeCode account
    2012-04-14 11:30:48.983 INFO  [rhodecode.lib.auth] user Testuser authenticated correctly
    2012-04-14 11:30:48.990 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 3
    2012-04-14 11:30:48.991 DEBUG [rhodecode.model.user] filling <User('id:3:Testuser')> data
    2012-04-14 11:30:48.991 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:3:Testuser|False')>
    2012-04-14 11:30:49.067 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set(['repository.admin']) for user:Testuser repository:testing-git
    2012-04-14 11:30:49.067 DEBUG [rhodecode.lib.auth] permission granted for user:Testuser on repo:testing-git
    2012-04-14 11:30:49.068 DEBUG [rhodecode.lib.middleware.simplegit] Repository path is /usr/local/www/hg-repos/testing-git
    2012-04-14 11:30:49.072 DEBUG [rhodecode.model.db] marking 2 key[s] testing-git for invalidation
    2012-04-14 11:30:49.127 INFO  [rhodecode.lib.middleware.simplegit] push action on GIT repo "testing-git"
    2012-04-14 11:30:49.128 DEBUG [rhodecode.SimpleGit] Request time: 0.437s
    2012-04-14 11:30:49.246 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/git-receive-pack detected as GIT True
    2012-04-14 11:30:49.247 DEBUG [rhodecode.lib.middleware.simplegit] Extracted repo name is testing-git
    2012-04-14 11:30:49.260 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:None|False')> that could been used to log in
    2012-04-14 11:30:49.260 DEBUG [rhodecode.model.user] filling <User('id:1:default')> data
    2012-04-14 11:30:49.261 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:1:default|True')>
    2012-04-14 11:30:49.347 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set([u'repository.none']) for user:default repository:testing-git
    2012-04-14 11:30:49.348 DEBUG [rhodecode.lib.auth] permission denied for user:default on repo:testing-git
    2012-04-14 11:30:49.348 DEBUG [rhodecode.lib.middleware.simplegit] Not enough credentials to access this repository as anonymous user
    2012-04-14 11:30:49.354 DEBUG [rhodecode.lib.auth] Authenticating user using RhodeCode account
    2012-04-14 11:30:49.491 INFO  [rhodecode.lib.auth] user Testuser authenticated correctly
    2012-04-14 11:30:49.498 DEBUG [beaker.container] lock_creatfunc (didnt wait)
    2012-04-14 11:30:49.498 DEBUG [beaker.container] get_value creating new value
    2012-04-14 11:30:49.503 DEBUG [beaker.container] set_value stored time 1334395849.503821 expire time 10
    2012-04-14 11:30:49.504 DEBUG [beaker.container] released create lock
    2012-04-14 11:30:49.504 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 3
    2012-04-14 11:30:49.505 DEBUG [rhodecode.model.user] filling <User('id:3:Testuser')> data
    2012-04-14 11:30:49.506 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:3:Testuser|False')>
    2012-04-14 11:30:49.578 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set(['repository.admin']) for user:Testuser repository:testing-git
    2012-04-14 11:30:49.578 DEBUG [rhodecode.lib.auth] permission granted for user:Testuser on repo:testing-git
    2012-04-14 11:30:49.578 DEBUG [rhodecode.lib.middleware.simplegit] Repository path is /usr/local/www/hg-repos/testing-git
    2012-04-14 11:30:49.583 DEBUG [rhodecode.model.db] marking 2 key[s] testing-git for invalidation
    2012-04-14 11:30:49.586 INFO  [rhodecode.lib.middleware.simplegit] push action on GIT repo "testing-git"
    2012-04-14 11:30:49.587 DEBUG [rhodecode.SimpleGit] Request time: 0.340s
    2012-04-14 11:30:49.587 INFO  [dulwich.web] Handling service request for git-receive-pack
    
    • pull repo
    2012-04-14 11:31:57.899 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/info/refs detected as GIT True
    2012-04-14 11:31:57.900 DEBUG [rhodecode.lib.middleware.simplegit] Extracted repo name is testing-git
    2012-04-14 11:31:57.922 DEBUG [beaker.container] lock_creatfunc (didnt wait)
    2012-04-14 11:31:57.923 DEBUG [beaker.container] get_value creating new value
    2012-04-14 11:31:57.931 DEBUG [beaker.container] set_value stored time 1334395917.931564 expire time 10
    2012-04-14 11:31:57.932 DEBUG [beaker.container] released create lock
    2012-04-14 11:31:57.933 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:None|False')> that could been used to log in
    2012-04-14 11:31:57.934 DEBUG [rhodecode.model.user] filling <User('id:1:default')> data
    2012-04-14 11:31:57.935 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:1:default|True')>
    2012-04-14 11:31:58.087 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set([u'repository.none']) for user:default repository:testing-git
    2012-04-14 11:31:58.088 DEBUG [rhodecode.lib.auth] permission denied for user:default on repo:testing-git
    2012-04-14 11:31:58.088 DEBUG [rhodecode.lib.middleware.simplegit] Not enough credentials to access this repository as anonymous user
    2012-04-14 11:31:58.089 DEBUG [rhodecode.SimpleGit] Request time: 0.190s
    2012-04-14 11:31:58.096 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/info/refs detected as GIT True
    2012-04-14 11:31:58.097 DEBUG [rhodecode.lib.middleware.simplegit] Extracted repo name is testing-git
    2012-04-14 11:31:58.119 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:None|False')> that could been used to log in
    2012-04-14 11:31:58.120 DEBUG [rhodecode.model.user] filling <User('id:1:default')> data
    2012-04-14 11:31:58.121 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:1:default|True')>
    2012-04-14 11:31:58.274 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set([u'repository.none']) for user:default repository:testing-git
    2012-04-14 11:31:58.274 DEBUG [rhodecode.lib.auth] permission denied for user:default on repo:testing-git
    2012-04-14 11:31:58.275 DEBUG [rhodecode.lib.middleware.simplegit] Not enough credentials to access this repository as anonymous user
    2012-04-14 11:31:58.284 DEBUG [rhodecode.lib.auth] Authenticating user using RhodeCode account
    2012-04-14 11:31:58.531 DEBUG [rhodecode.SimpleGit] Request time: 0.435s
    2012-04-14 11:32:04.678 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/info/refs detected as GIT True
    2012-04-14 11:32:04.679 DEBUG [rhodecode.lib.middleware.simplegit] Extracted repo name is testing-git
    2012-04-14 11:32:04.693 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:None|False')> that could been used to log in
    2012-04-14 11:32:04.694 DEBUG [rhodecode.model.user] filling <User('id:1:default')> data
    2012-04-14 11:32:04.695 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:1:default|True')>
    2012-04-14 11:32:04.798 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set([u'repository.none']) for user:default repository:testing-git
    2012-04-14 11:32:04.799 DEBUG [rhodecode.lib.auth] permission denied for user:default on repo:testing-git
    2012-04-14 11:32:04.799 DEBUG [rhodecode.lib.middleware.simplegit] Not enough credentials to access this repository as anonymous user
    2012-04-14 11:32:04.806 DEBUG [rhodecode.lib.auth] Authenticating user using RhodeCode account
    2012-04-14 11:32:04.948 INFO  [rhodecode.lib.auth] user Testuser authenticated correctly
    2012-04-14 11:32:04.955 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 3
    2012-04-14 11:32:04.955 DEBUG [rhodecode.model.user] filling <User('id:3:Testuser')> data
    2012-04-14 11:32:04.956 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:3:Testuser|False')>
    2012-04-14 11:32:05.032 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set(['repository.admin']) for user:Testuser repository:testing-git
    2012-04-14 11:32:05.032 DEBUG [rhodecode.lib.auth] permission granted for user:Testuser on repo:testing-git
    2012-04-14 11:32:05.033 DEBUG [rhodecode.lib.middleware.simplegit] Repository path is /usr/local/www/hg-repos/testing-git
    2012-04-14 11:32:05.033 INFO  [rhodecode.lib.middleware.simplegit] pull action on GIT repo "testing-git"
    2012-04-14 11:32:05.034 DEBUG [rhodecode.SimpleGit] Request time: 0.356s
    2012-04-14 11:32:05.182 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/git-upload-pack detected as GIT True
    2012-04-14 11:32:05.183 DEBUG [rhodecode.lib.middleware.simplegit] Extracted repo name is testing-git
    2012-04-14 11:32:05.195 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:None|False')> that could been used to log in
    2012-04-14 11:32:05.196 DEBUG [rhodecode.model.user] filling <User('id:1:default')> data
    2012-04-14 11:32:05.197 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:1:default|True')>
    2012-04-14 11:32:05.282 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set([u'repository.none']) for user:default repository:testing-git
    2012-04-14 11:32:05.283 DEBUG [rhodecode.lib.auth] permission denied for user:default on repo:testing-git
    2012-04-14 11:32:05.283 DEBUG [rhodecode.lib.middleware.simplegit] Not enough credentials to access this repository as anonymous user
    2012-04-14 11:32:05.289 DEBUG [rhodecode.lib.auth] Authenticating user using RhodeCode account
    2012-04-14 11:32:05.426 INFO  [rhodecode.lib.auth] user Testuser authenticated correctly
    2012-04-14 11:32:05.433 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 3
    2012-04-14 11:32:05.433 DEBUG [rhodecode.model.user] filling <User('id:3:Testuser')> data
    2012-04-14 11:32:05.434 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:3:Testuser|False')>
    2012-04-14 11:32:05.507 DEBUG [rhodecode.lib.auth] checking mercurial protocol permissions set(['repository.admin']) for user:Testuser repository:testing-git
    2012-04-14 11:32:05.507 DEBUG [rhodecode.lib.auth] permission granted for user:Testuser on repo:testing-git
    2012-04-14 11:32:05.508 DEBUG [rhodecode.lib.middleware.simplegit] Repository path is /usr/local/www/hg-repos/testing-git
    2012-04-14 11:32:05.508 INFO  [rhodecode.lib.middleware.simplegit] pull action on GIT repo "testing-git"
    2012-04-14 11:32:05.509 DEBUG [rhodecode.SimpleGit] Request time: 0.326s
    2012-04-14 11:32:05.510 INFO  [dulwich.web] Handling service request for git-upload-pack
    

    I replaced the username with "Testuser" and the URL with "some.location.local". Additional fake data: some.location.local , repos@example.local , some-uuid , mail@example.local , nice-try , poststation.example.local , postmaster@example.local , weak-password .

    Here is an older log while viewing the files in the repo with rhodecode had worked:

    2012-04-11 10:00:52.558 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/files/tip/ detected as GIT False
    2012-04-11 10:00:52.559 DEBUG [rhodecode.lib.middleware.simplehg] pathinfo: /testing-git/files/tip/ detected as HG False
    2012-04-11 10:00:52.570 DEBUG [routes.middleware] Matched GET /testing-git/files/tip/
    2012-04-11 10:00:52.571 DEBUG [routes.middleware] Route path: '/{repo_name:.*}/files/{revision}/{f_path:.*}', defaults: {'action': u'index', 'controller': u'files', 'f_path': u'', 'revision': u'tip'}
    2012-04-11 10:00:52.572 DEBUG [routes.middleware] Match dict: {'action': u'index', 'controller': u'files', 'revision': u'tip', 'f_path': '', 'repo_name': u'testing-git'}
    2012-04-11 10:00:52.573 DEBUG [pylons.wsgiapp] Setting up Pylons stacked object globals
    2012-04-11 10:00:52.576 DEBUG [pylons.wsgiapp] Resolved URL to controller: u'files'
    2012-04-11 10:00:52.614 DEBUG [pylons.wsgiapp] Found controller, module: 'rhodecode.controllers.files', class: 'FilesController'
    2012-04-11 10:00:52.615 DEBUG [pylons.wsgiapp] Controller appears to be a class, instantiating
    2012-04-11 10:00:52.615 DEBUG [pylons.wsgiapp] Calling controller class with WSGI interface
    2012-04-11 10:00:52.618 DEBUG [beaker.container] data file /usr/local/www/rhodecode/data/sessions/container_file/6/6c/6c5d9b52182e4bebb954decd9d2d4a5c.cache
    2012-04-11 10:00:52.622 DEBUG [beaker.container] lock_creatfunc (didnt wait)
    2012-04-11 10:00:52.623 DEBUG [beaker.container] get_value creating new value
    2012-04-11 10:00:52.638 DEBUG [beaker.container] set_value stored time 1334131252.638015 expire time 10
    2012-04-11 10:00:52.638 DEBUG [beaker.container] released create lock
    2012-04-11 10:00:52.639 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 3
    2012-04-11 10:00:52.649 DEBUG [rhodecode.model.user] filling <User('id:3:Testuser')> data
    2012-04-11 10:00:52.650 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:3:Testuser|False')>
    2012-04-11 10:00:52.780 INFO  [rhodecode.lib.base] User: <AuthUser('id:3:Testuser|True')> accessed /testing-git/files/tip/
    2012-04-11 10:00:52.781 DEBUG [pylons.controllers.core] Calling '__before__' method with keyword args: **{}
    2012-04-11 10:00:52.782 DEBUG [rhodecode.lib.auth] Checking if Testuser is authenticated @ FilesController:__before__
    2012-04-11 10:00:52.782 INFO  [rhodecode.lib.auth] user Testuser is authenticated and granted access to FilesController:__before__
    2012-04-11 10:00:52.859 DEBUG [beaker.container] lock_creatfunc (didnt wait)
    2012-04-11 10:00:52.860 DEBUG [beaker.container] get_value creating new value
    2012-04-11 10:00:52.867 DEBUG [beaker.container] set_value stored time 1334131252.866917 expire time 10
    2012-04-11 10:00:52.867 DEBUG [beaker.container] released create lock
    2012-04-11 10:00:52.869 DEBUG [rhodecode.model.db] Creating instance of git repository
    2012-04-11 10:00:53.020 DEBUG [pylons.controllers.core] Looking for u'index' method to handle the request
    2012-04-11 10:00:53.021 DEBUG [pylons.controllers.core] Calling 'index' method with keyword args: **{'revision': u'tip', 'f_path': '', 'repo_name': u'testing-git'}
    2012-04-11 10:00:53.022 DEBUG [rhodecode.lib.auth] checking HasRepoPermissionAnyDecorator permissions set(['repository.write', 'repository.read', 'repository.admin']) for <rhodecode.controllers.files.FilesController object at 0x80ec48950> <AuthUser('id:3:Testuser|True')>
    2012-04-11 10:00:53.023 DEBUG [rhodecode.lib.auth] Permission granted for <rhodecode.controllers.files.FilesController object at 0x80ec48950> <AuthUser('id:3:Testuser|True')>
    2012-04-11 10:00:53.046 DEBUG [pylons.controllers.util] Generating 302 redirect
    2012-04-11 10:00:53.048 DEBUG [pylons.controllers.core] 'index' method raised HTTPException: HTTPFound (code: 302)
    Traceback (most recent call last):
      File "/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/pylons/controllers/core.py", line 105, in _inspect_call
        result = self._perform_call(func, args)
      File "/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/pylons/controllers/core.py", line 57, in _perform_call
        return func(**args)
      File "<string>", line 2, in index
      File "/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 528, in __wrapper
        return func(*fargs, **fkwargs)
      File "/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/controllers/files.py", line 123, in index
        c.changeset = self.__get_cs_or_redirect(revision, repo_name)
      File "/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/rhodecode/controllers/files.py", line 86, in __get_cs_or_redirect
        redirect(h.url('summary_home', repo_name=repo_name))
      File "/usr/local/www/rhodecode-venv/lib/python2.7/site-packages/pylons/controllers/util.py", line 208, in redirect
        raise exc(location=url).exception
    HTTPFound: The resource was found at
    2012-04-11 10:00:53.087 DEBUG [pylons.controllers.core] Controller returned a Response object, merging it with pylons.response
    2012-04-11 10:00:53.089 DEBUG [pylons.controllers.core] Calling Response object to return WSGI data
    2012-04-11 10:00:53.097 INFO  [rhodecode.lib.base] Request to /testing-git/files/tip/ time: 0.482s
    2012-04-11 10:00:53.102 DEBUG [rhodecode.SimpleHg] Request time: 0.543s
    2012-04-11 10:00:53.103 DEBUG [rhodecode.SimpleGit] Request time: 0.545s
    2012-04-11 10:00:53.124 DEBUG [rhodecode.lib.middleware.simplegit] pathinfo: /testing-git/summary detected as GIT False
    2012-04-11 10:00:53.125 DEBUG [rhodecode.lib.middleware.simplehg] pathinfo: /testing-git/summary detected as HG False
    2012-04-11 10:00:53.136 DEBUG [routes.middleware] Matched GET /testing-git/summary
    2012-04-11 10:00:53.137 DEBUG [routes.middleware] Route path: '/{repo_name:.*}/summary', defaults: {'action': u'index', 'controller': u'summary'}
    2012-04-11 10:00:53.137 DEBUG [routes.middleware] Match dict: {'action': u'index', 'controller': u'summary', 'repo_name': u'testing-git'}
    2012-04-11 10:00:53.138 DEBUG [pylons.wsgiapp] Setting up Pylons stacked object globals
    2012-04-11 10:00:53.141 DEBUG [pylons.wsgiapp] Resolved URL to controller: u'summary'
    2012-04-11 10:00:53.142 DEBUG [pylons.wsgiapp] Controller appears to be a class, instantiating
    2012-04-11 10:00:53.142 DEBUG [pylons.wsgiapp] Calling controller class with WSGI interface
    2012-04-11 10:00:53.145 DEBUG [beaker.container] data file /usr/local/www/rhodecode/data/sessions/container_file/6/6c/6c5d9b52182e4bebb954decd9d2d4a5c.cache
    2012-04-11 10:00:53.151 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 3
    2012-04-11 10:00:53.167 DEBUG [rhodecode.model.user] filling <User('id:3:Testuser')> data
    2012-04-11 10:00:53.168 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('id:3:Testuser|False')>
    2012-04-11 10:00:53.242 INFO  [rhodecode.lib.base] User: <AuthUser('id:3:Testuser|True')> accessed /testing-git/summary
    2012-04-11 10:00:53.243 DEBUG [pylons.controllers.core] Calling '__before__' method with keyword args: **{}
    2012-04-11 10:00:53.243 DEBUG [rhodecode.lib.auth] Checking if Testuser is authenticated @ SummaryController:__before__
    2012-04-11 10:00:53.244 INFO  [rhodecode.lib.auth] user Testuser is authenticated and granted access to SummaryController:__before__
    2012-04-11 10:00:53.244 DEBUG [rhodecode.lib.auth] checking HasRepoPermissionAnyDecorator permissions set(['repository.write', 'repository.read', 'repository.admin']) for <rhodecode.controllers.summary.SummaryController object at 0x80ea7abd0> <AuthUser('id:3:Testuser|True')>
    2012-04-11 10:00:53.245 DEBUG [rhodecode.lib.auth] Permission granted for <rhodecode.controllers.summary.SummaryController object at 0x80ea7abd0> <AuthUser('id:3:Testuser|True')>
    2012-04-11 10:00:53.289 DEBUG [rhodecode.model.db] Creating instance of git repository
    2012-04-11 10:00:53.366 DEBUG [pylons.controllers.core] Looking for u'index' method to handle the request
    2012-04-11 10:00:53.366 DEBUG [pylons.controllers.core] Calling 'index' method with keyword args: **{'repo_name': u'testing-git'}
    2012-04-11 10:00:53.408 DEBUG [rhodecode.lib.auth] checking cls:HasRepoPermissionAll set(['repository.admin']) usr:<AuthUser('id:3:Testuser|True')> repo:testing-git @ unspecified location
    2012-04-11 10:00:53.409 DEBUG [rhodecode.lib.auth] Permission granted for user: <AuthUser('id:3:Testuser|True')> @ unspecified location
    2012-04-11 10:00:53.410 DEBUG [rhodecode.lib.auth] checking cls:HasPermissionAll set(['hg.admin']) usr:<AuthUser('id:3:Testuser|True')>  @ access settings on repository
    2012-04-11 10:00:53.410 DEBUG [rhodecode.lib.auth] Permission denied for user: <AuthUser('id:3:Testuser|True')> @ access settings on repository
    2012-04-11 10:00:53.412 DEBUG [rhodecode.lib.auth] checking cls:HasPermissionAll set(['hg.admin']) usr:<AuthUser('id:3:Testuser|True')>  @ access admin main page
    2012-04-11 10:00:53.413 DEBUG [rhodecode.lib.auth] Permission denied for user: <AuthUser('id:3:Testuser|True')> @ access admin main page
    2012-04-11 10:00:53.419 DEBUG [rhodecode.lib.auth] checking cls:HasPermissionAll set(['hg.admin']) usr:<AuthUser('id:3:Testuser|True')>  @ enable stats on from summary
    2012-04-11 10:00:53.419 DEBUG [rhodecode.lib.auth] Permission denied for user: <AuthUser('id:3:Testuser|True')> @ enable stats on from summary
    2012-04-11 10:00:53.420 DEBUG [rhodecode.lib.auth] checking cls:HasRepoPermissionAny set(['repository.write', 'repository.admin']) usr:<AuthUser('id:3:Testuser|True')> repo:testing-git @ unspecified location
    2012-04-11 10:00:53.421 DEBUG [rhodecode.lib.auth] Permission granted for user: <AuthUser('id:3:Testuser|True')> @ unspecified location
    2012-04-11 10:00:53.424 DEBUG [pylons.controllers.core] Controller returned a unicode string , writing it to pylons.response
    2012-04-11 10:00:53.426 DEBUG [pylons.controllers.core] Calling Response object to return WSGI data
    2012-04-11 10:00:53.427 INFO  [rhodecode.lib.base] Request to /testing-git/summary time: 0.285s
    2012-04-11 10:00:53.430 DEBUG [rhodecode.SimpleHg] Request time: 0.305s
    2012-04-11 10:00:53.430 DEBUG [rhodecode.SimpleGit] Request time: 0.306s
    

    I hope this is helpful and not to much text.

  8. Marcin Kuzminski repo owner

    Hmm must be an issue with enviroment. I guess wsgi support requires that system libraries are same as in virtualenv. Also check if there's no special git .config on the server

  9. Anonymous
    find / -name "gitconfig"
    

    Found no special git .config od the server.

    Which libs do you mean? I had to symlink one lib for (py)sqlite, which otherwise would be broken:

    ln -s /usr/local/lib/python2.7/site-packages/_sqlite3.so /usr/local/www/rhodecode-venv/lib/python2.7/
    

    The rest is an normal virtualenv install.

    If I list the revisions manual it works:

    su -m www
    cd [...]/rhodecode-venv/
    source bin/activate.csh
    cd [...]/git-test-repo/
    git rev-list --all --date-order
    # 72d3f248f0f0b79d4511aaacecf5df71a11ea188
    

    I have no idea how to debug this further. Have you some hints?

    Maybe I'll do a fresh install with the next release of RhodeCode...

  10. paoleary

    I'm seeing the same thing in an install of 1.3.4 I've just done on Windows. What's more, adding files directly from the web interface works, but appears to overwrite the existing master. The Mercurial repositories work fine.

    The setup I'm running is using waitress, though I'm seeing the same thing with the default Paste HTTP server. Also seems to be independent of whether I'm using a proxy filter or not (the end goal is to have this server reverse proxied behind Apache).

    Can't IRC from here but happy to take this to the mailing list if it could help.

  11. paoleary

    Nope, no independent git installation on that machine, just dulwich in the virtualenv. What in particular would I be testing on demo.rhodecode.org?

  12. Anonymous

    Okay, two things need to be done: one, `git` needs to be listed as a dependency in the docs if you want git support (I thought dulwich was used for everything), and you can't modify the environment variable in the command string to Popen, because that won't work on Windows. Patch will follow for the latter thing.

  13. paoleary

    Patch against rhodecode/lib/vcs/backends/git/repository.py v1.3.6. (Sorry this isn't a pull request, don't have time now.)

    Also, N.B. this may not address the original issue, but it fixes me on Windows.

  14. Justin Holewinski

    I'm trying out RhodeCode for the first time, and I'm seeing the same behavior on Linux. Mercurial is fine, but Git repos are showing as empty.

    I initially installed version 1.3.6. Going back to previous versions, I see that in version 1.3.4, the Git repos show up fine, but in version 1.3.5 the Git repos start to show as empty again.

    I have RhodeCode running in a reverse-proxy setup using Apache.

  15. Justin Holewinski

    The server already has git installed system-wide from its package manager. I tried the patch provided by paoleary but that did not solve the issue. This is on Red Hat Enterprise Linux 6.

    Since everything seems to work fine in 1.3.4 but not 1.3.5, I'm guessing that something changed in the way RhodeCode handles Git repositories that requires an environment change.

  16. Marcin Kuzminski repo owner

    @jholewiski

    here's what changes was made into git calls https://secure.rhodecode.org/rhodecode/diff/rhodecode/lib/vcs/backends/git/repository.py?diff2=edfff9f37916389144d3a3644d0a7d7adfd79b11&diff1=af21362474e3ab5aa0e2fbb1c872356f2c16c4f3&diff=diff+to+revision

    What version fo git you have ? i think the cause could be the `core.quotepath=false` flag that is breaking, best was would be to print the CMD executed there and try running it on your repo

  17. Justin Holewinski

    Yup, that was it. The server was running Git 1.7.1, which apparently does not support the "-c" flag. Manually installing Git 1.7.10.2 in the rhodecode user's directory did the trick. Thanks!

  18. Log in to comment