I'm trying to do something and I need to import win32ui and dde.
Unfortunately it is not possible.
Please anyone knows why this is and how to fix it?
Thanks, Pako
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
import win32ui and import dde failed
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: import win32ui and import dde failed
Hi Pako, similar search tells others also have problem (not only EG developers). Suggestion I found is:
Code: Select all
Did you install PyWin32? If so, which version? Here's a link:
http://sourceforge.net/projects/pywin32/
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: import win32ui and import dde failed
I tried this but it did not help me either, the import fails
Best regards, Walter
This thread has some interesting discussion. I tried this but it did not help me either
http://www.gossamer-threads.com/lists/p ... hon/771184
Best regards, Walter
Code: Select all
10:48:51 Error while loading plugin-file C:\Program Files\EventGhost\plugins\NetHomeServer.
10:48:51 Traceback (most recent call last) (1397):
10:48:51 File "C:\Program Files\EventGhost\plugins\NetHomeServer\__init__.py", line 42, in <module>
10:48:51 import win32ui
10:48:51 File "win32ui.pyc", line 12, in <module>
10:48:51 File "win32ui.pyc", line 10, in __load
10:48:51 ImportError: DLL load failed: Det går inte att hitta den angivna modulen.This thread has some interesting discussion. I tried this but it did not help me either
http://www.gossamer-threads.com/lists/p ... hon/771184
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: import win32ui and import dde failed
I did some work on this problem and I found the solution.
It turned out that the solution is very simple:
Into the folder where you installed EventGhost, put file Microsoft.VC90.MFC.manifest and files listed therein
(ie, mfc90.dll, mfc90u.dll, mfcm90.dll, mfcm90u.dll).
I found these files in my Python 2.6 installation folder ...\Python26\Lib\site-packages\pythonwin\.
However, that there were these files, you must first install Mark Hammond's PyWin32 add-on.
It's available from the pywin32 project on SourceForge. I used the setup file pywin32-214.win32-py2.6.exe.
I do not know whether someone in the future will do a new build of EG.
If so, it would be great if the necessary files installed automatically (like Microsoft.VC90.CRT).
Pako
It turned out that the solution is very simple:
Into the folder where you installed EventGhost, put file Microsoft.VC90.MFC.manifest and files listed therein
(ie, mfc90.dll, mfc90u.dll, mfcm90.dll, mfcm90u.dll).
I found these files in my Python 2.6 installation folder ...\Python26\Lib\site-packages\pythonwin\.
However, that there were these files, you must first install Mark Hammond's PyWin32 add-on.
It's available from the pywin32 project on SourceForge. I used the setup file pywin32-214.win32-py2.6.exe.
I do not know whether someone in the future will do a new build of EG.
If so, it would be great if the necessary files installed automatically (like Microsoft.VC90.CRT).
Pako
Re: import win32ui and import dde failed
I've got win32ui in my fork and had similar issues. When you build from source, py2exe gives a list of dll's that aren't included with the exe and are expected to be locatable on the target machine. I had to modify the build script to include the files necessary for win32ui. I haven't looked at backporting (partially because we have no place to put a new build), but hopefully that helps you.
Brett
Brett
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: import win32ui and import dde failed
Thank you for the explanation.
But I still do not plan to create build from source.
Doing it for themselves is largely irrelevant, and for creating an official build I do not have sufficient permissions.
I do not plan to make another fork. I absolutely suits EventGhost concept.
It is a pity that Bitmonster gave up work on the project or at least finish a plan
to separate plugins from the installation file.
Pako
But I still do not plan to create build from source.
Doing it for themselves is largely irrelevant, and for creating an official build I do not have sufficient permissions.
I do not plan to make another fork. I absolutely suits EventGhost concept.
It is a pity that Bitmonster gave up work on the project or at least finish a plan
to separate plugins from the installation file.
Pako