wb_command error when opening it

652 views
Skip to first unread message

Tommy Pirvu

unread,
Apr 14, 2022, 2:21:34 PM4/14/22
to HCP-Users
Hello,
I am having an issue with regards to opening wb_command that I would appreciate some assistance. I have connectome workbench downloaded and I can use wb_view and view all of my images perfectly, but when trying to use wb_command the terminal automatically logs me out. 

I use a MacBook Pro version 12.3.1 and I feel like it might have something with the version of the Mac I am using or my default shell. For some reason, I am getting an error when uploading a screenshot, but here is the syntax:

Last login: Thu Apr 14 13:11:32 on ttys000

/Users/tommypirvu/Desktop/workbench/macosx64_apps/bashcomplete_wb_command ; exit;


The default interactive shell is now zsh.

To update your account to use zsh, please run `chsh -s /bin/zsh`.

For more details, please visit https://support.apple.com/kb/HT208050.

Tommys-MacBook-Pro:~ tommypirvu$ /Users/tommypirvu/Desktop/workbench/macosx64_apps/bashcomplete_wb_command ; exit;

logout


Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.


[Process completed]


Best,
Tommy

Glasser, Matt

unread,
Apr 14, 2022, 2:28:37 PM4/14/22
to hcp-...@humanconnectome.org

You should use the executable in bin_macosx??

 

This works fine for me on Mac OS 12.3.1.

 

Matt.

--
You received this message because you are subscribed to the Google Groups "HCP-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hcp-users+...@humanconnectome.org.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/af31d538-ab9f-4e28-a295-a1205800e1bdn%40humanconnectome.org.

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Harwell, John

unread,
Apr 14, 2022, 2:30:52 PM4/14/22
to hcp-...@humanconnectome.org

In a terminal window (command line), try running wb_command from the “bin_macosx64” directory, probably “/Users/tommypirvu/workbench/bin_macosx64/wb_command”.

 

John Harwell

 

From: Tommy Pirvu <tommy...@northwestern.edu>
Reply-To: "hcp-...@humanconnectome.org" <hcp-...@humanconnectome.org>
Date: Thursday, April 14, 2022 at 1:21 PM
To: HCP-Users <hcp-...@humanconnectome.org>
Subject: [hcp-users] wb_command error when opening it

 

* External Email - Caution *

--

You received this message because you are subscribed to the Google Groups "HCP-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hcp-users+...@humanconnectome.org.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/af31d538-ab9f-4e28-a295-a1205800e1bdn%40humanconnectome.org.

Message has been deleted

Tommy Pirvu

unread,
Apr 14, 2022, 2:50:57 PM4/14/22
to HCP-Users, jhar...@wustl.edu
Hi,

I tried to use the executable in bin_macosx64 as Matt suggested and still no luck. It is still automatically logging me out and exiting the window.

I just tried to run wb_command in a new terminal window at the /Users/tommypirvu/Desktop/workbench/bin_macosx64 level and I am getting a "command not found" message back.

Do you think this has something to do with my Mac permissions? 

Glasser, Matt

unread,
Apr 14, 2022, 2:51:44 PM4/14/22
to hcp-...@humanconnectome.org

How about posting exactly what you did this time.


Matt.

 

From: Tommy Pirvu <tommy...@northwestern.edu>
Reply-To: "hcp-...@humanconnectome.org" <hcp-...@humanconnectome.org>
Date: Thursday, April 14, 2022 at 1:47 PM
To: HCP-Users <hcp-...@humanconnectome.org>
Cc: "Glasser, Matt" <glas...@wustl.edu>
Subject: Re: [hcp-users] wb_command error when opening it

 

 

Hi Matt,

 

I tried the executable in bin_macosx64 and still no luck. It automatically exits the command line for some reason and logs me out.

Tommy Pirvu

unread,
Apr 14, 2022, 2:57:40 PM4/14/22
to hcp-...@humanconnectome.org
Yes,

I just opened up my connectome folder and when into bin_macosx64 double clicked the executable terminal and I still got the same message as I posted in my first message.

I went ahead opened a new terminal and ran wb_command at the /Users/tommypirvu/Desktop/workbench/bin_macosx64 level and I am getting a "command not found" message back.

Tommy

Glasser, Matt

unread,
Apr 14, 2022, 3:01:19 PM4/14/22
to hcp-...@humanconnectome.org

I wouldn’t do the first thing, because that is not how commandline tools are supposed to be interacted with in general.

 

Please post a copy paste of exactly what you did when you opened a separate terminal.  If you really did open a terminal and then navigated to that folder and typed wb_command, you would need to do ./wb_command as that folder is presumably not on your PATH.

 

Matt.

Tommy Pirvu

unread,
Apr 14, 2022, 3:04:02 PM4/14/22
to hcp-...@humanconnectome.org
It worked now! I did exactly what you said and it worked now. Thank you for the help Matt

I appreciate it. 

Best,

Tommy

Coalson, Timothy Scott (S&T-Student)

unread,
Apr 14, 2022, 6:05:55 PM4/14/22
to hcp-...@humanconnectome.org
The README.txt should explain how to set up your PATH so that it works without needing to specify the folder to look in.  The "bashcomplete" files are something else entirely, but you'd need to read to the end of the instructions to figure out what they are (and on mac, it is significant extra work to use them).  It looks like it does not currently mention that double clicking wb_command (or wb_import or wb_shortcuts) in a folder window is not expected to do anything useful.

Note that each shell has a different way to set up PATH, so if you do change your login shell, you will need to figure out how to set it for the new shell also (we don't currently have instructions for zsh).  Choice of login shell is a matter of user preference and, generally speaking, should not cause problems (as long as the shell obeys the "shebang" of well-formed scripts...).

Tim


From: Tommy Pirvu <tommy...@gmail.com>
Sent: Thursday, April 14, 2022 2:03 PM

To: hcp-...@humanconnectome.org <hcp-...@humanconnectome.org>
Subject: Re: [hcp-users] wb_command error when opening it
 
WARNING: This message has originated from an External Source. This may be a phishing expedition that can result in unauthorized access to our IT System. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.
Reply all
Reply to author
Forward
0 new messages