1. Beatrix Willius
  2. Valentina Database ADK
  3. Среда, Ноябрь 18 2020, 05:51 AM
  4.  Подписаться через 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.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Beatrix,

What macOS version is used?
Комментарий
There are no comments made yet.
Beatrix Willius Ответ принят
I'm waiting for a reply from the user.
Комментарий
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 Ответ принят
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 also using FileVault. Please help!
Комментарий
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 Ответ принят
I'll make a screensharing session with the user if he wants to invest the time.
Комментарий
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.

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