Dyalog / link

Source code for Link – the built-in component that enables the use of text files as the primary storage mechanism for APL source code
https://dyalog.github.io/link
MIT License
19 stars 10 forks source link

Failing import does not provide enough information, and should not fail anyway #483

Closed aplteam closed 7 months ago

aplteam commented 2 years ago

I've created a vector of text vectors in the session in a namespace that was brought into the WS with ]Link.Create. I then used ]Link.Add in order to write the variable permanently to disk. That appeared to work.

When I executed ]Link.Refresh for unrelated reasons I got this:

]liNK.Refresh #.aplteam
Imported: #.aplteam ← C:\...\APLSource     
ERRORS ENCOUNTERED:                                                   
1 import(s) failed:                                                   
C:/.../History.apla

Not exactly helpful.

However, since the file was saved with Link it should not pose a problem anyway.

I've attached the incriminating file but had the change the extension from apla to txt because otherwise GitHub would not let me upload the file.

I checked this

      {⍵≡⎕SE.Dyalog.Array.Deserialise ⎕SE.Dyalog.Array.Serialise ⍵}History
1

It appears that Dyalog.Array is not the culprit

I am on Link 3.1.1

This is my <02005>. History.txt

aplteam commented 7 months ago

Not reproducible anymore