Thread overview |
---|
February 01, 2017 Can't find the reason of issue: "std.file.FileException@std\file.d(360): path/to/file.conf:" | ||||
---|---|---|---|---|
| ||||
After building vibed project and running it I am getting error: "std.file.FileException@std\file.d(360): path/to/file.conf: Системе не удается найти указанный путь." (System can't find selected path) I even do not understand where is the error... It's do not seems that it's vibed issue. |
February 01, 2017 Re: Can't find the reason of issue: "std.file.FileException@std\file.d(360): path/to/file.conf:" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | Full error log: 0x00580A4D in @trusted bool std.file.cenforce!(bool).cenforce(bool, const(char)[], const(wchar)*, immutable(char)[], uint) 0x00412AB6 in @safe void[] std.file.read!(immutable(char)[]).read(immutable(char)[], uint) at C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(229) 0x00412060 in @safe immutable(char)[] std.file.readText!(immutable(char)[], immutable(char)[]).readText(immutable(char)[]) at C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(417) 0x004116F2 in void dini.parser.IniSection.parse(immutable(char)[], bool) at C:\Users\Dima\AppData\Roaming\dub\packages\dini-2.0.0\dini\source\dini\parser.d(318) 0x00411EB7 in dini.parser.IniSection dini.parser.IniSection.Parse(immutable(char)[], bool) at C:\Users\Dima\AppData\Roaming\dub\packages\dini-2.0.0\dini\source\dini\parser.d(497) 0x004106AF in config.MyConfig config.MyConfig.__ctor() at D:\code\CoreCMS\source\config.d(30) 0x004033EA in _Dmain at D:\code\CoreCMS\source\app.d(7) 0x0055EBFB in D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv 0x0055EBBF in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() 0x0055EAC0 in _d_run_main 0x0041064C in main at D:\code\CoreCMS\source\APIInterface.d(7) 0x005BA001 in mainCRTStartup 0x73FC62C4 in BaseThreadInitThunk 0x77440FD9 in RtlSubscribeWnfStateChangeNotification 0x77440FA4 in RtlSubscribeWnfStateChangeNotification Program exited with code 1 Can it be issue in external lib? |
February 01, 2017 Re: Can't find the reason of issue: "std.file.FileException@std\file.d(360): path/to/file.conf:" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | On Wednesday, 1 February 2017 at 11:39:46 UTC, Suliman wrote:
> Full error log:
>
> 0x00580A4D in @trusted bool std.file.cenforce!(bool).cenforce(bool, const(char)[], const(wchar)*, immutable(char)[], uint)
> 0x00412AB6 in @safe void[] std.file.read!(immutable(char)[]).read(immutable(char)[], uint) at C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(229)
> 0x00412060 in @safe immutable(char)[] std.file.readText!(immutable(char)[], immutable(char)[]).readText(immutable(char)[]) at C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(417)
> 0x004116F2 in void dini.parser.IniSection.parse(immutable(char)[], bool) at C:\Users\Dima\AppData\Roaming\dub\packages\dini-2.0.0\dini\source\dini\parser.d(318)
> 0x00411EB7 in dini.parser.IniSection dini.parser.IniSection.Parse(immutable(char)[], bool) at C:\Users\Dima\AppData\Roaming\dub\packages\dini-2.0.0\dini\source\dini\parser.d(497)
> 0x004106AF in config.MyConfig config.MyConfig.__ctor() at D:\code\CoreCMS\source\config.d(30)
> 0x004033EA in _Dmain at D:\code\CoreCMS\source\app.d(7)
> 0x0055EBFB in D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv
> 0x0055EBBF in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()
> 0x0055EAC0 in _d_run_main
> 0x0041064C in main at D:\code\CoreCMS\source\APIInterface.d(7)
> 0x005BA001 in mainCRTStartup
> 0x73FC62C4 in BaseThreadInitThunk
> 0x77440FD9 in RtlSubscribeWnfStateChangeNotification
> 0x77440FA4 in RtlSubscribeWnfStateChangeNotification
> Program exited with code 1
>
> Can it be issue in external lib?
Yeah, it was issue in dini 2. dini 1 work fine.
|
February 01, 2017 Re: Can't find the reason of issue: "std.file.FileException@std\file.d(360): path/to/file.conf:" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | Not even issue, but unhandled exception when access to nonexistent file. |
February 01, 2017 Re: Can't find the reason of issue: "std.file.FileException@std\file.d(360): path/to/file.conf:" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | On Wednesday, 1 February 2017 at 11:55:20 UTC, Suliman wrote:
> On Wednesday, 1 February 2017 at 11:39:46 UTC, Suliman wrote:
>> [...]
>
> Yeah, it was issue in dini 2. dini 1 work fine.
Is std.file not blocking (when used in vibe.d)?
|
February 01, 2017 Re: Can't find the reason of issue: "std.file.FileException@std\file.d(360): path/to/file.conf:" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Suliman | On Wednesday, 1 February 2017 at 11:39:46 UTC, Suliman wrote:
> Full error log:
>
> 0x00580A4D in @trusted bool std.file.cenforce!(bool).cenforce(bool, const(char)[], const(wchar)*, immutable(char)[], uint)
> 0x00412AB6 in @safe void[] std.file.read!(immutable(char)[]).read(immutable(char)[], uint) at C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(229)
> 0x00412060 in @safe immutable(char)[] std.file.readText!(immutable(char)[], [...]
> Can it be issue in external lib?
No stacktraces that involve in external libs are not so detailed since they are usually build without debug info.
|
Copyright © 1999-2021 by the D Language Foundation