Skip to content

default_timestamp_res is not defined #55

Description

@karplus

Original report by Doug (Bitbucket: shmish, GitHub: shmish).


I've tried to run pterodaq using python 2.7, 3.4 and 3.6 and in all cases the program fails in boards.py:

(python34) C:\Users\dwsmith\Desktop\abe_k-pterodaq-35c59485a4b4\daq>python main.py
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\dwsmith\AppData\Local\Continuum\anaconda3\envs\python34\lib\threading.py", line 911, in _bootstrap_inner
self.run()
File "C:\Users\dwsmith\AppData\Local\Continuum\anaconda3\envs\python34\lib\threading.py", line 859, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\dwsmith\Desktop\abe_k-pterodaq-35c59485a4b4\daq\comm.py", line 76, in _connect
self._call_when_connected()
File "C:\Users\dwsmith\Desktop\abe_k-pterodaq-35c59485a4b4\daq\core.py", line 345, in _onconnect
self.board = getboardinfo(model)
File "C:\Users\dwsmith\Desktop\abe_k-pterodaq-35c59485a4b4\daq\boards.py", line 695, in getboardinfo
board.setup(model[2:])
File "C:\Users\dwsmith\Desktop\abe_k-pterodaq-35c59485a4b4\daq\boards.py", line 125, in setup
self.timestamp_res = default_timestamp_res
NameError: name 'default_timestamp_res' is not defined

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmajor

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions