-
-
Notifications
You must be signed in to change notification settings - Fork 255
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
new gjs version causes crashes #1073
Comments
I ran foliate through konsole, this is the error code I got |
Closing as obsolete with the release of the GTK 4 version. Feel free to open new issues if you have problems with the new version. |
Should we wait for an installable .deb file or that's not coming anymore? |
You can download them from this PPA: https://launchpad.net/~apandada1/+archive/ubuntu/foliate. Note that any .deb package of Foliate would require Ubuntu 23.10 or newer. |
That... is unfortunate! I have to stick with Foliate 2.6.4 for the time being then. In the meantime, I'm getting the same Memory Error with Foliate 2.6.4 on Ubuntu 22.04 (Linux Mint). Though using But can you tell what |
Maybe. I have no idea. |
I've recently got same issue and found https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1169694 where it is suggested to run https://developer-old.gnome.org/glib/stable/glib-Memory-Slices.html This will cause all slices allocated through g_slice_alloc() and released by g_slice_free1() to be actually allocated via direct calls to g_malloc() and g_free(). |
I also found and read those docs after my last reply. I wasn't satisfied with the results, overall. |
I just tried to build 3.0.1 on 22.04 as I'm waiting for 24.04 to upgrade this machine (not doing non-LTS releases ever again!). As you can see it doesn't seem to think that I have a cromulent version of gjs installed despite the appearance of 1.72.4 > 1.0.
Here's that log:
|
The minimum GJS version is 1.76. I think the |
Did I miss that in the README.md? If not, perhaps you might include that? |
As I'm sure you've already surmised, that's not going to work until ubuntu is upgraded. I just borked my system over the weekend and so if whatever I did to try to get that version of GJS installed on my system breaks it, oh well... i still have the flash drive handy. |
Yes, the minimum version is documented in the readme. It does not mention the API version in the readme as it's implied by the package version. The API version is usually identical to the major version, i.e. the first number in the version string. (The exception is WebKitGTK, which can have multiple API versions for the same version.) I think (though I'm not entirely sure) the Maybe it would be better to just remove the version checks in Meson. Those were added purely to stop people from assuming that they have met the minimum requirements. But apparently it didn't really accomplish that. And although Meson reports them as run time dependencies, you have to install them at build time, which makes no sense. I don't know why it says "not found", though. If you have older versions of GJS with the same API version, I would expect it to say that it is found but does not meet the version requirement. |
So here's why I'm here: In my opinion, the most complete and capable Linux ebook reader is Calibre but it leaves a lot to be desired in terms of UX. I would prefer not to look at it–ever. (I didn't even bother to seriously consider using it for a backend server and went with Kativa instead). Since I really don't read ebooks, I just want something light-weight that I can search for what I'm listening to on audio, look at end- and footnotes, references, etc., Part of my definition of light-weight is not an appimage/flatpack/snap. I didn't think to really look for it, but gnome-books might be a solution if it would actually work on my laptop (new 22.04 install as of 3 days ago); would use directories other than ~/Documents; would follow symlinks in ~/Documents; and was still actively being developed (no activity for at least a year). So after all that, I'm back to where I was a week ago: foliate fits my requirements (if I can get a .deb/build) and I'd nominate it to replace gnome-books if that's been abandoned. |
I just installed the .deb from https://github.com/johnfactotum/foliate/releases/tag/2.6.3 and unless there's some reaon that that is a problem (e.g., insecure), that solves my issue 'till 24.04. Hmmm... just crashed with the gjs error. So I take it that means I'd need to downgrade gjs. :( |
You could consider using an online viewer such as https://github.com/pgaskin/ePubViewer. foliate-js has an online demo viewer also: https://johnfactotum.github.io/foliate-js/reader.html. Compared to the EPUB viewer above it can open more formats, but it doesn't support searching in the book (well, you can run
You could try the workaround mentioned above. Just an idea, but you can also try the 1.x versions. |
Thanks for all your help. Foliate really fills a need as described or I wouldn't be spending the time on it. I'm just going to install the snap and satisfice on that until April. Thanks again for the support and for Foliate. |
Describe the bug
in less than a minute, foliate crashes after updating gjs and libgjs0g
To Reproduce
update gjs and libgjs0g to jammy-updates repo version instead of jammy repo
jammy-updates repo version is 1.72.4
jammy repo version is 1.72.0-1
Version:
Additional context
if you all see gjs and libgjs0g have been kept back for weeks, just leave them be.
The text was updated successfully, but these errors were encountered: