Opened 4 years ago

Closed 4 years ago

#15833 closed defect (duplicate)

libgap cannot write to temporary files.

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

Description

If inside the gap console we type:

gap> PrintTo("somefilename","foo");

we get the expected result: the file somenamefile is created if it does not exists, and the text "foo" is written to it.

But if we try to do it through libgap:

sage: libgap.PrintTo('somefile',"foo")

the file is created, but nothing is written to it.

This prevents some gap packages (the ones that communicate with external binaries through temporary files) to work under libgap.

Change History (6)

comment:1 Changed 4 years ago by vbraun

  • Milestone changed from sage-6.2 to sage-duplicate/invalid/wontfix

This is fixed in the libgap-4.7.4 upgrade #15873. I propose to close this ticket as duplicate.

comment:2 Changed 4 years ago by mmarco

  • Owner changed from (none) to mmarco

comment:3 Changed 4 years ago by mmarco

  • Status changed from new to needs_review

comment:4 Changed 4 years ago by mmarco

  • Status changed from needs_review to positive_review

comment:5 Changed 4 years ago by mmarco

Sure, close it.

comment:6 Changed 4 years ago by vbraun

  • Resolution set to duplicate
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.