Logger buffer UTF8 error #68

Closed
opened 2020-07-21 11:29:45 +08:00 by pca006132 · 0 comments

Related: https://github.com/m-labs/artiq/issues/1379

Reproduce: Run the repeat example:

from artiq.experiment import *

class Repeat(EnvExperiment):
    def build(self):
        self.setattr_device("core")

    def run(self):
        for _ in range(100):
            print("A")
            self.dummy_kernel()
            print("B")

    @kernel
    def dummy_kernel(self):
        pass

And run aqctl_corelog after the script finishes.

Running it before starting the script would poll the log and would not have UTF8 error. So this is probably a bug in the logger buffer.

Related: https://github.com/m-labs/artiq/issues/1379 Reproduce: Run the repeat example: ```python from artiq.experiment import * class Repeat(EnvExperiment): def build(self): self.setattr_device("core") def run(self): for _ in range(100): print("A") self.dummy_kernel() print("B") @kernel def dummy_kernel(self): pass ``` And run `aqctl_corelog` **after** the script finishes. Running it before starting the script would poll the log and would not have UTF8 error. So this is probably a bug in the logger buffer.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/artiq-zynq#68
There is no content yet.