Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobi 11 returned error while trying to create a new PKSIM molecule. #726

Closed
Sulav1 opened this issue Jun 1, 2022 · 1 comment
Closed

Comments

@Sulav1
Copy link

Sulav1 commented Jun 1, 2022

when I try to create a new PKSIM molecule in a project using portable Mobi, I received following error.


Application:
MoBi® 11.0.138

Could not find a part of the path 'Placeholder\mobi-portable-setup\MoBi 11.0.138\Templates\Standard Molecule.pkml'.

Stack trace:

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlTextReaderImpl.FinishInitUriString()
   at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
   at System.Xml.Linq.XElement.Load(String uri, LoadOptions options)
   at MoBi.Presentation.Tasks.SerializationTask.LoadMany[T](String fileName, Boolean resetIds)
   at MoBi.Presentation.Tasks.SerializationTask.Load[T](String fileName, Boolean resetIds)
   at MoBi.Presentation.Presenter.CreatePKSimMoleculePresenter.loadMoleculeFromTemplate()
   at MoBi.Presentation.Presenter.CreatePKSimMoleculePresenter.CreateMolecule(IMoleculeBuildingBlock moleculeBuildingBlock)
   at MoBi.Presentation.Tasks.Interaction.InteractionTasksForMoleculeBuilder.AddPKSimMoleculeTo(IMoleculeBuildingBlock moleculeBuildingBlock)
   at MoBi.Presentation.UICommand.AddPKSimMoleculeCommand.PerformExecute()
   at OSPSuite.Presentation.UICommands.ObjectUICommand`1.Execute()
   at OSPSuite.Presentation.UICommands.UICommandExtensions.ExecuteWithinExceptionHandler(IUICommand uiCommand, IEventPublisher eventPublisher, IChangePropagator changePropagator)
@msevestre
Copy link
Member

oh this is with the portable version.. I see

msevestre added a commit that referenced this issue Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Verified
Development

No branches or pull requests

2 participants