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

CreateProject crash on Mac #85

Open
xpqz opened this issue Nov 19, 2024 · 0 comments
Open

CreateProject crash on Mac #85

xpqz opened this issue Nov 19, 2024 · 0 comments

Comments

@xpqz
Copy link

xpqz commented Nov 19, 2024

Dyalog APL/S-64 Version 19.0.50015
Serial number: UNREGISTERED - not for commercial use
+-----------------------------------------------------------------+
| Dyalog is free for non-commercial use but is not free software. |
| A basic licence can be used for experiments and proof of        |
| concept until the point in time that it is of value.            |
| For further information visit                                   |
| https://www.dyalog.com/prices-and-licences.htm                  |
+-----------------------------------------------------------------+
Tue Nov 19 11:54:41 2024
      ]CIDER.version
0.42.2+671

      ]CIDER.CreateProject work/mytest

"/Users/stefan/work/mytest" does not exist yet - create? (Y/n) Y
* Command Execution Failed: LENGTH ERROR: Boolean singleton value required

The problem seems to be

Cider_UC:

      :If ~noEditFlag
          :If ¯1=P.ProjectConfig filename     ⍝ CRASH HERE
              1 ⎕NDELETE filename
              r←'Cancelled by user' ⋄ →0
          :EndIf
          config←⊃⎕NGET filename 1
          :If success←0<≢(∊config)~' '
              config←⎕JSON⍠('Dialect' 'JSON5')⊣¯1↓∊config,¨⎕UCS 10
          :Else
              ⎕NDELETE filename
              :Return
          :EndIf

ProjectConfig:

 :Else
     r←↑ns.cider_config  ⍝ CRASH HERE
 :EndIf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant