I accidentally added the wrong path for the AFP components and the only thing that the isabelle
command does now is printing the error "Bad component catalog file: ...". Is there any way to remove that faulty catalog file?
Okay found the components config file in ~/.isabelle/Isabelle2021/etc/
and removed the faulty path.
It would be a good idea if the isabelle
command would not just break because of this.
waynee95 has marked this topic as resolved.
waynee95 has marked this topic as unresolved.
I don't seem to understand how to add the AFP to Isabelle. Following https://www.isa-afp.org/help/, you need to run isabelle components -u /path-to-afp/thys
but when I do that I still get the "Bad component catalog file" error.
~
λ isabelle version
Isabelle2021-1
~
λ ls ~/Downloads/afp-2022-06-24
etc thys tools
~
λ isabelle components -u /home/waynee95/Downloads/afp-2022-06-24/thys
Added component "/home/waynee95/Downloads/afp-2022-06-24/thys"
~
λ isabelle
Bad component catalog file: "/home/waynee95/Downloads/afp-2022-06-24/admin/components/afp"
Can you check that you have not already added a faulty path in ~/.isabelle/Isabelle2021-1/etc/components
?
The opposite of -u
is -x
, but you can also directly edit the file
I don't have a components/afp
file in my AFP files.
It seems that there is a problem with the latest release (will fix!). For now, you can remove the file afp-2022-06-24/etc/build.props
and the line init_components "$ISABELLE_HOME_USER/contrib" "$AFP_BASE/admin/components/afp"
from the file afp-2022-06-24/admin/settings
.
If you re-download, everything should work out of the box.
@Fabian Huch Re-downloading it worked!
waynee95 has marked this topic as resolved.
Last updated: Dec 21 2024 at 16:20 UTC