Skip to content

cogs add -> cogs rm fails #94

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions