[Glass] Weird error loading with Metacello
Dale Henrichs
dale.henrichs at gemtalksystems.com
Tue Mar 29 09:37:56 PDT 2022
Jupiter,
Whenever I see an EOCD error I immediately think SERVER ERROR and try again
...
The EOCD error occurs while trying to unzip a "corrupted" zip file. The
EOCD error most often occurs during the download of an mcz file that was
truncated or did not complete successfully in some way ...
I don't recall seeing an EOCD error showing up when downloading a zip file
from GitHub, but I have noticed in recent years that once in a while
downloads from github has failed as well as http requests ...
At the end of the day, there's not much to be done about an EOCD error....
Dale
On Mon, Mar 28, 2022 at 8:50 PM Jupiter Jones via Glass <
glass at lists.gemtalksystems.com> wrote:
> Loading a project (that I’ve loaded many times) and today started having a
> problem loading one of the dependencies of a dependency...
>
> --transcript--'gofer repository error: ''GoferRepositoryError:
> UserDefinedError: Error during download: ''''UserDefinedError:
> can''''''''t find EOCD position''''. Error could have been caused by:
> '''' % Total % Received % Xferd Average Speed Time Time
> Time Current
> Dload Upload Total Spent
> Left Speed
> 100 105 100 105 0 0 7500 0 --:--:-- --:--:--
> --:--:-- 7500
> ''''''...ignoring'
> --transcript--'...FAILED->BaselineOfBuoy'
> ERROR 2710 , a MetacelloPackageSpecResolutionError occurred (error 2710),
> Could not resolve: BaselineOfBuoy [BaselineOfBuoy] in cache
> github://brunobuzzi/Buoy:v3.1.1/source ERROR: 'GoferRepositoryError:
> UserDefinedError: Error during download: ''UserDefinedError: can''''t find
> EOCD position''. Error could have been caused by: '' % Total % Received
> % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent
> Left Speed
> 100 105 100 105 0 0 7500 0 --:--:-- --:--:--
> --:--:-- 7500
> ‘''
>
> I have seen this before when the URL is incorrect, usually when I’ve made
> a typo. So I tried directly in a workspace:
>
> Metacello new
> baseline: 'Buoy';
> repository: 'github://brunobuzzi/Buoy:v3.1.1/source';
> get
>
> Same error…
>
> ...RETRY->BaselineOfBuoy
> ...RETRY->BaselineOfBuoy
> gofer repository error: 'GoferRepositoryError: UserDefinedError: Error
> during download: ''UserDefinedError: can''''t find EOCD position''. Error
> could have been caused by: '' % Total % Received % Xferd Average Speed
> Time Time Time Current
> Dload Upload Total Spent Left
> Speed
>
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
> 0
> 100 105 100 105 0 0 6176 0 --:--:-- --:--:-- --:--:--
> 6176
> '''...ignoring
> ...FAILED->BaselineOfBuoy
>
> So I tried cloning the project in a terminal and checking out branch v3.1.1
>
> jupiter at puppy Desktop % git clone git at github.com:brunobuzzi/Buoy
>
> Cloning into 'Buoy'...
> remote: Enumerating objects: 1737, done.
> remote: Total 1737 (delta 0), reused 0 (delta 0), pack-reused 1737
> Receiving objects: 100% (1737/1737), 211.62 KiB | 360.00 KiB/s, done.
> Resolving deltas: 100% (762/762), done.
> jupiter at puppy Desktop % cd Buoy
> jupiter at puppy Buoy % git checkout -b v3.1.1
> Switched to a new branch 'v3.1.1'
>
> No problem with downloading at all.
>
> Has anyone seen this issue loading with Metacello? Any pointers on what to
> check?
>
> Cheers,
>
> J
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/glass
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/archives/glass/attachments/20220329/6d72292a/attachment-0001.htm>
More information about the Glass
mailing list