akameco / PixivDeck

:two_hearts: pixiv client for Desktop like TweetDeck :two_hearts:
https://PixivDeck.github.io
MIT License
448 stars 36 forks source link

Segmentation fault with v1.4.0 on Ubuntu #367

Open Robert-Ernst opened 5 years ago

Robert-Ernst commented 5 years ago

Do you want to request a feature or report a bug?: Bug

What is the current behavior?: executing ./pixivdeck Output: Segmentation fault (core dumped)

What is the expected behavior?: Start of the application

Which Version is used?: https://github.com/akameco/PixivDeck/releases/tag/v1.4.0 .deb and Appimage --> same behavior

ProblemType: Crash Architecture: amd64 CurrentDesktop: GNOME Date: Fri Aug 30 19:04:01 2019 DistroRelease: Ubuntu 19.04 ExecutablePath: /opt/PixivDeck/pixivdeck

LaurentFough commented 4 years ago

Also getting this on Arch.

from this aur packagë pixivdeck-bin

sceneturkey commented 4 years ago

I'm also having this exact issue on Manjaro exactly one year after this issue was brought up. It worked to pull bookmarks to a folder one time and now it displays this error whenever I try to start pixivdeck in terminal.

l8doku commented 4 years ago

I'm also having this exact issue on Manjaro exactly one year after this issue was brought up. It worked to pull bookmarks to a folder one time and now it displays this error whenever I try to start pixivdeck in terminal.

I've tried to debug this some time ago. The problem is related to outdated dependencies. There was a bug related to an older electron version, and the electron's response on their issues page is "ask app developers to update their dependencies, it's not our bug".

You can't run the old version of everything because one of the packages (the one with the but, I think) is too important to downgrade it (you would break everything). You can update the dependencies and build from source though. I've tried this and it was somewhat successful. I ran the app but everything kept breaking somewhere because I didn't really know what I was doing when I was updating it. So I ended up giving up.

I can try making a fork that produces a runnable build, but debugging this was my first experience with npm and electron, so I'm not sure I can make it usable instead of just "runnable".

narcester commented 4 years ago

I'm also having this exact issue on Manjaro exactly one year after this issue was brought up. It worked to pull bookmarks to a folder one time and now it displays this error whenever I try to start pixivdeck in terminal.

I've tried to debug this some time ago. The problem is related to outdated dependencies. There was a bug related to an older electron version, and the electron's response on their issues page is "ask app developers to update their dependencies, it's not our bug".

You can't run the old version of everything because one of the packages (the one with the but, I think) is too important to downgrade it (you would break everything). You can update the dependencies and build from source though. I've tried this and it was somewhat successful. I ran the app but everything kept breaking somewhere because I didn't really know what I was doing when I was updating it. So I ended up giving up.

I can try making a fork that produces a runnable build, but debugging this was my first experience with npm and electron, so I'm not sure I can make it usable instead of just "runnable".

I would love to see a working fork of this project, because I really don't want to keep using my browser for pixiv. I would also love to see the project getting updated by the developer himself if that is possible, but I assume the developer may also be busy with other stuff. I unfortunately do not have any alternative for pixiv on Linux, only this, so I'd really want to see this project work.

l8doku commented 4 years ago

I would love to see a working fork of this project, because I really don't want to keep using my browser for pixiv. I would also love to see the project getting updated by the developer himself if that is possible, but I assume the developer may also be busy with other stuff. I unfortunately do not have any alternative for pixiv on Linux, only this, so I'd really want to see this project work.

I'll try to upload my attempt at patching up the version 1.5.0. I'd also like to see updates by the developer, as I have no idea what I'm doing and I probably won't be able to maintain my fork (not even talking about updating it).

I just tried running it - it's barely usable. It crashes all the time when you try to open any page except for the default feed. Once I upload my fork I'll try looking into those crashes, maybe I can fix them by random tweaks, like I did with the segmentation fault error. Hopefully, once there is a runnable version, someone can help me fixing it.

SuperZoops commented 3 years ago

Any updates on this, @l8doku ?

l8doku commented 3 years ago

Any updates on this, @l8doku ?

Thank you for reminding me of this, @SuperZoops . I'll try to push it this weekend. Haven't ever done anything like this, so the whole thing was scaring me away.

l8doku commented 3 years ago

I pushed my version here: https://github.com/l8doku/PixivDeck

There are surprisingly few changes to files, I remember installing npm packages for at least an hour to make it work. I just checked, and it shouldn't work out of the box. I don't know how to modify package.json properly so it has all the correct packages. But if you repeatedly try to build it, see the error "package X is missing" and install the package from the error message you should be able to run it.

I can make a release with an updated Appimage, but it isn't usable as an application, so I don't think it's going to be helpful to anyone.