Comments (4)
1) *.launch:globbed-files
Error
I think one of the problems is when you source using the standard setup.zsh
it doesn't load/use the environment hooks correctly:
➜ source /opt/ros/melodic/setup.zsh
➜ mon launch
(eval):1: no matches found: *.launch:globbed-files
A workaround is to directly source the rosmon environment hooks:
➜ source /opt/ros/melodic/etc/catkin/profile.d/50-rosmon.zsh
This avoids the *.launch:globbed-files
error.
2) _values:compvalues:11: not enough arguments
Error
There is another error:
➜ mon launch image_geometry
_values:compvalues:11: not enough arguments
_values:compvalues:11: not enough arguments
_values:compvalues:11: not enough arguments
And I have a fix for it - it's because even with an empty string the size of files is 1.
In https://github.com/xqms/rosmon/blob/master/rosmon_core/env-hooks/50-rosmon.zsh#L47
if [[ $#files -gt 0 ]] && [[ -n $files ]]; then
_values 'launch files' $files
fi
from rosmon.
Hm, I don't use zsh myself. I doubt that there has been a regression (the zsh completion code has remained largely unchanged), probably you are hitting a problem that was always there.
If you are interested in this, feel free to look into it - as mentioned, I'm not a zsh expert myself...
from rosmon.
Yes, most likely this is no degradation.
I'll have a look at it. One of the problems is in here:
if there is no launch file in this directory globbing fails and thus this error is reported.
from rosmon.
Hey, thanks for the information :)
Regarding 1): As far as I know the setup.zsh
should do exactly the same as directly sourcing our file... Maybe it's an ordering issue? Maybe we get loaded too early in setup.zsh
?
Regarding 2): Nice! Maybe we can prepare a PR to collect the fixes. I don't have time to work on this right now, though (and zsh is pretty low on my priority list, as I don't use it :-P).
from rosmon.
Related Issues (20)
- Cannot build from source: did you forget to ‘#include <string>’? HOT 3
- Inconsistent handling of `type` attribute in `<param command="">` tags HOT 8
- Add node name to stdout log when the --disable-ui option is used.
- terminal input HOT 2
- Feature Request: Support for ROS2 HOT 4
- Option to accept node respawns HOT 10
- logwarn, logerr behavior HOT 4
- YAML merge key parsing not correct under lists/array environment HOT 2
- RTABMap does not subscribe topics well after stopping and restarting rosmon HOT 6
- Wrong catch_ros include dir in certain situations
- Unexpected log file(s) when using mon to launch a file containing python nodes HOT 6
- FD leak when processes respawn HOT 2
- Could not find a configuration file for package "Qt5Widgets" that exactly matches requested version "5.10.1" HOT 3
- Nested Global Group Namespace
- Compile warnings HOT 1
- Wrong YAML whitespace parsing inside helper functions like deg() HOT 1
- Error when running rosmon inside launch file HOT 2
- Start Stop All nodes from rosservice HOT 9
- output="log" is ignored with --disable-ui HOT 2
- New noetic release HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rosmon.