GithubHelp home page GithubHelp logo

Comments (16)

marc-farre avatar marc-farre commented on June 3, 2024 2

It works fine, thanks a lot! 😊

For informations for others, I don't know if it's necessary, but I did, after installing:

rm -rf ~/.config/Abricotine
abricotine --reset

from abricotine.

brrd avatar brrd commented on June 3, 2024 1

So it's not only happening on Linux. It's probably an issue when reading into the asar archive.
Your comment is very helpful @tech189, thank you.

from abricotine.

brrd avatar brrd commented on June 3, 2024 1

I think this was fixed in version 1.1.3.

from abricotine.

brrd avatar brrd commented on June 3, 2024 1

Can you please try https://github.com/brrd/abricotine/releases/tag/v1.1.4 and confirm it fixed the issue?

from abricotine.

kkasra12 avatar kkasra12 commented on June 3, 2024

I have a similar problem with version 1.1.2
the error is:

$ abricotine 
[
  [Error: ENOENT: no such file or directory, lstat '/opt/Abricotine/resources/app.asar.unpacked/default/dictionaries'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'lstat',
    path: '/opt/Abricotine/resources/app.asar.unpacked/default/dictionaries'
  }
]
[
  [Error: ENOENT: no such file or directory, lstat '/opt/Abricotine/resources/app.asar.unpacked/default/lang'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'lstat',
    path: '/opt/Abricotine/resources/app.asar.unpacked/default/lang'
  }
]
[
  [Error: ENOENT: no such file or directory, lstat '/opt/Abricotine/resources/app.asar.unpacked/default/templates'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'lstat',
    path: '/opt/Abricotine/resources/app.asar.unpacked/default/templates'
  }
]
[
  [Error: ENOENT: no such file or directory, lstat '/opt/Abricotine/resources/app.asar.unpacked/default/themes'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'lstat',
    path: '/opt/Abricotine/resources/app.asar.unpacked/default/themes'
  }
]

Here is some more results:

$ ls /opt/Abricotine/resources/app.asar.unpacked/default/themes
ls: cannot access '/opt/Abricotine/resources/app.asar.unpacked/default/themes': No such file or directory
$ ls /opt/Abricotine/resources/app.asar.unpacked/default/
ls: cannot access '/opt/Abricotine/resources/app.asar.unpacked/default/': No such file or directory
$ ls /opt/Abricotine/resources/app.asar.unpacked/
ls: cannot access '/opt/Abricotine/resources/app.asar.unpacked/': No such file or directory
$ ls /opt/Abricotine/resources
app.asar
$ ls -l /opt/Abricotine/resources
total 45912
-rw-r--r-- 1 root root 47011579 May 22 17:51 app.asar

from abricotine.

brrd avatar brrd commented on June 3, 2024

@funkycram @kkasra12 Thanks for your feedback.

Can you please try to run abricotine --reset in your terminal?

from abricotine.

marc-farre avatar marc-farre commented on June 3, 2024

Same problem, even after sudo apt remove --purge abricotine and reinstall.

$ abricotine --reset
Gtk-Message: 09:54:43.497: Failed to load module "unity-gtk-module"
Gtk-Message: 09:54:43.499: Failed to load module "unity-gtk-module"
[
  [Error: ENOENT: no such file or directory, lstat '/opt/Abricotine/resources/app.asar.unpacked/default/dictionaries'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'lstat',
    path: '/opt/Abricotine/resources/app.asar.unpacked/default/dictionaries'
  }
]
[
  [Error: ENOENT: no such file or directory, lstat '/opt/Abricotine/resources/app.asar.unpacked/default/lang'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'lstat',
    path: '/opt/Abricotine/resources/app.asar.unpacked/default/lang'
  }
]
[
  [Error: ENOENT: no such file or directory, lstat '/opt/Abricotine/resources/app.asar.unpacked/default/templates'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'lstat',
    path: '/opt/Abricotine/resources/app.asar.unpacked/default/templates'
  }
]
[
  [Error: ENOENT: no such file or directory, lstat '/opt/Abricotine/resources/app.asar.unpacked/default/themes'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'lstat',
    path: '/opt/Abricotine/resources/app.asar.unpacked/default/themes'
  }
]
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
[346752:0524/095443.701457:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.

When I reinstall version 1.0.0 it works well.
Thanks.

PS: je viens de voir que t'es Français, moi je suis à Toulouse ! Merci pour le débogage et surtout cet excellent éditeur markdown !

from abricotine.

brrd avatar brrd commented on June 3, 2024

OK, I will have a look at this when I have some time.

Merci ;-)

