1. Beatrix Willius
  2. Valentina Database ADK
  3. 水, 11月 18 2020, 05:51 AM
  4.  メールで購読
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.
コメント
There are no comments made yet.
Beatrix Willius 承諾済みの回答
I'll make a screensharing session with the user if he wants to invest the time.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
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?
コメント
There are no comments made yet.
Beatrix Willius 承諾済みの回答
User is also using FileVault. Please help!
コメント
There are no comments made yet.
Beatrix Willius 承諾済みの回答
Using my app with an encrypted drive (FileVault) works fine. I asked the user what encryption software he uses.
コメント
There are no comments made yet.
Beatrix Willius 承諾済みの回答
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.
添付ファイル
コメント
There are no comments made yet.
Beatrix Willius 承諾済みの回答
I'm waiting for a reply from the user.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hello Beatrix,

What macOS version is used?
コメント
There are no comments made yet.
  • ページ :
  • 1


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