I opened an issue to include the path of the .julia_history file in this error: https://github.com/JuliaLang/julia/issues/18223. If anyone is looking for a pretty easy way to get started contributing to Julia (make a PR, get feedback, etc.) this is a nice easy intro issue :)
On Thu, Aug 25, 2016 at 8:58 AM, Tony Kelman <[email protected]> wrote: > Looks like this is resolved now, but just for completeness, what are > ENV["HOMEDRIVE"] and ENV["HOMEPATH"] on your system? > > > On Thursday, August 25, 2016 at 4:17:59 AM UTC-7, Andy Dobson wrote: >> >> Ah - no - I've got it! Now it works! Thank you all very much, >> especially Kristoffer! >> >> >> >> On Thursday, August 25, 2016 at 12:13:09 PM UTC+1, Andy Dobson wrote: >>> >>> It doesn't seem to. I've tried searching for %.julia_history% to get at >>> hidden files - is there some other trick to find it? >>> >>> >>> >>> On Thursday, August 25, 2016 at 11:56:22 AM UTC+1, Kristoffer Carlsson >>> wrote: >>>> >>>> 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 < >>>>>>>>>>>> [email protected]> 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 >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>
