Open main menu

CDOT Wiki β

Changes

Firefox Performance Testing : A Python framework for Windows

858 bytes added, 00:26, 27 November 2006
Project Problems and Solutions
TP_URL = 'file:///c:/project/mozilla/testing/performance/win32/page_load_test/cycler.html'
</pre>
 
==Problem: ZeroDivisionError: integer division or modulo by zero ==
<pre>
Traceback (most recent call last):
File "C:\proj\mozilla\testing\performance\win32\run_tests.py", line 129, in ?
test_file(sys.argv[i])
File "C:\proj\mozilla\testing\performance\win32\run_tests.py", line 122, in te
st_file
TP_RESOLUTION)
File "C:\proj\mozilla\testing\performance\win32\report.py", line 152, in Gener
ateReport
mean = mean / len(ts_times[i])
ZeroDivisionError: integer division or modulo by zero
</pre>
 
==Solution: ZeroDivisionError: integer division or modulo by zero ==
 
Check if there is <b>contents</b> in the base_profile directory that you have set in paths.py:
* By default in paths.py: BASE_PROFILE_DIR = r'C:\extension_perf_testing\base_profile'
* The BASE_PROFILE_DIR could be a different path, it doesn't have to be like the one above.
= Project News =
1
edit