Skip to content

cogs add -> cogs rm fails #94

@matentzn

Description

@matentzn

When doing cogs add followed by cogs rm without specifying freeze rows I get:

Traceback (most recent call last):
  File "/Users/matentzn/opt/anaconda3/bin/cogs", line 8, in <module>
    sys.exit(main())
  File "/Users/matentzn/opt/anaconda3/lib/python3.8/site-packages/cogs/cli.py", line 207, in main
    args.func(args)
  File "/Users/matentzn/opt/anaconda3/lib/python3.8/site-packages/cogs/rm.py", line 110, in run
    rm(args)
  File "/Users/matentzn/opt/anaconda3/lib/python3.8/site-packages/cogs/rm.py", line 56, in rm
    writer.writerow(sheet)
  File "/Users/matentzn/opt/anaconda3/lib/python3.8/csv.py", line 154, in writerow
    return self.writer.writerow(self._dict_to_list(rowdict))
  File "/Users/matentzn/opt/anaconda3/lib/python3.8/csv.py", line 149, in _dict_to_list
    raise ValueError("dict contains fields not in fieldnames: "
ValueError: dict contains fields not in fieldnames: 'Frozen Columns', 'Frozen Rows'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions