Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Synchronization] messages.codes.SQLITE_MISUSE #2575

Closed
WhiskyForYourThoughts opened this issue Jan 18, 2023 · 24 comments
Closed

[Synchronization] messages.codes.SQLITE_MISUSE #2575

WhiskyForYourThoughts opened this issue Jan 18, 2023 · 24 comments
Assignees
Labels
replied stale Synchronization [FAQ] Synchronization related issues

Comments

@WhiskyForYourThoughts
Copy link

Detail of the issue

Hey guys, please excuse the ignorance, have just downloaded the latest version of Neuron Wallet for Mac ARM64, all set up good to go and first message I get is messages.codes.SQLITE_MISUSE and the sync will not start at all.

What have I done wrong?

bundled-ckb.log

No response

main.log

No response

status.log

No response

@yanguoyu
Copy link
Collaborator

Maybe you can try to clean cache by clicking. Neuron -> Preference -> Data -> Clean Cache -> Ok.

@WhiskyForYourThoughts
Copy link
Author

WhiskyForYourThoughts commented Jan 20, 2023 via email

@yanguoyu
Copy link
Collaborator

Hi, Yes I had tried that too, not working. Tried to do again now and still not starting the sync. I also tried the option to fully rebuild index too. Says connecting, but nothing starting??   Regards, Wade.

On 20 Jan 2023, at 10:36 am, 严国宇 @.***> wrote: Maybe you can try to clean cache by clicking. Neuron -> Preference -> Data -> Clean Cache -> Ok. — Reply to this email directly, view it on GitHub <#2575 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5KIQPF2RYBVIHJ5BY4ILILWTHMZJANCNFSM6AAAAAAT66Z4DI. You are receiving this because you authored the thread.

I got that, Can you export the debug information for us to help you? You can export the debug information by clicking, Help -> Export debug information.

@WhiskyForYourThoughts
Copy link
Author

WhiskyForYourThoughts commented Jan 20, 2023 via email

@yanguoyu
Copy link
Collaborator

Please forgive my ignorance, I’m not an engineer. I can’t export the debug info, when I try I get the following -  Regards, Wade.

On 20 Jan 2023, at 1:59 pm, 严国宇 @.> wrote: Hi, Yes I had tried that too, not working. Tried to do again now and still not starting the sync. I also tried the option to fully rebuild index too. Says connecting, but nothing starting??   Regards, Wade. … x-msg://6/# On 20 Jan 2023, at 10:36 am, 严国宇 @.> wrote: Maybe you can try to clean cache by clicking. Neuron -> Preference -> Data -> Clean Cache -> Ok. — Reply to this email directly, view it on GitHub <#2575 (comment) <#2575 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5KIQPF2RYBVIHJ5BY4ILILWTHMZJANCNFSM6AAAAAAT66Z4DI. You are receiving this because you authored the thread. I got that, Can you export the debug information for us to help you? You can export the debug information by clicking, Help -> Export debug information. — Reply to this email directly, view it on GitHub <#2575 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5KIQPCT7S72GFITNV5TAEDWTIEQ5ANCNFSM6AAAAAAT66Z4DI. You are receiving this because you authored the thread.

I thought you miss some information in the reply.

@WhiskyForYourThoughts
Copy link
Author

Screenshot 2023-01-20 at 4 25 17 pm

I am seeing the pop up message when I try to export the debug info - Error SQLITE_MISUSE: Database is closed

@WhiskyForYourThoughts
Copy link
Author

So what now?

@Keith-CY
Copy link
Collaborator

Keith-CY commented Jan 21, 2023

So what now?

Hi @WhiskyForYourThoughts

Our developers are on a vocation for the lunar new year, and will reply in several days.

I noticed that Neuron was running on Mac but failed to export the log files, here are steps to open the directory of logs manually:

  1. open an app named Terminal.app, it's a built-in app on macOS;
  2. type open /Users/{Username}/Library/Application\ Support/Neuron/chains/mainnet/data/logs, hit Enter, the finder should be opened. Usually, there will be 3 log files: init.log, migrate.log, run.log. But in this case, it could be empty;
  3. type open /Users/{Username}/Library/Logs/neuron, hit Enter, the finder should be opened. Usually, there will be several log files such as error.log, main.log, renderer.log. But in this case, it could be empty;

Please compress all log files into a compressed file and attach it to this issue, thanks.

Please note that {Username} in the path should be replaced by your actual username.

@WhiskyForYourThoughts
Copy link
Author

WhiskyForYourThoughts commented Jan 22, 2023 via email

@Keith-CY
Copy link
Collaborator

Thank you, apologies I forgot about Lunar New Year. On point 2 there were only 2 files that appeared, init.log and run.log but no migrate.log On point 3 there was only one file that appeared, main.log and nothing else Folder attached  Regards, Wade.

