Opened 3 months ago

Closed 3 months ago

#70203 closed defect (invalid)

Gwyddion won't open

Reported by: jebickelcsu (Jessica Bickel) Owned by: rowue (Rolf Würdemann)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: yeti@…
Port: gwyddion

Description

Hi Macports, I just installed Macports today and did a port install gwyddion. I see the icon for gwyddion just fine, but when I click on it, it bounces once and nothing happens. Can you advise?

A few thoughts, I DO have Xcode, and I have opened it once and accepted the user agreement.

I have uninstalled and reinstalled gwyddion a few times this morning and as I am guessing it's something about Xcode (since I didn't see it automatically launch when I launched gwyddion (as I have seen on an older mac install) so I am guessing it might be that. I did try xcode-select --install and got the following error: xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates. I have also tried opening Xcode first and then launching gwyddion.

I did sudo port selfupdate before I installed so I know I have the latest update of gwyddion.

I am running Sonoma 14.5 on a Apple M2 chip and Xcode 15.4. There were no noted errors in the install though I am attaching the end of the install to show that.

Attachments (1)

gwyddion-install.png (1.3 MB) - added by jebickelcsu (Jessica Bickel) 3 months ago.
Gwyddion-install-end

Download all attachments as: .zip

Change History (6)

Changed 3 months ago by jebickelcsu (Jessica Bickel)

Attachment: gwyddion-install.png added

Gwyddion-install-end

comment:1 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: yeti@… added
Keywords: gwyddion won't open removed
Owner: set to rowue
Status: newassigned

What happens if you run the gwyddion command line program instead of the GUI? If you get an error message, please copy/paste it here (rather than taking a screenshot and attaching that).

comment:2 Changed 3 months ago by jebickelcsu (Jessica Bickel)

I tried this and get:

(gwyddion:38121): Gtk-WARNING: cannot open display:

So then I typed: which xauth and get xauth not found.

Do I need to install a version of X11? As I was reading the macports install yesterday it seemed like all that was needed was Xcode, but I may have misunderstood. I thought X11 or Xquartz was only needed on the older MacOS. Thank you for your help!

Version 0, edited 3 months ago by jebickelcsu (Jessica Bickel) (next)

comment:3 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Xcode or its command line tools are needed to build ports; after they're built, they're no longer required.

gwyddion appears to be an X11 app, so yes, you will need an X11 server. One option is to use the one available in MacPorts: sudo port install xorg-server

comment:4 Changed 3 months ago by jebickelcsu (Jessica Bickel)

Thanks. I uninstalled gwyddion then I tried uninstalling and reinstalling command line tools and still got which xauth giving xauth not found. But when I used the xorg-server I got it working. Appreciate the help!

comment:5 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.