[Glass] Weird error loading with Metacello

Jupiter Jones jupiter.jones at mail.com
Mon Mar 28 20:50:31 PDT 2022


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/archives/glass/attachments/20220329/4edf754d/attachment.htm>


More information about the Glass mailing list