On 21 Jan 2023, at 8:24 pm, Chen Yu @.***> wrote: So what now? Hi @WhiskyForYourThoughts https://github.com/WhiskyForYourThoughts Our developers are on a vocation for the lunar new year, and will reply in several days. I noticed that Neuron was running on Mac but failed to export the log files, here are steps to open the directory of logs manually: open an app named Terminal.app, it's a built-in app on macOS; type open /Users/{Username}/Library/Application\ Support/Neuron/chains/mainnet/data/logs, hit Enter, the finder should be opened. Usually, there will be 3 log files: init.log, migrate.log, run.log. But in this case, it could be empty; type open /Users/{Username}/Library/Logs/neuron, hit Enter, the finder should be opened. Usually, there will be several log files such as error.log, main.log, renderer.log. But in this case, it could be empty; Please compress all log files into a compressed file and attach it to this issue. Please note that {Username} in the path should be replaced with your actual username. — Reply to this email directly, view it on GitHub <#2575 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5KIQPBLUEUKZIRDJKZGN6LWTO2OTANCNFSM6AAAAAAT66Z4DI. You are receiving this because you were mentioned.

Hi @WhiskyForYourThoughts

This reply is possibly sent via an e-mail, so the attachments are actually sent to GitHub Notification Service instead of being attached to this thread.

Please visit the GitHub web page of this thread #2575, and drag&drop the compressed file into the comment box directly. Then a link to the file will be generated so we get download logs through it.

@WhiskyForYourThoughts
Copy link
Author

Neuron Logs.zip

@onebitlab
Copy link

Have same problem with 0.106.0 for ARM

@yanguoyu
Copy link
Collaborator

No native build was found for platform=darwin arch=arm64 runtime=electron abi=99 uv=1 armv=8 libc=glibc

I found these logs on the main.log. Maybe it is because typeorm is not correct for your computer OS version.

@WhiskyForYourThoughts What is your Mac OS version? Maybe you can download the x64 Neuron version. It can run with Rosetta 2 only lost some performance.

@WhiskyForYourThoughts
Copy link
Author

Currently running Ventura 13.1

@yanguoyu
Copy link
Collaborator

yanguoyu commented Jan 27, 2023

Currently running Ventura 13.1

Got that, could you try the x64 Neuron version?

@Keith-CY Could you try the arm64 version with Ventura 13.1?

@WhiskyForYourThoughts
Copy link
Author

Ok, thanks @yanguoyu should I be concerned with the limited performance, is there any risk to my CKB?

Does this version also allow support of importing a cold wallet like ledger?

@yanguoyu
Copy link
Collaborator

Ok, thanks @yanguoyu should I be concerned with the limited performance, is there any risk to my CKB?

Does this version also allow support of importing a cold wallet like ledger?

Of course, it's also a release version, but it will run with Rosetta 2 on M1.
https://github.com/nervosnetwork/neuron/releases/tag/v0.106.0

@WhiskyForYourThoughts
Copy link
Author

Thanks @yanguoyu I've installed the x64 Neuron version and the sync has commenced 😊

@yanguoyu
Copy link
Collaborator

Thanks @yanguoyu I've installed the x64 Neuron version and the sync has commenced 😊

Cool, We will continue to fix the arm64 version.

@anipenguin
Copy link

anipenguin commented Apr 24, 2023

hey guys, can the team put a little note indicating m1/m2 should download the x64 package on the current release page https://github.com/nervosnetwork/neuron/releases/tag/v0.106.0 for now? since the next version isn't out and more people with macOS are having this issue but not everyone can find this workaround intuitively.

@yanguoyu
Copy link
Collaborator

hey guys, can the team put a little note indicating m1/m2 should download the x64 package on the current release page https://github.com/nervosnetwork/neuron/releases/tag/v0.106.0 for now? since the next version isn't out and more people with macOS are having this issue but not everyone can find this workaround intuitively.

Thank you for your suggestion, We will consider it seriously.

@Keith-CY
Copy link
Collaborator

hey guys, can the team put a little note indicating m1/m2 should download the x64 package on the current release page v0.106.0 (release) for now? since the next version isn't out and more people with macOS are having this issue but not everyone can find this workaround intuitively.

The message was added in [v0.106.0] Issues on upgrading to [email protected] and also appended in the release note

@Danie0918 Danie0918 added FAQ [Help documentation] Frequently Asked Questions Synchronization [FAQ] Synchronization related issues labels Jun 15, 2023
@github-actions
Copy link
Contributor

Mark this issue stale because no activity for 60 days

@github-actions github-actions bot added the stale label Aug 17, 2023
@github-actions
Copy link
Contributor

Close this issue because it's inactive since marked stale

@Danie0918 Danie0918 removed the FAQ [Help documentation] Frequently Asked Questions label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
replied stale Synchronization [FAQ] Synchronization related issues
Projects
None yet
Development

No branches or pull requests

6 participants