log4cplus:调用tkinter文件对话框时python中的错误 [英] log4cplus:ERROR in python when calling for tkinter file dialog

查看:49
本文介绍了log4cplus:调用tkinter文件对话框时python中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I've written a little program in python that pulls data out of an .xls spreadsheet using xlrd with tkinter file dialogue boxes for opening/saving the files. Earlier today, the program was running fine, but I recently installed Autocad Electrical 2014 on my laptop for work, and now when I run the python script, I get the following errors when the script pulls up the dialogue boxes:

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 的安装.

The only thing that has changed between the times this script worked and when I get the errors is the installation of AutoCAD.

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

What is going on here and how can this be avoided?

推荐答案

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

This error has shown up a few times already. It appears that something called Autodesk 360 can be uninstalled, which fixes the issue.

这篇关于log4cplus:调用tkinter文件对话框时python中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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