at (wrapper managed-to-native) CodeClear.NaturalDocs.Engine.SQLite.API:sqlite3_initialize ()
at CodeClear.NaturalDocs.Engine.SQLite.API.Initialize () [0x00000] in <e9d49e7b4bad46c0b134f4f0f80d21bd>:0
at CodeClear.NaturalDocs.Engine.CodeDB.Manager.Start (CodeClear.NaturalDocs.Engine.Errors.ErrorList errors) [0x00000] in <e9d49e7b4bad46c0b134f4f0f80d21bd>:0
at CodeClear.NaturalDocs.Engine.Instance.Start (CodeClear.NaturalDocs.Engine.Errors.ErrorList errors, CodeClear.NaturalDocs.Engine.Config.ProjectConfig commandLineConfig) [0x000b6] in <e9d49e7b4bad46c0b134f4f0f80d21bd>:0
at CodeClear.NaturalDocs.CLI.Application.BuildDocumentation (CodeClear.NaturalDocs.Engine.Errors.ErrorList errorList) [0x00039] in <152b421d90d84c58bbbfca83a4fe5930>:0
at CodeClear.NaturalDocs.CLI.Application.Main (System.String[] commandLine) [0x0010f] in <152b421d90d84c58bbbfca83a4fe5930>:0 `</e9d49e7b4bad46c0b134f4f0f80d21bd></e9d49e7b4bad46c0b134f4f0f80d21bd></e9d49e7b4bad46c0b134f4f0f80d21bd>
I am running this on OSX El Capitan (v. 10.11.6) with Mono using the following command:
mono NaturalDocs.exe -i ../newdir -o HTML ../htmlendres/ -p ../nProj
Is it a problem with Mono being unable to find the relevant SQL libraries/relevant dlls? That's my intuition so far.
Thank you so much for your help.
Last edit: aloisclancy 2017-06-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, it's looking for the file libNaturalDocs.Engine.SQLite32.so which should have been included in the zip file you downloaded. If it's not, download it again here.
If it is there, is it in the same folder as NaturalDocs.exe? If it is, maybe try running it with the current directory set to that one. I'm not going to be super helpful troubleshooting Macs because I'm not that familiar with them, but the issue is definitely that NaturalDocs.exe can't find libNaturalDocs.Engine.SQLite32.so.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Strange, the file appears in the NaturalDocs folder that I have. Here's the listing of the files that I have in the folder: Config
License.txt
NaturalDocs.Engine.Regex.dll
NaturalDocs.Engine.SQLite.dll
NaturalDocs.Engine.dll
NaturalDocs.Engine.dll.config
NaturalDocs.exe
NaturalDocs.exe.config
Styles
Translations
input
libNaturalDocs.Engine.SQLite32.so
output
project
I ran it again with the following command, and the i/o/p folders set into the naturaldocs folder:
mono NaturalDocs.exe -i ./input -o HTML ./output -p ./project/
It still crashes with the same error, same stack call.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I'm getting a similar error but with libNaturalDocs.Engine.SQLite64.so. The file is there in the folder with NaturalDocs.exe, running from the directory with NaturalDocs.exe, using the same command (with different folder names of course).. Were you able to fix this?
In my case, I'm simply trying to generate docs after only modifiying Project.txt. Using Linux (RedHat Entreprise)..
Last edit: Bilal Maassarani 2017-10-30
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First check what version of Mono you're using since I've seen errors occur in older versions that don't in newer ones. The current version is 5.4.0.201, so you might have to get it from the web site if the bundled version is out of date.
NaturalDocs.Engine.dll.config controls which file should be substituted for NaturalDocs.Engine.SQLite.dll, but libNaturalDocs.Engine.SQLite.Linux64.so should be the correct one. If for some reason it's trying to run it as a 32-bit process you can make it always use the Linux32 version there. I would try upgrading Mono first though.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, I'm using mono 4.2.2 because that's what's installed on our machines. I'll have to figure how to update mono because 1) Redhat doesn't support Mono (No idea how the 4.2.2 version was installed). 2) I don't have root access. I'll find the person who does..
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am using the Basic Custom Language Support to add support for Flora-2 with this snippet in Languages.txt:
`Language: Flora
Extension: flr
Line Comment: //
Line Extender: \
Member Operator: .
Enum Values: Under Parent
Block Comment: / /
Case Sensitive: No
Function Prototype Ender: [ ;
Variable Prototype Enders: [ ; = `
However, the program crashes when I run it against a .flr file, with the following error:
`Crash Message:
libNaturalDocs.Engine.SQLite32.so
(System.DllNotFoundException)
Stack Trace:
at (wrapper managed-to-native) CodeClear.NaturalDocs.Engine.SQLite.API:sqlite3_initialize ()
at CodeClear.NaturalDocs.Engine.SQLite.API.Initialize () [0x00000] in <e9d49e7b4bad46c0b134f4f0f80d21bd>:0
at CodeClear.NaturalDocs.Engine.CodeDB.Manager.Start (CodeClear.NaturalDocs.Engine.Errors.ErrorList errors) [0x00000] in <e9d49e7b4bad46c0b134f4f0f80d21bd>:0
at CodeClear.NaturalDocs.Engine.Instance.Start (CodeClear.NaturalDocs.Engine.Errors.ErrorList errors, CodeClear.NaturalDocs.Engine.Config.ProjectConfig commandLineConfig) [0x000b6] in <e9d49e7b4bad46c0b134f4f0f80d21bd>:0
at CodeClear.NaturalDocs.CLI.Application.BuildDocumentation (CodeClear.NaturalDocs.Engine.Errors.ErrorList errorList) [0x00039] in <152b421d90d84c58bbbfca83a4fe5930>:0
at CodeClear.NaturalDocs.CLI.Application.Main (System.String[] commandLine) [0x0010f] in <152b421d90d84c58bbbfca83a4fe5930>:0 `</e9d49e7b4bad46c0b134f4f0f80d21bd></e9d49e7b4bad46c0b134f4f0f80d21bd></e9d49e7b4bad46c0b134f4f0f80d21bd>
I am running this on OSX El Capitan (v. 10.11.6) with Mono using the following command:
mono NaturalDocs.exe -i ../newdir -o HTML ../htmlendres/ -p ../nProjIs it a problem with Mono being unable to find the relevant SQL libraries/relevant dlls? That's my intuition so far.
Thank you so much for your help.
Last edit: aloisclancy 2017-06-15
Yes, it's looking for the file libNaturalDocs.Engine.SQLite32.so which should have been included in the zip file you downloaded. If it's not, download it again here.
If it is there, is it in the same folder as NaturalDocs.exe? If it is, maybe try running it with the current directory set to that one. I'm not going to be super helpful troubleshooting Macs because I'm not that familiar with them, but the issue is definitely that NaturalDocs.exe can't find libNaturalDocs.Engine.SQLite32.so.
Strange, the file appears in the NaturalDocs folder that I have. Here's the listing of the files that I have in the folder:
Config License.txt NaturalDocs.Engine.Regex.dll NaturalDocs.Engine.SQLite.dll NaturalDocs.Engine.dll NaturalDocs.Engine.dll.config NaturalDocs.exe NaturalDocs.exe.config Styles Translations input libNaturalDocs.Engine.SQLite32.so output projectI ran it again with the following command, and the i/o/p folders set into the naturaldocs folder:
mono NaturalDocs.exe -i ./input -o HTML ./output -p ./project/It still crashes with the same error, same stack call.
Hi, I'm getting a similar error but with libNaturalDocs.Engine.SQLite64.so. The file is there in the folder with NaturalDocs.exe, running from the directory with NaturalDocs.exe, using the same command (with different folder names of course).. Were you able to fix this?
In my case, I'm simply trying to generate docs after only modifiying Project.txt. Using Linux (RedHat Entreprise)..
Last edit: Bilal Maassarani 2017-10-30
It sounds like you're running 2.0. Download 2.0.1 and see if that fixes the issue for you. If not, paste the error message it gives you.
Latest version as you can see below.. thanks
Generated on 10/30/2017 5:06:47 PM
Crash Message:
libNaturalDocs.Engine.SQLite.Linux64.so
(System.DllNotFoundException)
Stack Trace:
at (wrapper managed-to-native) CodeClear.NaturalDocs.Engine.SQLite.API:sqlite3_initialize ()
at CodeClear.NaturalDocs.Engine.SQLite.API.Initialize () <0x41b8d640 + 0x0000b> in <filename unknown="">:0
at CodeClear.NaturalDocs.Engine.CodeDB.Manager.Start (CodeClear.NaturalDocs.Engine.Errors.ErrorList errors) <0x41b8d250 + 0x0002f> in <filename unknown="">:0
at CodeClear.NaturalDocs.Engine.Instance.Start (CodeClear.NaturalDocs.Engine.Errors.ErrorList errors, CodeClear.NaturalDocs.Engine.Config.ProjectConfig commandLineConfig) <0x41b14d20 + 0x00207> in <filename unknown="">:0
at CodeClear.NaturalDocs.CLI.Application.BuildDocumentation (CodeClear.NaturalDocs.Engine.Errors.ErrorList errorList) <0x41af0140 + 0x0011b> in <filename unknown="">:0
at CodeClear.NaturalDocs.CLI.Application.Main (System.String[] commandLine) <0x41ad46a0 + 0x0033b> in <filename unknown="">:0 </filename></filename></filename></filename></filename>
Command Line:
/home/bmaassar/my_software/NaturalDocs/NaturalDocs.exe ../../config
Version: 2.0.1
Platform: Unix 2.6.32.642 (Unix)
First check what version of Mono you're using since I've seen errors occur in older versions that don't in newer ones. The current version is 5.4.0.201, so you might have to get it from the web site if the bundled version is out of date.
NaturalDocs.Engine.dll.config controls which file should be substituted for NaturalDocs.Engine.SQLite.dll, but libNaturalDocs.Engine.SQLite.Linux64.so should be the correct one. If for some reason it's trying to run it as a 32-bit process you can make it always use the Linux32 version there. I would try upgrading Mono first though.
Ok, I'm using mono 4.2.2 because that's what's installed on our machines. I'll have to figure how to update mono because 1) Redhat doesn't support Mono (No idea how the 4.2.2 version was installed). 2) I don't have root access. I'll find the person who does..
Thanks