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

obj-tables command line tool throws an error #97

Closed
liebermeister opened this issue Sep 30, 2019 · 2 comments
Closed

obj-tables command line tool throws an error #97

liebermeister opened this issue Sep 30, 2019 · 2 comments
Assignees

Comments

@liebermeister
Copy link

Hi Jonathan,

I'm trying out the obj-tables command line tool, command

obj-tables init-schema schema.csv schema.py

and get the error message

Traceback (most recent call last):
File "/usr/local/bin/obj-tables", line 10, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/obj_tables/main.py", line 270, in main
app.run()
File "/usr/local/lib/python3.6/dist-packages/cement/core/foundation.py", line 916, in run
return_val = self.controller._dispatch()
File "/usr/local/lib/python3.6/dist-packages/cement/ext/ext_argparse.py", line 808, in _dispatch
return func()
File "/usr/local/lib/python3.6/dist-packages/obj_tables/main.py", line 125, in _default
utils.init_schema(args.in_file, out_filename=args.out_file)
File "/usr/local/lib/python3.6/dist-packages/obj_tables/utils.py", line 445, in init_schema
wb = wc_utils.workbook.io.read(filename)
File "/usr/local/lib/python3.6/dist-packages/wc_utils/workbook/io.py", line 889, in read
reader = reader_cls(path)
File "/usr/local/lib/python3.6/dist-packages/wc_utils/workbook/io.py", line 705, in init
path))
ValueError: path 'schema.csv' must have one glob pattern '*' in its base name

Can you make sense of it?

Thank you!

All the best,
Wolf

@jonrkarr
Copy link
Member

jonrkarr commented Sep 30, 2019 via email

@liebermeister
Copy link
Author

Great, thank you!

@jonrkarr jonrkarr self-assigned this Oct 10, 2019
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