from abricotine.

tech189 avatar tech189 commented on June 3, 2024

Just to let you know, I get the same error on Windows 11 with version 1.1.2, the same directories cannot be found: ...\resources\app.asar.unpacked\default\dictionaries, lang, templates, themes. The directory app.asar.unpacked doesn't exist at all. Also, the command abricotine --reset doesn't help sadly. Version 1.0.0 works fine.

from abricotine.

marc-farre avatar marc-farre commented on June 3, 2024

Thanks a lot!
Unfortunately, I still cannot make it work.
Tested:

  • sudo apt remove --purge abricotine
  • Installed v 1.1.3

I get:

$ abricotine 
Gtk-Message: 15:09:16.569: Failed to load module "unity-gtk-module"
Gtk-Message: 15:09:16.570: Failed to load module "unity-gtk-module"
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
[384711:0524/150916.656234:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
Error while loading localization data: Error: EACCES: permission denied, open '/home/marc/.config/Abricotine/app/lang/en.json'

image

And I cannot do anything (e.g. loading a file).

Then, with --reset:

$ abricotine --reset
Gtk-Message: 15:10:49.884: Failed to load module "unity-gtk-module"
Gtk-Message: 15:10:49.885: Failed to load module "unity-gtk-module"
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
[384861:0524/151049.976340:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[
  [Error: EACCES: permission denied, unlink '/home/marc/.config/Abricotine/app/templates/default/template.html'] {
    errno: -13,
    code: 'EACCES',
    syscall: 'unlink',
    path: '/home/marc/.config/Abricotine/app/templates/default/template.html'
  }
]

If I press CTRL + C:
image

On of the problem seems to be here:

$ ls -lah /home/marc/.config/Abricotine/app/templates/
ls: cannot access '/home/marc/.config/Abricotine/app/templates/.': Permission denied
ls: cannot access '/home/marc/.config/Abricotine/app/templates/..': Permission denied
total 0
d????????? ? ? ? ?              ? .
d????????? ? ? ? ?              ? ..

Then, I did try this:

$ rm -rf /home/marc/.config/Abricotine/app/templates/
$ ls -lah /home/marc/.config/Abricotine/app/templates/
ls: cannot access '/home/marc/.config/Abricotine/app/templates/': No such file or directory
$ mkdir /home/marc/.config/Abricotine/app/templates/
$ ls -lah /home/marc/.config/Abricotine/app/templates/
total 8,0K
drwxrwxr-x 2 marc marc 4,0K mai   24 15:16 .
drwxrwxr-x 6 marc marc 4,0K mai   24 15:16 ..

So the folder .config/Abricotine/app/templates/ is now OK.
But if I start do again abricotine --reset then I have the same problem:

$ ls -lah /home/marc/.config/Abricotine/app/templates/
ls: cannot access '/home/marc/.config/Abricotine/app/templates/.': Permission denied
ls: cannot access '/home/marc/.config/Abricotine/app/templates/..': Permission denied
total 0
d????????? ? ? ? ?              ? .
d????????? ? ? ? ?              ? ..

If I reinstall version 1.0.0, then .config/Abricotine/app/templates is accessible:

$ ls -lah /home/marc/.config/Abricotine/app/templates/
total 16K
drwxr-xr-x 4 marc marc 4,0K mai   24 15:21 .
drwxrwxr-x 6 marc marc 4,0K mai   24 15:21 ..
drwxr-xr-x 3 marc marc 4,0K mai   24 15:21 default
drwxr-xr-x 3 marc marc 4,0K mai   24 15:21 github

from abricotine.

brrd avatar brrd commented on June 3, 2024

@funkycram I think this is another issue.

Can you please try rm -rf /home/marc/.config/Abricotine?

from abricotine.

marc-farre avatar marc-farre commented on June 3, 2024

@funkycram I think this is another issue.

Can you please try rm -rf /home/marc/.config/Abricotine?

Yes, I did, same problem.

from abricotine.

brrd avatar brrd commented on June 3, 2024

OK, thank you. I need to do further investigation.

from abricotine.

maxtat3 avatar maxtat3 commented on June 3, 2024

Exactly the same problem after install as @funkycram describes. Tested on Ubuntu 18.04 with LXDE environment.

from abricotine.

brrd avatar brrd commented on June 3, 2024

I'm planning to fix this bug as a priority, as soon as I find enough time to work on it. Before then you can use version 1.0.0 on Linux.

from abricotine.

maxtat3 avatar maxtat3 commented on June 3, 2024

Tested. Also version 1.1.4 works great. Thanks a lot for the quick fix !

from abricotine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.