Does that file exist? If so, removing it should fix your problems.

On Thursday, August 25, 2016 at 12:54:31 PM UTC+2, Andy Dobson wrote:
>
> It says:
>
> "M:\\.julia_history"
>
> (This is not where the program files are written/held - they are on the 
> C-drive, and all outputs are written to a separate networked drive).  
>
> On Wednesday, August 24, 2016 at 6:05:27 PM UTC+1, Kristoffer Carlsson 
> wrote:
>>
>> What does it say when you run 
>>
>> Base.REPL.find_hist_file()
>>
>>
>>
>> On Wednesday, August 24, 2016 at 6:31:58 PM UTC+2, Andy Dobson wrote:
>>>
>>> I've uninstalled everything again, and I *think* I've deleted all 
>>> julia-related files, but when I re-install Julia I still get the same error 
>>> message.  
>>>
>>>
>>> On Wednesday, August 24, 2016 at 1:12:25 PM UTC+1, Kristoffer Carlsson 
>>> wrote:
>>>>
>>>> It is likely "~/.juliarc" that is the file you are after.
>>>>
>>>> On Wednesday, August 24, 2016 at 11:47:16 AM UTC+2, Andy Dobson wrote:
>>>>>
>>>>> Hi Kristoffer,
>>>>>
>>>>> I don't know if this is the right file 
>>>>> (/julia-0.4.6/etc/julia/juliarc), but this is what it says:
>>>>>
>>>>> # This file should contain site-specific commands to be executed on 
>>>>> Julia startup
>>>>> # Users should store their own personal commands in homedir(), in a 
>>>>> file named .juliarc.jl
>>>>>
>>>>> # Set up environment for Julia Windows binary distribution
>>>>> ENV["PATH"] = 
>>>>> JULIA_HOME*";"*joinpath(JULIA_HOME,"..","Git","bin")*";"*ENV["PATH"]
>>>>>
>>>>>
>>>>> Should there be more here? 
>>>>>
>>>>>
>>>>> On Wednesday, August 24, 2016 at 10:36:10 AM UTC+1, Kristoffer 
>>>>> Carlsson wrote:
>>>>>>
>>>>>> Maybe you can look into the .juliarc file at the line where it is 
>>>>>> telling you the error is and see if anything looks strange.
>>>>>>
>>>>>> On Wednesday, August 24, 2016 at 11:11:54 AM UTC+2, Andy Dobson wrote:
>>>>>>>
>>>>>>> No, it didn't create another one. I think you're right and I didn't 
>>>>>>> delete what Julia was looking for. But it seems very strange that this 
>>>>>>> error message appeared without any sort of prompt - I'm not doing 
>>>>>>> anything 
>>>>>>> that I haven't been doing for the last 6 months.
>>>>>>>
>>>>>>>
>>>>>>> On Tuesday, August 23, 2016 at 1:51:54 PM UTC+1, Stefan Karpinski 
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> That's strange. Did it create a ~/.julia_history file after you 
>>>>>>>> deleted the old one? If so, what's in it?
>>>>>>>>
>>>>>>>> I wonder if the ~/.julia_history file you deleted was not the one 
>>>>>>>> that Julia's looking at.
>>>>>>>>
>>>>>>>> On Tue, Aug 23, 2016 at 8:10 AM, Andy Dobson <a_d_m_...@hotmail.com
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Hi All, 
>>>>>>>>>
>>>>>>>>> This morning when starting Julia 0.4.3 (which I've been using 
>>>>>>>>> daily since February) I received this error message : 
>>>>>>>>> -----------------------------------------------------------------
>>>>>>>>> ERROR: Invalid history file (~/.julia_history) format: 
>>>>>>>>> If you have a history file left over from an older version of 
>>>>>>>>> Julia, 
>>>>>>>>> try renaming or deleting it. 
>>>>>>>>> Invalid character: '#' at line 465034 
>>>>>>>>>  in error at error.jl:22 
>>>>>>>>> ----------------------------------------------------------------- 
>>>>>>>>>
>>>>>>>>> A thread on this site ("PSA: new ~/.julia_history 
>>>>>>>>> format") suggested deleting the julia_history file. I tried this, 
>>>>>>>>> and it did not work. Next I uninstalled Julia and re-installed the 
>>>>>>>>> latest 
>>>>>>>>> (0.4.6) version. The error message is the same.   
>>>>>>>>>
>>>>>>>>> Can anybody suggest a solution? I'm running on Windows 7 
>>>>>>>>> Enterprise. 
>>>>>>>>>
>>>>>>>>> Thanks 
>>>>>>>>>
>>>>>>>>> Andy
>>>>>>>>>
>>>>>>>>>
>>>>>>>>

Reply via email to