PINE-Lab / HAPPE

EEG Pre-Processing Pipeline
GNU General Public License v3.0
36 stars 21 forks source link

Trouble starting HAPPE - seems like trying to load an old version of EEGLAB #14

Open asoskic opened 2 weeks ago

asoskic commented 2 weeks ago

Hi! I am trying to start HAPPE for the first time. I followed the installation instructions and then ran HAPPE_v3 by typing it into the Command Window.

I get the following error message:

Warning: Name is nonexistent or not a directory: C:\Users\asosk\OneDrive\Softver\MatLab\HAPPE-master\HAPPE-master\packages\eeglab2022.0

In path (line 109) In addpath (line 86) In HAPPE_v3 (line 107) Error using catdirs All arguments must be character vectors.

Error in addpath (line 64) p = catdirs(mfilename, varargin{1:n});

Error in HAPPE_v3 (line 121) addpath([pluginDir{:}]) ;

I can see that HAPPE folder has EEGLAB v. 2024.0, and not v. 2022.0 (line 2 in the error message), so it seems like there is a line of code trying to run an old version of EEGLAB that you may have been using earlier, and that has not been updated.

PINE-Lab commented 2 weeks ago

Hello,

Thank you for reaching out and for your interest in using HAPPE! Please download the latest version of HAPPE from our Github https://github.com/PINE-Lab/HAPPE page and see if that resolves your issue. If that does not work, please feel free to reach out again! Additionally, here is a link to our HAPPE manual https://github.com/PINE-Lab/HAPPE/blob/master/HAPPE%20User%20Guide.docx and the troubleshooting guide https://www.plasticityinneurodevelopmentlab.com/troubleshooting on our website in case it can help you with this or with future questions.

Best,

Cassandra Franke (she/her)

Lab Manager

Plasticity in Neurodevelopment (PINE) Lab

Northeastern University

(857) 244-0868‬

On Sat, Oct 26, 2024 at 4:41 AM Anđela Šoškić @.***> wrote:

Hi! I am trying to start HAPPE for the first time. I followed the installation instructions and then ran HAPPE_v3 by typing it into the Command Window.

I get the following error message:

Warning: Name is nonexistent or not a directory:

C:\Users\asosk\OneDrive\Softver\MatLab\HAPPE-master\HAPPE-master\packages\eeglab2022.0

In path (line 109) In addpath (line 86) In HAPPE_v3 (line 107) Error using catdirs All arguments must be character vectors.

Error in addpath (line 64) p = catdirs(mfilename, varargin{1:n});

Error in HAPPE_v3 (line 121) addpath([pluginDir{:}]) ;

I can see that HAPPE folder has EEGLAB v. 2024.0, and not v. 2022.0 (I bolded it in the error message), so it seems like there is a line of code trying to run an old version of EEGLAB that you may have been using earlier, and that has not been updated.

— Reply to this email directly, view it on GitHub https://github.com/PINE-Lab/HAPPE/issues/14, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUWECCIW7DLGIFLMQES7NBDZ5NISDAVCNFSM6AAAAABQUTHYLCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTKNRWGM3DKMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Plasticity in Neurodevelopment (PINE) Lab @.*** ‪(857) 244-0868‬

asoskic commented 2 weeks ago

Hi Cassandra! Thank you for the prompt response!

I did download the latest version. However, I now realize that the current version includes two scripts, HAPPE_v3 and HAPPE_v4. I was running HAPPE_v3 in line with the instructions in the User Guide, page 15 (https://github.com/PINE-Lab/HAPPE/blob/master/HAPPE%20User%20Guide.docx), and this is how I come across this issue.

HAPPE_v3 crashes when loaded because it tries to call EEGLAB v2022.0 which is not there in the packages. I looked at the code briefly and I assume this because of line 104 of the script, though there may be other parts where HAPPE_v3 needs to be updated in order to be appropriately upgraded from 2022.0 to 2024.0: eeglabDir = [happeDir filesep 'packages' filesep 'eeglab2022.0'] ;

This does not happen when running the HAPPE_v4 script, indeed, which solves the problem for me, thanks! :)

I hope this helps! :)

PINE-Lab commented 2 weeks ago

Hi!

Please try using HAPPE v4 and see if that addresses your problem as well!

Thanks, Alexa

On Mon, Oct 28, 2024 at 9:50 AM Northeastern PINE Lab < @.***> wrote:

Hello,

Thank you for reaching out and for your interest in using HAPPE! Please download the latest version of HAPPE from our Github https://github.com/PINE-Lab/HAPPE page and see if that resolves your issue. If that does not work, please feel free to reach out again! Additionally, here is a link to our HAPPE manual https://github.com/PINE-Lab/HAPPE/blob/master/HAPPE%20User%20Guide.docx and the troubleshooting guide https://www.plasticityinneurodevelopmentlab.com/troubleshooting on our website in case it can help you with this or with future questions.

Best,

Cassandra Franke (she/her)

Lab Manager

Plasticity in Neurodevelopment (PINE) Lab

Northeastern University

(857) 244-0868‬

On Sat, Oct 26, 2024 at 4:41 AM Anđela Šoškić @.***> wrote:

Hi! I am trying to start HAPPE for the first time. I followed the installation instructions and then ran HAPPE_v3 by typing it into the Command Window.

I get the following error message:

Warning: Name is nonexistent or not a directory:

C:\Users\asosk\OneDrive\Softver\MatLab\HAPPE-master\HAPPE-master\packages\eeglab2022.0

In path (line 109) In addpath (line 86) In HAPPE_v3 (line 107) Error using catdirs All arguments must be character vectors.

Error in addpath (line 64) p = catdirs(mfilename, varargin{1:n});

Error in HAPPE_v3 (line 121) addpath([pluginDir{:}]) ;

I can see that HAPPE folder has EEGLAB v. 2024.0, and not v. 2022.0 (I bolded it in the error message), so it seems like there is a line of code trying to run an old version of EEGLAB that you may have been using earlier, and that has not been updated.

— Reply to this email directly, view it on GitHub https://github.com/PINE-Lab/HAPPE/issues/14, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUWECCIW7DLGIFLMQES7NBDZ5NISDAVCNFSM6AAAAABQUTHYLCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTKNRWGM3DKMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Plasticity in Neurodevelopment (PINE) Lab @.*** ‪(857) 244-0868‬

asoskic commented 2 weeks ago

Hi, Alexa! Yes, as I explained in the previous message, running v4 solves the problem. :)

The issues are that the User Guide instructs users to run V3 and that V3 does not work, for reasons explained above. As a first-time user following the User Guide, I found out that V4 even exists only by chance, because there is another open issue on Github mentioning it.

I don't want to suggest any solutions because I don't know the purpose of having V3 in the package, so I'll leave it at that. :)