Hi,
are you sure you are giving the right path?
usually a github project is declared as:
that error means iceberg is not finding ���YourCodeSubdirectory���
cheers!
Esteban
Hi Esteban2018-07-05 4:51 GMT-03:00 Esteban Lorenzano <estebanlm@gmail.com>:Hi Hernan,
Pharo 6.1 has a very old version of iceberg that is obsoleted by current
development. Nevertheless this error seems to indicate the download failed
and sources are not present (this could be an ���accumulative error���: the
error could have happen before and now, since Iceberg looks for problems in
pharo-local/iceberg (and version in pharo 6.1 silently accepts what is
present there instead verify) it just fails all the time.
To workaround this, I can think two possible paths:
1. remove pharo-local/iceberg cache and try again.
If you mean because of previous installations I use a clean image from zeroconf.2. disable iceberg-metacello integration: Iceberg
enableMetacelloIntegration: false.
Tried but received a dialoggithub--MyProjectName017100342298250723486371441364908851233119.zipdoes not exist.Canceling just opened a pre-debug with "SubscriptOutOfBounds: 0"
Both can work��� if you still want to use iceberg in Pharo 6.1, along with the
option 1 I suggest you to update iceberg version:
https://github.com/pharo-vcs/iceberg#for-pharo-61
Ok, I updated to the latest version (currently 1.1.1) and now theerror exception doesn't appear anymore.However iceberg Branch column is "Unknown" and Status is "Localrepository missing". This is weird since I installed in a clean image.(See screenshot)Thank you very much Esteban,Cheers,Hern��ncheers,
Esteban
On 4 Jul 2018, at 19:57, Hern��n Morales Durand <hernan.morales@gmail.com>
wrote:
I wonder if anyone could help here. I am installing a BaselineOf in
Pharo 6.1 (Windows) using a script like the following:
Iceberg
enableMetacelloIntegration: true;
remoteTypeSelector: #httpsUrl.
Metacello new
baseline: 'MyProject';
repository: 'github://user/repo/src';
load.
Unfortunately the repository is private and I cannot share the URL.
When I open the Iceberg UI all downloaded packages has "Local
repository missing" (see screenshots).
To fix this currently I assign manually the local directory (assuming
they were correctly downloaded).
Also I tried adding repository information in the #baseline: method
baseline: spec
<baseline>
spec
baseline: 'MyProject'
with: [ spec repository: 'github://user/repo' ].
....
Any idea how could I debug this?
Cheers,
Hern��n
<Iceberg repositories.png><Instance of IceUnknownBranch did not understand
#id.png>
<Working copy of iceberg.png>