2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
l2g |
Posted: Mar 15 2004, 06:25 PM
|
Member Group: Members Posts: 56 Member No.: 977 Joined: 10-March 04 |
I apologize if this has been asked before...
When starting XQM v1.46 I stumbled upon a wxPython error. Is there a file that logs these wxPython stdout/stderr messages? I just wanted to post the error message here hoping you guys can help me figure where the problem is. One other question, When I try to start XMail in debug mode through /var/MailRoot/bin/XMail -Md -Pl -Cl -Sl, I get a" mail root path not found", even though I did export the MAIL_ROOT environment variable first. It started once I installed XQM. Thanks for any help. Liron. |
hschneider |
Posted: Mar 15 2004, 10:32 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
These messages are dumped to the console only. Just start XQM from a shell to see the messages.
The export statement can vary from shell to shell, e.g. export MAIL_ROOT=/var/.... export MAIL_ROOT="/var/...." set MAIL_ROOT="/var/...." -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
l2g |
Posted: Mar 15 2004, 10:59 PM
|
Member Group: Members Posts: 56 Member No.: 977 Joined: 10-March 04 |
Hi Harald,
I'm just copying the message: Traceback (most recent call last): File "qmgrwin.py", line 1085 in OnUpdateUI File "/usr/local/lib/python2.3/site-packages/wxPython/events.py", line 47, Skip wxPyhton.wxc.wxPyAssertionError:C++ assertion "wxTheApp->m_idle_tag==0" failed in /usr/src/redhat/BUILD/wxPythonSrc-2.4.2.4/src/gtk/app.cpp(374): attempt to install idle handler twice. As for the MAIL_ROOT, up untill the XQM installation, everything worked fine. I used to export the variable and start XMail in debug mode. Anything I have to look for in the .conf file? |
l2g |
Posted: Mar 15 2004, 11:19 PM
|
Member Group: Members Posts: 56 Member No.: 977 Joined: 10-March 04 |
When I searched for the message text with google, I found this statement for the exact same error:
"Make sure that you are not doing anything in non-GUI threads that could cause a gtk gui callback to be invoked in the context of that thread. For example, is the print statement above happening in a worker thread?" What does he mean in layman words...? Liron. |
hschneider |
Posted: Mar 16 2004, 08:03 AM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
The Google article does not match this problem. It means that a seperate process tries to output something through the graphical interface. This is not the case here.
>in /usr/src/redhat/BUILD/wxPythonSrc-2.4.2.4/src/gtk/app.cpp(374): attempt to install idle handler twice. It looks like you have already installed wxPython on your system and it collides with the embedded runtime module for some reason. Please unsinstall the wxPython package and try again. -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
l2g |
Posted: Mar 16 2004, 06:35 PM
|
Member Group: Members Posts: 56 Member No.: 977 Joined: 10-March 04 |
OK, I uninstalled wxPythonGTK-py2.2-2.4.2.4 package, but now recieved this error message:
Traceback (most recent call last): File "qmgrwin.py", line 8, in ? File "/usr/local/lib/python2.3/site-packages/wxPython/__init__.py", line 20, in ? File "/usr/local/lib/python2.3/site-packages/wxPython/wxc.so", line 4, in ? ImportError: libwx_gtkd-2.4.so: cannot open shared object file: No such file or directory. What do you recommend I should do? |
l2g |
Posted: Mar 16 2004, 07:22 PM
|
Member Group: Members Posts: 56 Member No.: 977 Joined: 10-March 04 |
Copied libwx_gtkd-2.4.so /usr/lib and now XQM loads,
but again, even though I removed the new installation of wxPython I still receive the previous "attempt to install idle handler twice"... Perhaps I need to upgrade python to v2.3? |
hschneider |
Posted: Mar 16 2004, 07:56 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
No, it's definately a wxWindows issue. What is your platform ?
Google reveals a bug report about this on FreeBSD ... -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
l2g |
Posted: Mar 16 2004, 08:25 PM
|
Member Group: Members Posts: 56 Member No.: 977 Joined: 10-March 04 |
I'm under Red Hat 9.
These are the packages I installed so far to get XQM running: glut-3.7-12.i386.rpm glut-devel-3.7-12.i386.rpm Imaging-1.1.4.tar.gz itcl-3.2-88.i386.rpm MesaLib-6.0.tar.gz Numeric-17.3.0.tar.gz OpenGLContext-2.0.0b1-1.i386.rpm swig-1.3.21.tar.gz tix-8.1.4-88.i386.rpm tkinter-2.2.2-26.i386.rpm xqmagent_linux.tgz xqmwin_linux.tgz What do you recon? |
hschneider |
Posted: Mar 16 2004, 08:31 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
There is no need to install the Agent and XQM on the same machine. Looks like their runtime environments collide. YOu only need the Agent, if your server has no GUI.
-------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
l2g |
Posted: Mar 16 2004, 08:34 PM
|
Member Group: Members Posts: 56 Member No.: 977 Joined: 10-March 04 |
ahhh...so remove xqm and just use the agent?
I will settle for the previous way of starting XMail via shell, but I still get mail root path not found...why? |
hschneider |
Posted: Mar 16 2004, 11:30 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
If you use the Agent on your server, then you need to use XQM on a workstation. The Agent is just a helper to od remote access on a server.
Make sure that the environment variable MAIL_ROOT is set and exported correctly. Alternatively you can force it in /etc/xqmagent.conf or in the setup dialog of XQM. -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
l2g |
Posted: Mar 17 2004, 05:51 PM
|
Member Group: Members Posts: 56 Member No.: 977 Joined: 10-March 04 |
Understood...Many thanks!
|