taushet / monero_mining_monitor

open source remote per rig monitoring and statistics for Atrides' xmr-proxy
GNU General Public License v3.0
7 stars 5 forks source link

fail to start #2

Open velicumugur opened 7 years ago

velicumugur commented 7 years ago

Traceback (most recent call last): File "mmm_code.py", line 222, in increment() File "mmm_code.py", line 183, in increment a = totalCount(df, dfTimeAll, total_file, total_html) File "mmm_code.py", line 56, in totalCount dfTotal['Last Seen'] = dfTotal['Elapsed'].apply(lambda x: texttime.stringify(x)) + ' ago' File "/usr/lib/python2.7/dist-packages/pandas/core/series.py", line 2169, in apply mapped = lib.map_infer(values, f, convert=convert_dtype) File "pandas/src/inference.pyx", line 1059, in pandas.lib.map_infer (pandas/lib.c:62578) File "mmm_code.py", line 56, in dfTotal['Last Seen'] = dfTotal['Elapsed'].apply(lambda x: texttime.stringify(x)) + ' ago' File "/usr/local/bin/monero_mining_monitor/mmm_files/texttime.py", line 88, in stringify seconds = td.days 3600 24 + td.seconds AttributeError: 'numpy.timedelta64' object has no attribute 'days'