Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV not working as input or output #19

Open
fjs-acc opened this issue Jan 18, 2023 · 0 comments
Open

CSV not working as input or output #19

fjs-acc opened this issue Jan 18, 2023 · 0 comments

Comments

@fjs-acc
Copy link

fjs-acc commented Jan 18, 2023

Hi, I'm having problems using a csv with the rapl-formula, as the title suggests. Whenever I try to run it (using the commands provided in the documentation) I recieve the following console output:

DEBUG::1673959442.8503227::pusher_power::received message StartMessage
INFO::1673959442.8508985::pusher_power::pusher_power started
DEBUG::1673959442.8619356::cpu_dispatcher::received message StartMessage
INFO::1673959442.8625019::cpu_dispatcher::cpu_dispatcher started
DEBUG::1673959442.8739498::puller::received message StartMessage
INFO::1673959442.874641::puller::puller started
WARNING::1673959442.941727::puller::received unrecognized message : Poison<WakeupMessage(0:00:00.050000, None)>: Traceback (most recent call last):
File "/opt/powerapi/.local/lib/python3.8/site-packages/thespian/system/actorManager.py", line 163, in _handleOneMessage
actor_result = self.actorInst.receiveMessage(msg, envelope.sender)
File "/opt/powerapi/.local/lib/python3.8/site-packages/thespian/actors.py", line 838, in receiveMessage
r = getattr(klass, methodName)(self, message, sender)
File "/opt/powerapi/.local/lib/python3.8/site-packages/powerapi/actor.py", line 188, in receiveMsg_WakeupMessage
self._launch_task()
File "/opt/powerapi/.local/lib/python3.8/site-packages/powerapi/puller.py", line 97, in _launch_task
raw_report = self._pull_database()
File "/opt/powerapi/.local/lib/python3.8/site-packages/powerapi/puller.py", line 132, in _pull_database
return next(self.database_it)
File "/opt/powerapi/.local/lib/python3.8/site-packages/powerapi/database/csvdb.py", line 136, in next
current_timestamp = self.saved_timestamp
AttributeError: 'CsvIterDB' object has no attribute 'saved_timestamp'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/powerapi/.local/lib/python3.8/site-packages/thespian/system/actorManager.py", line 178, in _handleOneMessage
actor_result = self.actorInst.receiveMessage(copy.deepcopy(msg), envelope.sender)
File "/opt/powerapi/.local/lib/python3.8/site-packages/thespian/actors.py", line 838, in receiveMessage
r = getattr(klass, methodName)(self, message, sender)
File "/opt/powerapi/.local/lib/python3.8/site-packages/powerapi/actor.py", line 188, in receiveMsg_WakeupMessage
self._launch_task()
File "/opt/powerapi/.local/lib/python3.8/site-packages/powerapi/puller.py", line 97, in _launch_task
raw_report = self._pull_database()
File "/opt/powerapi/.local/lib/python3.8/site-packages/powerapi/puller.py", line 132, in _pull_database
return next(self.database_it)
File "/opt/powerapi/.local/lib/python3.8/site-packages/powerapi/database/csvdb.py", line 136, in next
current_timestamp = self.saved_timestamp
AttributeError: 'CsvIterDB' object has no attribute 'saved_timestamp'

Is there anything I can do to fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant