File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
name = " RobotOS"
2
2
uuid = " 22415677-39a4-5241-a37a-00beabbbdae8"
3
- version = " 0.8.0 "
3
+ version = " 0.7.2 "
4
4
5
5
[deps ]
6
6
PyCall = " 438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
7
7
8
8
[compat ]
9
- PyCall = " ≥ 1.90.0 "
10
- julia = " ≥ 1"
9
+ PyCall = " 1 "
10
+ julia = " 1"
11
11
12
12
[extras ]
13
13
Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
Original file line number Diff line number Diff line change @@ -31,9 +31,11 @@ function __init__()
31
31
try
32
32
copy! (__rospy__, pyimport (" rospy" ))
33
33
catch ex
34
- if (isa (ex, PyCall. PyError) &&
35
- pycall (pybuiltin (" str" ), PyAny, ex. val) == " No module named rospy" )
36
- error (" rospy not found!\n Has an environment setup script been run?" )
34
+ if (isa (ex, PyCall. PyError) && ex. T. __name__ == " ModuleNotFoundError" )
35
+ @error """
36
+ Unable to load the 'rospy' python package!
37
+ Has an environment setup script been run?
38
+ """
37
39
else
38
40
rethrow (ex)
39
41
end
You can’t perform that action at this time.
0 commit comments