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

AttributeError error during updating rosdep #874

Closed
jensenchen49 opened this issue May 28, 2022 · 1 comment
Closed

AttributeError error during updating rosdep #874

jensenchen49 opened this issue May 28, 2022 · 1 comment

Comments

@jensenchen49
Copy link

rosdep version: 0.21.0

Traceback (most recent call last):
File "C:\Users\User\anaconda3\envs\ros2\lib\site-packages\rosdep2\main.py", line 146, in rosdep_main
exit_code = _rosdep_main(args)
File "C:\Users\User\anaconda3\envs\ros2\lib\site-packages\rosdep2\main.py", line 441, in _rosdep_main
return _no_args_handler(command, parser, options, args)
File "C:\Users\User\anaconda3\envs\ros2\lib\site-packages\rosdep2\main.py", line 450, in no_args_handler
return command_handlerscommand
File "C:\Users\User\anaconda3\envs\ros2\lib\site-packages\rosdep2\main.py", line 659, in command_update
update_sources_list(success_handler=update_success_handler,
File "C:\Users\User\anaconda3\envs\ros2\lib\site-packages\rosdep2\sources_list.py", line 516, in update_sources_list
rosdep_data = get_gbprepo_as_rosdep_data(dist_name)
File "C:\Users\User\anaconda3\envs\ros2\lib\site-packages\rosdep2\gbpdistro_support.py", line 150, in get_gbprepo_as_rosdep_data
ctx = create_default_installer_context()
File "C:\Users\User\anaconda3\envs\ros2\lib\site-packages\rosdep2_init
.py", line 85, in create_default_installer_context
m.register_installers(context)
File "C:\Users\User\anaconda3\envs\ros2\lib\site-packages\rosdep2\platforms\source.py", line 53, in register_installers
context.set_installer(SOURCE_INSTALLER, SourceInstaller())
File "C:\Users\User\anaconda3\envs\ros2\lib\site-packages\rosdep2\platforms\source.py", line 201, in init
super(SourceInstaller, self).init(source_detect, supports_depends=True)
File "C:\Users\User\anaconda3\envs\ros2\lib\site-packages\rosdep2\installers.py", line 328, in init
self.sudo_command = 'sudo -H' if os.geteuid() != 0 else ''
AttributeError: module 'os' has no attribute 'geteuid'

@cottsay
Copy link
Member

cottsay commented May 28, 2022

Should be fixed by #811, which will be in the next release.

@cottsay cottsay closed this as completed May 28, 2022
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

2 participants