Keywords:
ChemCharts, Chem Charts, Data functions, run, Git repository or workdir.
Description:
This issue may occur randomly, for instance, when opening the Analyst client. It can prove difficult to recreate.
Typically the error is as follows:
==========================================
error (2)
Path 'C:\Users\USERID\AppData\Local\Temp\ChemChartsDataFxns\DataFxns' doesn't point at a valid Git repository or workdir.
at LibGit2Sharp.Core.Proxy.git_repository_open(String path)
at LibGit2Sharp.Repository..ctor(String path, RepositoryOptions options, RepositoryRequiredParameter requiredParameter)
at PublisherCore.GitTimestamps..ctor(String directory)
at PublisherCore.DataFunctionDefinitionService.<>c.<LoadDefinitions>b__4_0(String d)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable`1 source, Func`2 keySelector)
at PublisherCore.DataFunctionDefinitionService.LoadDefinitions(NotificationService notificationService, Boolean reload)
at PublisherCore.DataFunctionDefinitionService.Definitions(NotificationService notificationService, Boolean reload)
at PublisherCore.DataFunctionDefinitionHandler.HandleRequest(PublisherModel model, String request)
at PublisherCore.RequestHandlerCollection.HandleRequest(PublisherModel model, String endpoint, String request)
==================================================
Solution:
This a known issue and you can workaround with the following steps:
1. If you are running Spotfire Analyst please quit the application
2. Delete the following directories:
C:\Users\USERID\AppData\Local\Temp\ChemChartsDataFxns
C:\Users\USERID\AppData\Local\Temp\ScriptSync
3. Restart Spotfire Analyst.
Both the directories should reappear with the various data functions and python libs having been fetched from the Git repos.
Comments
0 comments
Article is closed for comments.