Opened 2 years ago

Closed 2 years ago

#18724 closed defect (fixed)

misleading error message in interfaces/gap/py

Reported by: dimpase Owned by:
Priority: major Milestone: sage-6.8
Component: packages: standard Keywords:
Cc: ncohen Merged in:
Authors: Dima Pasechnik Reviewers: Miguel Marco
Report Upstream: N/A Work issues:
Branch: b883ac7 (Commits) Commit: b883ac73eca2a317e6a3272e750f9d5773acf77f
Dependencies: Stopgaps:

Description

sage: gap.load_package("tomlib")
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-1-cc487c826f42> in <module>()
----> 1 gap.load_package("tomlib")

/home/dima/software/sage/local/lib/python2.7/site-packages/sage/interfaces/gap.pyc in load_package(self, pkg, verbose)
    504         if x == 'fail':
    505             raise RuntimeError("Error loading Gap package "+str(pkg)+". "+
--> 506                                "You may want to install the gap_packages SPKG.")
    507
    508     def eval(self, x, newlines=False, strip=True, split_lines=True, **kwds):

RuntimeError: Error loading Gap package tomlib. You may want to install the gap_packages SPKG.

is misleading, as this (and some other) GAP packages are in database_gap.

Change History (5)

comment:1 Changed 2 years ago by dimpase

  • Authors set to Dima Pasechnik
  • Branch set to public/18724
  • Cc ncohen added
  • Commit set to b883ac73eca2a317e6a3272e750f9d5773acf77f
  • Status changed from new to needs_review

comment:2 Changed 2 years ago by mmarco

  • Status changed from needs_review to positive_review

Ok with me.

comment:3 Changed 2 years ago by vbraun

  • Status changed from positive_review to needs_work

Reviewer name missing

comment:4 Changed 2 years ago by dimpase

  • Reviewers set to Miguel Marco
  • Status changed from needs_work to positive_review

comment:5 Changed 2 years ago by vbraun

  • Branch changed from public/18724 to b883ac73eca2a317e6a3272e750f9d5773acf77f
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.