Skip to content

Unicode decode error #8

@akulp-endpoint

Description

@akulp-endpoint

I created a json file for repos ([{"url": "git@..."}]) and invoked repo_parse for csharp and I get the following error:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf8 in position 0: invalid start byte

Traceback (most recent call last):
  File "/home/akulp/.local/bin/repo_parse", line 8, in <module>
    sys.exit(main())
  File "/home/akulp/.local/lib/python3.8/site-packages/source_parser/cli/repo_parse.py", line 230, in main
    CRAWLER.map(
  File "/home/akulp/.local/lib/python3.8/site-packages/source_parser/cli/crawler.py", line 374, in map
    ray.init(
  File "/home/akulp/.local/lib/python3.8/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
    return func(*args, **kwargs)
  File "/home/akulp/.local/lib/python3.8/site-packages/ray/_private/worker.py", line 1645, in init
    _global_node = ray._private.node.Node(
  File "/home/akulp/.local/lib/python3.8/site-packages/ray/_private/node.py", line 315, in __init__
    self.start_ray_processes()
  File "/home/akulp/.local/lib/python3.8/site-packages/ray/_private/node.py", line 1372, in start_ray_processes
    resource_spec = self.get_resource_spec()
  File "/home/akulp/.local/lib/python3.8/site-packages/ray/_private/node.py", line 550, in get_resource_spec
    self._resource_spec = ResourceSpec(
  File "/home/akulp/.local/lib/python3.8/site-packages/ray/_private/resource_spec.py", line 215, in resolve
    accelerator_manager.get_current_node_accelerator_type()
  File "/home/akulp/.local/lib/python3.8/site-packages/ray/_private/accelerators/nvidia_gpu.py", line 71, in get_current_node_accelerator_type
    device_name = device_name.decode("utf-8")

Output from glxinfo -B:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Microsoft Corporation (0xffffffff)
    Device: D3D12 (NVIDIA RTX A500 Laptop GPU) (0xffffffff)
    Version: 21.2.6
    Accelerated: yes
    Video memory: 20169MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: Microsoft Corporation
OpenGL renderer string: D3D12 (NVIDIA RTX A500 Laptop GPU)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 21.2.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 21.2.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 21.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

Any idea what the UTF is going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions