Skip to content

gRPC Init command with custom directories not working #553

@andmeyee

Description

@andmeyee

I am playing around with arduino-cli's gRPC interface and Python. I am not able to set custom directories for dataDir, sketchbookDir and downloadsDir using the gRPC Init() method.All other gRPC methods seem to work as expected.

Bug Report

Current behavior

If I call client.Init(req) with req.dataDir set to a custom directory, it is still using the directories configured while starting the daemon.

Expected behavior

arduino-cli should use the directories specified within the req argument

Environment

  • arduino-cli 0.7.2
  • Linux (Ubuntu)
  • Python 3

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftopic: gRPCRelated to the gRPC interfacetype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy