1. Beatrix Willius
  2. Valentina Database ADK
  3. Mittwoch, November 18 2020, 05:51 AM
  4.  Abonnieren via E-Mail
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.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hello Beatrix,

What macOS version is used?
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
I'm waiting for a reply from the user.
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
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.
Anhänge
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
Using my app with an encrypted drive (FileVault) works fine. I asked the user what encryption software he uses.
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
User is also using FileVault. Please help!
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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?
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
I'll make a screensharing session with the user if he wants to invest the time.
Kommentar
There are no comments made yet.
  • Seite :
  • 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