Giter Club home page Giter Club logo

Comments (14)

Sn8z avatar Sn8z commented on July 17, 2024

Hi @JackNavarra! Are you perhaps using the snap version of Poddr? If so I guess there are some issues with the 1.0.9 update released last week. If you could launch the program from a terminal and return the output here it would be great 💃

from poddr.

Sn8z avatar Sn8z commented on July 17, 2024

This is btw absolutely the right place to post issues! 👍

from poddr.

JackNavarra avatar JackNavarra commented on July 17, 2024

Hi Marcus! Thank you for your response.

Yes, I am using the snap version and it is 1.0.9.

Here is the screen output when I launch the program in a terminal:

Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
[15:13:32.339] [info] gnome
[15:13:32.342] [info] Error: No introspectable
    at /snap/poddr/2/resources/app.asar/node_modules/dbus/lib/bus.js:129:15

[15:13:32.343] [info] mate
[15:13:32.343] [info] Error: No introspectable
    at /snap/poddr/2/resources/app.asar/node_modules/dbus/lib/bus.js:129:15

[15:13:32.739] [info] Settings are stored at /home/jackn/snap/poddr/2/.config/poddr/storage
[15:13:32.805] [info] Fetching storefronts...
[15:13:32.823] [info] Done fetching storefronts.
[15:13:32.908] [info] Loaded CSS color variable.
[15:13:32.911] [info] Fetching podcasts...
[15:13:33.287] [info] Found 50 podcasts.

from poddr.

Sn8z avatar Sn8z commented on July 17, 2024

Hmm, what desktop environment are you using?
There seems to be some crash that Poddr unfortunately don't catch atm..
Could you try to revert the version to 1.0.8 by running:
sudo snap revert poddr
to verify that it's indeed something wrong with 1.0.9?

from poddr.

JackNavarra avatar JackNavarra commented on July 17, 2024

I'm using Gnome 3.28.2.

I tried reverting the version but didn't work:
error: cannot revert "poddr": no revision to revert to

Do you think I should try it manually? i.e. compiling and installing the version 1.0.8 from the source? I guess that is available on github.

from poddr.

Sn8z avatar Sn8z commented on July 17, 2024

I guess that means you've never had 1.0.8 installed?
snap list --all should show if you've had any prevision version installed.
Do you know if 1.0.9 have worked at any point for you?
It could be an issue with the 'state' of the player.
In /home/jackn/snap/poddr/2/.config/poddr/storage there should be multiple JSON files, try moving region.json / volume.json / playerState.json / prevPlayed.jsonone by one to another location(if this helps I would love to see the content of the file 💃 ) and start Poddr inbetween. These files store values between sessions and if they contain something weird it could cause issues.

from poddr.

JackNavarra avatar JackNavarra commented on July 17, 2024

No, I have never had 1.0.8 installed. I just installed it couple of days ago (v1.0.9) and used for a few days with no problem.

/home/jackn/snap/poddr/2/.config/poddr/storage is empty.

from poddr.

Sn8z avatar Sn8z commented on July 17, 2024

That sounds weird, are you sure that nautilus is showing all files?
Can you confirm that the directory is empty by running
ls -la /home/jackn/snap/poddr/2/.config/poddr/storage
You could also try to download and run the AppImage version of Poddr found under releases and see if that works for you. The snap version and the AppImage version uses different folders for storage so it will behave like a completely new installation of Poddr.

I will install a Ubuntu machine later today and see if I'm able to reproduce the error in some way. I will also improve the logging and publish an updated 1.0.9 version asap.

from poddr.

Sn8z avatar Sn8z commented on July 17, 2024

@JackNavarra Just got my Ubuntu installation up and running and can confirm that I get the same crash on a fresh install, will look into it and get back to you here :)

from poddr.

Sn8z avatar Sn8z commented on July 17, 2024

@JackNavarra So I've just uploaded a new revision to snapcraft 💃
snap refresh poddr
It would be awesome if you could take a look and see if things work as expected :)
There was an issue with a dependency that for some reason doesn't work well with Ubuntu 18.04 atm. I'm honestly not sure why it only crashes in Ubuntu but I will have to look into that more thoroughly in the coming weeks.

from poddr.

JackNavarra avatar JackNavarra commented on July 17, 2024

Hi @Sn8z

I'm sorry for the long break. I checked already the folder ls -la /home/jackn/snap/poddr/2/.config/poddr/storage and didn't return with the expected content, it is empty.

I also tried snap refresh poddr and I got:
snap "poddr" has no updates available

It is weird, that I didn't try to launch Poddr before the refresh command, but it just worked after refresh even though there were no updates. I don't know if this is because you didn't specify a new version number for the modifications you have done but it anyway installed the modified version. I don't know how snap works, to be honest.

FYI: After successful launch I checked once again if the above mentioned folder has contents and it does not. I did a search on my computer where the files mentioned in this post are:
https://github.com/Sn8z/Poddr/issues/52#issuecomment-438718480
and failed to locate them.

Thank you very much for your support. I'm currently enjoying my podcasts via poddr! I hope this time it will not be short-lived.

from poddr.

Sn8z avatar Sn8z commented on July 17, 2024

No worries :)

Hmm, it's indeed weird that the folder is empty.. Can you save favourites and are volume and last played podcast stored between sessions? The number represents the revision of Poddr so the 2 should now be a 3.

Snaps are auto-updating, the refresh command is just a way to force check for updates so that works as expected ^^ By typing snap list you can see both the version and revision of a snap which can be useful sometimes.

I'm glad that it now works again and thanks for making me aware of the issue! If any new problems/bugs arises feel free to create a new issue 💃

from poddr.

JackNavarra avatar JackNavarra commented on July 17, 2024

I'm not sure if I understand your request properly:

Can you save favourites and are volume and last played podcast stored between sessions?

If you are asking whether I'm able to save favourites, to recover the last episode played and the volume level between sessions (quiting and launching cycles), then the answer is: yes, I am.

On the other hand, /home/jackn/snap/poddr/3/.config/poddr/storage/ contains some of the *.json files you mentioned:
1048450387.json
1083150785.json
1089143225.json
playerState.json
prevPlayed.json
volume.json

But, /home/jackn/snap/poddr/2/.config/poddr/storage/ is still empty (I guess this is the configuration folder for the revision 2)

The number represents the revision of Poddr so the 2 should now be a 3

Yes, the revision number is now 3.

Thank you, again, for your support.

from poddr.

Sn8z avatar Sn8z commented on July 17, 2024

Yes, that was what I meant 👍
Things seems to be working as expected!
I'll probably have to make some kind of FAQ or explanation of the different .json files in the future.

Thanks to you aswell for reporting the issue! I will make a greater effort in the future to make sure it runs well on Ubuntu(18.04) before updating the stable release 💃

from poddr.

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.