Problem Installing Astronomy.net on Mac

61 views
Skip to first unread message

Christopher Sandor

unread,
Jan 31, 2025, 2:18:02 PM1/31/25
to astrometry
Hello,
I received this message 

==> Cloning https://svn.code.sf.net/p/netpbm/code/stable

==> Checking out 4982

svn: E000060: Error running context: Operation timed out

Error: astrometry-net: Failed to download resource "netpbm"

Failure while executing; `/usr/bin/env svn checkout https://svn.code.sf.net/p/netpbm/code/stable /Users/christophersandor/Library/Caches/Homebrew/netpbm--svn --quiet -r 4982` exited with 1. Here's the output:

svn: E000060: Error running context: Operation timed out



**I don't know that much about MAC command line operations.  I think its not looking for the most current version of the program available.  Stable version is 5000.  How do I fix this?  Thanks.


Cheers,

Chris

Dustin Lang

unread,
Jan 31, 2025, 2:52:20 PM1/31/25
to Christopher Sandor, astrometry
Hi,

You'll need to provide a little more context on what you're doing here.

There are several ways to install the code on MacOS, and I can't tell which way you're trying here.

It's not homebrew.  MacPorts?

If you're starting by typing some command into a terminal, you really need to include that command, and it helps to give the whole transcript up to the point of the error.

The particular bit of code you're showing here is coming from checking out the "netpbm" code, which is a dependency of astrometry.net.  It looks like it's timing out... which might mean some sort of network problem between your computer and the sourceforge computers where netpbm is.

cheers,
dustin



--
You received this message because you are subscribed to the Google Groups "astrometry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astrometry+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/astrometry/9216f88f-5ae6-4fd3-8df7-be75593f60f4n%40googlegroups.com.

Christopher Sandor

unread,
Jan 31, 2025, 2:58:14 PM1/31/25
to astrometry
I was using brew install astronomy--net

Christopher Sandor

unread,
Jan 31, 2025, 3:14:20 PM1/31/25
to astrometry
Looks like it was one of my routers/internet connections.  Switched connections, worked.  Thanks.

Dustin Lang

unread,
Jan 31, 2025, 3:25:28 PM1/31/25
to Christopher Sandor, astrometry
Okay... on my mac, when I go to reinstall netpbm, it grabs a "bottle" (pre-compiled version):

> brew install netpbm
==> Downloading https://formulae.brew.sh/api/formula.jws.json
==> Downloading https://formulae.brew.sh/api/cask.jws.json
==> Downloading https://ghcr.io/v2/homebrew/core/netpbm/manifests/11.02.12
Already downloaded: /Users/dstn/Library/Caches/Homebrew/downloads/18b995333864f43fd5cd6bc7ab008c97179866ebf2ad13ce677bc7daeba3b4e9--netpbm-11.02.12.bottle_manifest.json
==> Fetching netpbm
==> Downloading https://ghcr.io/v2/homebrew/core/netpbm/blobs/sha256:e4b174e0c025ec65cfc1cb8567ae2124372a27864f5046af0da8928b8f45b921
Already downloaded: /Users/dstn/Library/Caches/Homebrew/downloads/052a4ad4da4bbd9130a45ffdb83023991fad155b7e7d717fef774ec73b86f92f--netpbm--11.02.12.arm64_sonoma.bottle.tar.gz
==> Pouring netpbm--11.02.12.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/netpbm/11.02.12: 417 files, 18.7MB
==> Running `brew cleanup netpbm`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

If I tell homebrew to build from source, I get:

> brew install -s netpbm
==> Fetching dependencies for netpbm: apr, apr-util, utf8proc and subversion
...
==> Fetching netpbm
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/2ca4df20f1601469aca00aa5366c88367ae692f6/Formula/n/netpbm.rb
################################################################################################################################################################################################ 100.0%

==> Cloning https://svn.code.sf.net/p/netpbm/code/stable
==> Checking out 4982
==> make
==> make package pkgdir=/private/tmp/netpbm-20250131-74812-n1lb14/stage
Warning: Tried to install empty array to /opt/homebrew/Cellar/netpbm/11.02.12/lib
🍺  /opt/homebrew/Cellar/netpbm/11.02.12: 417 files, 18.7MB, built in 4 minutes 42 seconds
==> Running `brew cleanup netpbm`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).


so... looks like it's grabbing the same version, but successfully.

Try again?  Maybe you have a firewall blocking access to svn.code.sf.net ?  (Can you see http://svn.code.sf.net/p/netpbm/code/stable/ in a browser?)

cheers,
dustin


Christopher Sandor

unread,
Jan 31, 2025, 3:35:55 PM1/31/25
to astrometry
Thanks Dustin.  I switched over to my phone hotspot and it is installing without a problem.  Thanks for your help.
Reply all
Reply to author
Forward
0 new messages