Terminal not fully functional

Hello all,
I am new to Julia and just after the installation I’ve run into some issues. When I am opening the terminal I am greeted by a warning message - “Warning: Terminal not fully functional - @Base client.jl.436”
Following this every input provided is treated as a parse error where the operator not identified.

I’ll attach a screenshot herein. Any help regarding this matter will be much appreciated.

1 Like

If you are on Windows, please install Windows Terminal - Free download and install on Windows | Microsoft Store

The default Windows terminal does not support all the text formatting features that Julia uses. Alternatively you can also use the terminal that is provided by VSCode.

3 Likes

But also note that the things you are trying here are simply parse errors because they are not valid Julia syntax, here’s what I get in my (fully functional) terminal:

julia> j?
ERROR: ParseError:
# Error @ REPL[55]:1:2
j?
#└ ── space required before `?` operator
Stacktrace:
 [1] top-level scope
   @ none:1

julia>  ]
ERROR: ParseError:
# Error @ REPL[56]:1:2
 ]
#╙ ── unexpected `]`
Stacktrace:
 [1] top-level scope
   @ none:1
4 Likes

While you’re at it, you might as well install an even more modern terminal, like WezTerm.

2 Likes

Hello @ufechner7, I have heeded your advice however in Windows Terminal gives me a different error text which I’ll add below.

However, I can use Julia in VSCode. And there it works just fine.

Did you install Julia using juliaup ? Normally that should set up the search path for Julia for you.

1 Like

I don’t think I did. As I said I did not have much knowledge in these stuff. So thanks and here’s what I’ll do -

  • Uninstall all the existing julia version
  • And then install Julia unsing juliaup
    Will try to keep this post updated.
2 Likes

Hi @goerz, I’ll check it out. Thanks for sharing the information

Note that you can obtain Julia and juliaup from the Windows store at this link. It doesn’t explicitly say that you’re installing juliaup, but indeed this is the case.

1 Like

Hello guys, little update on the issue. I tried running the script -

winget install julia -s msstore
juliaup add 1.10
juliaup update

in Command Prompt after uninstalling everything but to no avail. And since the terminal is still no fully functional I am unable to run -

julia> ]
pkg> add MAGEMin_C 

I’ll attach a few more shots incase its needed.

Two questions:

  1. did you install and use Windows Terminal - Free download and install on Windows | Microsoft Store ?
  2. what is not working?

It looks as if you can launch Julia from the command line.

If the installation of a package fails, please copy and paste both the commands you typed and the error message and enclose this in triple backticks, like ```

That is much easier to read and to reproduce than a screenshot.

1 Like

To answer your question - (1) Yes I have downloaded Windows Terminal and tried to operate on both Command Prompt and Windows PowerShell.
(2) I cannot load packages in it. Generally once in Julia, pressing the ‘]’ should put the user in package mode where I can then load/unload any package needed for my work. However I am unable to go into that package mode.

C:\Users\21910478>julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.1 (2024-10-16)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

┌ Warning: Terminal not fully functional
└ @ Base client.jl:436
julia> ]
ERROR: ParseError:
# Error @ none:1:1
]
╙ ── unexpected `]`
Stacktrace:
 [1] top-level scope
   @ none:1

That is very strange. Which version of Windows are you using? Which language?

And can you try:

using Pkg
pkg"add DataFrames"

or instead of DataFrames the package you want to install?

Just to be sure - the last screenshot you sent is still the old terminal, not the new Windows terminal. Are you saying if you start windows terminal and then type julia, the resulting Julia session still tells you the terminal isn’t fully functional?

1 Like

I’m not convinced using the Windows Terminal would solve the issue. When I run Julia in the Windows Console Host, I don’t run into any warnings (and ] works fine).

To launch the new Windows terminal, type “ter” and then click on “Terminal”.

And this is how it looks:

In contrast to the old command prompt it has “tabs” at the top.

2 Likes

By the way have you looked at this thread and @mkitti’s potential fix?

2 Likes

Yes using the script it works fine. So thanks for that.

using Pkg
pkg"add DataFrames"

However I would still prefer to solve the issue so that it can run normally so please do let me know if you have any other insights or ideas.

Yes the last screenshot was from the old terminal however irrespective of the terminal I am using I still land up with the terminal not being fully functional.

Yes I did go through this post before writing up here but nothing in there worked for me.

PS C:\Users\21910478> set TERM=
PS C:\Users\21910478> julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.10.5 (2024-08-27)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

┌ Warning: Terminal not fully functional
└ @ Base client.jl:422
julia> get(ENV, "TERM", "")
"dumb"

julia> ]