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

Oct2020-branch cannot attach and load FITS files #6974

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

Oct2020-branch cannot attach and load FITS files #6974

monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels
bug Something isn't working major SQL

Comments

@monetdb-team
Copy link

Date: 2020-09-23 14:11:03 +0200
From: @bartscheers
To: SQL devs <>
Version: -- development
CC: @njnes

Last updated: 2020-10-19 11:06:20 +0200

Comment 28108

Date: 2020-09-23 14:11:03 +0200
From: @bartscheers

User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0
Build Identifier:

After cmake build/install of Oct2020 branch (hg id: 95dd5f49b9cd), starting daemon and creating db instance, I cannot load the simplest of FITS files anymore, while it used to work in Jun202-SP1.

Reproducible: Always

Steps to Reproduce:

  1. cmake build/install Oct2020 branch
  2. create database instance
  3. In mclient: call sys.fitsattach('/abs/path/to/table1.fits')

Actual Results:

write error on stream

monetdb status, shows crashed database

Expected Results:

Attaching the file, after which the sys.fitsload() function can be called.

I'll append an empty and non-empty (2 records) basic FITS file

Comment 28109

Date: 2020-09-23 14:14:35 +0200
From: @bartscheers

Created attachment 695
Empty binary FITS file (only header, empty source list)

This file was generated by a 3-line Python script, which can be shared if you want.

Attached file: empty_table1.fits (application/octet-stream, 5760 bytes)
Description: Empty binary FITS file (only header, empty source list)

Comment 28110

Date: 2020-09-23 14:15:21 +0200
From: @bartscheers

Created attachment 696
Non-empty binary FITS file (header, two records of three columns)

Attached file: table1.fits (application/octet-stream, 8640 bytes)
Description: Non-empty binary FITS file (header, two records of three columns)

Comment 28122

Date: 2020-09-25 11:51:23 +0200
From: @njnes

fixed by this changeset https://dev.monetdb.org/hg/MonetDB/rev/9d8c649c1c22
ie keep local function hidden in the stream library

@monetdb-team monetdb-team added bug Something isn't working major SQL labels Nov 30, 2020
@sjoerdmullender sjoerdmullender added this to the Ancient Release milestone Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major SQL
Projects
None yet
Development

No branches or pull requests

2 participants