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

Error: Cannot create directories outside of project directory #246

Open
bejabengdd opened this issue Jul 23, 2024 · 3 comments
Open

Error: Cannot create directories outside of project directory #246

bejabengdd opened this issue Jul 23, 2024 · 3 comments
Labels
bug Something isn't working status:doing We are working on this

Comments

@bejabengdd
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Project tab and click on importers
  2. import proto directory path: cd ~/Projects/services-protobuf/protos/common
  3. verify proto file path looks like ../../services-protobuf/protos/common/**/*.proto
  4. Click save in the bottom left corner.

Expected behavior

Screenshots
Screenshot 2024-07-23 at 11 28 22 AM

Environment (if possible, copy the information from the error dialog or the About menu):

  • OS: Mac 14.5 (23F79)
  • Kreya Version most updated version
@bejabengdd bejabengdd added the bug Something isn't working label Jul 23, 2024
@bejabengdd
Copy link
Author

additional information:
{
"kreyaVersion": "1.15.0",
"releaseChannel": "stable",
"osDescription": "Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:17:33 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6031",
"osVersion": "Unix 14.5.0",
"osArch": "Arm64",
"processArch": "Arm64",
"runtimeIdentifier": "osx-arm64",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)"
}

System.InvalidOperationException: cannot create directories outside the project directory
at Kreya.Data.OperationDirectoryStorage.CreateMissingDirectories(IProject project, String directoryPath)
at Kreya.Core.Operations.OperationDirectoryService.CreateMissingOperationDirectories(String path)
at Kreya.Core.Importer.ImporterService.CreateMissingOperations(ImportStream importStream, IImporterAdapter importer, IReadOnlyDictionary2 operationsByInvoker) at Kreya.Core.Importer.ImporterService.RunSingleImporter(IImporterAdapter importer, ImportStream importStream, Boolean allowCache, IReadOnlyDictionary2 operationsByInvoker)
at Kreya.Core.Importer.ImporterService.RunImporter(Guid id, Boolean allowCache)
at SpiderEye.Bridge.ApiMethod.InvokeAsync(Object instance, Object parameter)
at SpiderEye.Bridge.WebviewBridge.InvokeWithDependencyInjection(IDependencyInjectionApiMethod apiMethod, Object parameters)
at SpiderEye.Bridge.WebviewBridge.InvokeWithDependencyInjection(IDependencyInjectionApiMethod apiMethod, Object parameters)
at SpiderEye.Bridge.WebviewBridge.ResolveCall(String id, String parameters)

@CommonGuy
Copy link
Contributor

We are looking into this

@CommonGuy CommonGuy added the status:doing We are working on this label Jul 24, 2024
@ni507
Copy link
Contributor

ni507 commented Oct 11, 2024

@bejabengdd Have you entered a path in the 'Project subdirectory to create missing operations' field?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status:doing We are working on this
Projects
None yet
Development

No branches or pull requests

3 participants