【问题标题】:log4cplus:ERROR in python when calling for tkinter file dialoglog4cplus:调用 tkinter 文件对话框时出现 python 错误
【发布时间】:2013-11-03 18:56:36
【问题描述】:

我用 python 编写了一个小程序,它使用 xlrd 和 tkinter 文件对话框从 .xls 电子表格中提取数据,以打开/保存文件。今天早些时候,该程序运行良好,但我最近在笔记本电脑上安装了 Autocad Electrical 2014 进行工作,现在当我运行 python 脚本时,当脚本拉出对话框时出现以下错误:

log4cplus:ERROR No appenders could be found for logger (AdSyncNamespace).
log4cplus:ERROR Please initialize the log4cplus system properly.
log4cplus:ERROR No appenders could be found for logger (AdSyncNamespace).
log4cplus:ERROR Please initialize the log4cplus system properly.

在此脚本运行和出现错误之间唯一发生变化的是 AutoCAD 的安装。

这里发生了什么以及如何避免这种情况?

【问题讨论】:

  • 这与 tkinter 无关。这些与 log4cplus 库有关。

标签: python tkinter xlrd log4cplus


【解决方案1】:

这个错误已经出现过几次了。似乎可以卸载名为 Autodesk 360 的东西,从而解决了这个问题。

【讨论】:

    猜你喜欢
    • 2015-04-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-03-25
    • 1970-01-01
    相关资源
    最近更新 更多