acq4 installation issues

10 views
Skip to first unread message

louison pineau

unread,
Dec 3, 2024, 11:12:44 AM12/3/24
to ACQ4
Hi, I recently had to change my setup computer and I had to reinstall acq4. I followed the procedure as described  in the documentation but I keep getting this error when I try to start the software:

$ python -m acq4
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "U:\acq4\acq4\__main__.py", line 99, in <module>
    gc = GarbageCollector(interval=1.0, debug=False)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\pineaulo\AppData\Local\anaconda3\envs\acq4\Lib\site-packages\pyqtgraph\util\garbage_collector.py", line 28, in __init__
    self.timer.start(interval * 1000)
TypeError: arguments did not match any overloaded call:
  start(self, msec: int): argument 1 has unexpected type 'float'
  start(self): too many arguments
Loading ACQ4...
===== 2024.12.03 17:12:28 =====
Can't log message; no log created yet.
{'exception': (<class 'TypeError'>, TypeError("arguments did not match any overloaded call:\n  start(self, msec: int): argument 1 has unexpected type 'float'\n  start(self): too many arguments"), <traceback object at 0x0000021A11881880>), 'msgType': 'error', 'threads': {}}
(acq4)

I tried to find a solution but I can't make sense of it.
Thanks in advance for your help !
Best,
Louison

Luke Campagnola

unread,
Dec 3, 2024, 8:25:58 PM12/3/24
to ACQ4
As Martin mentioned elsewhere, you have an old version of pyqtgraph. This is fixed in more recent versions.

Luke

From: ac...@googlegroups.com <ac...@googlegroups.com> on behalf of louison pineau <louison....@gmail.com>
Sent: Tuesday, December 3, 2024 08:12
To: ACQ4 <ac...@googlegroups.com>
Subject: [acq4] acq4 installation issues
 
CAUTION: This email originated from outside the Allen Institute. Please do not click links or open attachments unless you've validated the sender and know the content is safe.

--
You received this message because you are subscribed to the Google Groups "ACQ4" group.
To unsubscribe from this group and stop receiving emails from it, send an email to acq4+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/acq4/d882d0b4-dee7-4c2c-9f8c-2846e07ce719n%40googlegroups.com.

louison pineau

unread,
Dec 6, 2024, 11:26:55 AM12/6/24
to ACQ4
I updated pyqtgraph and it works. Thanks a lot !

Bests,
Louison
Reply all
Reply to author
Forward
0 new messages