Skip to content

UnicodeDecodeError when 3 rigid bodies are in view of the Polaris Vicra #46

@Larbino1

Description

@Larbino1

Stracktrace:

Traceback (most recent call last):
  File "/home/daniellarby/camtracking/vicra/VicraJuliaClient.py", line 142, in <module>
    vc.run()
  File "/home/daniellarby/camtracking/vicra/VicraJuliaClient.py", line 49, in run
    port_numbers, timestamps, framenumbers, transforms, quality = self.tracker.get_frame()
  File "/home/daniellarby/.local/lib/python3.8/site-packages/sksurgerynditracker/nditracker.py", line 461, in get_frame
    ndicapy.ndiCommand(self._device, self._capture_string)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 2: invalid start byte

This reliably happens when I move a third rigid body into the view of the Polaris vicra. Otherwise, tracking works perfectly.

I would really appreciate a bit of guidance as to where to look to fix this problem. Am I right that the error is in this repository, ndicapi? Where does ndicapy reside? Is the Error thrown from python or C++ code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions