转载Groovy基本语法


转载:http://blog.youkuaiyun.com/mousebaby808/article/category/957087

Groovy基本语法

我执行了以下步骤: ERROR: unable to process source && cannot download default sources list from: 原因定位:估计是被墙了 解决方法1: 利用gedit编辑文件,添加备选IP; sudo gedit /etc/hosts 127.0.0.1 localhost 127.0.1.1 zhang # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters #添加备选IP: 185.199.111.133 raw.githubusercontent.com #185.199.111.133 raw.githubusercontent.com #185.199.108.133 raw.githubusercontent.com #185.199.109.133 raw.githubusercontent.com #185.199.110.133 raw.githubusercontent.com #199.232.28.133 raw.githubusercontent.com #151.101.76.133 raw.githubusercontent.com # GitHub Start 67.227.226.240 raw.githubu.com 52.74.223.119 github.com 192.30.253.119 gist.github.com 54.169.195.247 api.github.com 185.199.111.153 assets-cdn.github.com 151.101.76.133 raw.githubusercontent.com 151.101.108.133 user-images.githubusercontent.com 151.101.76.133 gist.githubusercontent.com 151.101.76.133 cloud.githubusercontent.com 151.101.76.133 camo.githubusercontent.com 151.101.76.133 avatars0.githubusercontent.com 151.101.76.133 avatars1.githubusercontent.com 151.101.76.133 avatars2.githubusercontent.com 151.101.76.133 avatars3.githubusercontent.com 151.101.76.133 avatars4.githubusercontent.com 151.101.76.133 avatars5.githubusercontent.com 151.101.76.133 avatars6.githubusercontent.com 151.101.76.133 avatars7.githubusercontent.com 151.101.76.133 avatars8.githubusercontent.com # GitHub End 解决方法2:创建sources.list.d文件,编辑保存,然后rosdep update sudo mkdir /etc/ros/rosdep/sources.list.d sudo gedit 20-default.list # 并将下方代码框内文本拷贝进去,保存 # os-specific listings first yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx # generic yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml gbpdistro https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml fuerte # newer distributions (Groovy, Hydro, ...) must not be listed anymore, they are being fetched from the rosd ———————————————— 版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 原文链接:https://blog.youkuaiyun.com/qq_43439214/article/details/124785883 报错如下:base) abc@mypc:~/ws_moveit2/src$ rosdep update reading in sources list data from /etc/ros/rosdep/sources.list.d ERROR: unable to process source [http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu]: mapping values are not allowed here in "<byte string>", line 1, column 3165: ... le-loaded")||(console.warn("vite: loading legacy build because e ... ^ Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml Skip end-of-life distro "ardent" Skip end-of-life distro "bouncy" Skip end-of-life distro "crystal" Skip end-of-life distro "dashing" Skip end-of-life distro "eloquent" Skip end-of-life distro "foxy" Skip end-of-life distro "galactic" Skip end-of-life distro "groovy" Add distro "humble" Skip end-of-life distro "hydro" Skip end-of-life distro "indigo" Skip end-of-life distro "iron" Skip end-of-life distro "jade" Add distro "jazzy" Add distro "kilted" Skip end-of-life distro "kinetic" Skip end-of-life distro "lunar" Skip end-of-life distro "melodic" Add distro "noetic" Add distro "rolling" updated cache in /home/abc/.ros/rosdep/sources.cache ERROR: Not all sources were able to be updated. [[[ ERROR: unable to process source [http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu]: mapping values are not allowed here in "<byte string>", line 1, column 3165: ... le-loaded")||(console.warn("vite: loading legacy build because e ... ^ ]]] 是不是因为没编译
05-21
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值