Opened 5 years ago

Closed 15 months ago

#23853 closed defect (worksforme)

libgap can not use gap packages

Reported by: vdelecroix Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: interfaces Keywords: thursdaysbdx
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by vdelecroix)

With gap pexpect interface

sage: gap.LoadPackage('"cryst"')
sage: gap.SpaceGroupIT(2,14)

With libgap

sage: libgap.LoadPackage("cryst")
sage: libgap.SpaceGroupIT(2,14)
Traceback (most recent call last):
AttributeError: No such attribute: SpaceGroupIT.

As noticed in #23854, there is the following work around

sage: libgap.eval('SpaceGroupIT')(2,14)

Change History (3)

comment:1 Changed 5 years ago by vdelecroix

  • Description modified (diff)

comment:2 Changed 15 months ago by embray

  • Milestone changed from sage-8.1 to sage-pending

comment:3 Changed 15 months ago by embray

  • Milestone changed from sage-pending to sage-duplicate/invalid/wontfix
  • Resolution set to worksforme
  • Status changed from new to closed

This is fixed since some time ago. You could use any package to demonstrate, but I installed the cryst package to demonstrate the same example:

sage: libgap.load_package('cryst')                                                                                                                                                               
sage: libgap.SpaceGroupIT(2,14)                                                                                                                                                                  

This was likely fixed by #27911.

Note: See TracTickets for help on using tickets.