Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
This repository was archived by the owner on May 31, 2025. It is now read-only.

NameError: 'f' is not defined  #1964

@liborw

Description

@liborw

Not critical problem, happens when roslaunch is called with additional parameter:

$ xxx@pandart01:~$ roslaunch franka_example_controllers move_to_start.launch test
Traceback (most recent call last):
  File "/opt/ros/melodic/lib/python3.8/site-packages/roslaunch/__init__.py", line 246, in main
    _validate_args(parser, options, args)
  File "/opt/ros/melodic/lib/python3.8/site-packages/roslaunch/__init__.py", line 222, in _validate_args
    parser.error("The following input files do not exist: %s"%f)
NameError: name 'f' is not defined

The problem is here (line numbers doesn't match due to different version):

parser.error("The following input files do not exist: %s"%f)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions