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

vNext v0.8.0 win x64 only shows spinner #268

Open
christophwille opened this issue Oct 2, 2024 · 12 comments
Open

vNext v0.8.0 win x64 only shows spinner #268

christophwille opened this issue Oct 2, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@christophwille
Copy link

I double-click the executable after extraction from the x64 zip archive (unblocked first). The window launches full-screen, I get to see a spinner in the middle and that's it.

Windows 10 with latest patches. "Normal" 0.8.0 starts just fine.

@tareqimbasher
Copy link
Owner

Thanks for reporting. Do you see the same issue if you use the installer (.exe) instead of the zip file?

@christophwille
Copy link
Author

christophwille commented Oct 2, 2024

MSI: requires elevation to admin privileges, so sorry, cannot test that.
EXE: can install. But, on running, Crowdstrike Falcon killed the process (didn't do that for extracted one) on first start, second start - again, only spinner.

@AlexKeene
Copy link

AlexKeene commented Oct 2, 2024

Same here via the win64 MSI installer.

The spinner does eventually timeout with the message:

Oops..
NetPad backend did not start after waiting for 30150ms.
Will stop trying.

Looking in the event log I saw I was missing a runtime dependency:

Description: A .NET application failed.
Application: NetPad.Apps.App.exe
Path: C:\Program Files\NetPad vNext\resources\netpad-server\NetPad.Apps.App.exe
Message: You must install or update .NET to run this application.

App: C:\Program Files\NetPad vNext\resources\netpad-server\NetPad.Apps.App.exe
Architecture: x64
Framework: 'Microsoft.AspNetCore.App', version '6.0.0' (x64)
.NET location: C:\Program Files\dotnet\

The following frameworks were found:
8.0.8 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=6.0.0&arch=x64&rid=win-x64&os=win10

I uninstalled Netpad & installed the missing framework but I still get stuck on the spinner => timeout message.

@tareqimbasher
Copy link
Owner

The .exe installer actually runs in user mode and is configured to only do user installs. So if you haven't already tried it, give it a shot.

Besides that, here are some things to try:

  • Can you check if Windows Defender is blocking something about the app?
  • Can you run the app from a terminal (preferably git bash if you have that, or PowerShell/CMD otherwise) and see if you see any issues in the output.

@tareqimbasher
Copy link
Owner

@AlexKeene thank you for reporting. I'll check this out.

@sjsepan3
Copy link

sjsepan3 commented Oct 2, 2024

Same thing here with the .deb package on Linux Mint 21.3; after a while it times out with:

Oops..

NetPad backend did not start after waiting for 30150ms.
Will stop trying.

Regular v0.8.0 package installs / runs normally.

System:
Kernel: 5.15.0-122-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4
tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
base: Ubuntu 22.04 jammy
Machine:
Type: Desktop System: Dell product: OptiPlex 5040 v: N/A serial: Chassis:
type: 3 serial:
Mobo: Dell model: 0R790T v: A00 serial: UEFI-[Legacy]: Dell v: 1.2.7
date: 01/15/2016
Battery:
Device-1: hidpp_battery_0 model: Logitech M570 serial: charge: 25% rechargeable: yes
status: Discharging
CPU:
Info: quad core model: Intel Core i5-6500 bits: 64 type: MCP smt: arch: Skylake-S
rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
Speed (MHz): avg: 1757 high: 2279 min/max: 800/3600 cores: 1: 1634 2: 2279 3: 1325 4: 1792
bogomips: 25599
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: NVIDIA GP108 [GeForce GT 1030] driver: nvidia v: 535.171.04 pcie: speed: 8 GT/s
lanes: 4 ports: active: none off: HDMI-A-1 empty: DVI-D-1 bus-ID: 01:00.0 chip-ID: 10de:1d01
class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x2160 s-dpi: 162 s-size: 602x341mm (23.7x13.4") s-diag: 692mm (27.2")
Monitor-1: HDMI-0 res: 3840x2160 hz: 60 dpi: 163 size: 600x340mm (23.6x13.4")
diag: 690mm (27.2")
OpenGL: renderer: NVIDIA GeForce GT 1030/PCIe/SSE2 v: 4.6.0 NVIDIA 535.171.04
direct render: Yes
Audio:
Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Dell driver: snd_hda_intel
v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
Device-2: NVIDIA GP108 High Definition Audio driver: snd_hda_intel v: kernel pcie:
speed: 8 GT/s lanes: 4 bus-ID: 01:00.1 chip-ID: 10de:0fb8 class-ID: 0403
Sound Server-1: ALSA v: k5.15.0-122-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel Ethernet I219-V vendor: Dell driver: e1000e v: kernel port: N/A bus-ID: 00:1f.6
chip-ID: 8086:15b8 class-ID: 0200
IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac:
IF-ID-1: virbr0 state: down mac:
Drives:
Local Storage: total: 1.14 TiB used: 1.6 TiB (140.4%)
ID-1: /dev/sda vendor: SanDisk model: SD8SBAT-256G-1006 size: 238.47 GiB speed: 6.0 Gb/s
type: SSD serial: rev: 1006 scheme: GPT
ID-2: /dev/sdb vendor: Western Digital model: WDS100T2B0A-00SM50 size: 931.51 GiB
speed: 6.0 Gb/s type: SSD serial: rev: 20WD scheme: MBR
Partition:
ID-1: / size: 233.62 GiB used: 122.27 GiB (52.3%) fs: ext4 dev: /dev/sda3
ID-2: /boot/efi size: 47.2 MiB used: 6 MiB (12.8%) fs: vfat dev: /dev/sda2
ID-3: /home size: 915.82 GiB used: 760.02 GiB (83.0%) fs: ext4 dev: /dev/sdb1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-5:2 info: 816820090226 type: Mass Storage driver: usb-storage interfaces: 1
rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 3207:0300 class-ID: 0806 serial:
Device-2: 1-9:3 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 98mA
chip-ID: 046d:c52b class-ID: 0300
Hub-2: 2-0:1 info: Super-speed hub ports: 10 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 29.8 C pch: 55.5 C mobo: 27.8 C gpu: nvidia temp: 36 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 86%
Repos:
Packages: note: see --pkg apt: 4285
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/gambas-team-gambas3-jammy.list
1: deb [signed-by=/etc/apt/keyrings/gambas-team-gambas3-jammy.gpg] https: //ppa.launchpadcontent.net/gambas-team/gambas3/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/jonaski-strawberry-jammy.list
1: deb [signed-by=/etc/apt/keyrings/jonaski-strawberry-jammy.gpg] https: //ppa.launchpadcontent.net/jonaski/strawberry/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/krupkat-code-jammy.list
1: deb [signed-by=/etc/apt/keyrings/krupkat-code-jammy.gpg] https: //ppa.launchpadcontent.net/krupkat/code/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/lightzone-team-lightzone-jammy.list
1: deb [signed-by=/etc/apt/keyrings/lightzone-team-lightzone-jammy.gpg] https: //ppa.launchpadcontent.net/lightzone-team/lightzone/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/nala-sources.list
1: deb http: //mirrors.advancedhosters.com/ubuntu/ jammy main restricted universe multiverse
2: deb http: //mirror.cs.jmu.edu/pub/ubuntu/ jammy main restricted universe multiverse
3: deb http: //mirror.us-ny2.kamatera.com/ubuntu/ jammy main restricted universe multiverse
4: deb https: //mirror.umd.edu/ubuntu/ jammy main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb https: //fastly.linuxmint.io virginia main upstream import backport
2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/teejee2008-foss-jammy.list
1: deb [signed-by=/etc/apt/keyrings/teejee2008-foss-jammy.gpg] https: //ppa.launchpadcontent.net/teejee2008/foss/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
1: deb [arch=amd64] https: //repo.vivaldi.com/stable/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/vscodium.list
1: deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https: //download.vscodium.com/debs vscodium main
Active apt repos in: /etc/apt/sources.list.d/warpdotdev.list
1: deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/warpdotdev.gpg] https: //releases.warp.dev/linux/deb stable main
Info:
Processes: 268 Uptime: 8m wakeups: 3 Memory: 15.54 GiB used: 2.77 GiB (17.9%) Init: systemd
v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 clang: 14.0.0-1ubuntu1.1
Client: Unknown python client inxi: 3.3.13

@tareqimbasher
Copy link
Owner

@sjsepan3 can you try installing .NET 6 runtime or sdk and see if that fixes the issue for you?

@sjsepan3
Copy link

sjsepan3 commented Oct 2, 2024

@sjsepan3 can you try installing .NET 6 runtime or sdk and see if that fixes the issue for you?

6.0 SDK is already on my system. Also, just decided to follow your advice to @AlenKeene and run from terminal, and got output below, followed by app starting OK (that is after failing 3 times starting from menu.). Starting from menu again still times out...but starting from terminal again still works.


     sjsepan  ~ 󰎙  v20.15.0   05:59   netpad-vnext
[2024-10-02][10:09:47][app_lib::dotnet_server_manager][INFO] Starting .NET server backend at path: '/usr/lib/NetPad vNext/resources/netpad-server/NetPad.Apps.App' with working dir: '/usr/lib/NetPad vNext/resources/netpad-server'
[2024-10-02][10:09:47][app_lib::dotnet_server_manager][INFO] .NET server process started successfully with PID: 61380
Configuration:
   - .NET Runtime Version: 6.0.25
   - Environment: Production
   - WebRootPath: /usr/lib/NetPad vNext/resources/netpad-server/wwwroot
   - ContentRootPath: /usr/lib/NetPad vNext/resources/netpad-server
   - Shell: TauriShell
Registered plugin 'OmniSharp' from 'NetPad.Plugins.OmniSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
[06:09:48 INF] (Microsoft.Hosting.Lifetime) Now listening on: http://localhost:57950
[06:09:48 INF] (Microsoft.Hosting.Lifetime) Application started. Press Ctrl+C to shut down.
[06:09:48 INF] (Microsoft.Hosting.Lifetime) Hosting environment: Production
[06:09:48 INF] (Microsoft.Hosting.Lifetime) Content root path: /usr/lib/NetPad vNext/resources/netpad-server
  Determining projects to restore...
  Restored /tmp/NetPad/OmniSharp/1bb1a085-973f-40d5-bef3-cace1513e5f6/script.csproj (in 116 ms).
[06:09:52 INF] (OmniSharp.Stdio.Host) Starting OmniSharp on Unknown 0.0 (Unknown)
[06:09:53 INF] (OmniSharp.Stdio.Host) Omnisharp server running using Stdio at location '/tmp/NetPad/OmniSharp/1bb1a085-973f-40d5-bef3-cace1513e5f6/' on host 61380.
[06:09:53 WRN] (OmniSharp.Roslyn.CSharp.Services.InlayHints.InlayHintService) Inlay hints requested for document not in workspace Location { FileName = /tmp/NetPad/OmniSharp/1bb1a085-973f-40d5-bef3-cace1513e5f6/User_Program.cs, Range = Range { Start = Point { Line = 0, Column = 0 }, End = Point { Line = 0, Column = 0 } } }

@sjsepan3
Copy link

sjsepan3 commented Oct 2, 2024

Output from 3rd run from terminal (netpad-vnext &) with it still running.

Note: the & is so I get back control at the terminal, but the previous runs from the terminal, which also worked, were without the &, so that doesn't affect it. I cannot tell why running from the menu entry (netpad-vnext) fails but same command from the terminal does not.

@tareqimbasher UPDATE: the linux menu editor has an option to "Launch in Terminal", but when checked (it is not by default) it still times out. So, still somehow different than manually running in terminal (bash).

    sjsepan  ~ 󰎙 v20.15.0   06:16   [2024-10-02][10:16:39][app_lib::dotnet_server_manager][INFO] Starting .NET server backend at path: '/usr/lib/NetPad vNext/resources/netpad-server/NetPad.Apps.App' with working dir: '/usr/lib/NetPad vNext/resources/netpad-server'
[2024-10-02][10:16:39][app_lib::dotnet_server_manager][INFO] .NET server process started successfully with PID: 101207
Configuration:

  • .NET Runtime Version: 6.0.25
  • Environment: Production
  • WebRootPath: /usr/lib/NetPad vNext/resources/netpad-server/wwwroot
  • ContentRootPath: /usr/lib/NetPad vNext/resources/netpad-server
  • Shell: TauriShell
    Registered plugin 'OmniSharp' from 'NetPad.Plugins.OmniSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
    [06:16:40 INF] (Microsoft.Hosting.Lifetime) Now listening on: http://localhost:57950
    [06:16:40 INF] (Microsoft.Hosting.Lifetime) Application started. Press Ctrl+C to shut down.
    [06:16:40 INF] (Microsoft.Hosting.Lifetime) Hosting environment: Production
    [06:16:40 INF] (Microsoft.Hosting.Lifetime) Content root path: /usr/lib/NetPad vNext/resources/netpad-server
    Determining projects to restore...
    Restored /tmp/NetPad/OmniSharp/aaff536b-bb3d-4027-84c0-48acc267b4db/script.csproj (in 75 ms).
    [06:16:43 INF] (OmniSharp.Stdio.Host) Starting OmniSharp on Unknown 0.0 (Unknown)
    [06:16:44 INF] (OmniSharp.Stdio.Host) Omnisharp server running using Stdio at location '/tmp/NetPad/OmniSharp/aaff536b-bb3d-4027-84c0-48acc267b4db/' on host 101207.
    [06:16:44 WRN] (OmniSharp.Roslyn.CSharp.Services.InlayHints.InlayHintService) Inlay hints requested for document not in workspace Location { FileName = /tmp/NetPad/OmniSharp/aaff536b-bb3d-4027-84c0-48acc267b4db/User_Program.cs, Range = Range { Start = Point { Line = 0, Column = 0 }, End = Point { Line = 0, Column = 0 } } }
    [06:16:44 WRN] (OmniSharp.Roslyn.CSharp.Services.InlayHints.InlayHintService) Inlay hints requested for document not in workspace Location { FileName = /tmp/NetPad/OmniSharp/aaff536b-bb3d-4027-84c0-48acc267b4db/User_Program.cs, Range = Range { Start = Point { Line = 0, Column = 0 }, End = Point { Line = 0, Column = 0 } } }

@tareqimbasher
Copy link
Owner

Thank you for the details. I'll take a look and see what's going on. @sjsepan3 is the AppImage giving you the same experience?

@tareqimbasher tareqimbasher added the bug Something isn't working label Oct 2, 2024
@sjsepan3
Copy link

sjsepan3 commented Oct 3, 2024

Thank you for the details. I'll take a look and see what's going on. @sjsepan3 is the AppImage giving you the same experience?

I will try it out tomorrow and let you know ...

@tareqimbasher OK, so the same vnext AppImage exhibits that dual behavior: when run from the desktop launcher in the menu(~/username/.local.share.applications/NetPad/netpad_vnext-0.8.0-linux-x86_64.AppImage) it times out on startup, but when started from the terminal (./netpad_vnext-0.8.0-linux-x86_64.AppImage) it starts fine.
So I think I'll alter the command in the launcher to cd to the directory and then run from there...BRB.

UPDATE: so I can start the app from the terminal at ~ (home/username) with cd /home/sjsepan/.local/share/applications/NetPad && ./netpad_vnext-0.8.0-linux-x86_64.AppImage, but the desktop launcher editor dialog will not accept that, and if I edit the .desktop file in Pluma editor, it won't load into the menu and running the launcher directly gets 'There was an error launching the application'. Alll of that is to say that the launcher doesn't like the compound command. even though it is valid.
The reason I tried this way is because I suspect the difference in behavior between the menu the terminal is the location where I start the app.
UPDATE2: However, starting in the terminal at ~ and using /home/sjsepan/.local/share/applications/NetPad/netpad_vnext-0.8.0-linux-x86_64.AppImage, it works, so ...I don't know.

@tareqimbasher
Copy link
Owner

Thanks @sjsepan3 for the update. It must be having a problem getting the path where it's located.

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

No branches or pull requests

4 participants