After cf login, I tried cf init on a forked caravel_user_project directory and this is what I got.
(cf-venv) bailey@desktop-01:~/designs/github/caravel_user_project$ cf init
cf init — initializing new project
Project name
detected: caravel_user_project
enter=accept, clear=remove, or type new value:
Project type (digital/analog/openframe)
detected: digital
enter=accept, clear=remove, or type new value:
Description
enter=skip, or type value:
GitHub repo URL
detected: https://github.com/d-m-bailey/caravel_user_project
enter=accept, clear=remove, or type new value:
Traceback (most recent call last):
File "/home/bailey/cf-venv/bin/cf", line 8, in <module>
sys.exit(main())
File "/home/bailey/cf-venv/lib/python3.10/site-packages/click/core.py", line 1485, in __call__
return self.main(*args, **kwargs)
File "/home/bailey/cf-venv/lib/python3.10/site-packages/click/core.py", line 1406, in main
rv = self.invoke(ctx)
File "/home/bailey/cf-venv/lib/python3.10/site-packages/click/core.py", line 1873, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/bailey/cf-venv/lib/python3.10/site-packages/click/core.py", line 1269, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/bailey/cf-venv/lib/python3.10/site-packages/click/core.py", line 824, in invoke
return callback(*args, **kwargs)
File "/home/bailey/cf-venv/lib/python3.10/site-packages/chipfoundry_cli/main.py", line 547, in init
shuttles.sort(key=lambda s: s.get('tapeout_date', '9999-12-31'))
TypeError: '<' not supported between instances of 'NoneType' and 'str'
Seems that I need to run cf link first.
However, cf link says that I should run cf init first. Ignoring this and continuing resolved the problem.
(cf-venv) bailey@desktop-01:~/designs/github/caravel_user_project$ cf link
No .cf/project.json found. Run cf init first, or this command will create one.
Create a minimal project.json? (y/N): y
Your platform projects:
1. caravel_user_project — CI2605
2. caravel_user_project — CI2605
Select project number: 1
I appears that with the initial cf init that ended in an error, the shuttle date was unknown.
After
cf login, I triedcf initon a forkedcaravel_user_projectdirectory and this is what I got.Seems that I need to run
cf linkfirst.However,
cf linksays that I should runcf initfirst. Ignoring this and continuing resolved the problem.I appears that with the initial
cf initthat ended in an error, the shuttle date was unknown.