File “C:\pymsnt-0.10.3\src\utils.py”, line 134, in ?
from twisted.xish.domish import SuxElementStream
ImportError: No module named xish.domish
I thought that module was installed with the Twisted library… but I have no idea what the problem is. Can anyone shed some light on this? Have I done something wrong?
Thanks for the help guys, but still no joy I’‘ve unintstalled everything, and installed in the order cyber_mm suggested but still getting the error message. Tried it on a couple of other windows machines also. I’'m not a python head ( c# is my poison) so feeling a little frustrated. Damn this sucks.
The reason I was getting the original error message was because the Twisted library was not installing properly. At the end of it’‘s installation process, the Twisted library is precompiled. My precompilation was failing, but I didn’'t notice '‘cos I’'d never installed it before.
I was hacking around the various py files in pyMSNt to see if I could get it to use the included, older, tlib.domish and was making some progress. I had started getting various DLL not found and entry point error messages. I had seen similar messages in cyper_mm earlier thread and new it was something to do with libeay32.dll. I had a copy of that dll but nothing was working. Googling around, worked out libeay32.dll was OpenSSL. A forehead slapping moment occured and I installed the latest OpenSSL windows binaries. Then reinstalled pyOpenSSL, pyCrypto and then Twisted (in that order)… a python precompiling dialog appeared at the end of the Twisted install and I knew I was on to something…
I’‘m getting the same error message. I’'ve installed Win32OpenSSL-v0.9.8a.exe like you said and reinstalled openSSL, crypto and twisted but still getting the same error. do you have any idea to solve this issue? and do i have to compile twisted packages ?
I’‘ve been meaning to do a clean install and document each step (and to learn where I went right…) I probably won’‘t get time to do this until the weekend. I’'ll post as soon as.
AFAIK, you don’'t have to compile twisted packages yourself. The installer will do that for you.
On another note, I’‘m finding pyMSNt to be very unreliable. There’‘s lots of error messages and stack traces being dumped on screen. It seems to continue to run, but it can take several minutes for me to appear online on MSN (I’'m using the exodus client), if at all. Sometimes I have to log into my server and restart pyMSNt.
Well I tried to reinstall all packages but nothing changed, the only difference is that i’‘m using windows XP and i guess this is the problem (i’‘m not sure). Any way the twisted installer doesn’'t seem to be compiling any thing.
While I am not using Windows (FreeBSD 5.4 here), I am experiencing the same;
ImportError: No module named xish.domish
Error when I am trying to run any of the pyAIM/pyMSN components.
When I try and install TwistedSumo 2.1 (2005-11-06), I noticed that I also get a message;
package init file ‘‘twisted/plugins/init.py’’ not found (or not a regular file)
package init file ‘‘twisted/plugins/init.py’’ not found (or not a regular file)
Can anyone shed some light for me? This is driving me nuts! As far as I can Python is installed and running fine… it’'s just Twisted that is getting in my way…
anyway, have u installed twisted? if u did…go to the python24 folder Lib\site-packages\twisted\words\ and copy the xish folder out to the twisted\ folder
it should solve the problem…otherwise go into the .py file and change the twisted.xish to twisted.words.xish…