Closed GoogleCodeExporter closed 9 years ago
Unable to reproduce with latest version of db.ini.
Original comment by ganesh...@gmail.com
on 12 Apr 2008 at 3:20
Uninstalled AppSnap and deleted C:\Program Files\AppSnap
Installed AppSnap.
New update detected. Updated.
Created blank userdb.ini in C:\Program Files\AppSnap and opened AppSnap -- no
crash
Copied and pasted the 7-Zip section from C:\Program Files\AppSnap\db.ini into
C:\Program Files\AppSnap\userdb.ini and opened AppSnap -- no crash
Copied and pasted entire contents of C:\Program Files\AppSnap\db.ini into a
clean
C:\Program Files\AppSnap\userdb.ini -- crash (previously I had just copied in
Explorer)
Original comment by daddyd...@gmail.com
on 12 Apr 2008 at 9:58
Deleted userdb.ini and all copies of db.ini and repeated the experiment with
identical results.
Then...
Removed [GTK+] section from userdb.ini -- no more crash!!!!
The clue was the %2B at the bottom of the error message
[GTK+]
category = Libraries
describe = GUI Toolkit
website = http://www.gtk.org/
scrape = http://sourceforge.net/projects/gimp-win/download/
version = gtk%%2B-([0-9]\.[0-9]+\.[0-9]+[-0-9]*)-setup.exe
download = http://downloads.sourceforge.net/gimp-win/
filename = gtk+-#VERSION#-setup.exe
instparam = /sp- /silent /norestart
upgrades = true
chinstdir = /dir="#INSTALL_DIR#"
uninstparam = /sp- /silent /norestart
instversion = USE_UNINSTALL
uninstall = REGISTRY_SEARCH:DisplayName=GTK+ Runtime
([0-9]\.[0-9]+\.[0-9]+[-0-9]*)*
Original comment by daddyd...@gmail.com
on 12 Apr 2008 at 10:21
How exactly are you doing the copy? Are there two % in both files? If not then
the
.INI parser crashes. This is an issue if both files have two % in the version
field
for GTK+.
Original comment by ganesh...@gmail.com
on 14 Apr 2008 at 3:23
I did the copy two ways with the same result:
From Windows Explorer, I copied the file db.ini, and pasted and renamed the
copy to
userdb.ini.
I also opened up db.ini in Notepad++ and did Ctrl-A Ctrl-C to copy all, then
opened
up userdb.ini and did Ctrl-A Ctrl-V to paste all overwriting the contents.
Either way, the result was the same. I'll try again making sure I have a clean
install and see if I get the same.
Original comment by daddyd...@gmail.com
on 15 Apr 2008 at 1:59
I haven't really gotten this error with "real" userdb.ini files, so probably a
non-
issue.
Original comment by daddyd...@gmail.com
on 30 Apr 2008 at 9:59
Closing.
Original comment by ganesh...@gmail.com
on 5 May 2008 at 6:19
Original issue reported on code.google.com by
daddyd...@gmail.com
on 10 Apr 2008 at 11:55