-
Notifications
You must be signed in to change notification settings - Fork 75
crash: when block chain start ,some time crash #596
Comments
This kind of error is thrown when the app cannot open database file. We had encountered this issue in our We could not find any reasonable description or solution of this kind of issues, and most likely it seems like the OS restricts accessing database files randomly. Finally in As for |
I have tried running Example app on my side with no issues. Are you running on simulator or device? If on device, what device is this? |
@ealymbaev sometimes it happens. but now it does not happen the most of time. I had a project that was built on the example folder, but now it crashes with the same error here #595, is there a way I can update the project without rebuilding it from zero? what parts of code do I have to change? I saw that the last update was on the podfile.lock file so I copied and pasted on my podfile.lock and it did not work, I downloaded both the podfile.lock and the podifle and put it on my old example folder tried to pod install but it gave me an error |
Thread 15: Fatal error: 'try!' expression unexpectedly raised an error: SQLite error 14: unable to open database file - while executing
SELECT * FROM sqlite_master LIMIT 1
this code
public var lastBlock: Block? { try! dbPool.read { db in try Block.order(Block.Columns.height.desc).fetchOne(db) } }
The text was updated successfully, but these errors were encountered: