[julia-users] Re: IJulia- Failed to precompile IJulia to C:\Users\....\.julia\lib\v0.4\IJulia.ji in error at error.jl:21

2016-05-10 Thread ÜÖ
Dear Steven,
I did - a "git reset --hard"  and IJulia worked. Appreciate your kind help. 
You are right, when IJulia crashed first for some reason, I had done the 
following and most probably I did something wrong. 

> ``

" If IJulia is crashing (e.g. it gives you a "kernel appears to have died" 
message), you can modify it to print more descriptive error messages to the 
terminal: edit your IJulia/src/IJulia.jl 
 file (in 
your .julia package directory) to change the lineverbose = false at the top 
to verbose = true and const capture_stderr = true to const capture_stderr = 
false. Then restart the kernel or open a new notebook and look for the 
error message when IJulia dies
`

> ``

On Tuesday, May 10, 2016 at 2:54:03 PM UTC+3, Steven G. Johnson wrote:
>
>
>
> On Tuesday, May 10, 2016 at 3:21:25 AM UTC-4, ÜÖ wrote:
>>
>> Dear Steven, Thank you very much for your help . The respective part of 
>> output of Pkg.status()
>>
>> - IJulia1.1.9  a675ac5c 
>> (dirty)
>>
>
> "dirty" means you have edited a file there, and you must have introduced 
> an error.   Do a "git reset --hard" in the IJulia directory to return it to 
> a pristine state. 
>


[julia-users] Re: IJulia- Failed to precompile IJulia to C:\Users\....\.julia\lib\v0.4\IJulia.ji in error at error.jl:21

2016-05-10 Thread Steven G. Johnson


On Tuesday, May 10, 2016 at 3:21:25 AM UTC-4, ÜÖ wrote:
>
> Dear Steven, Thank you very much for your help . The respective part of 
> output of Pkg.status()
>
> - IJulia1.1.9  a675ac5c (dirty)
>

"dirty" means you have edited a file there, and you must have introduced an 
error.   Do a "git reset --hard" in the IJulia directory to return it to a 
pristine state. 


[julia-users] Re: IJulia- Failed to precompile IJulia to C:\Users\....\.julia\lib\v0.4\IJulia.ji in error at error.jl:21

2016-05-10 Thread ÜÖ


Dear Steven, Thank you very much for your help . The respective part of 
output of Pkg.status()

> `` 

GLVisualize   0.0.8

- Gadfly 0.4.2

- GaussianProcesses  0.1.4

- GraphViz 0.0.4

- HPAT   0.0.4

- IJulia1.1.9  a675ac5c (dirty)

- ImageMagick0.1.5

- ImageView   0.1.19

- Images0.5.4

>  

And

 

*Output of Pkg.build(“IJulia”): *

>  

julia> Pkg.build("IJulia")

INFO: Building WinRPM

INFO: Downloading 
https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.2/repodata/repomd.xml

INFO: Downloading 
https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.2/repodata/repomd.xml

INFO: Building Nettle

INFO: Updating WinRPM package list

INFO: Downloading 
https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.2/repodata/repomd.xml

INFO: Downloading 
https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.2/repodata/repomd.xml

INFO: Building ZMQ

INFO: Building IJulia

INFO: Installing Jupyter via the Conda package.

Get-Process : Cannot find a process with the name "Outlook". Verify the 
process name and call the cmdlet again.

At line:1 char:1

+ Get-Process Outlook

+ ~~~

+ CategoryInfo  : ObjectNotFound: (Outlook:String) 
[Get-Process], ProcessCommandException

+ FullyQualifiedErrorId : 
NoProcessFoundForGivenName,Microsoft.PowerShell.Commands.GetProcessCommand

 

Fetching package metadata: 

Solving package specifications: .

 

# All requested packages already installed.

# packages in environment at C:\Users\`….\.julia\v0.4\Conda\deps\usr:

#

jupyter   1.0.0py27_2

INFO: Found Jupyter version 4.0.6: 
C:\Users\.\.julia\v0.4\Conda\deps\usr\Scripts\jupyter

Writing IJulia kernelspec to 
C:\Users\..\.julia\v0.4\IJulia\deps\julia-0.4\kernel.json ...

Installing julia kernelspec julia-0.4

jupyter: 'kernelspec' is not a Jupyter command

[InstallKernelSpec] Removing existing kernelspec in 
C:\Users\.\AppData\Roaming\jupyter\kernels\julia-0.4

[InstallKernelSpec] Installed kernelspec julia-0.4 in 
C:\Users\--\AppData\Roaming\jupyter\kernels\julia-0.4

 

julia> Pkg.add("IJulia")

INFO: Nothing to be done

 

julia> Pkg.update("IJulia")

ERROR: MethodError: `update` has no method matching update(::ASCIIString)

 

julia> Pkg.checkout("IJulia")

INFO: Checking out IJulia master...

ERROR: IJulia is dirty, bailing

 in error at error.jl:21

 

julia> using IJulia

INFO: Precompiling module IJulia...

ERROR: LoadError: syntax: extra token "set_verbose" after end of expression

 in include at boot.jl:261

 in include_from_node1 at loading.jl:304

 [inlined code] from none:2

 in anonymous at no file:0

 in process_options at client.jl:257

 in _start at client.jl:378

while loading C:\Users\\.julia\v0.4\IJulia\src\IJulia.jl, in expression 
starting on line 7

ERROR: Failed to precompile IJulia to 
C:\Users\\.julia\lib\v0.4\IJulia.ji

 in error at error.jl:21

>  

julia>

On Tuesday, May 10, 2016 at 3:27:56 AM UTC+3, Steven G. Johnson wrote:
>
> Were you editing the src/IJulia.jl file for debugging purposes or 
> something?  What does `Pkg.status()` say?
>


[julia-users] Re: IJulia- Failed to precompile IJulia to C:\Users\....\.julia\lib\v0.4\IJulia.ji in error at error.jl:21

2016-05-09 Thread Steven G. Johnson
Were you editing the src/IJulia.jl file for debugging purposes or 
something?  What does `Pkg.status()` say?