You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
viam module reload --part-id 123abc45-1234-432c-aabc-z1y111x23a00 --home /Users/jessamyt/
700
+
```
701
+
702
+
{{< expand "Reload troubleshooting" >}}
703
+
704
+
`Error: Could not connect to machine part: context deadline exceeded; context deadline exceeded; mDNS query failed to find a candidate`
705
+
706
+
- Try specifying the `--part-id`, which you can find by clicking the **Live** indicator on your machine's page in the Viam app and clicking **Part ID**.
707
+
708
+
`Error: Rpc error: code = Unknown desc = stat /root/.viam/packages-local: no such file or directory`
709
+
710
+
- Try specifying the `--home` directory.
711
+
712
+
`Error: Error while refreshing token, logging out. Please log in again`
713
+
714
+
- Run `viam login` to reauthenticate the CLI.
715
+
716
+
### Try a different command
717
+
718
+
If you are still having problems with the `reload` command, you can use a different, slower method of rebuilding and then restarting the module.
For help, don't hesitate to reach out on the [Community Discord](https://discord.gg/viam).
730
+
For more help, try asking the AI chatbot or reach out on the [Community Discord](https://discord.gg/viam).
731
+
732
+
{{< /expand >}}
700
733
701
734
{{% /tablestep %}}
702
735
{{< /table >}}
@@ -762,9 +795,10 @@ The following attributes are available for `rdk:sensor:jessamy:weather:meteo_PM`
762
795
763
796
{{% /tablestep %}}
764
797
{{% tablestep %}}
765
-
**2. Create a GitHub repo (optional)**
798
+
**2. Create a GitHub repo**
766
799
767
800
Create a GitHub repository with all the source code and the README for your module.
801
+
This is required for cloud build to work.
768
802
769
803
Add the link to that repo as the `url` in the <file>meta.json</file> file.
770
804
@@ -880,6 +914,8 @@ It should resemble the following:
880
914
}
881
915
```
882
916
917
+
Delete the <file>reload.sh</file> script since it was only meant for testing purposes.
918
+
883
919
From within the module directory, create a virtual Python environment with the necessary packages and then build an executable by running the setup and build scripts:
0 commit comments