[Solved] Strange error while opening file?
-
Hi,
I am getting a strange error in Qt Creator's "Application Output" region while running/degubbing my application from Qt Creator: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.
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.
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.
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.It wasnt coming earlier but now suddenly it has started coming, I dont know why.
It happens when the following line is executed:@QString fileName = QFileDialog::getOpenFileName(this, "Open a File", cwd, ("MyApp (.abc)"), &ext, 0);@
cwd is a QString & class variable of my Main Window class. It stores the path of Current Working Directory.
ext is a QString variable storing the extension of my file, in this case it is "abc".I have setup a log file to which the output from qDebug() is printed. It is made thread safe by using QMutex. Please note that the above mentioned error is not appearing in the file but in "Application output" of Qt Creator.
I am using Qt Creator 2.4.1 with Qt 4.7.4 32 bit on Windows 7 64 bit.
What could be the cause of this error?
Any help please? -
@mcosta I have a SLOT which is called when the open button is clicked.
In this SLOT I have initialised some variables & then the line of code mentioned in question is called. When the line is executed the error's are throwed.
Can you please try to reproduce the issue by adding the same line in your Qt & see if you get these errors?Can anybody please help sort this issue?
I dont have debuggable Qt otherwise I would have debugged the cause. -
I can confirm that I also get this in a console output window using VS2010 / Qt 5.1 / Windows 7 64bit. The errors appear when calling any of the QFileDialog static functions to open file dialogs.
I've tested and get the same with the 'Standard Dialog' example
Looks like a bug to me.
-
Hi Jamie,
Thanks for confirming my doubt.
I started observing this error after installing Autodesk 360.
But I thought it was just a co-incidence.
Now confirmed that Autodesk is that culprit.
But still it feels strange how another software can throw Qt internal errors? -
Yup facing same error I didn't uninstall the Autodesk 360 program though its enough to disable it if you want updates and your autodesk based applications to work proper you might want to go with my approach instead of uninstalling...
Also wondering what does it have to do with QT???