Bloc: Problems Running

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Bloc: Problems Running

Sean P. DeNigris
Administrator
From Launcher, I tried to expand the v0.11 tree from the Contribution Jenkins, but got: "downloadFailureForUrl: https://ci.inria.fr/pharo-contribution/job/Bloc/PHARO=60,VERSION=v0.11,VM=vm,label=pharo-contribution-ubuntu16-04/lastSuccessfulBuild//api/json?tree=artifacts%5BrelativePath%5D". Then I downloaded the "master" artifact and on image launch, got "Error: External module not found" for SqueakFFIPrims even though it's listed as a builtin module in the System Reporter. I got the same error when I evaled "BlSpace new show". The vm is a recent download from get.pharo.org/vm50
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Bloc: Problems Running

Aliaksei Syrel

Hi

Bloc requires an additional library that is not shipped with VM by default (that is why you get module not found error). Please refer to https://github.com/pharo-graphics/Bloc/blob/master/INSTALL.md in order to install bloc.

Cheers
Alex


On Nov 28, 2016 03:49, "Sean P. DeNigris" <[hidden email]> wrote:
From Launcher, I tried to expand the v0.11 tree from the Contribution
Jenkins, but got: "downloadFailureForUrl:
https://ci.inria.fr/pharo-contribution/job/Bloc/PHARO=60,VERSION=v0.11,VM=vm,label=pharo-contribution-ubuntu16-04/lastSuccessfulBuild//api/json?tree=artifacts%5BrelativePath%5D".
Then I downloaded the "master" artifact and on image launch, got "Error:
External module not found" for SqueakFFIPrims even though it's listed as a
builtin module in the System Reporter. I got the same error when I evaled
"BlSpace new show". The vm is a recent download from get.pharo.org/vm50



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Bloc-Problems-Running-tp4924930.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Bloc: Problems Running

Sean P. DeNigris
Administrator
Aliaksei Syrel wrote
Please refer to https://github.com/pharo-graphics/Bloc/blob/master/INSTALL.md in order to install bloc.
$ wget -O- https://goo.gl/HQAPI5 | bash
-> Oops, no wget on Mac
$ curl https://goo.gl/HQAPI5 | bash
-> line 1: syntax error near unexpected token `newline'... `<HTML>'
$ curl https://raw.githubusercontent.com/pharo-graphics/Bloc/master/scripts/get-dev | bash
-> Still no wget :/
$ curl http://get.pharo.org/60+vm | bash
$ ./pharo Pharo.image eval --save "Metacello new baseline:'Bloc';repository:'github://pharo-graphics/Bloc/src';load:#git:development."
"Error: External module not found" from LGitLibrary>>libgit2_init

ugh...
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Bloc: Problems Running

Aliaksei Syrel
Hi Sean

I would really like to help you.
Could you explain why you want to install #git:development?

If you don't know what it means install User version of Bloc, as described in INSTALL.md

Metacello new
   baseline:'Bloc';
   repository: 'github://pharo-graphics/Bloc/src';
   load:#core

Do you find installation guide hard to read or understand?
We are trying our best to provide a smooth user experience. Your feedback can help make Bloc better.

Thanks,
Alex

On 29 November 2016 at 06:02, Sean P. DeNigris <[hidden email]> wrote:
Aliaksei Syrel wrote
> Please refer to
> https://github.com/pharo-graphics/Bloc/blob/master/INSTALL.md in order to
> install bloc.

$ wget -O- https://goo.gl/HQAPI5 | bash
-> Oops, no wget on Mac
$ curl https://goo.gl/HQAPI5 | bash
-> line 1: syntax error near unexpected token `newline'... `<HTML>'
$ curl
https://raw.githubusercontent.com/pharo-graphics/Bloc/master/scripts/get-dev
| bash
-> Still no wget :/
$ curl http://get.pharo.org/60+vm | bash
$ ./pharo Pharo.image eval --save "Metacello new
baseline:'Bloc';repository:'github://pharo-graphics/Bloc/src';load:#git:development."
"Error: External module not found" from LGitLibrary>>libgit2_init

ugh...



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Bloc-Problems-Running-tp4924930p4925076.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

Re: Bloc: Problems Running

Tudor Girba-2
Hi,

I think that Sean tried to install using the zero conf scripts:
        (All-in-one "developer" versions) wget -O- https://goo.gl/HQAPI5 | bash

