Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-26 Thread Stefan Karpinski
On Thu, Aug 25, 2016 at 10:20 AM, Kristoffer Carlsson wrote: > I already made a PR for it. Sorry for stealing it. No worries. There's always more work to do :)

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-25 Thread Andy Dobson
Ah, OK. Seems odd. On Thursday, August 25, 2016 at 3:37:37 PM UTC+1, Kristoffer Carlsson wrote: > > On my work laptop and the school computers Julia always likes to put its > stuff in Z: which is the network drive. It means that students that try to > use Julia get really bad package

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-25 Thread Andy Dobson
It's "M:" and "\\" I don't know why that would be the case - this is an old network drive that I never use. (I also didn't know how to look that up!) On Thursday, August 25, 2016 at 1:58:34 PM UTC+1, Tony Kelman wrote: > > Looks like this is resolved now, but just for completeness, what are

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-25 Thread Kristoffer Carlsson
On my work laptop and the school computers Julia always likes to put its stuff in Z: which is the network drive. It means that students that try to use Julia get really bad package experience because it is super slow to run Pkg stuff on the network drive.

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-25 Thread Kristoffer Carlsson
I already made a PR for it. Sorry for stealing it.

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-25 Thread Stefan Karpinski
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

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-25 Thread Tony Kelman
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

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-25 Thread Andy Dobson
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? > > >

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-25 Thread Andy Dobson
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,

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-25 Thread Kristoffer Carlsson
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

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-25 Thread Andy Dobson
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 > >

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-24 Thread Kristoffer Carlsson
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. > >

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-24 Thread Andy Dobson
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.

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-24 Thread Kristoffer Carlsson
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

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-24 Thread Andy Dobson
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

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-24 Thread Kristoffer Carlsson
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

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-24 Thread Andy Dobson
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

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-23 Thread Stefan Karpinski
The notion of what HOME is on Windows is a bit confusing and ambiguous. On Tue, Aug 23, 2016 at 8:51 AM, 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

Re: [julia-users] Invalid history file (~/.julia_history) format

2016-08-23 Thread Stefan Karpinski
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 wrote: > Hi All, > > This

[julia-users] Invalid history file (~/.julia_history) format

2016-08-23 Thread Andy Dobson
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