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

problem when installing the package programmatically #331

Open
ThomasBreuer opened this issue Jul 2, 2024 · 0 comments
Open

problem when installing the package programmatically #331

ThomasBreuer opened this issue Jul 2, 2024 · 0 comments

Comments

@ThomasBreuer
Copy link

It makes sense to install a new version of a GAP package of which an older version is already loaded in the current GAP session.
If one installs the package with PackageManager's InstallPackage via a URL then PackageManager notices that the package documentation needs to be processed, and tries to build the package documentation.

Now the following happens in the case of the recog package.
The file makedoc.g reads the file regen_doc.g, and this file contains a check whether a perhaps already loaded version of recog has the same installation path as the version that is currently going to get installed; if not then an error is thrown.

This means that it is not possible to load one version of recog (which happens when GAP starts) and then to install a newer version of recog with InstallPackage via a URL.

I think that packages should not throw an error in the above situation, and that we should perhaps document this.

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

1 participant