@Sean, indeed, the scripts rely on wget. If you want to install wget on Mac you can do so using homebrew:
        brew install wget

If you do not want to install wget, please try to load the Bloc code using the scripts directly in a Pharo image:
        https://github.com/pharo-graphics/Bloc/blob/master/INSTALL.md#all-in-one-user-versions

Does this help?

Cheers,
Doru



> On Nov 29, 2016, at 12:46 PM, Aliaksei Syrel <[hidden email]> wrote:
>
> Hi Sean
>
> I would really like to help you.
> Could you explain why you want to install #git:development?
>
> If you don't know what it means install User version of Bloc, as described in INSTALL.md
>
> Metacello new
>    baseline:'Bloc';
>    repository: 'github://pharo-graphics/Bloc/src';
>    load:#core
>
> Do you find installation guide hard to read or understand?
> We are trying our best to provide a smooth user experience. Your feedback can help make Bloc better.
>
> Thanks,
> Alex
>
> On 29 November 2016 at 06:02, Sean P. DeNigris <[hidden email]> wrote:
> Aliaksei Syrel wrote
> > Please refer to
> > https://github.com/pharo-graphics/Bloc/blob/master/INSTALL.md in order to
> > install bloc.
>
> $ wget -O- https://goo.gl/HQAPI5 | bash
> -> Oops, no wget on Mac
> $ curl https://goo.gl/HQAPI5 | bash
> -> line 1: syntax error near unexpected token `newline'... `<HTML>'
> $ curl
> https://raw.githubusercontent.com/pharo-graphics/Bloc/master/scripts/get-dev
> | bash
> -> Still no wget :/
> $ curl http://get.pharo.org/60+vm | bash
> $ ./pharo Pharo.image eval --save "Metacello new
> baseline:'Bloc';repository:'github://pharo-graphics/Bloc/src';load:#git:development."
> "Error: External module not found" from LGitLibrary>>libgit2_init
>
> ugh...
>
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context: http://forum.world.st/Bloc-Problems-Running-tp4924930p4925076.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>
>

--
www.tudorgirba.com
www.feenk.com

“The smaller and more pervasive the hardware becomes, the more physical the software gets."


Reply | Threaded
Open this post in threaded view
|

Re: Bloc: Problems Running

Denis Kudriashov
In reply to this post by Aliaksei Syrel

2016-11-29 12:46 GMT+01:00 Aliaksei Syrel <[hidden email]>:
I would really like to help you.
Could you explain why you want to install #git:development?

If you don't know what it means install User version of Bloc,

It was same problem for me because as developer I choose development version :)
As I understand dev version uses Iceberg and user version is not. And my problem was related to feature/issue of Iceberg to require github keys.
Reply | Threaded
Open this post in threaded view
|

Re: Bloc: Problems Running

Tudor Girba-2
Hi,

> On Nov 29, 2016, at 1:08 PM, Denis Kudriashov <[hidden email]> wrote:
>
>
> 2016-11-29 12:46 GMT+01:00 Aliaksei Syrel <[hidden email]>:
> I would really like to help you.
> Could you explain why you want to install #git:development?
>
> If you don't know what it means install User version of Bloc,
>
> It was same problem for me because as developer I choose development version :)
> As I understand dev version uses Iceberg and user version is not. And my problem was related to feature/issue of Iceberg to require github keys.

Indeed, the dev versions first installs Iceberg and then loads the code. This essentially ensures that we get an updated Iceberg repository in the image which is ready to be played with.

Cheers,
Doru

--
www.tudorgirba.com
www.feenk.com

"Innovation comes in the least expected form.
That is, if it is expected, it already happened."


Reply | Threaded
Open this post in threaded view
|

Re: Bloc: Problems Running

Sean P. DeNigris
Administrator
In reply to this post by Tudor Girba-2
Tudor Girba-2 wrote
If you do not want to install wget, please try to load the Bloc code using the scripts directly in a Pharo image:
        https://github.com/pharo-graphics/Bloc/blob/master/INSTALL.md#all-in-one-user-versions
I thought that's what I was doing ha ha with:
    Metacello new baseline:'Bloc';repository:'github://pharo-graphics/Bloc/src';load:#git:development.

