svn 为什么会提示这个错误???svn 新手

不要点击我 发布于 2013/04/17 11:47
阅读 4K+
收藏 0
SVN

我在使用svn,但是这个是什么错误?

错误提示如下::::::::::::::::::::::::::::::::::::::::::

Exception at /p/cheying/src/

svn: warning: Can't open file '/home/jerryhjg/.subversion/servers': Permission denied
svn: Could not open the requested SVN filesystem
Request Method: GET
Request URL: http://code.taobao.org/p/cheying/src/
Django Version: 1.3.5
Exception Type: Exception
Exception Value:
svn: warning: Can't open file '/home/jerryhjg/.subversion/servers': Permission denied
svn: Could not open the requested SVN filesystem
Exception Location: /home/code/code.taobao.org/taocode.new/taocode2/apps/repos/svn.py in LIST, line 101
Python Executable: /usr/bin/python
Python Version: 2.6.8
Python Path:
['/home/code/code.taobao.org/taocode.new/taocode2',
 '/home/code/code.taobao.org/taocode.new',
 '/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/MySQL_python-1.2.3-py2.6-linux-i686.egg',
 '/usr/local/lib/python2.6/site-packages/Genshi-0.6-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/Trac-1.0-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/poster-0.8.1-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/chardet-2.1.1-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/Pygments-1.5-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/isodate-0.4.9-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/Sphinx-1.1.3-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/docutils-0.10-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/tornado-3.0-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/websocket_client-0.10.0-py2.6.egg',
 '/usr/local/lib/python2.6/site-packages/pysqlite-2.6.3-py2.6-linux-i686.egg',
 '/usr/local/lib/python26.zip',
 '/usr/local/lib/python2.6',
 '/usr/local/lib/python2.6/plat-linux2',
 '/usr/local/lib/python2.6/lib-tk',
 '/usr/local/lib/python2.6/lib-old',
 '/usr/local/lib/python2.6/lib-dynload',
 '/usr/local/lib/python2.6/site-packages']
Server time: 星期三, 17 四月 2013 11:41:27 +0800

Traceback Switch to copy-and-paste view

  • /usr/local/lib/python2.6/site-packages/django/core/handlers/base.pyinget_response
    1. response = callback(request, *callback_args, **callback_kwargs)
      ...
  • /home/code/code.taobao.org/taocode.new/taocode2/apps/repos/views.pyinbrowse
    1. o = svn.LIST(r)
      ...
  • /home/code/code.taobao.org/taocode.new/taocode2/apps/repos/svn.pyinLIST
    1. raise Exception(err)
      ...

Request information

GET

No GET data

POST

No POST data

FILES

No FILES data

COOKIES

Variable Value
lzstat_ss
'2114403851_12_1366198884_2711653'
__utmz
'75701767.1366169965.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'
sessionid
'4728df812a2d05a9313fd4cc179edcae'
lzstat_uv
'38323639582783316449|2711653'
csrftoken
'151df1022deec991e5deadbde4c67bed'
__utma
'75701767.790342316.1366169965.1366169965.1366169965.1'
__utmb
'75701767.13.10.1366169965'
__utmc
'75701767'

META

Variable Value
mod_wsgi.listener_port
'8080'
HTTP_COOKIE
'csrftoken=151df1022deec991e5deadbde4c67bed; lzstat_uv=38323639582783316449|2711653; lzstat_ss=2114403851_12_1366198884_2711653; __utma=75701767.790342316.1366169965.1366169965.1366169965.1; __utmb=75701767.13.10.1366169965; __utmc=75701767; __utmz=75701767.1366169965.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sessionid=4728df812a2d05a9313fd4cc179edcae'
mod_wsgi.listener_host
''
SERVER_SOFTWARE
'Apache/2.2.3 (CentOS)'
SCRIPT_NAME
u''
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
SERVER_SIGNATURE
'<address>Apache/2.2.3 (CentOS) Server at code.taobao.org Port 80</address>\n'
REQUEST_METHOD
'GET'
PATH_INFO
u'/p/cheying/src/'
SERVER_PROTOCOL
'HTTP/1.1'
QUERY_STRING
''
HTTP_USER_AGENT
'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0'
HTTP_REFERER
'http://code.taobao.org/p/cheying/admin/'
SERVER_NAME
'code.taobao.org'
REMOTE_ADDR
'127.0.0.1'
mod_wsgi.queue_start
'1366170087347234'
mod_wsgi.request_handler
'wsgi-script'
wsgi.url_scheme
'http'
PATH_TRANSLATED
'/home/code/code.taobao.org/taocode.new/taocode2013.wsgi/p/cheying/src/'
SERVER_PORT
'80'
wsgi.multiprocess
True
mod_wsgi.input_chunked
'0'
SERVER_ADDR
'127.0.0.1'
DOCUMENT_ROOT
'/var/www/html'
mod_wsgi.process_group
''
SCRIPT_FILENAME
'/home/code/code.taobao.org/taocode.new/taocode2013.wsgi'
SERVER_ADMIN
'root@localhost'
wsgi.input
<mod_wsgi.Input object at 0xac89e58>
HTTP_HOST
'code.taobao.org'
wsgi.multithread
False
mod_wsgi.callable_object
'application'
REQUEST_URI
'/p/cheying/src/'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
wsgi.version
(1, 0)
GATEWAY_INTERFACE
'CGI/1.1'
wsgi.run_once
False
wsgi.errors
<mod_wsgi.Log object at 0xabe8610>
REMOTE_PORT
'58190'
HTTP_ACCEPT_LANGUAGE
'zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3'
mod_wsgi.version
(3, 4)
mod_wsgi.application_group
'code.taobao.org|'
mod_wsgi.script_reloading
'1'
wsgi.file_wrapper
''
CSRF_COOKIE
'151df1022deec991e5deadbde4c67bed'
HTTP_ACCEPT_ENCODING
'gzip, deflate'

Settings

Using settings moduletaocode2.settings

Setting Value
USE_L10N
False
SITE_URL
'http://code.taobao.org'
MAIL_SENDER
'code@taobao.org'
LANGUAGE_CODE
'zh-CN'
ROOT_URLCONF
'taocode2.urls'
MANAGERS
(('', 'your_email@domain.com'),)
DEFAULT_CHARSET
'utf-8'
STATIC_ROOT
''
TEST_DATABASE_CHARSET
None
USE_THOUSAND_SEPARATOR
False
MESSAGE_STORAGE
'django.contrib.messages.storage.session.SessionStorage'
DATABASE_HOST
''
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
SEND_BROKEN_LINK_EMAILS
False
URL_VALIDATOR_USER_AGENT
'Django/1.3.5 (http://www.djangoproject.com)'
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
COMMENTS_MODERATORS_GROUP
None
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M')
DATABASES
{'default': {'ENGINE': 'django.db.backends.mysql',
             'HOST': 'taocode2.mysql.rds.aliyuncs.com',
             'NAME': 'sp50cfd94bb6bd6',
             'OPTIONS': {},
             'PASSWORD': '********************',
             'PORT': '',
             'TEST_CHARSET': None,
             'TEST_COLLATION': None,
             'TEST_MIRROR': None,
             'TEST_NAME': None,
             'TIME_ZONE': 'Asia/Shanghai',
             'USER': 'taocode'}}
TEMPLATE_DEBUG
True
REPOS_ADMIN_URL
'http://127.0.0.1/adminsvn/'
FILE_UPLOAD_PERMISSIONS
None
UPLOAD_DIR
'/data/code.taobao.org/uploads'
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
DEFAULT_CONTENT_TYPE
'text/html'
HOOK_LOGS
'err_hooks.log'
APPEND_SLASH
True
FIRST_DAY_OF_WEEK
0
DATABASE_ROUTERS
[]
YEAR_MONTH_FORMAT
'F Y'
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
             'LOCATION': '/data/code.taobao.org/django_cache'}}
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_PATH
'/'
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'taocode2.helper.middleware.SimpleContextMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')
USE_I18N
True
THOUSAND_SEPARATOR
','
SECRET_KEY
'********************'
LANGUAGE_COOKIE_NAME
'django_language'
FILE_UPLOAD_TEMP_DIR
None
TRANSACTIONS_MANAGED
False
LOGGING_CONFIG
'django.utils.log.dictConfig'
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader',
 'django.template.loaders.app_directories.Loader')
REPOS_URL
'http://code.taobao.org/svn/'
AUTHENTICATION_BACKENDS
('taocode2.apps.user.auth.UserAuthBackend',)
TEST_DATABASE_COLLATION
None
FORCE_SCRIPT_NAME
None
USE_X_FORWARDED_HOST
False
SESSION_COOKIE_SECURE
False
CSRF_COOKIE_DOMAIN
None
FILE_CHARSET
'utf-8'
DEBUG
True
SESSION_FILE_PATH
None
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
INSTALLED_APPS
['django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.humanize',
 'django.contrib.auth',
 'django.contrib.admin',
 'django.contrib.messages',
 'taocode2']
LANGUAGES
(('ar', 'Arabic'),
 ('az', 'Azerbaijani'),
 ('bg', 'Bulgarian'),
 ('bn', 'Bengali'),
 ('bs', 'Bosnian'),
 ('ca', 'Catalan'),
 ('cs', 'Czech'),
 ('cy', 'Welsh'),
 ('da', 'Danish'),
 ('de', 'German'),
 ('el', 'Greek'),
 ('en', 'English'),
 ('en-gb', 'British English'),
 ('es', 'Spanish'),
 ('es-ar', 'Argentinian Spanish'),
 ('es-mx', 'Mexican Spanish'),
 ('es-ni', 'Nicaraguan Spanish'),
 ('et', 'Estonian'),
 ('eu', 'Basque'),
 ('fa', 'Persian'),
 ('fi', 'Finnish'),
 ('fr', 'French'),
 ('fy-nl', 'Frisian'),
 ('ga', 'Irish'),
 ('gl', 'Galician'),
 ('he', 'Hebrew'),
 ('hi', 'Hindi'),
 ('hr', 'Croatian'),
 ('hu', 'Hungarian'),
 ('id', 'Indonesian'),
 ('is', 'Icelandic'),
 ('it', 'Italian'),
 ('ja', 'Japanese'),
 ('ka', 'Georgian'),
 ('km', 'Khmer'),
 ('kn', 'Kannada'),
 ('ko', 'Korean'),
 ('lt', 'Lithuanian'),
 ('lv', 'Latvian'),
 ('mk', 'Macedonian'),
 ('ml', 'Malayalam'),
 ('mn', 'Mongolian'),
 ('nl', 'Dutch'),
 ('no', 'Norwegian'),
 ('nb', 'Norwegian Bokmal'),
 ('nn', 'Norwegian Nynorsk'),
 ('pa', 'Punjabi'),
 ('pl', 'Polish'),
 ('pt', 'Portuguese'),
 ('pt-br', 'Brazilian Portuguese'),
 ('ro', 'Romanian'),
 ('ru', 'Russian'),
 ('sk', 'Slovak'),
 ('sl', 'Slovenian'),
 ('sq', 'Albanian'),
 ('sr', 'Serbian'),
 ('sr-latn', 'Serbian Latin'),
 ('sv', 'Swedish'),
 ('ta', 'Tamil'),
 ('te', 'Telugu'),
 ('th', 'Thai'),
 ('tr', 'Turkish'),
 ('uk', 'Ukrainian'),
 ('ur', 'Urdu'),
 ('vi', 'Vietnamese'),
 ('zh-cn', 'Simplified Chinese'),
 ('zh-tw', 'Traditional Chinese'))
DATABASE_ENGINE
''
DATABASE_NAME
''
COMMENTS_FIRST_FEW
0
PREPEND_WWW
False
SESSION_COOKIE_HTTPONLY
False
DATABASE_PORT
''
DEBUG_PROPAGATE_EXCEPTIONS
False
MONTH_DAY_FORMAT
'F j'
LOGIN_URL
'/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE
True
TIME_FORMAT
'P'
TAOBAO_APP_IS_SANDBOX
False
DATE_INPUT_FORMATS
('%Y-%m-%d',
 '%m/%d/%Y',
 '%m/%d/%y',
 '%b %d %Y',
 '%b %d, %Y',
 '%d %b %Y',
 '%d %b, %Y',
 '%B %d %Y',
 '%B %d, %Y',
 '%d %B %Y',
 '%d %B, %Y')
CSRF_COOKIE_NAME
'csrftoken'
EMAIL_HOST_PASSWORD
'********************'
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
CACHE_MIDDLEWARE_ALIAS
'default'
SESSION_SAVE_EVERY_REQUEST
False
ADMIN_MEDIA_PREFIX
'/media/'
NUMBER_GROUPING
0
SESSION_ENGINE
'django.contrib.sessions.backends.db'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
COMMENTS_SKETCHY_USERS_GROUP
None
LOGIN_REDIRECT_URL
'/my/'
LOGGING
{'disable_existing_loggers': False,
 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
                              'level': 'ERROR'}},
 'loggers': {'django.request': {'handlers': ['mail_admins'],
                                'level': 'ERROR',
                                'propagate': True}},
 'version': 1}
CACHE_MIDDLEWARE_KEY_PREFIX
''
LOCALE_PATHS
()
TEMPLATE_STRING_IF_INVALID
''
COMMENTS_ALLOW_PROFANITIES
False
LOGOUT_URL
'/accounts/logout/'
EMAIL_USE_TLS
False
TEMPLATE_DIRS
('templates',)
FIXTURE_DIRS
()
EMAIL_HOST
'localhost'
DATE_FORMAT
'Y-m-d'
MEDIA_ROOT
''
ADMINS
(('', 'your_email@domain.com'),)
FORMAT_MODULE_PATH
None
DEFAULT_FROM_EMAIL
'webmaster@localhost'
STATICFILES_DIRS
()
MEDIA_URL
'/'
DATETIME_FORMAT
'Y-m-d H:i:s'
EMAIL_SUBJECT_PREFIX
'[Django] '
REPOS_ROOT
'/data/code.taobao.org/svn_repos'
SITE_ID
1
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
REPOS_RSVN_URL
'http://127.0.0.1/rsvn/'
DECIMAL_SEPARATOR
'.'
TEAM_NAME
'Taocode team'
SHORT_DATE_FORMAT
'm/d/Y'
DATABASE_USER
''
TEST_DATABASE_NAME
None
TEST_RUNNER
'django.test.simple.DjangoTestSuiteRunner'
TIME_ZONE
'Asia/Shanghai'
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
DEFAULT_TABLESPACE
''
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.csrf',
 'django.contrib.auth.context_processors.auth',
 'taocode2.helper.middleware.simple_context',
 'django.contrib.messages.context_processors.messages')
SESSION_COOKIE_AGE
1209600
SETTINGS_MODULE
'taocode2.settings'
USE_ETAGS
False
SITE_ROOT
''
LANGUAGES_BIDI
('he', 'ar', 'fa')
DEFAULT_INDEX_TABLESPACE
''
INTERNAL_IPS
()
STATIC_URL
None
EMAIL_PORT
25
SHORT_DATETIME_FORMAT
'm/d/Y P'
ABSOLUTE_URL_OVERRIDES
{}
DATABASE_OPTIONS
{}
CACHE_MIDDLEWARE_SECONDS
600
BANNED_IPS
()
DATETIME_INPUT_FORMATS
('%Y-%m-%d %H:%M:%S',
 '%Y-%m-%d %H:%M',
 '%Y-%m-%d',
 '%m/%d/%Y %H:%M:%S',
 '%m/%d/%Y %H:%M',
 '%m/%d/%Y',
 '%m/%d/%y %H:%M:%S',
 '%m/%d/%y %H:%M',
 '%m/%d/%y')
DATABASE_PASSWORD
'********************'
ADMIN_FOR
()
COMMENTS_BANNED_USERS_GROUP
None
EMAIL_HOST_USER
''
PROFANITIES_LIST
'********************'

You're seeing this error because you haveDEBUG = Truein your Django settings file. Change that toFalse, and Django will display a standard 500 page.

本人用的是code.taobao

加载中
0
不要点击我
不要点击我

引用来自“liuhui244671426”的答案

引用来自“kevinleyi”的答案

引用来自“liuhui244671426”的答案

引用来自“kevinleyi”的答案

引用来自“kevinleyi”的答案

svn: warning: Can't open file '/home/jerryhjg/.subversion/servers': Permission denied  你没有权限!
你没有权限!
问题是,我之前有操作的权限啊,后来我把一个项目给删除了,新建一个就不行了!!! 为什么?
那就不清楚了,自己好好看你怎么设置的吧。
难道code。taobao。org 只能一个账号一个库嘛???
明白了,哈哈,十分感谢
0
铂金浪子
铂金浪子
svn: warning: Can't open file '/home/jerryhjg/.subversion/servers': Permission denied  你没有权限!
0
铂金浪子
铂金浪子

引用来自“kevinleyi”的答案

svn: warning: Can't open file '/home/jerryhjg/.subversion/servers': Permission denied  你没有权限!
你没有权限!
0
不要点击我
不要点击我

引用来自“kevinleyi”的答案

引用来自“kevinleyi”的答案

svn: warning: Can't open file '/home/jerryhjg/.subversion/servers': Permission denied  你没有权限!
你没有权限!
问题是,我之前有操作的权限啊,后来我把一个项目给删除了,新建一个就不行了!!! 为什么?
0
铂金浪子
铂金浪子

引用来自“liuhui244671426”的答案

引用来自“kevinleyi”的答案

引用来自“kevinleyi”的答案

svn: warning: Can't open file '/home/jerryhjg/.subversion/servers': Permission denied  你没有权限!
你没有权限!
问题是,我之前有操作的权限啊,后来我把一个项目给删除了,新建一个就不行了!!! 为什么?
那就不清楚了,自己好好看你怎么设置的吧。
0
不要点击我
不要点击我

引用来自“kevinleyi”的答案

引用来自“liuhui244671426”的答案

引用来自“kevinleyi”的答案

引用来自“kevinleyi”的答案

svn: warning: Can't open file '/home/jerryhjg/.subversion/servers': Permission denied  你没有权限!
你没有权限!
问题是,我之前有操作的权限啊,后来我把一个项目给删除了,新建一个就不行了!!! 为什么?
那就不清楚了,自己好好看你怎么设置的吧。
难道code。taobao。org 只能一个账号一个库嘛???
逝水fox
逝水fox
这个没权限是说你启动的svn进程的用户没有对应的目录的操作权限,和svn权限无关...换句话说要问你删了之后重建目录是用什么用户怎么建的
返回顶部
顶部