sccn / amica

Code for AMICA: Adaptive Mixture ICA with shared components
BSD 2-Clause "Simplified" License
23 stars 13 forks source link

(Another) Reference to non-existent field 'W' error .... #26

Closed Sarm283 closed 3 years ago

Sarm283 commented 3 years ago

Hi all, It seems I am producing an error that has been reported and discussed a few times already. I have read through the previous posts (and suggested fixes), however I am unable to stop the error from occuring. I have included the readout from the MATLAB command below - could someone please help me with stopping this error.

MPIR_Init_thread(474)..............: MPID_Init(190).....................: channel initialization failed MPIDI_CH3_Init(89)................: MPID_nem_init(320).................: MPID_nem_tcp_init(173).............: MPID_nem_tcp_get_business_card(420): MPID_nem_tcp_init(384).............: gethostbyname failed, habs-hr-2zdv30 (errno 1) [unset]: write_line_error; fd=-1 buf:cmd=abort exitcode 3191311 : system msg for write_line failure : Bad file descriptor Something went wrong... No gm present, setting num_models to 1 No W present, exiting** Reference to non-esistent field 'W'

Error in runamica15 (line 892) weights = mods.w(:,:,1);

Error in pop_runica (line239) [W,S,mods] = runamica15(datfile,arglist{:};

Error while evaluating Menu Callback

japalmer29 commented 3 years ago

Hi Sam,

Can you post the script you are using? There might be some error in the way you are calling the amica function.

Jason

From: Sam [mailto:notifications@github.com] Sent: Wednesday, December 16, 2020 10:05 AM To: japalmer29/amica amica@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [japalmer29/amica] (Another) Reference to non-existent field 'W' error .... (#26)

Hi al, It seems I am producing an error that has been reported and discussed a few times already. I have read through the previous posts (and suggested fixes), however I am unable to stop the error from occuring. I have included the readout from the MATLAB command below - could someone please help me with stopping this error.

**> MPIR_Init_thread(474)..............:

MPID_Init(190).....................: channel initialization failed MPIDI_CH3_Init(89)................: MPID_nem_init(320).................: MPID_nem_tcp_init(173).............: MPID_nem_tcp_get_business_card(420): MPID_nem_tcp_init(384).............: gethostbyname failed, habs-hr-2zdv30 (errno 1) [unset]: write_line_error; fd=-1 buf:cmd=abort exitcode 3191311 : system msg for write_line failure : Bad file descriptor Something went wrong... No gm present, setting num_models to 1 No W present, exiting** Reference to non-esistent field 'W'

Error in runamica15 (line 892) weights = mods.w(:,:,1);

Error in pop_runica (line239) [W,S,mods] = runamica15(datfile,arglist{:};

Error while evaluating Menu Callback

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/japalmer29/amica/issues/26 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRBEST5Z3YTFHJS2GKTC3TSVABTTANCNFSM4U5GVQXA . https://github.com/notifications/beacon/ACRBESVUF353SYVE4Y4KHIDSVABTTA5CNFSM4U5GVQXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LOMEK5A.gif

Sarm283 commented 3 years ago

Hi Jason,

I am actually just trying to launch it using the EEGlab GUI… In any case, I have narrowed down why the error is happening….. For me to use MATLAB, I need to connect to the university VPN (licensing reasons)… when I disconnect from the VPN, there is a few minutes where I can use MATLAB before it closes. During this time AMICA works fine.

Any suggestions on how fix things so that I can use AMICA while connected to the VPN?

Cheers,

Sam

-- Sam Armstrong M +614 24 449 609 E samuel.armstrong@uq.edu.aumailto:samuel.armstrong@uq.edu.au

From: Jason Palmer notifications@github.com Reply to: japalmer29/amica reply@reply.github.com Date: Wednesday, 16 December 2020 at 13:12 To: japalmer29/amica amica@noreply.github.com Cc: Samuel Armstrong samuel.armstrong@uq.edu.au, Author author@noreply.github.com Subject: Re: [japalmer29/amica] (Another) Reference to non-existent field 'W' error .... (#26)

Hi Sam,

Can you post the script you are using? There might be some error in the way you are calling the amica function.

Jason

From: Sam [mailto:notifications@github.com] Sent: Wednesday, December 16, 2020 10:05 AM To: japalmer29/amica amica@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [japalmer29/amica] (Another) Reference to non-existent field 'W' error .... (#26)

Hi al, It seems I am producing an error that has been reported and discussed a few times already. I have read through the previous posts (and suggested fixes), however I am unable to stop the error from occuring. I have included the readout from the MATLAB command below - could someone please help me with stopping this error.

**> MPIR_Init_thread(474)..............:

MPID_Init(190).....................: channel initialization failed MPIDI_CH3_Init(89)................: MPID_nem_init(320).................: MPID_nem_tcp_init(173).............: MPID_nem_tcp_get_business_card(420): MPID_nem_tcp_init(384).............: gethostbyname failed, habs-hr-2zdv30 (errno 1) [unset]: write_line_error; fd=-1 buf:cmd=abort exitcode 3191311 : system msg for write_line failure : Bad file descriptor Something went wrong... No gm present, setting num_models to 1 No W present, exiting** Reference to non-esistent field 'W'

Error in runamica15 (line 892) weights = mods.w(:,:,1);

Error in pop_runica (line239) [W,S,mods] = runamica15(datfile,arglist{:};

Error while evaluating Menu Callback

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/japalmer29/amica/issues/26 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRBEST5Z3YTFHJS2GKTC3TSVABTTANCNFSM4U5GVQXA . https://github.com/notifications/beacon/ACRBESVUF353SYVE4Y4KHIDSVABTTA5CNFSM4U5GVQXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LOMEK5A.gif

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/japalmer29/amica/issues/26#issuecomment-745734888, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASENWMONZAZ2MXZHELEME43SVAQONANCNFSM4U5GVQXA.

japalmer29 commented 3 years ago

Hmm, I’m not sure why it would be failing only when you use VPN. Maybe someone on EEGLAB list has had similar experience, so you might post a question there?

From: Sam [mailto:notifications@github.com] Sent: Wednesday, December 16, 2020 12:37 PM To: japalmer29/amica amica@noreply.github.com Cc: Jason Palmer japalmer29@gmail.com; Comment comment@noreply.github.com Subject: Re: [japalmer29/amica] (Another) Reference to non-existent field 'W' error .... (#26)

Hi Jason,

I am actually just trying to launch it using the EEGlab GUI… In any case, I have narrowed down why the error is happening….. For me to use MATLAB, I need to connect to the university VPN (licensing reasons)… when I disconnect from the VPN, there is a few minutes where I can use MATLAB before it closes. During this time AMICA works fine.

Any suggestions on how fix things so that I can use AMICA while connected to the VPN?

Cheers,

Sam

-- Sam Armstrong M +614 24 449 609 E samuel.armstrong@uq.edu.au mailto:samuel.armstrong@uq.edu.au%3cmailto:samuel.armstrong@uq.edu.au mailto:samuel.armstrong@uq.edu.au

From: Jason Palmer <notifications@github.com mailto:notifications@github.com > Reply to: japalmer29/amica <reply@reply.github.com mailto:reply@reply.github.com > Date: Wednesday, 16 December 2020 at 13:12 To: japalmer29/amica <amica@noreply.github.com mailto:amica@noreply.github.com > Cc: Samuel Armstrong <samuel.armstrong@uq.edu.au mailto:samuel.armstrong@uq.edu.au >, Author <author@noreply.github.com mailto:author@noreply.github.com > Subject: Re: [japalmer29/amica] (Another) Reference to non-existent field 'W' error .... (#26)

Hi Sam,

Can you post the script you are using? There might be some error in the way you are calling the amica function.

Jason

From: Sam [mailto:notifications@github.com] Sent: Wednesday, December 16, 2020 10:05 AM To: japalmer29/amica <amica@noreply.github.com mailto:amica@noreply.github.com > Cc: Subscribed <subscribed@noreply.github.com mailto:subscribed@noreply.github.com > Subject: [japalmer29/amica] (Another) Reference to non-existent field 'W' error .... (#26)

Hi al, It seems I am producing an error that has been reported and discussed a few times already. I have read through the previous posts (and suggested fixes), however I am unable to stop the error from occuring. I have included the readout from the MATLAB command below - could someone please help me with stopping this error.

**> MPIR_Init_thread(474)..............:

MPID_Init(190).....................: channel initialization failed MPIDI_CH3_Init(89)................: MPID_nem_init(320).................: MPID_nem_tcp_init(173).............: MPID_nem_tcp_get_business_card(420): MPID_nem_tcp_init(384).............: gethostbyname failed, habs-hr-2zdv30 (errno 1) [unset]: write_line_error; fd=-1 buf:cmd=abort exitcode 3191311 : system msg for write_line failure : Bad file descriptor Something went wrong... No gm present, setting num_models to 1 No W present, exiting** Reference to non-esistent field 'W'

Error in runamica15 (line 892) weights = mods.w(:,:,1);

Error in pop_runica (line239) [W,S,mods] = runamica15(datfile,arglist{:};

Error while evaluating Menu Callback

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/japalmer29/amica/issues/26 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRBEST5Z3YTFHJS2GKTC3TSVABTTANCNFSM4U5GVQXA . https://github.com/notifications/beacon/ACRBESVUF353SYVE4Y4KHIDSVABTTA5CNFSM4U5GVQXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LOMEK5A.gif

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/japalmer29/amica/issues/26#issuecomment-745734888, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASENWMONZAZ2MXZHELEME43SVAQONANCNFSM4U5GVQXA.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/japalmer29/amica/issues/26#issuecomment-745742761 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRBESWJKII4M752CBOGK73SVATONANCNFSM4U5GVQXA . https://github.com/notifications/beacon/ACRBESXCWYB2FGDKUYPK7ALSVATONA5CNFSM4U5GVQXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRZSDKI.gif

Sarm283 commented 3 years ago

I fixed the issue – it did have something to do with the VPN, though I’m not precisely sure what it was. In any case, reinstalling MATLAB with a license that didn’t require an external connection stopped the error from reoccurring.

-- Sam Armstrong M +614 24 449 609 E samuel.armstrong@uq.edu.aumailto:samuel.armstrong@uq.edu.au

From: Jason Palmer notifications@github.com Reply to: japalmer29/amica reply@reply.github.com Date: Wednesday, 16 December 2020 at 15:31 To: japalmer29/amica amica@noreply.github.com Cc: Samuel Armstrong samuel.armstrong@uq.edu.au, Author author@noreply.github.com Subject: Re: [japalmer29/amica] (Another) Reference to non-existent field 'W' error .... (#26)

Hmm, I’m not sure why it would be failing only when you use VPN. Maybe someone on EEGLAB list has had similar experience, so you might post a question there?

From: Sam [mailto:notifications@github.com] Sent: Wednesday, December 16, 2020 12:37 PM To: japalmer29/amica amica@noreply.github.com Cc: Jason Palmer japalmer29@gmail.com; Comment comment@noreply.github.com Subject: Re: [japalmer29/amica] (Another) Reference to non-existent field 'W' error .... (#26)

Hi Jason,

I am actually just trying to launch it using the EEGlab GUI… In any case, I have narrowed down why the error is happening….. For me to use MATLAB, I need to connect to the university VPN (licensing reasons)… when I disconnect from the VPN, there is a few minutes where I can use MATLAB before it closes. During this time AMICA works fine.

Any suggestions on how fix things so that I can use AMICA while connected to the VPN?

Cheers,

Sam

-- Sam Armstrong M +614 24 449 609 E samuel.armstrong@uq.edu.au mailto:samuel.armstrong@uq.edu.au%3cmailto:samuel.armstrong@uq.edu.au mailto:samuel.armstrong@uq.edu.au

From: Jason Palmer <notifications@github.com mailto:notifications@github.com > Reply to: japalmer29/amica <reply@reply.github.com mailto:reply@reply.github.com > Date: Wednesday, 16 December 2020 at 13:12 To: japalmer29/amica <amica@noreply.github.com mailto:amica@noreply.github.com > Cc: Samuel Armstrong <samuel.armstrong@uq.edu.au mailto:samuel.armstrong@uq.edu.au >, Author <author@noreply.github.com mailto:author@noreply.github.com > Subject: Re: [japalmer29/amica] (Another) Reference to non-existent field 'W' error .... (#26)

Hi Sam,

Can you post the script you are using? There might be some error in the way you are calling the amica function.

Jason

From: Sam [mailto:notifications@github.com] Sent: Wednesday, December 16, 2020 10:05 AM To: japalmer29/amica <amica@noreply.github.com mailto:amica@noreply.github.com > Cc: Subscribed <subscribed@noreply.github.com mailto:subscribed@noreply.github.com > Subject: [japalmer29/amica] (Another) Reference to non-existent field 'W' error .... (#26)

Hi al, It seems I am producing an error that has been reported and discussed a few times already. I have read through the previous posts (and suggested fixes), however I am unable to stop the error from occuring. I have included the readout from the MATLAB command below - could someone please help me with stopping this error.

**> MPIR_Init_thread(474)..............:

MPID_Init(190).....................: channel initialization failed MPIDI_CH3_Init(89)................: MPID_nem_init(320).................: MPID_nem_tcp_init(173).............: MPID_nem_tcp_get_business_card(420): MPID_nem_tcp_init(384).............: gethostbyname failed, habs-hr-2zdv30 (errno 1) [unset]: write_line_error; fd=-1 buf:cmd=abort exitcode 3191311 : system msg for write_line failure : Bad file descriptor Something went wrong... No gm present, setting num_models to 1 No W present, exiting** Reference to non-esistent field 'W'

Error in runamica15 (line 892) weights = mods.w(:,:,1);

Error in pop_runica (line239) [W,S,mods] = runamica15(datfile,arglist{:};

Error while evaluating Menu Callback

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/japalmer29/amica/issues/26 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRBEST5Z3YTFHJS2GKTC3TSVABTTANCNFSM4U5GVQXA . https://github.com/notifications/beacon/ACRBESVUF353SYVE4Y4KHIDSVABTTA5CNFSM4U5GVQXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LOMEK5A.gif

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/japalmer29/amica/issues/26#issuecomment-745734888, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASENWMONZAZ2MXZHELEME43SVAQONANCNFSM4U5GVQXA.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/japalmer29/amica/issues/26#issuecomment-745742761 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRBESWJKII4M752CBOGK73SVATONANCNFSM4U5GVQXA . https://github.com/notifications/beacon/ACRBESXCWYB2FGDKUYPK7ALSVATONA5CNFSM4U5GVQXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRZSDKI.gif

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/japalmer29/amica/issues/26#issuecomment-745774364, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASENWMNZFQ67FQ2UVEHOTUDSVBAYDANCNFSM4U5GVQXA.