Tudor Girba-2 wrote
> If you don't know what it means install User version of Bloc, as described in INSTALL.md
I will.

Tudor Girba-2 wrote
> Do you find installation guide hard to read or understand?
Maybe it would be helpful to give a quick description of the motivation for the diffferent options e.g. user vs dev. Denis and I both thought "we're developers, we should install that" and apparently went down the wrong path.

What would it take to add the various setups to the CI matrix? This complexity will be a high barrier to feedback...

Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Bloc: Problems Running

Nicolas Passerini
In reply to this post by Denis Kudriashov

2016-11-29 13:08 GMT+01:00 Denis Kudriashov <[hidden email]>:
And my problem was related to feature/issue of Iceberg to require github keys.

This is interesting for my, which operation did demand for your github keys?
I mean, were keys need for that operation or did Iceberg ask you for keys before they are needed?
Reply | Threaded
Open this post in threaded view
|

Re: Bloc: Problems Running

Sean P. DeNigris
Administrator
In reply to this post by Sean P. DeNigris
Sean P. DeNigris wrote
What would it take to add the various setups to the CI matrix? This complexity will be a high barrier to feedback...
In fact, if the current artifacts are unusable, it would probably be better to disable them, like Esteban did for the 5.0 VM job...
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Bloc: Problems Running

Glenn Cavarlé
Hi,
Interessting, i did not know that Bloc was available in Pharo-Launcher...
The CI job from ci.inria.fr is not fully working in the sense that it does not install Moz2D plugin, only sources are loaded in order to run tests.
This means that, even if you download image+vm from jenkins, it will not work.
We need new dependencies on the jenkins slave but it was so complicated to just make the new slave working (3 weeks), that i postpone the installation of new other dependencies for the moment (planned for 2017).

"User" and "Dev" versions are maybe confusing names.
We can change them with for instance "Default" and "Contribution"...
Do you have a proposal to make them clearer ?

> The vm is a recent download from get.pharo.org/vm50
Compatibility with 50 image+vm is not ensured, Bloc is currently developed using http://get.pharo.org/vm60.

If you face some issues again, please take a look at:
  https://github.com/pharo-graphics/Bloc/blob/master/INSTALL.md
  https://github.com/pharo-graphics/Bloc/blob/master/CONTRIBUTING.md
and report us anything confusing.

Thanks @Denis and @Sean for your interest in Bloc,
Regards,
Glenn.
Glenn Cavarlé
Reply | Threaded
Open this post in threaded view
|

Re: Bloc: Problems Running

Denis Kudriashov
In reply to this post by Nicolas Passerini
Hi Nicolas.

2016-11-29 22:55 GMT+01:00 Nicolas Passerini <[hidden email]>:
2016-11-29 13:08 GMT+01:00 Denis Kudriashov <[hidden email]>:
And my problem was related to feature/issue of Iceberg to require github keys.

This is interesting for my, which operation did demand for your github keys?
I mean, were keys need for that operation or did Iceberg ask you for keys before they are needed?

I got error when I install dev Brick:

Git error: Cloning into ''Brick''...
Permission denied (publickey).
fatal: Could not read from remote repository.

And I found comment that it could be not required in future.
Reply | Threaded
Open this post in threaded view
|

Re: Bloc: Problems Running

Nicolas Passerini
Thank you Denis, do you happen to know which version or branch of Iceberg is loaded?

2016-11-30 12:56 GMT+01:00 Denis Kudriashov <[hidden email]>:
Hi Nicolas.

2016-11-29 22:55 GMT+01:00 Nicolas Passerini <[hidden email]>:
2016-11-29 13:08 GMT+01:00 Denis Kudriashov <[hidden email]>:
And my problem was related to feature/issue of Iceberg to require github keys.

This is interesting for my, which operation did demand for your github keys?
I mean, were keys need for that operation or did Iceberg ask you for keys before they are needed?

I got error when I install dev Brick:

Git error: Cloning into ''Brick''...
Permission denied (publickey).
fatal: Could not read from remote repository.

And I found comment that it could be not required in future.

Reply | Threaded
Open this post in threaded view
|

Re: Bloc: Problems Running

Glenn Cavarlé
Hi Nicolas,
Brick is based on the master version.

Metacello new
                baseline: 'Iceberg';
                repository: 'github://npasserini/iceberg';
                load
Glenn Cavarlé