Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

julia-0.3.0-prerelease-a9da7b4-win32 : fails on WinXPSP3 #198

Closed
stanpetit opened this issue Jun 21, 2014 · 18 comments
Closed

julia-0.3.0-prerelease-a9da7b4-win32 : fails on WinXPSP3 #198

stanpetit opened this issue Jun 21, 2014 · 18 comments

Comments

@stanpetit
Copy link

Console closes :

  • after about 1/3 of the time it would take to load completely
  • without any error message
  • with a process in limbo
    Are you testing the builds yourself before to submit ?
@stevengj
Copy link
Member

We don't regularly test on Windows XP; I'm not too surprised that there are problems on such an ancient operating system.

Does the Julia command-line interface work?

Or is it just the notebook that is not loading? Does the IPython notebook run?

@stanpetit
Copy link
Author

Hi. My English may be bad, sorry.
The shell console closes, still empty, after "the while" I mentionned.
EDIT : I wont give you the duration it takes precisely : my "good" machine burnt some times ago, I am broke, so I'm back to my old AMD Sempron 789Mhz, 1Go ... time is relative, isn't it ?
But I am surprised that the core dlls that Julia calls can be that different as windows is still NTxxx versionning and just gets unsupported this year. What about the Vista behavior ?

@tkelman
Copy link
Contributor

tkelman commented Jun 22, 2014

@stanpetit are you actually trying to use IJulia here? IJulia is the Julia plugin for the IPython notebook interface.

@stevengj See the linked Julia issue, there seems to be some kind of unicode corruption in the parser from the new operators that were added last month. Command-line/REPL Julia was working on XP until that change.

@stanpetit
Copy link
Author

@tkelman NO, Julia from the Windows console. Did I talk about IJulia ?

@tkelman
Copy link
Contributor

tkelman commented Jun 22, 2014

You opened this issue in the IJulia repository

@stanpetit
Copy link
Author

@tkelman I am very sorry for the mistake, not used to the environment. I will take care.

@tkelman
Copy link
Contributor

tkelman commented Jun 22, 2014

It's quite alright, no harm done.

@stanpetit
Copy link
Author

In fact at I was also setting up the IJulia pkg, having Nettle and LibCURL build errors.
Trying to figure it out, I decided to delete ~.julia and do the job step by step.
When I came up to building LibCURL, it seemed very weird that :

  • in ~.julia\v0.3\LibCURL\deps\build.jl , WinRPM is the tool to fetch dependency "libcurl-4",
  • and if I try to build WinRPM alone :
    julia> Pkg.build("WinRPM") I get :
    INFO: Building LibCURL from the console...with LibCURL expecting WinRPM.

I am getting nuts with that circular stuff ... and need an explanation, please :)

@tkelman
Copy link
Contributor

tkelman commented Jun 22, 2014

WinRPM shouldn't need Pkg.build since it has no binary dependencies. WinRPM is used by some other packages, like LibCURL, to download their binary dependencies. I have seen the INFO: Building LibCURL message popping up more than it should be (and I think it's my fault as I was the one to turn that functionality on a few months ago), but I think it should be harmless. If you do Pkg.build("LibCURL") then it should use WinRPM to download the libcurl-4 dll. You might need to do WinRPM.update(), especially if the messages suggest to do so.

@stanpetit
Copy link
Author

Ok, thanks a lot ! ( I had noticed the dummy file ".gitignore" in ~.julia\v0.3\WinRPM\deps, that makes sense. But I am a bit curious...)
What about the console output : WARNING: received error 0 while downloading http://dowl... when updating WinRPM ?

@tkelman
Copy link
Contributor

tkelman commented Jun 22, 2014

I'm not so sure what that one is, but I've seen it too. It might just be an unreliable internet connection, try re-running the commands multiple times until they succeed (annoying, I know, sorry). And maybe open an issue in WinRPM.jl about it?

@stanpetit
Copy link
Author

OK thanks, see You :)

@stonebig
Copy link
Contributor

Hello,

