1. Beatrix Willius
  2. Valentina Database ADK
  3. Wednesday, November 18 2020, 05:51 AM
  4.  Subscribe via email
A user reports an error -5000 when trying to create a database on an encrypted hard disk:


try
ValentinaDB.Create(theFolderitem, EVDbMode.kDscDatBlbInd, 256*1024)
catch err as VException
if err.ErrorNumber = -5000 then
Globals.theErrorlog.DialogErrorProceed Replace(kErrorNoPermission, "<<filename>>", theFolderitem.NativePath)
else
Globals.theErrorlog.DialogErrorProceed Replace(kErrorCreate, "<<filename>>", theFolderitem.NativePath) + " " + str(ValentinaDB.Errnumber) + ":" + ValentinaDB.ErrString + "."
end if
Globals.theErrorLog.logitem currentMethodName + " done", "close"
Return False
end try


Shouldn't that be handled transparently? What else could cause such an error? Valentina 10.4.12.
Comment
There are no comments made yet.
Beatrix Willius Accepted Answer
I'll make a screensharing session with the user if he wants to invest the time.
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello Beatrix,

Yes, it is odd and hard to understand.

1) I think the device log from the Console.app should give more information, can we get it?
2) What about other applications - are they able to create files in this directory?
3) Is it possible to ask the user to install Valentina Studio from the website (non-MAS) and try to create Valentina Database, SQLite Database there?
Comment
There are no comments made yet.
Beatrix Willius Accepted Answer
User is also using FileVault. Please help!
Comment
There are no comments made yet.
Beatrix Willius Accepted Answer
Using my app with an encrypted drive (FileVault) works fine. I asked the user what encryption software he uses.
Comment
There are no comments made yet.
Beatrix Willius Accepted Answer
User is on 10.15.6. I let him use BatchMod to see the permissions of the folder (see screenshot). Something is very odd here.
Attachments (1)
Comment
There are no comments made yet.
Beatrix Willius Accepted Answer
I'm waiting for a reply from the user.
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello Beatrix,

What macOS version is used?
Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories