Blackout Display

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
piert
Experienced User
Posts: 322
Joined: Tue Jun 14, 2011 2:53 pm

Re: Blackout Display

Post by piert » Mon Oct 14, 2019 2:31 pm

Now getting an additional importerror for DLL load:
Image

User avatar
kgschlosser
Site Admin
Posts: 5508
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Blackout Display

Post by kgschlosser » Tue Oct 15, 2019 1:22 am

ok in the plugin folder make a new text document. edit that file and paste in the following code

Code: Select all

def __bootstrap__():
    global __bootstrap__
    global __loader__
    global __file__
    import sys
    import imp
    __file__ += 'd'
    
    del __bootstrap__
    del __loader__
    
    mod = imp.load_dynamic(__name__, __file__)
    
    sys.modules[__name__] = mod
    
__bootstrap__()

rename the file to libWinVirtualDesktop.py
If you like the work I have been doing then feel free to Image

piert
Experienced User
Posts: 322
Joined: Tue Jun 14, 2011 2:53 pm

Re: Blackout Display

Post by piert » Tue Oct 15, 2019 1:22 pm

I assume the file needs to be in the WindowsVirtualDesktop plugin-folder (see top of the picture below).
Still getting the same errors after restarting (as admin or non-admin).

Ps: I was not able to save the notepad's .py file directly in the plugin folder. I had to save into another folder (I choose the documents folder) instead. Then, I cut and pasted the file into the plugin folder. This was only possible after I confirmed administrator's permission to do so. I don't know if that can be related to the error messages?

Image

User avatar
kgschlosser
Site Admin
Posts: 5508
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Blackout Display

Post by kgschlosser » Wed Oct 16, 2019 9:01 am

I am going to have to mess about with it a bit. It seems to be an EG related issue.

If you copy the libWinVirtualDesktop.pyd file to program files (x86)\EventGhost\lib27\site-packages
and delete the libWinVirtualDesktop.py file from the plugin folder it should run without issue.

where did you put the plugin? into %programdata%\eventghost\plugins? or in program files (x86)\EventGhost\plugins??? If you are running Windows 10.. which you are. I would suggest putting it in %programdata%\eventghost\plugins because the program files folder has been locked up pretty good in Windows 10.
If you like the work I have been doing then feel free to Image

piert
Experienced User
Posts: 322
Joined: Tue Jun 14, 2011 2:53 pm

Re: Blackout Display

Post by piert » Wed Oct 16, 2019 11:30 am

Per your suggestion I have deleted from program files (x86)\EventGhost\plugins and now using only the %programdata%\eventghost\plugins folder.

Still the same problem, unfortunately:
Image

piert
Experienced User
Posts: 322
Joined: Tue Jun 14, 2011 2:53 pm

Re: Blackout Display

Post by piert » Wed Oct 16, 2019 11:33 am

I am not sure if this is relevant, but if I choose 'File - options' in Eventghost, I get the following error about a language problem:

Image

User avatar
kgschlosser
Site Admin
Posts: 5508
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Blackout Display

Post by kgschlosser » Wed Oct 16, 2019 9:55 pm

we know about the language problem. the guy that heads up the github repo has vanished. I am unable to get a old of him. I need to send a message to carsonf the guy that set up the github repo and have him grant me permissions on it so that things can start moving again.

did you try moving the pyd file?
If you like the work I have been doing then feel free to Image

piert
Experienced User
Posts: 322
Joined: Tue Jun 14, 2011 2:53 pm

Re: Blackout Display

Post by piert » Wed Oct 16, 2019 11:50 pm

Yes, see screen capture of my previous-previous post which also shows the resulting error in the log.

User avatar
kgschlosser
Site Admin
Posts: 5508
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Blackout Display

Post by kgschlosser » Thu Oct 17, 2019 4:46 am

I saw where you said you moved the plugin to %programdata% I didn't see here you said that you also tried moving the pyd file to the site packages folder.
If you like the work I have been doing then feel free to Image

piert
Experienced User
Posts: 322
Joined: Tue Jun 14, 2011 2:53 pm

Re: Blackout Display

Post by piert » Thu Oct 17, 2019 7:18 am

You are right that I did not say it, but the top of the screencapture included the respective folders with the status after moving the files per your suggestion :wink:

User avatar
kgschlosser
Site Admin
Posts: 5508
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Blackout Display

Post by kgschlosser » Thu Oct 17, 2019 7:19 am

yeah but it doesn't tell me if you moved that pyd file or not.
If you like the work I have been doing then feel free to Image

piert
Experienced User
Posts: 322
Joined: Tue Jun 14, 2011 2:53 pm

Re: Blackout Display

Post by piert » Thu Oct 17, 2019 9:38 am

Yes, I did move it there.

User avatar
kgschlosser
Site Admin
Posts: 5508
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Blackout Display

Post by kgschlosser » Thu Oct 17, 2019 5:09 pm

ok you are going to have to give me some time to mess with it.. I am not sure if it cannot be located by EG or if it is an issue with the actual dll loading.

Because of that "unstable" API I told you about with Windows 10. This could be one of those issues. What build of 10 are you running?
If you like the work I have been doing then feel free to Image

piert
Experienced User
Posts: 322
Joined: Tue Jun 14, 2011 2:53 pm

Re: Blackout Display

Post by piert » Fri Oct 18, 2019 3:33 pm

OS Name Microsoft Windows 10 Pro
Version 10.0.18362 Build 18362
As mentioned, running as a virtual machine inside Virtualbox.

User avatar
kgschlosser
Site Admin
Posts: 5508
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Blackout Display

Post by kgschlosser » Sat Oct 19, 2019 1:16 am

Code: Select all

18362.418 	2019-10-08 	KB 4517389
18362.388 	2019-10-03 	KB 4524147
18362.387 	2019-09-26 	KB 4517211
18362.357 	2019-09-23 	KB 4522016
18362.356 	2019-09-10 	KB 4515384
18362.329 	2019-08-30 	KB 4512941
18362.295 	2019-08-13 	KB 4512508
18362.267 	2019-07-26 	KB 4505903
18362.239 	2019-07-09 	KB 4507453
18362.207 	2019-06-27 	KB 4501375
18362.175 	2019-06-11 	KB 4503293
18362.145 	2019-05-29 	KB 4497935
18362.116 	2019-05-21	KB 4505057

ok so here is a list of the 18362 builds and their release dates.. and the KB that applies to it.. Do you happen to know which one you are running? I am asking this because I know a few months back Microsoft made a change to the Virtual Desktop API so if you are using an older build then a few months ago That could be the reason why it is throwing an error
If you like the work I have been doing then feel free to Image

Post Reply