Oh no, Laragon detected exceptions - Unable to create directory. --> but WHAT directory?
-
I just installed Laragon 2.1.3 (Nginx full install) and when I start it, it says:
Oh no, Laragon detected exceptions!
Unable to create directory.There's no logs or indication as to what directory it might be trying to create and running as administrator doesn't fix the problem.
I wonder if it might be somewhat more useful to include a "full stack trace" or better error message because that error message might as well read "Something went wrong."
-
I suspect your Antivirus prevented Laragon from creating a missing directory.
I always want to show more details in exception errors. However, this kind is OS exception error message. If I know the steps you did I can improve Laragon.
-
@leokhoa It's not the antivirus program.
But I see the following:
[9120] shell\systemsettingsthreshold\handlers\internal\display\lib\display.cpp(2461)\SettingsHandlers_nt.dll!00007FFA1F9C61D8: (caller: 00007FFA1F9C10A2) Exception(4399) tid(1154) 80070002 The system cannot find the file specified.
[9120] shell\systemsettingsthreshold\handlers\internal\display\lib\display.cpp(2483)\SettingsHandlers_nt.dll!00007FFA1F9C1141: (caller: 00007FFA1F9C5E76) LogHr(4399) tid(1154) 80070002 The system cannot find the file specified.
[9120] Msg:[shell\systemsettingsthreshold\handlers\internal\display\lib\display.cpp(2461)\SettingsHandlers_nt.dll!00007FFA1F9C61D8: (caller: 00007FFA1F9C10A2) Exception(4399) tid(1154) 80070002 The system cannot find the file specified.
[9120] ]
[5804] shell\explorer\taskband2\taskband2.cpp(4148)\Explorer.EXE!00007FF630D97C4A: (caller: 00007FFA5C6A7DE3) ReturnHr(1913) tid(17c0) 80004005 Unspecified error
[5804] avcore\npsm\localprovider\baseprovider\lib\baseprovider.cpp(604)\NPSMDesktopProvider.dll!00007FFA4B5D2140: (caller: 00007FFA4B5D26E5) ReturnHr(2034) tid(15d8) 80070490 Element not found.
[316] ds\security\smartscreen\common\core\src\script_host.cpp(51)\smartscreen.exe!00007FF6EE255697: (caller: 00007FF6EE255DD8) Exception(20) tid(4024) 80070001 Incorrect function.
[316] Msg:[Unable to get property 'substr' of undefined or null reference - TypeError: Unable to get property 'substr' of undefined or null reference
[316] at ShellCallbacks.isFileSupported (Unknown script code:1:2413)
[316] at ShellCallbacks.prototype.getSamplingRate (Unknown script code:1:2988)
[316] at Anonymous function (Unknown script code:1:925)
[316] at Array.prototype.reduce (native code)
[316] at CallbacksBase.prototype.getSamplingRates (Unknown script code:1:900)
[316] at CallbacksBase.prototype.filterEvents (Unknown script code:1:2036)
[316] at filterEvents (Unknown script code:1:43)
[316] at _dispatch (Unknown script code:13:21)]This happens just before Laragon crashes with the exception - my guess is that it's looking for some sort of ini file and it can't find it or something similar.
I've turned off all known anti-virus programs (i.e. even with Windows Defender off and disabled) and still get the same error although the fact it's in something called 'smartscreen' sort of looks fishy.
-
Strange. I have no idea about smartscreen.exe
-
@lloy0076: I found it!!!. It's a serious bug but hard to re-produce. I've fixed it in Laragon 2.1.4
-
I've released Laragon 2.1.4, check it out
https://forum.laragon.org/topic/306/laragon-2-1-4-release-announcement-added-persian-language-node-js-6-9-2-npm-3-10-9
-
@leokhoa - thanks - just installed (sorry, been busy of late) and it's working fine.
-
@leokhoa Hi can you tell what was wrong here that you fixed? I have the same problem on my script. Thanks! I hope you reply soon. Sorry I know this thread is already closed.
-
@The-Lucy-Obladi: I did not remember what was wrong but I suggest you to use the latest version (2.2.2)
-
@leokhoa oh boy.. Sure that'll do. Big thanks that I heard back from you! Cheers!