View Issue Details

IDProjectCategoryView StatusLast Update
0005360The Dark ModTDM Installerpublic03.11.2020 15:45
Reporterstgatilov Assigned Tostgatilov  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status resolvedResolutionfixed 
Product VersionTDM 2.08 
Target VersionTDM 2.09Fixed in VersionTDM 2.09 
Summary0005360: Error "Assertion pos != std::string::npos" when starting updater
DescriptionCannot use the tdm_installer due to error:
  ERROR: Assertion pos != std::string::npos failed in G:\TheDarkMod\darkmod_src\tdm_installer\zipsync\Path.cpp on line 80
The error happens straight on startup.
Additional Information(Reported by Bikerdude)
TagsNo tags attached.

Activities

stgatilov

stgatilov

15.10.2020 10:21

administrator   ~0012816

The logfile.
log.txt (5,299 bytes)   
This is log file of tdm_installer application.
Created at Wed Oct 14 23:24:27 2020

Install directory: E:/Darkmod
Computing hash of myself at E:/Darkmod/tdm_installer.exe...
My hash is 3840ccae38f5cd51d745daaa9257b7e47dc680c0d5c3eff1a1de51a43d6bbabd
Checking installer executable at http://darkmod.taaaki.za.net/zipsync/tdm_installer.exe.zip...
PROGRESS 0.00% : Downloading started
PROGRESS 0.00% : Downloading "http://darkmod.taaaki.za.net/zipsync/tdm_installer.exe.zip"...
PROGRESS 100.00% : Downloading finished
Downloaded bytes: 128
Hash of installer on server is 3840ccae38f5cd51d745daaa9257b7e47dc680c0d5c3eff1a1de51a43d6bbabd
Hashes match, update not needed
Downloading config file from http://darkmod.taaaki.za.net/zipsync/tdm_installer.ini...
PROGRESS 0.00% : Downloading started
PROGRESS 0.00% : Downloading "http://darkmod.taaaki.za.net/zipsync/tdm_installer.ini"...
PROGRESS 100.00% : Downloading finished
Downloaded bytes: 3804
Reading INI file tdm_installer.ini
Loading installer config from it

Cleaning temporary files
ERROR: Assertion pos != std::string::npos failed in G:\TheDarkMod\darkmod_src\tdm_installer\zipsync\Path.cpp on line 80
Warning: Showing error message: Assertion pos != std::string::npos failed in G:\TheDarkMod\darkmod_src\tdm_installer\zipsync\Path.cpp on line 80
Test writing file E:/Darkmod/__permissions_test
Checking for free space at E:/Darkmod
Install directory: E:/Darkmod
Computing hash of myself at E:/Darkmod/tdm_installer.exe...
My hash is 3840ccae38f5cd51d745daaa9257b7e47dc680c0d5c3eff1a1de51a43d6bbabd
Checking installer executable at http://darkmod.taaaki.za.net/zipsync/tdm_installer.exe.zip...
PROGRESS 0.00% : Downloading started
PROGRESS 0.00% : Downloading "http://darkmod.taaaki.za.net/zipsync/tdm_installer.exe.zip"...
PROGRESS 100.00% : Downloading finished
Downloaded bytes: 128
Hash of installer on server is 3840ccae38f5cd51d745daaa9257b7e47dc680c0d5c3eff1a1de51a43d6bbabd
Hashes match, update not needed
Downloading config file from http://darkmod.taaaki.za.net/zipsync/tdm_installer.ini...
PROGRESS 0.00% : Downloading started
PROGRESS 0.00% : Downloading "http://darkmod.taaaki.za.net/zipsync/tdm_installer.ini"...
PROGRESS 100.00% : Downloading finished
Downloaded bytes: 3804
Reading INI file tdm_installer.ini
Loading installer config from it

