I'm trying to run a program on Windows XP using libtorrent 1.1.5 (compiled via boost 1.65.1) and get the error "The entry point to the CreateSemaphoreExW procedure was not found in the KERNEL32.dll DLL.". On Windows 7+ this works fine. How can I fix this error?
UPDATE:
_WIN32_WINNT=0x0501 solved the problem
The answer is simple- you can not fix it. Take a look at the official documentation.
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682446(v=vs.85).aspx
Minimum supported client: Windows Vista. You can try to download a kernel32.dll from windows 7 and put it into the application directory, but I doubt it would work.
Related
I am trying to use twisted.internet.serial on Windows and it always fails to create with the message :
"File "C:\Program Files\Python36\lib\site-packages\twisted\internet_win32seria
lport.py", line 65, in _finishPortSetup
flags, comstat = win32file.ClearCommError(self._serial.hComPort)
AttributeError: 'Serial' object has no attribute 'hComPort'"
I have tried on Windows 10 x64 as well as Windows 7 x64, running as administrator, with Python 3.6.1 and Python 2.7.13.
I have installed twisted 17.1.0, PySerial 3.3, pywin32 221.
It appears to me that PySerial has been revised at some point to privatize the com port handle as self._port_handle rather than self.hComPort which twisted is expecting.
Is this a known issue? Is there a work-around? Are twisted and/or PySerial being improved w/r/t this issue?
Thanks, Dick
To answer my own question, I have discovered that this issue has been known for over a year. See https://twistedmatrix.com/trac/ticket/8159 .
There is a work-around: it is patch #2 which can be found at the link above.
No word yet as to whether the twisted folks has put any priority on releasing this patch into the mainline.
While Twisted is not updated to use newer PySerial versions, I have resolved this by downgrading PySerial to 'pyserial<3.0' (which installs pyserial==2.7).
pip install pyserial<3.0
After a fresh install of postgres 9.6.0.1 for Windows 10 64bit I am not able to get pgAdmin 4 starting.
First it throws an fatal error message:
After OK, that message appears:
Is there anything wrong? because after OK - the program won't start.
What can I do to get pgadmin 4 running? What should I enter in Python Path and what in Application Path?
I have found now the problem, it was the Java installation on which pgadmin 4 depend heavily.
In Windows when installing Java 8 (Java SE in this case) you do not have to use JAVA_HOME and JAVA_JRE anylonger and you can install java with default path settings (with the version number)
So I installed JAVA SDK 8 32 and 64bit and pgadmin start up normally.
The PATH variable includes only C:\ProgramData\Oracle\Java\javapath, thats all and let you use allways the latest version of java you installed.
In my case, I installed pgAdmin 4 v4.25 (released Aug. 20, 2020) . It solved my issue .
I had the same problem. I think, the installation of Visual C++ 2013 Redistributable is the source.
I fixed it uninstalling pgAdmin 4 and installing it again.
It tried to install Visual C++ 2013 Redistributable again, but it was already installed and now it works.
Hope this helps.
Try to install pgamin 4.5.1, it works for me (w10 x64) pgadmin 4.1.5
After struggling for weeks with this problem I found a solution. In my case I have Anaconda installed and maybe it affects PgAdmin in some way, I don't know. In order to start PgAdmin I followed these steps:
Open cmd and move to C:\Program Files\PostgreSQL\11\pgAdmin 4\web
Run pgAdmin4.py with your Python distribution. I had to install several libraries.
In my case, an error appeared, I needed to change Line #32 of C:\Program Files\PostgreSQL\11\pgAdmin 4\web\pgadmin\browser\__init__.py. More precisely:
from flask_security.views import _security, _commit, default_render_json, _ctx to
from flask_security.views import _security, _commit, _render_json, _ctx
Last, I needed to edited line socket module from Python libraries, gethostbyaddr(name) found non-ASCII symbols in the host name of my computer, I don't have any of them :S. Well, I changed line #687
hostname, aliases, ipaddrs = gethostbyaddr(name) to
hostname, aliases, ipaddrs = gethostbyaddr("")
After all of these steps I run pgAdmin4.py again and it worked.
Hope it helps.
For me there was no way to make it work (pgAdmin4 Version 4.21 that comes with Postgres 11.8 on Windows 10 x64). I really tried every possible solution.
So I gave up and found pgAdmin3 Redux: https://tokavuh.com/pgAdmin3Redux/ that supports Postgres 11, too.
You will probably have problems starting it, because of missing dll's from some Visual C++ Redistributable version I could not find out, but fortunately you will find these missing dll's on https://www.dll-files.com, just search them there as errors pops up.
I'm using 64 bit Windows 7. I have downloaded the latest version of Parse.exe and ParseConsole.exe into a folder. When I run ParseConsole.exe and key in parse new command I'm getting this error:
Error talking to the parse servers;please try again
When I key in the command parse help I'm getting info.
Am I missing something? Do I need to install any other plugins? How should I get it to run without errors?
I also struggled a lot facing the same issue.
I was however able to solve the same.
Download the CLI from the website.
Go here and check if you have same version of parse.exe as downloaded or else replace the older one with this.
copy both of the files ( parse.exe and parseconsole.exe) into c:\windows\system32 for 32 bit operating system and into c:\windows\syswow64 for 64 bit operating system
open windows power shell and run it as administrator , test all your commands.
It should be working fine now :)
I am trying to install mongoDB in Windows xp 64-bit, while executing mongod.exe in terminal it throws "The procedure entry point InitailizeSRWLock could not be located in the dynamic link library KERNEL32.dll" error, how to resolve this error ?
You'll need either the 32bit or 64bit "legacy" build of MongoDb for older operating systems. The error you're seeing indicates you've tried to execute a build for newer versions of Windows. The function InitializeSRWLock (reference) is only available on Windows 7/2008+.
At first ,make sure the mongodb you downloaded is just the suitable one for you system.
Secondly ,it seems that you system needs the KERNEL32.dll.You'd better download the KERNEL32.dll manually and put it into your c:\Windows\System\ directory.
There is a similar question from stackoverflow. But I didn't find that the answer is helpful. I also used Google searched the websites, I have watched here and here.
I have tried the method they told to solve this problem but not got a satisfied answer.
My operating system is 32-bit Window 7. Noncircle.dll is generated by Matlab version 2010a in another machine which installed Matlab. I tried to add Noncircle.dll as a reference in a project written in C#(I didn't install Matlab on my computer), but Visual-Studio 2010 told me the error:
So I doubt that Noncircle.dll maybe have to be registered. So I put Noncircle.dll in C:\Windows\System32 and started Cmd.exe as a administrator and typed:
regsvr32 Noncircle.dll
Then I got an error:
"The module "Noncircle.dll" failed to load.Make sure the binary is sorted at the
specified path or debug it to check for problems with the binary or depenedent
.DLL files.The specified module coudl not be found."
Could you give me some hints, Thanks in advance!
Updated on 2012/10/18
But if I have installed Matlab version 2010a on my machine, this problem is solved.
I just had the same issue.
If you're running 64-bit Windows and you've placed the 32-bit DLL in Windows\System32\ then it'll give you this error.
Simply place the DLL into Windows\SysWOW64\ and register it from there.
Here's where I found the fix:
http://csi-windows.com/blog/all/73-windows-64-bit/378-fixing-qregsvr32-the-module-failed-to-load-the-specified-module-could-not-be-foundq
First of all try to use RegDllView, to see whether there is actually a COM server registered in the system.
Also check whether this DLL is a COM component.
I know its too late... but I am adding my solution for others because I faced the same error after following above mentioned answers:
"I just had the same issue.
If you're running 64-bit Windows and you've placed the 32-bit DLL in Windows\System32\ then it'll give you this error.
Simply place the DLL into Windows\SysWOW64\ and register it from there."
If you are facing same error after placing DDL to SysWOW64, then you need to turn on MSMQ feature.
Go to Start ->
Search "Turn Windows features on or off" ->
Find "Microsoft Message Queue(MSMQ) Server" and Enable it.
Now, register the same DLL again and this time it will be registered