I'm having the same issue as stanpetit today
when Itry Pkg.add("IJulia)" i get a
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/ac7663e4e7ed370b3f61b58b0f35a38dd9aace1ab732f0697dc
ff9c0271164a4-primary.xml.gz
WARNING: received error 0 while downloading http://download.opensuse.org/reposit
ories/windows:/mingw:/win32/openSUSE_Factory//repodata/ac7663e4e7ed370b3f61b58b0
f35a38dd9aace1ab732f0697dcff9c0271164a4-primary.xml.gz
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_Factory//repodata/9c5585a68a35b10bac3fdab5c9faed7995e15567fd73982f689
2dd6bc28a7272-primary.xml.gz
WARNING: received error 0 while downloading http://download.opensuse.org/reposit
ories/windows:/mingw:/win64/openSUSE_Factory//repodata/9c5585a68a35b10bac3fdab5c
9faed7995e15567fd73982f6892dd6bc28a7272-primary.xml.gz
===============================[ ERROR: LibCURL ]===============================

None of the selected providers can install dependency libcurl-4
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build01\settings.julia\v0
.3\LibCURL\deps\build.jl, in expression starting on line 13

(on Ijulia 0.3 pre of today)
Is it because I installed a julia 32 bit on a Windows 64 ?

@tkelman
Copy link
Contributor

tkelman commented Jul 12, 2014

@stonebig hm this looks interesting, give it a try: JuliaPackaging/WinRPM.jl#27 (comment)

32 bit Julia should work fine on 64 bit Windows.

@stonebig
Copy link
Contributor

it doesn't seems to resolve the issue (If I applied the suggestion right)
julia> Pkg.add("IJulia")
INFO: Installing IJulia v0.1.12
INFO: Installing JSON v0.3.7
INFO: Installing REPLCompletions v0.0.1
INFO: Installing ZMQ v0.1.12
INFO: Building LibCURL
INFO: Updating WinRPM package list
INFO: Downloading http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/
win32/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/
win32/openSUSE_Factory//repodata/ac7663e4e7ed370b3f61b58b0f35a38dd9aace1ab732f06
97dcff9c0271164a4-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
===============================[ ERROR: LibCURL ]===============================

opening file D:\result_tests\WinPython-32bit-3.4.1.1_build01\settings.julia\v0.
3\WinRPM\cache\http%3a%2f%2fftp5.gwdg.de%2fpub%2fopensuse%2frepositories%2fwindo
ws%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2fac7663e4e7ed370b3f61b5
8b0f35a38dd9aace1ab732f0697dcff9c0271164a4-primary.xml: No such file or director
y
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build01\settings.julia\v0
.3\LibCURL\deps\build.jl, in expression starting on line 13

INFO: Building Nettle
INFO: Updating WinRPM package list
INFO: Downloading http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/
win32/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/
win32/openSUSE_Factory//repodata/ac7663e4e7ed370b3f61b58b0f35a38dd9aace1ab732f06
97dcff9c0271164a4-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
===============================[ ERROR: Nettle ]================================

opening file D:\result_tests\WinPython-32bit-3.4.1.1_build01\settings.julia\v0.
3\WinRPM\cache\http%3a%2f%2fftp5.gwdg.de%2fpub%2fopensuse%2frepositories%2fwindo
ws%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2fac7663e4e7ed370b3f61b5
8b0f35a38dd9aace1ab732f0697dcff9c0271164a4-primary.xml: No such file or director
y
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build01\settings.julia\v0
.3\Nettle\deps\build.jl, in expression starting on line 35

INFO: Building ZMQ
INFO: Building IJulia
Found IPython version 2.1.0 ... ok.
Creating julia profile in IPython...
(Existing KernelManager.kernel_cmd setting in ipython_config.py is untouched.)
(Existing IPythonWidget.execute_on_complete_input setting in ipython_qtconsole_c
onfig.py is untouched.)
(Existing FrontendWidget.lexer_class setting in ipython_qtconsole_config.py is u
ntouched.)
(Existing NotebookApp.port setting in ipython_notebook_config.py is untouched.)
(Existing ipynblogo.png file untouched.)
(Existing ipynblogo.svg file untouched.)
(Existing favicon.ico file untouched.)
(Existing custom.js file untouched.)
(Existing julia.js file untouched.)

================================[ BUILD ERRORS ]================================

WARNING: Nettle and LibCURL had build errors.

  • packages with build errors remain installed in D:\result_tests\WinPython-32bi
    t-3.4.1.1_build01\settings.julia\v0.3
  • build a package and all its dependencies with Pkg.build(pkg)
  • build a single package by running its deps/build.jl script

INFO: Package database updated

julia>

@stonebig
Copy link
Contributor

Probably I'm trying that too early in Julia development. will try again when Julia 0.3 official will be released.
(maybe this issue should not be closed, yet)

@stevengj
Copy link
Member

It sounds like this issue should be filed with WinRPM (or Nettle?). IJulia itself is not the problem here.

@stonebig
Copy link
Contributor

With v"0.1.0" of WinRPM + the whole procedure described at JuliaPackaging/WinRPM.jl#27 (comment)

  • Ijulia is now basically ok under windows 7 64 bit / Ipython2.1.0 / Python 3.4 32bits (with winpython, so that it should work like an "usb" installation ),
  • the "integrated" example with "pyplot" works.

It's awesome !
The suse mirror "not all updated" is the small cloud over this bright piece of work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants