轨道评论服务器问题
我尝试在 Vista 上安装 Orbited 。 但是当我尝试运行 Orbited 服务器时,出现以下错误。当我在扭曲的 cmd 提示符 Orbited 上键入时,我得到以下 O/P。
C:\>orbited
Traceback (most recent call last):
File "C:\Python26\scripts\orbited-script.py", line 8, in <module>
load_entry_point('orbited==0.7.9', 'console_scripts', 'orbited')()
File "C:\Python26\lib\site-packages\orbited-0.7.9-py2.6.egg\orbited\start.py",
line 75, in main
logging.setup(config.map)
File "C:\Python26\lib\site-packages\orbited-0.7.9-py2.6.egg\orbited\logging.py
", line 33, in setup
defaults[logtype][-1].open()
File "C:\Python26\lib\site-packages\orbited-0.7.9-py2.6.egg\orbited\logging.py
", line 195, in open
self.f = open(self.filename, 'a')
IOError: [Errno 13] Permission denied: 'debug.log'
I tried installing orbited on vista . but I get following error when I try to run the orbited server.When I type on twisted cmd prompt orbited i get following o/p.
C:\>orbited
Traceback (most recent call last):
File "C:\Python26\scripts\orbited-script.py", line 8, in <module>
load_entry_point('orbited==0.7.9', 'console_scripts', 'orbited')()
File "C:\Python26\lib\site-packages\orbited-0.7.9-py2.6.egg\orbited\start.py",
line 75, in main
logging.setup(config.map)
File "C:\Python26\lib\site-packages\orbited-0.7.9-py2.6.egg\orbited\logging.py
", line 33, in setup
defaults[logtype][-1].open()
File "C:\Python26\lib\site-packages\orbited-0.7.9-py2.6.egg\orbited\logging.py
", line 195, in open
self.f = open(self.filename, 'a')
IOError: [Errno 13] Permission denied: 'debug.log'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否对文件
debug.log
(以及它要放置的目录,我认为是当前目录)有写权限? 如果没有,您可以尝试调整用于设置日志子系统的 config.map(大约在该堆栈跟踪的中间)。Do you have write permission on the file
debug.log
(and the directory it's to be placed in, which I think is the current directory)? If not, you could try tweaking theconfig.map
being used to setup the logging subsystem (about midway through this stack trace).