lotion icon indicating copy to clipboard operation
lotion copied to clipboard

Install appears successful but gives error, app doesn't open

Open yunque opened this issue 3 years ago • 3 comments

Thanks for the great project! I'm looking forward to using it!

I tried to install the app via ./setup.sh native (with and without sudo), the installation appeared to finish correctly, but it threw an error (see below) and the app doesn't open when I click on the launcher icon. I am using Ubuntu 16.04 LTS.

Error:
there is no such archive
cp: cannot stat 'resources/app.asar': No such file or directory

I don't see what line of the setup script is causing the error. Any idea how to resolve this manually?

A more complete output to give it context within the installation responses:

Processing archive: Notion Setup 2.0.9.exe

Extracting  �/System.dll
Extracting  �/StdUtils.dll
Extracting  �/SpiderBanner.dll
Extracting  �/nsProcess.dll
Extracting  �/nsExec.dll
Extracting  �/�/app-64.7z
Extracting  �/�/nsis7z.dll
Extracting  Uninstall Notion.exe
Extracting  �/WinShell.dll

Everything is Ok

Files: 9
Size:       52239419
Compressed: 52086592

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)


Error:
there is no such archive
cp: cannot stat 'resources/app.asar': No such file or directory
Linking executables ...
Copying shortcut ...
Cleaning ...
Done !

yunque avatar Apr 16 '21 10:04 yunque

I am able to successfully install and launch it if I specify the web version (./setup.sh web), but it looks like a native version to me... it opens through the launcher and appears to run as an app outside the browser.

(I am first taken to the official Notion.so website in order to create an account.)

Looks great so far! But I'm still confused as to why the native installation didn't work and why the web installation looks like a native one...

yunque avatar Apr 16 '21 10:04 yunque

Thanks for using Lotion, can you post the screenshot, with version 0.05, the difference between native and web versions is blurred a bit. Besides offline and login support, the native version doesn't have much to offer while using a really good amount of RAM.

puneetsl avatar Apr 16 '21 23:04 puneetsl

Hey @puneetsl, thanks for the quick reply! And thanks for the clarification on web vs native. The web app looks like what I need so that's good!

Do you mean a screenshot of the web app running, or a screenshot of the terminal installation output messages?

yunque avatar Apr 17 '21 10:04 yunque