virtualnetx / namebench

Automatically exported from code.google.com/p/namebench
Apache License 2.0
1 stars 0 forks source link

Win7: Chrome history not detected as benchmark source #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open program
2. Select benchmark source
3.

What is the expected output? What do you see instead?

Chrome history should be autodetected.

What version of the product are you using? On what operating system?

Version 1.0.3  Chrome 4.0.249.30  Win7 x64

Please provide any additional information below.

I'm opening a new case for this minor annoyance.

Original issue reported on code.google.com by ectomorp...@gmail.com on 8 Dec 2009 at 10:43

GoogleCodeExporter commented 8 years ago
Do you mind pasting the path to your the History file? This is where we are 
currently 
looking right now:

        (os.getenv('APPDATA', ''), 'Google', 'Chrome', 'User Data', 'Default',
         'History'),
        (os.getenv('APPDATA', ''), 'Local', 'Google', 'Chrome', 'User Data',
         'Default', 'History'),
        (os.getenv('USERPROFILE', ''), 'Local Settings', 'Application Data',
         'Google', 'Chrome', 'User Data', 'Default', 'History'),

Original comment by tstromb...@google.com on 9 Dec 2009 at 3:37

GoogleCodeExporter commented 8 years ago
Ok, the History file is in:

C:\Users\[me]\AppData\Local\Google\Chrome\User Data\Default

Original comment by ectomorp...@gmail.com on 9 Dec 2009 at 5:08

GoogleCodeExporter commented 8 years ago
The above path is part of the supported list (tested with the same browser/OS 
configuration). I wonder if the history is being filtered out due to 
insufficient 
data. We only show browsers where we can get >10 non-intranet history items. 

If this is still a problem in 1.0.4.1, I can send you a debug build to see if 
mentions if it noticed the path.

Original comment by thomas.r...@gmail.com on 10 Dec 2009 at 11:19

GoogleCodeExporter commented 8 years ago
It's strange the it shows Firefox which I don't even use and misses Chrome, my 
#1 
choice. Shouldn't it be the opposite?
Sure, keep me informed, I will try it out!

Original comment by ectomorp...@gmail.com on 10 Dec 2009 at 11:24

GoogleCodeExporter commented 8 years ago
P.S: Chrome does not appear in 1.0.4.1 either...

Original comment by ectomorp...@gmail.com on 10 Dec 2009 at 11:26

GoogleCodeExporter commented 8 years ago
I've posted a 1.0.5 debug build - do you mind cut/pasting the console output 
that is 
displayed before the GUI pops up? It should have plenty of history_parser.py 
diagnostics. The download is available here:

http://namebench.googlecode.com/files/namebench-105-test.exe

Thanks for all of your help in narrowing down the issue.

Original comment by thomas.r...@gmail.com on 11 Dec 2009 at 7:06

GoogleCodeExporter commented 8 years ago
Sure, here is the output. Paths to History file seem to be all wrong:

- epiphany: no matches in ['.gnome2\\epiphany\\ephy-history.xml']
- chrome: no matches in ['Library\\Application Support\\Google\\Chrome\\Default\
\History', '.config\\google-chrome\\Default\\History', 'C:\\Users\\Giannino\\App
Data\\Roaming\\Google\\Chrome\\User Data\\Default\\History', 'C:\\Users\\Giannin
o\\AppData\\Roaming\\Local\\Google\\Chrome\\User Data\\Default\\History', 'C:\\U
sers\\Giannino\\Local Settings\\Application Data\\Google\\Chrome\\User Data\\Def
ault\\History']
- safari: no matches in ['Library\\Safari\\History.plist', 'C:\\Users\\Giannino\
\AppData\\Roaming\\Apple Computer\\Safari\\History.plist']
- internet_explorer: no matches in ['C:\\Users\\Giannino\\Local Settings\\Histor
y\\History.IE5\\index.dat', 'C:\\Users\\Giannino\\AppData\\Roaming\\Microsoft\\W
indows\\History\\History.IE5\\index.dat']* Reading C:\Users\Giannino\AppData\Roa
ming\Mozilla\Firefox\Profiles\rs6zuihs.default\places.sqlite
 - chromium: no matches in ['Library\\Application Support\\Chromium\\Default\\Hi
story', '.config\\chromium\\Default\\History', 'C:\\Users\\Giannino\\AppData\\Ro
aming\\Chromium\\User Data\\Default\\History', 'C:\\Users\\Giannino\\AppData\\Ro
aming\\Local\\Chromium\\User Data\\Default\\History', 'C:\\Users\\Giannino\\Loca
l Settings\\Application Data\\Chromium\\User Data\\Default\\History']

- Found 874 records from firefox
- Read 874 records from firefox in 0.0460000038147s
> All available sources have been parsed.
> Running...
> namebench 1.0.5 is ready!

Important: History is not a folder itself, it is a file that resides in the 
Default 
folder.

The Roaming item is wrong too, the right path should be:

C:\Users\[me]\AppData\Local\Google\Chrome\User Data\Default

No Roaming before Local then.

As for Internet Explorer, it is not listed as well.
Here the index.dat is in 2 locations:

C:\Users\[me]\AppData\Local\Microsoft\Windows\Temporary Internet 
Files\Low\Content.IE5\index.dat

and

C:\Users\[me]\AppData\Local\Microsoft\Windows\History\Low\History.IE5\index.dat

Original comment by ectomorp...@gmail.com on 11 Dec 2009 at 7:37

GoogleCodeExporter commented 8 years ago
As for Chromium, the right path is:

C:\Users\[me]\AppData\Local\Chromium\User Data\Default

without Roaming between AppData and Local.

Original comment by ectomorp...@gmail.com on 11 Dec 2009 at 7:40

GoogleCodeExporter commented 8 years ago
It appears that the root cause is that your systems %APPDATA% environment 
variable declares:

C:\\Users\\Giannino\\AppData\\Roaming

When your history is in:

C:\\Users\\Giannino\\AppData\\Local

I find this rather confusing, but I'll see what kind of workaround I can come 
up with.

Original comment by helixblue on 11 Dec 2009 at 7:49

GoogleCodeExporter commented 8 years ago
Here is another test build that adds a swapped Roaming/Local directory to the 
search 
path. Can you give it a shot? I'd like to make sure this is in 1.0.5:

http://namebench.googlecode.com/files/namebench-105-test2.exe

Original comment by thomas.r...@gmail.com on 11 Dec 2009 at 9:25

GoogleCodeExporter commented 8 years ago
I tried and this fixed the problem with Chrome, Chromium, IE :-) !
I don't know about Opera and Safari though, since I haven't them installed on 
my 
system...

Original comment by ectomorp...@gmail.com on 11 Dec 2009 at 9:43

GoogleCodeExporter commented 8 years ago
Great! 1.0.5 will be uploaded shortly to include these changes. Many many 
thanks for 
your help debugging this issue. 

Original comment by tstromb...@google.com on 11 Dec 2009 at 9:50

GoogleCodeExporter commented 8 years ago
My pleasure! :-)

Original comment by ectomorp...@gmail.com on 11 Dec 2009 at 9:52