Skip to content

[Error] On linux Ubuntu Jammy (22.04) the app fails to start. #22

@NanashiTheNameless

Description

@NanashiTheNameless

Pre-submission checklist

  • I checked that no other Error or Bug Report describing my problem exists.
  • I am running the latest stable or prerelease version of OpenShock Desktop.
  • I accept that this issue may be closed if any of the above are found to be untrue.

OS

Linux

Paste your error / exception stack trace here

[13:51:30 INF] [] 

   ____  ____  _______   _______ __  ______  ________ __    ____  ___________ __ ____________  ____ 
  / __ \/ __ \/ ____/ | / / ___// / / / __ \/ ____/ //_/   / __ \/ ____/ ___// //_/_  __/ __ \/ __ \
 / / / / /_/ / __/ /  |/ /\__ \/ /_/ / / / / /   / ,<     / / / / __/  \__ \/ ,<   / / / / / / /_/ /
/ /_/ / ____/ /___/ /|  /___/ / __  / /_/ / /___/ /| |   / /_/ / /___ ___/ / /| | / / / /_/ / ____/ 
\____/_/   /_____/_/ |_//____/_/ /_/\____/\____/_/ |_|  /_____/_____//____/_/ |_|/_/  \____/_/      

1.0.0+3fb2d29078892d5bfa6b3a53e9b2431e65f979ac - linux-x64

Photino.NET: "Photino".SetTitle(Photino.Blazor App)
Photino.NET: "Photino.Blazor App".SetUseOsDefaultSize(False)
Photino.NET: "Photino.Blazor App".SetUseOsDefaultLocation(False)
Photino.NET: "Photino.Blazor App".SetWidth(1000)
Photino.NET: "Photino.Blazor App".SetHeight(900)
Photino.NET: "Photino.Blazor App".SetLeft(0)
Photino.NET: "Photino.Blazor App".SetTop(100)
Photino.NET: "Photino.Blazor App".SetIconFile(wwwroot/images/Icon512.png)
Photino.NET: "Photino.Blazor App".SetTitle(OpenShock Desktop)
[13:51:30 INF] [OpenShock.Desktop.Config.ConfigManager] Config file found, trying to load config from /home/null/.config/OpenShock/Desktop/config.json
[13:51:30 INF] [OpenShock.Desktop.Config.ConfigManager] Successfully loaded config
[13:51:30 INF] [OpenShock.Desktop.Services.Pipes.PipeServerService] [0] Starting new server loop
Photino.NET: "OpenShock Desktop".Load(/)
Photino.NET: "OpenShock Desktop" ** File "/" could not be found.
Photino.NET: "OpenShock Desktop".Load(app://localhost/)
[13:51:30 INF] [OpenShock.Desktop.Services.Updater] Checking GitHub for updates on channel Release
Photino.NET: "OpenShock Desktop"***
Unable to load shared library 'Photino.Native' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /home/null/Downloads/OpenShock.Desktop.Photino.Linux/Photino.Native.so)
Photino.Native.so: cannot open shared object file: No such file or directory
/home/null/Downloads/OpenShock.Desktop.Photino.Linux/libPhotino.Native.so: cannot open shared object file: No such file or directory
/home/null/Downloads/OpenShock.Desktop.Photino.Linux/Photino.Native: cannot open shared object file: No such file or directory
/home/null/Downloads/OpenShock.Desktop.Photino.Linux/libPhotino.Native: cannot open shared object file: No such file or directory

   at Photino.NET.PhotinoWindow.Photino_ctor(PhotinoNativeParameters& parameters)
   at Photino.NET.PhotinoWindow.<WaitForClose>b__369_2()
   at Photino.NET.PhotinoWindow.Invoke(Action workItem)
   at Photino.NET.PhotinoWindow.WaitForClose()
Error #0
Unhandled exception. System.ApplicationException: Native code exception. Error # 0  See inner exception for details.
 ---> System.DllNotFoundException: Unable to load shared library 'Photino.Native' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: 
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /home/null/Downloads/OpenShock.Desktop.Photino.Linux/Photino.Native.so)
Photino.Native.so: cannot open shared object file: No such file or directory
/home/null/Downloads/OpenShock.Desktop.Photino.Linux/libPhotino.Native.so: cannot open shared object file: No such file or directory
/home/null/Downloads/OpenShock.Desktop.Photino.Linux/Photino.Native: cannot open shared object file: No such file or directory
/home/null/Downloads/OpenShock.Desktop.Photino.Linux/libPhotino.Native: cannot open shared object file: No such file or directory

   at Photino.NET.PhotinoWindow.Photino_ctor(PhotinoNativeParameters& parameters)
   at Photino.NET.PhotinoWindow.<WaitForClose>b__369_2()
   at Photino.NET.PhotinoWindow.Invoke(Action workItem)
   at Photino.NET.PhotinoWindow.WaitForClose()
   --- End of inner exception stack trace ---
   at Photino.NET.PhotinoWindow.WaitForClose()
   at Photino.Blazor.PhotinoBlazorApp.Run()
   at OpenShock.Desktop.Platforms.Photino.PhotinoEntryPoint.Start(CliOptions config) in /home/runner/work/Desktop/Desktop/Desktop/Platforms/Photino/PhotinoEntryPoint.cs:line 93
   at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
   at OpenShock.Desktop.Cli.ParseHelper.Parse[T](String[] args, Action`1 success) in /home/runner/work/Desktop/Desktop/Desktop/Cli/ParseHelper.cs:line 10
   at OpenShock.Desktop.Platforms.Photino.PhotinoEntryPoint.Main(String[] args) in /home/runner/work/Desktop/Desktop/Desktop/Platforms/Photino/PhotinoEntryPoint.cs:line 42
[1]    53504 IOT instruction (core dumped)  ./OpenShock.Desktop

OpenShock Desktop version

1.0.0+3fb2d29078892d5bfa6b3a53e9b2431e65f979ac

Describe what you were doing when the error occurred as precisely as possible.

I run the .desktop as a binary as it is an invalid desktop descriptor (https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html) and it fails

Reproduction Steps

  • Use ubuntu 22.04 LTS
  • Run the ".deskop" binary

Other remarks

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions