Plotman got stuck

Hi All, I am new to ubuntu and this forum, please be easy on me.

I managed to get the plotman installed and configured but when I attempt to ‘plotman plot’ it returns the following error. does anyone know what I’m dealing with?

Thanks in advance.

Traceback (most recent call last):
  File "/usr/local/bin/plotman", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/plotman/plotman.py", line 135, in main
    cfg = configuration.get_validated_configs()
  File "/usr/local/lib/python3.9/dist-packages/plotman/configuration.py", line 28, in get_validated_configs
    config_file = yaml.load(file, Loader=yaml.SafeLoader)
  File "/usr/local/lib/python3.9/dist-packages/yaml/__init__.py", line 114, in load
    return loader.get_single_data()
  File "/usr/local/lib/python3.9/dist-packages/yaml/constructor.py", line 49, in get_single_data
    node = self.get_single_node()
  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 55, in compose_document
    node = self.compose_node(None, None)
  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 133, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 133, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 133, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 127, in compose_mapping_node
    while not self.check_event(MappingEndEvent):
  File "/usr/local/lib/python3.9/dist-packages/yaml/parser.py", line 98, in check_event
    self.current_event = self.state()
  File "/usr/local/lib/python3.9/dist-packages/yaml/parser.py", line 428, in parse_block_mapping_key
    if self.check_token(KeyToken):
  File "/usr/local/lib/python3.9/dist-packages/yaml/scanner.py", line 116, in check_token
    self.fetch_more_tokens()
  File "/usr/local/lib/python3.9/dist-packages/yaml/scanner.py", line 258, in fetch_more_tokens
    raise ScannerError("while scanning for the next token", None,
yaml.scanner.ScannerError: while scanning for the next token
found character '\t' that cannot start any token
  in "/root/.config/plotman/plotman.yaml", line 45, column 1

Welcome to the forum wxp.

Did you by any chance use chia’s environment while installing plotman?

cd /chia-chiablockain
. ./activate
chia init

1 Like

The error is in the last line

Don’t use tabs in your .yaml config file, use spaces instead.

4 Likes

Creeper’s answer is correct. ‘/t’ means a tab was used.

1 Like

OMG… you are right!!!.. Thank you for pointing that out. I did not know tap and space makes such difference in Linux… lesson learned…

Thank you Creeper and everyone… You guys are amazing!!!.