1. Beatrix Willius
  2. Valentina Database ADK
  3. Dienstag, Januar 28 2020, 01:40 PM
  4.  Abonnieren via E-Mail
What does the above error mean? The code isn't very complicated and has worked for a long time:


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


In the session log that my app does I can see the location of the database:

2020-01-28, 05:00:48 Valentina Version: 9.7.3
2020-01-28, 05:00:48 VConnectionController.ConnectLocally done
2020-01-28, 05:00:48 VConnectionController.OpenDB
2020-01-28, 05:00:48 VConnectionController.OpenDBLocally
2020-01-28, 05:00:48 getDatabase.get
2020-01-28, 05:00:48 getDatabase.CreateDB
2020-01-28, 05:00:48 Dialog: Das Archiv "/Volumes/Sicherungen/MailArchiv/Mail Archiv.vdb" konnte nicht angelegt werden.
Fehler: 4294967253:.
2

Any ideas?

Valentina 9.7.3, macOS 10.14, Xojo 2019r3.
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
Hi guys,

the error showed up again:

2020-11-23 17:14:05 Valentina Version: 10.5.3
2020-11-23 17:14:05 VConnectionController.ConnectLocally done
2020-11-23 17:14:05 VConnectionController.OpenDBLocally
2020-11-23 17:14:05 getDatabase.get
2020-11-23 17:14:05 getDatabase.CreateDB
2020-11-23 17:14:05 Dialog: Couldn't create the archive "/Users/nomad/Documents/Mail Archiver X 5.3.2/Mail Archive.vdb".
Error: 4294967253:.
2020-11-23 17:14:23 getDatabase.CreateDB done
2020-11-23 17:14:23 VConnectionController.OpenDBLocally done
2020-11-23 17:14:23 VConnectionController.Constructor 1 done

Internal drive. Not really a complex name. What more information do you need from me?
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
I'd like to know that, too, where the error -5000 comes from. :D I barely remember what I did yesterday. And no, there is only an error message that the database couldn't be created for that error.

This still doesn't help me why the user can't create the database on the external drive.
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
Hi Beatrix,

where from comes -5000 number? It seems you going replace file if -5000

-43 this is MAC OS error number.
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
Ah, that makes sense. Why wasn't the database created? Permissions problems? I have that as error -5000 or is the error obsolete?
Kommentar
There are no comments made yet.
Ivan Smahin Akzeptierte Antwort
4294967253 == -43
error -43 fnfErr: File not found
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