puneetsl / lotion

Unofficial Notion.so app for Linux
MIT License
2.01k stars 87 forks source link

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

Open yunque opened 3 years ago

yunque commented 3 years ago

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 commented 3 years ago

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...

puneetsl commented 3 years ago

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.

yunque commented 3 years ago

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?