Cleaning temporary files
ERROR: Assertion pos != std::string::npos failed in G:\TheDarkMod\darkmod_src\tdm_installer\zipsync\Path.cpp on line 80
Warning: Showing error message: Assertion pos != std::string::npos failed in G:\TheDarkMod\darkmod_src\tdm_installer\zipsync\Path.cpp on line 80
Test writing file E:/Darkmod/__permissions_test
Checking for free space at E:/Darkmod
Install directory: E:/Darkmod
Computing hash of myself at E:/Darkmod/tdm_installer.exe...
My hash is 3840ccae38f5cd51d745daaa9257b7e47dc680c0d5c3eff1a1de51a43d6bbabd
Checking installer executable at http://darkmod.taaaki.za.net/zipsync/tdm_installer.exe.zip...
PROGRESS 0.00% : Downloading started
PROGRESS 0.00% : Downloading "http://darkmod.taaaki.za.net/zipsync/tdm_installer.exe.zip"...
PROGRESS 100.00% : Downloading finished
Downloaded bytes: 128
Hash of installer on server is 3840ccae38f5cd51d745daaa9257b7e47dc680c0d5c3eff1a1de51a43d6bbabd
Hashes match, update not needed
Downloading config file from http://darkmod.taaaki.za.net/zipsync/tdm_installer.ini...
PROGRESS 0.00% : Downloading started
PROGRESS 0.00% : Downloading "http://darkmod.taaaki.za.net/zipsync/tdm_installer.ini"...
PROGRESS 100.00% : Downloading finished
Downloaded bytes: 3804
Reading INI file tdm_installer.ini
Loading installer config from it

Cleaning temporary files
ERROR: Assertion pos != std::string::npos failed in G:\TheDarkMod\darkmod_src\tdm_installer\zipsync\Path.cpp on line 80
Warning: Showing error message: Assertion pos != std::string::npos failed in G:\TheDarkMod\darkmod_src\tdm_installer\zipsync\Path.cpp on line 80
Test writing file E:/Darkmod/__permissions_test
Checking for free space at E:/Darkmod
Install directory: E:/Darkmod
Computing hash of myself at E:/Darkmod/tdm_installer.exe...
My hash is 3840ccae38f5cd51d745daaa9257b7e47dc680c0d5c3eff1a1de51a43d6bbabd
Checking installer executable at http://darkmod.taaaki.za.net/zipsync/tdm_installer.exe.zip...
PROGRESS 0.00% : Downloading started
PROGRESS 0.00% : Downloading "http://darkmod.taaaki.za.net/zipsync/tdm_installer.exe.zip"...
PROGRESS 100.00% : Downloading finished
Downloaded bytes: 128
Hash of installer on server is 3840ccae38f5cd51d745daaa9257b7e47dc680c0d5c3eff1a1de51a43d6bbabd
Hashes match, update not needed
Downloading config file from http://darkmod.taaaki.za.net/zipsync/tdm_installer.ini...
PROGRESS 0.00% : Downloading started
PROGRESS 0.00% : Downloading "http://darkmod.taaaki.za.net/zipsync/tdm_installer.ini"...
PROGRESS 100.00% : Downloading finished
Downloaded bytes: 3804
Reading INI file tdm_installer.ini
Loading installer config from it

Cleaning temporary files
ERROR: Assertion pos != std::string::npos failed in G:\TheDarkMod\darkmod_src\tdm_installer\zipsync\Path.cpp on line 80
Warning: Showing error message: Assertion pos != std::string::npos failed in G:\TheDarkMod\darkmod_src\tdm_installer\zipsync\Path.cpp on line 80
log.txt (5,299 bytes)   
stgatilov

stgatilov

15.10.2020 10:29

administrator   ~0012817

The problem originally happened when downgrading from dev1610-8948 to 2.08.
stgatilov

stgatilov

15.10.2020 10:32

administrator   ~0012818

The problem has disappeared by removing all files starting with __repacked__.
It seems that restoration code in CommandLine.cpp is buggy.
stgatilov

stgatilov

03.11.2020 15:44

administrator   ~0012862

Fixed in svn rev 8968.

Issue History

Date Modified Username Field Change
15.10.2020 10:20 stgatilov New Issue
15.10.2020 10:20 stgatilov Status new => assigned
15.10.2020 10:20 stgatilov Assigned To => stgatilov
15.10.2020 10:21 stgatilov Note Added: 0012816
15.10.2020 10:21 stgatilov File Added: log.txt
15.10.2020 10:29 stgatilov Note Added: 0012817
15.10.2020 10:32 stgatilov Note Added: 0012818
03.11.2020 15:44 stgatilov Note Added: 0012862
03.11.2020 15:45 stgatilov Status assigned => resolved
03.11.2020 15:45 stgatilov Resolution open => fixed
03.11.2020 15:45 stgatilov Fixed in Version => TDM 2.09
19.05.2021 05:34 stgatilov Category TDM Updater => TDM Installer