2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
Printable Version of Topic
Click here to view this topic in its original format |
XMail Forum > XMail Queue Manager > wxPython stdout/stderr: operation not permitted |
Posted by: ahaji May 24 2005, 01:49 AM | ||
Hi all, I've been enjoying QXM in Windows without problem. I am now in the process of migrating my daily activity using Debian Linux (SimplyMepis) from Windows XP. Thus, I want to install QXM in my Linux box I just followed the guideline described by Schneider in his website. But, when I issued command "./xqmwin" or "./xqmwin.sh" or "./xqmwin.start" -- an error console of wxPython showed briefly and stated " .... Operation not permitted in 'qxmwin.start' " For the information: a. I installed the package at "/usr/local/bin/xqmwin" b. I made a symbolic link libwx_gtkd-2.4.so to /usr/lib c. My qxmwin.start:
d. And its permission I set to 777 Any idea what may be wrong? regards, antonius aji |
Posted by: hschneider May 24 2005, 07:28 AM |
What is the exact error message, you see on the screen ? |
Posted by: ahaji May 24 2005, 10:20 AM | ||
I can't see in the shell, it is only presented briefly in wxPython console. I tried to read that console as follows:
* I did not find where "qmgrwin.py" * I find that "/usr/local/lib/python2.3/" was empty folder, so I created a symbolic link to a directory in "/usr/lib/python2.3" Yet, the error message is still the same. rgds, antonius aji BTW - how can I send the error report in wxPython console to screen or file? I hardly can read as it is so fast to auto-close. |
Posted by: hschneider May 24 2005, 10:58 AM |
This is a permission problem. Pls make sure that the Agent's folder is read- and writeable : chmod -R 766 foldername This is needed by the wxPython runtime environment, which unpacks several things dynamically. |
Posted by: ahaji May 25 2005, 08:23 AM |
Hi Harald, You mean the folder of "xqmwin" ? I just want to install the Queue Manager in my laptop (which is Debian Linux), while the server itself (and the agent) is on other machine (which is Windows 2000 machine). rgds, antonius aji |
Posted by: hschneider May 25 2005, 08:27 AM |
Yes - it's just the same with XQM (xqmwin) |
Posted by: ahaji May 26 2005, 06:30 AM |
Hi Harald, I changed to folder using CHMOD -R 766 as root, ( as well as CHMOD -R 777 as root, just in case) ~ but the error report is still the same. Definitely, I made some mistake somewhere, but don't know where to pinpoint. Any test that I should do help you troubleshooting. Thank you for the support rgds, a.aji |
Posted by: hschneider May 26 2005, 06:54 AM |
As the error description tells, it is an OsError, which is directly generated from the operating system. Alls informations I find about that are about screwed up permissions or ownerships of files or folders. Please double check them ... |
Posted by: ahaji May 26 2005, 11:24 AM |
Hi Harald, Please give me some advice to help pin-pointing the problem: a. Based on error, it says that there is a problem in file "qmgrwin.py" ~ but, I cann't find "qmgrwin.py" in the package. b. Based on error, it says that there is a problem in file "/usr/local/lib/python2.3/site-packages/wxPython/wx.py" ~ but, I cann't find that folder Questions: a. Are all the files generated automatically? Which files and where? b. Do I need to create folder "/usr/local/lib/python2.3/site-packages/wxPython/" and change the permission accordingly?? c. What files (configuration) are read by the package rgds, antonius aji |
Posted by: hschneider May 26 2005, 11:42 AM |
a. All these files are unpacked when XQM starts. They all are placed in the xqmwin folder. Don't worry about path strings in the error message, they are handled virtually by the runtime environment and have nothing to do with your system paths. b. No! c. All inside the xqmwin folder and the libs mentioned in INSTALL.txt: wxGTK, libssl and libcrypto. What is your Debian release and which Desktop environment (KDE; Gnome etc) do you use ? Is there any difference when you - start XQM from command line or - start XQM with a click from the Desktop ? |
Posted by: ahaji May 26 2005, 07:40 PM |
Hi Harald, Thanks for still staying with me. I got new information for you: * I just recently experimented using "root" to log-in in GUI which means there should be no permission issue, and QXM seems work fine (I have not tested further). So, yes, it confirms your hypothesis that there is permission issue if I run as common "users". I cann't run XQM in CLI as "superuser" when I log-in as common "users" as it is rejected by X Server which is not started by superuser. My machine: * My Linux is Debian-based SimplyMEPIS (www.mepis.org) version 2004.06 on kernel 2.6.7. * My desktop is KDE 3.3 * And it runs with libwxgtk2.4 2.4.2.6.1, libwxgtk2.4-python 2.4.2.6.1, libssl0.9.7 0.9.7e-2, libcrypto++5.2 5.2.1a-1 Yeah .. at least I can run it from GUI as "root", of course it will be better if I can run QXM as common user. rgds, antonius aji |
Posted by: hschneider May 27 2005, 05:52 AM |
Make sure, that you have read access to the content of /var/MailRoot and its sub folders. |