[chronojump] Improved information on missing msvcr100.dll on windows
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Improved information on missing msvcr100.dll on windows
- Date: Fri, 5 Aug 2022 17:50:08 +0000 (UTC)
commit 42deaf4c67e5edd31bac5d6a2241b39092b8b979
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Aug 5 19:40:37 2022 +0200
Improved information on missing msvcr100.dll on windows
howto_new_version.txt | 14 ++++++++++++--
src/chronojumpImporter.cs | 4 ++++
2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/howto_new_version.txt b/howto_new_version.txt
index fa1d8236c..7b3c3774f 100644
--- a/howto_new_version.txt
+++ b/howto_new_version.txt
@@ -158,8 +158,18 @@ copy chronojump-importer-python3 dir to ~/informatica/virtualbox_windows_shared
and there move to win32/deps/bin
git commit / push
-note if an user cannot get version on chronojump-importer execution, try running the python file from the
commandline and if it fails, maybe it will say that msvcr100.dll is missing, just copy it there
---
+---
+msvcr100.dll problem:
+note if an user cannot get version on chronojump-importer execution, try running the python file from the
commandline:
+cd C:\Program Files (x86)\Chronojump\bin\chronojump-importer-python3
+chronojump_importer.exe
+- if the dll is missing, it will not show any message on the terminal, and for this reason we don't know it
on the log, but on the screen will show a dialog: telling that MSVCR100.dll is missing
+Note the dialog says that reinstalling the program (don't know if it's the dll or chronojump) it fixes it.
But we think Chronojump does not install that dll
+if the dll is not missing, then will say on the terminal:
+usage: chronojump_importer.exe [-h] --source SOURCE, and other params needed as help in more lines
+
+to solve this, just copy msvcr100.dll on that dir. I have it on ~/informatica/virtualbox_windows_shared
+---
2) See: howto_compile.txt
diff --git a/src/chronojumpImporter.cs b/src/chronojumpImporter.cs
index fe3bf8c56..bd55df0cb 100644
--- a/src/chronojumpImporter.cs
+++ b/src/chronojumpImporter.cs
@@ -202,6 +202,10 @@ LogB.Information("import H ");
Result sourceDatabaseVersion = getDatabaseVersionFromFile (temporarySourceFile);
Result destinationDatabaseVersion = getDatabaseVersionFromFile (destinationFile);
+ /* if it fails here and ends on next return
+ probably is because on windows it lacks the msvcr100.dll
+ It is documented on howto_new_version.txt
+ */
LogB.Information("import I ");
if (! sourceDatabaseVersion.success)
return sourceDatabaseVersion;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]