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

ValueError: unsupported format character 'I' (0x49) at index 66 #47

Open
Jeffery-Ni opened this issue Apr 6, 2023 · 3 comments
Open

Comments

@Jeffery-Ni
Copy link

i just ran cenote-taker2, and this came up:
Traceback (most recent call last):
File "/home/Public/software/cenote-taker2/Cenote-Taker2/run_cenote-taker2.py", line 72, in
args = parser.parse_args()
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 1734, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 1766, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 1972, in _parse_known_args start_index = consume_optional(start_index)
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 1912, in consume_optional
take_action(action, args, option_string)
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 1840, in take_action
action(self, namespace, argument_values, option_string)
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 1024, in call
parser.print_help()
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 2366, in print_help
self._print_message(self.format_help(), file)
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 2350, in format_help
return formatter.format_help()
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 282, in format_help
help = self._root_section.format_help()
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 213, in format_help
item_help = join([func(*args) for func, args in self.items])
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 213, in
item_help = join([func(*args) for func, args in self.items])
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 213, in format_help
item_help = join([func(*args) for func, args in self.items])
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 213, in
item_help = join([func(*args) for func, args in self.items])
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 523, in _format_action
help_text = self._expand_help(action)
File "/home/Public/Anaconda3/ENTER/envs/cenote-taker2_env/lib/python3.6/argparse.py", line 610, in _expand_help
return self._get_help_string(action) % params
ValueError: unsupported format character 'I' (0x49) at index 66

@mtisza1
Copy link
Owner

mtisza1 commented Apr 13, 2023

Hmm, that's a new one for me.

Could you possibly give me the full command you wrote and the log of the output? My first guess is that there was a character passed to one of the arguments that wasn't recognized. So, make sure there are no special characters or anything in your command.

@Jeffery-Ni
Copy link
Author

this is my command:
python run_cenote-taker2.py -h
and really nothing else

@mtisza1
Copy link
Owner

mtisza1 commented Apr 25, 2023

Hi, I wanted to look into this, so I uninstsalled and re-installed Cenote-Taker 2, including the conda environment. I'm not able to reproduce this error.

I believe that it is probably an issue unrelated to this tool, but I will leave the issue open in case others run into the same problem or figure out a solution.

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