https://bugzilla.wikimedia.org/show_bug.cgi?id=47377
Web browser: ---
Bug ID: 47377
Summary: Cannot multiply list with float
Product: Analytics
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: User Metrics
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Stacktrace
[Mon Apr 15 19:50:09 2013] [error] Process Process-1:7:
[Mon Apr 15 19:50:09 2013] [error] Traceback (most recent call last):
[Mon Apr 15 19:50:09 2013] [error] File
"/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
[Mon Apr 15 19:50:09 2013] [error] self.run()
[Mon Apr 15 19:50:09 2013] [error] File
"/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
[Mon Apr 15 19:50:09 2013] [error] self._target(*self._args,
**self._kwargs)
[Mon Apr 15 19:50:09 2013] [error] File
"/a/e3/E3Analysis/user_metrics/api/engine/request_manager.py", line 308, in
process_metrics
[Mon Apr 15 19:50:09 2013] [error] results =
process_data_request(request_meta, users)
[Mon Apr 15 19:50:09 2013] [error] File
"/a/e3/E3Analysis/user_metrics/api/engine/request_manager.py", line 499, in
process_data_request
[Mon Apr 15 19:50:09 2013] [error] **args)
[Mon Apr 15 19:50:09 2013] [error] File
"/a/e3/E3Analysis/user_metrics/metrics/user_metric.py", line 294, in wrapper
[Mon Apr 15 19:50:09 2013] [error] return proc_func(self, users, **kwargs)
[Mon Apr 15 19:50:09 2013] [error] File
"/a/e3/E3Analysis/user_metrics/metrics/edit_rate.py", line 113, in process
[Mon Apr 15 19:50:09 2013] [error] time_diff_sec = self.t * 3600.0
[Mon Apr 15 19:50:09 2013] [error] TypeError: can't multiply sequence by
non-int of type 'float'
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l