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

Windows: Starting acorn fails after it has been closed for the first time. #249

Closed
matthme opened this issue Jan 29, 2023 · 9 comments
Closed
Labels
bug Something isn't working windows

Comments

@matthme
Copy link

matthme commented Jan 29, 2023

I'm not sure whether I'm just trying to open Acorn wrongly on Windows but here's what happens:

  1. I installed Acorn on a Windows laptop and created a project.
  2. I closed Acorn.
  3. Whenever I try to reopen it since then it just gets stuck at the endless splashscreen.

When I open it via Powershell I see the following error and a fatal panic:

ERROR holochain_runner::embedded_runner: Conductor returned an error while using a ConductorApi: AppAlreadyInstalled("main-app")

Fatal panic report:

name = 'holochain-runner'
operating_system = 'windows'
crate_version = '0.5.0'
explanation = '''
Panic occurred in file 'src\embedded_runner.rs' at line 115
'''
cause = 'explicit panic'
method = 'Panic'
backtrace = '''

   0: 0x7ff6b319ed6f - <unresolved>
   1: 0x7ff6b31a1040 - <unresolved>
   2: 0x7ff6b33bd9f5 - <unresolved>
   3: 0x7ff6b33bdaec - <unresolved>
   4: 0x7ff6b148ad5b - <unresolved>
   5: 0x7ff6b12ad772 - <unresolved>
   6: 0x7ff6b0f4918c - <unresolved>
   7: 0x7ff6b2dc80df - <unresolved>
   8: 0x7ff6b2dc7653 - <unresolved>
   9: 0x7ff6b2db5da6 - <unresolved>
  10: 0x7ff6b2dc704f - <unresolved>
  11: 0x7ff6b2dadad4 - <unresolved>
  12: 0x7ff6b2d9e16a - <unresolved>
  13: 0x7ff6b2dbd810 - <unresolved>
  14: 0x7ff6b2dcd654 - <unresolved>
  15: 0x7ff6b2db0178 - <unresolved>
  16: 0x7ff6b2dac2b8 - <unresolved>
  17: 0x7ff6b31ac85c - <unresolved>
  18: 0x7ff9833a74b4 - BaseThreadInitThunk
  19: 0x7ff9836626a1 - RtlUserThreadStart'''

I think fatal errors like this should ideally be detected and somehow made visible in the UI instead of getting stuck at the endless splashscreen.

@matthme
Copy link
Author

matthme commented Jan 29, 2023

Even after uninstalling and reinstalling this behavior remains so it seems I can't use Acorn anymore on that laptop (and I might have lost that project).

@matthme
Copy link
Author

matthme commented Jan 29, 2023

Same happens with acorn 3.0.0-alpha and 2.1.1-alpha.

@pegahvaezi
Copy link
Collaborator

@matthme does this issue still happen with v9.3.1-alpha?

@pegahvaezi pegahvaezi added bug Something isn't working windows labels Oct 12, 2023
@matthme
Copy link
Author

matthme commented Oct 22, 2023

I had access today to that PC again and tried to open acorn. It opened fine today with acorn 4.0.0 but (before attempting to open the project that I had created on that PC) it prompted me to update to 9.4.1. I clicked on "Update", then it told me that automatically updating is only supported on macOS. So I manually downloaded it from github and installed it (the .exe file does not seem to be code signed by the way, I'm not sure that's known).
Upon re-opening it said something along the lines of "synching/waiting for peer" although this project was actually created on this very machine in the first place so there would be no need to synch anything. Then When I refreshed the page, the project disappeared completely and it remained disappeared after restarting acorn 9.4.1.
I then tried to reinstall acorn 4.0.0 but now when I open acorn 4.0.0 I cannot open the project anymore either as it says "Update to access". So I'm basically locked out of that project again.

EDIT: No errors in the developer console with acorn 9.4.1, the list of projects is simply empty now.

@TechSupport26
Copy link

I then tried to reinstall acorn 4.0.0 but now when I open acorn 4.0.0 I cannot open the project anymore either as it says "Update to access". So I'm basically locked out of that project again.

There is a hack way (Unofficially I suppose) to get access to projects in older versions. Check this out. #282 (comment)

I don't know if this will create issues later on but I would definitely export the project.

@Connoropolous
Copy link
Collaborator

Connoropolous commented Oct 22, 2023

hey @matthme

  • we know abt Windows not codesigning. weve never ventured to set that up yet, but maybe we will bump it up
  • the 'update to access' issue we've solved in subsequent versions of Acorn

@matthme
Copy link
Author

matthme commented Oct 23, 2023

the 'update to access' issue we've solved in subsequent versions of Acorn

Cool :)

we know abt Windows not codesigning. weve never ventured to set that up yet

Okay, yes Windows code signing is a pain so I don't blame you ;) I just recently uploaded an unsigned executable by accident myself so I thought it's worth mentioning anyway

@Connoropolous
Copy link
Collaborator

I've opened an issue for windows codesigning. I think I'll do it soon.
#340

@Connoropolous
Copy link
Collaborator

I'm closing this issue though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Projects
None yet
Development

No branches or pull requests

4 participants