Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The run errors! #53

Open
BCWang93 opened this issue Nov 12, 2018 · 2 comments
Open

The run errors! #53

BCWang93 opened this issue Nov 12, 2018 · 2 comments

Comments

@BCWang93
Copy link

I have this error,when I run the program.Anyone can help me .Thanks!

''cp: 无法打开'/home/bcwang/.torcs/config/graph.xml' 读取数据: 权限不够
cp: 无法删除'/home/bcwang/.torcs/config/graph.xml': 权限不够
chmod: 更改'/home/bcwang/.torcs/config/graph.xml' 的权限: 不允许的操作
fopen(config/graph.xml) failed ''

@anotherkey
Copy link

我今天也遇到了,不知道你解决了没,时间久远了,希望对你有帮助。
我的系统是Ubuntu18.04
Ctrl+h查看隐藏文件.torcs文件夹,发现它是带锁的,由于是权限问题,所以要更改权限。
我的方法是:sudo chmod -R 755 .torcs (home下的.torcs)
-R :对目前目录下的所有档案与子目录进行相同的权限变更
-rwxr-xr-x (755) :只有所有者才有读,写,执行的权限,组群和其他人只有读和执行的权限
其他的命令也可能有用,我最开始用的777,但是torcs平台无限重启,查看了别人的文件权限,改成了755。
顺便一提ubuntu下查看权限的命令为:
ls -l filename
ls -ld folder
具体请看chmod命令详细用法

@Aarnnity
Copy link

我今天也遇到了,不知道你解决了没,时间久远了,希望对你有帮助。
我的系统是Ubuntu18.04
Ctrl+h查看隐藏文件.torcs文件夹,发现它是带锁的,由于是权限问题,所以要更改权限。
我的方法是:sudo chmod -R 755 .torcs (home下的.torcs)
-R :对目前目录下的所有档案与子目录进行相同的权限变更
-rwxr-xr-x (755) :只有所有者才有读,写,执行的权限,组群和其他人只有读和执行的权限
其他的命令也可能有用,我最开始用的777,但是torcs平台无限重启,查看了别人的文件权限,改成了755。
顺便一提ubuntu下查看权限的命令为:
ls -l filename
ls -ld folder
具体请看chmod命令详细用法

请问,您能成功获取当前图像么?我将vision=True,出现了错误,KeyError:'img'。您遇到过这种情况么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants