error on startup: "Error using connector.​internal.a​utostart.r​un"

16 vues (au cours des 30 derniers jours)
Jonas Keller
Jonas Keller le 13 Jan 2016
Modifié(e) : Jonas Keller le 11 Fév 2016
##edit problem solved- there was a system variable defined as TEMP = "459,9" and after deletion everything works again.
upon start matlab displays following error:
Error using connector.internal.autostart.run
Cannot CD to 459,9 (Name is nonexistent or not a directory).
I tried to reinstall Matlab but it is still broken.
Maybe following querry can help:
>> which -all cd
built-in (C:\Program Files\MATLAB\R2015b\toolbox\matlab\general\cd)
C:\Program Files\MATLAB\R2015b\toolbox\matlab\iofun\@ftp\cd.m % ftp method
C:\Program Files\MATLAB\R2015b\toolbox\idelink\extensions\ticcs\@ccsdebug\cd.m % ccsdebug method
  2 commentaires
Walter Roberson
Walter Roberson le 13 Jan 2016
Try running
connector off
Jonas Keller
Jonas Keller le 13 Jan 2016
Thanks for the fast answer, but matlab now fails to start the parpool, i get following error (do_proc.m is my current script):
Warning: Unable to calculate the dependencies of the files:
C:\Program Files\MATLAB\R2015b\toolbox\distcomp\@distcomp\nop.m
because:
Cannot CD to 459,9 (Name is nonexistent or not a directory).
> In parallel.internal.apishared.AttachedFiles.calculateAttachedFiles (line 289)
In parallel.Task/hCalculateDependentFiles (line 619)
In parallel.Task/hCalculateAndCacheDependentFiles (line 637)
In parallel.Job>@(t)t.hCalculateAndCacheDependentFiles(taskFunctionCache) (line 695)
In parallel.Job/attachRequiredFiles (line 694)
In parallel.Job/submit (line 304)
In parallel.internal.pool.InteractiveClient/start (line 330)
In parallel.Pool>iStartClient (line 547)
In parallel.Pool.hBuildPool (line 439)
In parallel.internal.pool.doParpool (line 15)
In parpool (line 89)
In parallel.internal.pool.PoolArrayManager.getOrAutoCreateWithCleanup (line 49)
In pctTryCreatePoolIfNecessary (line 23)
In distcomp.remoteparfor.tryRemoteParfor
In parallel_function (line 433)
In do_proc (line 131)

Connectez-vous pour commenter.

Réponses (2)

Tushar Sinha
Tushar Sinha le 15 Jan 2016
Hi Jonas,
"Error using connector.internal.autostart.run Cannot CD to 459,9 (Name is nonexistent or not a directory)."
These error messages are typically displayed when MATLAB does not have read-write access to the temporary folder. Change the permissions to this folder as an administrator and the issue should be resolved.
Thanks,
Tushar
  1 commentaire
Jonas Keller
Jonas Keller le 3 Fév 2016
Thank you, Matlab on my working station has full access to all avaible folders. Furthermore I have searched my entire workingstation and the accessable intranet for a folder named '459*' and there is no such folder. Therefore I assume that I have somehow managed to tell matlab to search for such a folder (459,9K is the Temperatur many of my samples have been measured, so I had to type 459,9 very often). Can you/someone tell me where I can add such a path/how to remove it?
as Walter Roberson told me I turned off the connector, but now i am no longer able to use the parpool/parfor options

Connectez-vous pour commenter.


Jonas Keller
Jonas Keller le 10 Fév 2016
push
Thank you, Matlab on my working station has full access to all avaible folders. Furthermore I have searched my entire workingstation and the accessable intranet for a folder named '459*' and there is no such folder. Therefore I assume that I have somehow managed to tell matlab to search for such a folder (459,9K is the Temperatur many of my samples have been measured, so I had to type 459,9 very often). Can you/someone tell me where I can add such a path/how to remove it?
as Walter Roberson told me I turned off the connector, but now i am no longer able to use the parpool/parfor options
  3 commentaires
Walter Roberson
Walter Roberson le 10 Fév 2016
What is the result of executing
tempdir
?
What does
getenv('TEMP')
show?
Jonas Keller
Jonas Keller le 11 Fév 2016
Modifié(e) : Jonas Keller le 11 Fév 2016
>> tempdir
Error using cd Cannot CD to 459,9 (Name is nonexistent or not a directory).
Error in tempdir (line 30) curr_dir = cd(tmp_dir);
>> getenv('TEMP')
ans =
459,9
################
somehow, i have created a system variable with the value TEMP = "459,9". I have deleted this variable and now everything works fine.
Thank you all for your answers!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by