问题:数据库连接报错

NISBack.cocatalogdb ERABUE‡H. RARI#.png
RE THE WY HE. FE O NU.png

问题解决:

1、替换数据库:

是在与旧会话相同的位置创建一个新会话
https://imagealchemist.net/fix-a-corrupt-session-file/
1.1 拷贝源文件NIS.cocatalog(整个文件)为NIS_back.cocatalog,
1.2 新建目录NIS,拷贝NIS.cocatalog到新文件,删除,可以打开,但仍然报错
Downloads.png

2、仍然报错:

#NIA, NISERLAXN.png

3、打开后逞着没报错之前手动修复文件错误

4、手动修复文件错误:

您的急救措施是从File 菜单 > Verify Catalog or Session运行验证。浏览到会话数据库文件并打开它。它将发现相同的错误并提供修复它的选项。

  1. 已与数据库建立连接
  2. /Volumes/CHY_2T_NVME/C1/NIS.cocatalog/NIS.cocatalogdb
  3. 数据库连接
  4. 验证数据库...Checking database integrity
  5. *** in database main ***
  6. Main freelist: size is 152 but should be 121
  7. row 34 missing from index ZSELECTEDVARIANTS_ZSELECTEDVARIANTS_INDEX
  8. row 35 missing from index ZSELECTEDVARIANTS_ZSELECTEDVARIANTS_INDEX
  9. row 35 missing from index ZSELECTEDVARIANTS_ZSELECTEDINCOLLECTIONS_INDEX
  10. wrong # of entries in index ZSELECTEDVARIANTS_ZSELECTEDVARIANTS_INDEX
  11. wrong # of entries in index ZSELECTEDVARIANTS_ZSELECTEDINCOLLECTIONS_INDEX
  12. Integrity failure
  13. The database failed verification.
  14. The database failed a full verification check.
  15. 数据库验证 失败
  16. 验证数据库...Checking database integrity
  17. *** in database main ***
  18. Main freelist: size is 152 but should be 121
  19. row 34 missing from index ZSELECTEDVARIANTS_ZSELECTEDVARIANTS_INDEX
  20. row 35 missing from index ZSELECTEDVARIANTS_ZSELECTEDVARIANTS_INDEX
  21. row 35 missing from index ZSELECTEDVARIANTS_ZSELECTEDINCOLLECTIONS_INDEX
  22. wrong # of entries in index ZSELECTEDVARIANTS_ZSELECTEDVARIANTS_INDEX
  23. wrong # of entries in index ZSELECTEDVARIANTS_ZSELECTEDINCOLLECTIONS_INDEX
  24. Integrity failure
  25. The database failed verification.
  26. The database failed a full verification check.
  27. 数据库验证 失败
  28. 修复数据库…Creating backup
  29. Commencing database transfer
  30. Transfer in progress
  31. Transfer complete
  32. Backup complete
  33. Fixing: Integrity failure
  34. Preparing to rebuild
  35. Rebuilding the database
  36. Extracting data from database
  37. Extracting 1 rows for ZDOCUMENTCONTENT
  38. Extracting 1 rows for ZVERSIONINFO
  39. Extracting 45 rows for ZENTITIES
  40. Extracting 1 rows for ZCAPTUREPILOT
  41. Extracting 83 rows for ZCOLLECTION
  42. Extracting 1 rows for ZENABLEDOUTPUTRECIPE
  43. Extracting 0 rows for ZKEYWORD
  44. Extracting 7131 rows for ZIMAGE
  45. Extracting 8864 rows for ZIMAGEINCOLLECTION
  46. Extracting 161 rows for ZIMAGEINCOLLECTIONPROPERTIES
  47. Extracting 16 rows for ZPATHLOCATION
  48. Extracting 404 rows for ZPROCESSHISTORY
  49. Extracting 34 rows for ZSELECTEDVARIANTS
  50. Extracting 0 rows for ZSIDECAR
  51. Extracting 7131 rows for ZVARIANT
  52. Extracting 21624 rows for ZVARIANTLAYER
  53. Extracting 21393 rows for ZVARIANTMETADATA
  54. Extracting 0 rows for ZDOCUMENTSETTING
  55. Extracting auxiliary data
  56. Data extraction complete
  57. Preparing to reconnect with the rebuilt database
  58. Moving the rebuilt database in place
  59. Re-opening the database connection
  60. Database rebuilt OK
  61. Integrity error fixer finished
  62. Fixing Complete
  63. Checking database integrity
  64. Database integrity OK
  65. Checking database structure
  66. Checking database structure: tables
  67. Checking database structure: tables structure
  68. Checking database table 'ZCAPTUREPILOT' structure.
  69. Checking database table 'ZCOLLECTION' structure.
  70. Checking database table 'ZDOCUMENTCONTENT' structure.
  71. Checking database table 'ZDOCUMENTSETTING' structure.
  72. Checking database table 'ZENABLEDOUTPUTRECIPE' structure.
  73. Checking database table 'ZENTITIES' structure.
  74. Checking database table 'ZIMAGE' structure.
  75. Checking database table 'ZIMAGEINCOLLECTION' structure.
  76. Checking database table 'ZIMAGEINCOLLECTIONPROPERTIES' structure.
  77. Checking database table 'ZKEYWORD' structure.
  78. Checking database table 'ZPATHLOCATION' structure.
  79. Checking database table 'ZPROCESSHISTORY' structure.
  80. Checking database table 'ZSELECTEDVARIANTS' structure.
  81. Checking database table 'ZSIDECAR' structure.
  82. Checking database table 'ZVARIANT' structure.
  83. Checking database table 'ZVARIANTLAYER' structure.
  84. Checking database table 'ZVARIANTMETADATA' structure.
  85. Checking database table 'ZVERSIONINFO' structure.
  86. Checking database structure: triggers
  87. Checking database structure: indexes
  88. Database structure OK
  89. Checking database content
  90. Checking document type
  91. Checking document type done
  92. Checking document UUID
  93. Checking document UUID done
  94. Checking document selected collection
  95. Checking document selected collection done
  96. Checking collections locations
  97. Checking collections locations done
  98. Checking Collections relationships
  99. Checking Collections relationships done
  100. Checking Capture Pilot settings
  101. Checking Capture Pilot settings done
  102. Checking layer ordering values
  103. Checking layer ordering values done
  104. Checking layer for missing metadata
  105. Checking layer for missing metadata done
  106. Checking metadata for missing layers
  107. Checking metadata for missing layers done
  108. Checking variant relationships
  109. Checking variant relationships done
  110. Checking image variant relationships
  111. Checking image variant relationships done
  112. Checking variant image relationships
  113. Checking variant image relationships done
  114. Checking local adjustment layer UUIDs
  115. Checking local adjustment layer UUIDs done
  116. Checking style adjustment layer UUIDs
  117. Checking style adjustment layer UUIDs done
  118. Checking validity of variant indices
  119. Checking uniqueness of variant indices
  120. Checking for duplicate catalog folder collections
  121. Checking for duplicate catalog folder collections done
  122. Checking missing catalog folder collections
  123. Checking missing catalog folder collections done
  124. Checking for catalog folder collections without a project
  125. Checking for catalog folder collections without a project done
  126. Checking for mismatched catalog folder <-> image links
  127. Checking for mismatched catalog folder <-> image links done
  128. Checking catalog folder links
  129. Checking catalog folder links done
  130. Checking image relationships
  131. Checking image relationships done
  132. Checking sidecar entities
  133. Checking sidecar entities done
  134. Database content OK
  135. Checking database integrity
  136. Database integrity OK
  137. Checking database structure
  138. Checking database structure: tables
  139. Checking database structure: tables structure
  140. Checking database table 'ZCAPTUREPILOT' structure.
  141. Checking database table 'ZCOLLECTION' structure.
  142. Checking database table 'ZDOCUMENTCONTENT' structure.
  143. Checking database table 'ZDOCUMENTSETTING' structure.
  144. Checking database table 'ZENABLEDOUTPUTRECIPE' structure.
  145. Checking database table 'ZENTITIES' structure.
  146. Checking database table 'ZIMAGE' structure.
  147. Checking database table 'ZIMAGEINCOLLECTION' structure.
  148. Checking database table 'ZIMAGEINCOLLECTIONPROPERTIES' structure.
  149. Checking database table 'ZKEYWORD' structure.
  150. Checking database table 'ZPATHLOCATION' structure.
  151. Checking database table 'ZPROCESSHISTORY' structure.
  152. Checking database table 'ZSELECTEDVARIANTS' structure.
  153. Checking database table 'ZSIDECAR' structure.
  154. Checking database table 'ZVARIANT' structure.
  155. Checking database table 'ZVARIANTLAYER' structure.
  156. Checking database table 'ZVARIANTMETADATA' structure.
  157. Checking database table 'ZVERSIONINFO' structure.
  158. Checking database structure: triggers
  159. Checking database structure: indexes
  160. Database structure OK
  161. Checking database content
  162. Checking document type
  163. Checking document type done
  164. Checking document UUID
  165. Checking document UUID done
  166. Checking document selected collection
  167. Checking document selected collection done
  168. Checking collections locations
  169. Checking collections locations done
  170. Checking Collections relationships
  171. Checking Collections relationships done
  172. Checking Capture Pilot settings
  173. Checking Capture Pilot settings done
  174. Checking layer ordering values
  175. Checking layer ordering values done
  176. Checking layer for missing metadata
  177. Checking layer for missing metadata done
  178. Checking metadata for missing layers
  179. Checking metadata for missing layers done
  180. Checking variant relationships
  181. Checking variant relationships done
  182. Checking image variant relationships
  183. Checking image variant relationships done
  184. Checking variant image relationships
  185. Checking variant image relationships done
  186. Checking local adjustment layer UUIDs
  187. Checking local adjustment layer UUIDs done
  188. Checking style adjustment layer UUIDs
  189. Checking style adjustment layer UUIDs done
  190. Checking validity of variant indices
  191. Checking uniqueness of variant indices
  192. Checking for duplicate catalog folder collections
  193. Checking for duplicate catalog folder collections done
  194. Checking missing catalog folder collections
  195. Checking missing catalog folder collections done
  196. Checking for catalog folder collections without a project
  197. Checking for catalog folder collections without a project done
  198. Checking for mismatched catalog folder <-> image links
  199. Checking for mismatched catalog folder <-> image links done
  200. Checking catalog folder links
  201. Checking catalog folder links done
  202. Checking image relationships
  203. Checking image relationships done
  204. Checking sidecar entities
  205. Checking sidecar entities done
  206. Database content OK
  207. 数据库修复