Skip to content

error when running visualize.py #11

Description

@iipeace

@yoonje,
when I run visualize.py on MacBook M1 Pro,
a below error occurred.

I used recent Guider source (https://github.com/iipeace/guider),
but the result was same when I used common/guider.py in https://github.com/guiderOrg/visualizer.

iipeace@Peaceui-MacBookPro visualizer % python3 visualize.py 999       
visualize.py:12: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if cmd is None or cmd is '' or target_addr is None or target_addr is '':
visualize.py:12: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if cmd is None or cmd is '' or target_addr is None or target_addr is '':

[Info] use 192.168.200.183:54753(UDP) as local address

[Info] use 192.168.200.183:999(UDP) as remote address

[Info] use 192.168.200.183:999(TCP) as remote address
Expecting value: line 1 column 1 (char 0) 

Activity

  1. assigned and unassigned on Jul 28, 2021
  2. yoonje commented on Aug 4, 2021

    @yoonje
    Member

    The visualizer relies on guider for socket communication. I think there is a problem with the guider code.

    Please check GuiderInstance.set_network_manager(target_addr) in visualizer.py.

  3. iipeace commented on Aug 9, 2021

    @iipeace
    CollaboratorAuthor

    I checked visualize.py printing system stats in JSON format with latest Guider.
    But Grafana graph isn't shown in web browser.
    Could you check it?

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions