报告服务经理的问题 [英] Problem with reporting service manager

查看:52
本文介绍了报告服务经理的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

尝试使用bing报告时遇到问题。尝试使用报告服务管理器时,我收到以下错误:

I have a problem when trying to use bing reports. When trying to use the reporting service manager i'm getting the following error:

 文件"/opt/bitnami/python/lib/python2.7/site-packages/bingads/reporting/reporting_service_manager.py" ;,第39行,在__init__中
    self._service_client = ServiceClient('ReportingService',authorization_data,environment,** suds_options)

 文件"/opt/bitnami/python/lib/python2.7/site-packages/bingads/service_client.py" ;,第36行,in __init__

    suds_options ['cache'] = ObjectCache(location,days = 1)

 文件"build / bdist.linux-x86_64 / egg / suds / cache.py",第119行,在__init__中
 文件"build / bdist.linux-x86_64 / egg / suds / cache.py",第242行,在checkversion中为
 文件"build / bdist.linux-x86_64 / egg / suds / cache.py",第211行,清除

OSError:[Errno 2]没有这样的文件或目录:'/ tmp / suds / ubuntu'

  File "/opt/bitnami/python/lib/python2.7/site-packages/bingads/reporting/reporting_service_manager.py", line 39, in __init__
    self._service_client = ServiceClient('ReportingService', authorization_data, environment, **suds_options)
  File "/opt/bitnami/python/lib/python2.7/site-packages/bingads/service_client.py", line 36, in __init__
    suds_options['cache'] = ObjectCache(location, days=1)
  File "build/bdist.linux-x86_64/egg/suds/cache.py", line 119, in __init__
  File "build/bdist.linux-x86_64/egg/suds/cache.py", line 242, in checkversion
  File "build/bdist.linux-x86_64/egg/suds/cache.py", line 211, in clear
OSError: [Errno 2] No such file or directory: '/tmp/suds/ubuntu'

知道这意味着什么吗?

谢谢

推荐答案

从错误消息中,suds尝试在清除之前列出suds缓存文件。 Suds代码创建了缓存路径,并期望此路径存在。缓存目录可能已被手动删除或由其他程序删除。一种可能的解决方案是
手动创建'tmp / suds / Ubuntu /'路径,然后再试一次。否则,您可以尝试卸载并重新安装SDK。

From the error message, suds was trying to list the suds cache files before clearing them. Suds code created the cache path, and expected this path to exist. The cache dir might have been removed manually or by other programs. One possible solution is to create the ‘tmp/suds/Ubuntu/’ path manually, and try it again. Otherwise you might try uninstalling and reinstalling the SDK.

我希望这有帮助!


这篇关于报告服务经理的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