[gpodder] Re: Sync error in gPodder 3.11.0 (Windows 10)

  • From: Alex Pankhurst <alex1pankhurst@xxxxxxxxx>
  • To: gpodder@xxxxxxxxxxxxx
  • Date: Mon, 15 May 2023 12:20:22 +1000

Hi everyone,

Sorry for taking so long to circle back to this, but I solved the problem.
All it took was changing to another mountpoint and then back (it may work
with just setting the same mountpoint again, but I didn't try that), and
that changed it from 'E:/' to 'file:///E:/' in the window. That seems to
have done the trick!

One minor thing I noticed is that the action after syncing changed to
'Delete episodes,' which is not how I had it before. Might be worth
checking your settings before clicking OK to make sure it's all how you
want it.

Thanks again, and sorry for such a basic, trivial error.

Alex

On Fri, 2 Sept 2022 at 00:27, Alex Pankhurst <alex1pankhurst@xxxxxxxxx>
wrote:

Hi Brand,

Thanks for your response and sorry for the lacking information.

What version of 3.10.x? Did 3.10.21 work?

This was 3.10.21 (2021-07-19). I downgraded again and it works fine
(except for an already-solved issue with filename encoding I'd forgotten
about).

  File "C:\Program Files
(x86)\gPodder\lib\python3.10\site-packages\gpodder\deviceplaylist.py",
line
105, in get_absolute_filename_for_playlist
    filename =
os.path.join(util.relpath(self._config.device_sync.device_folder,
self.mountpoint.get_uri()), filename)
  File

"C:/msys64/home/appveyor/_gpodder_build_root/mingw32/lib/python3.10/ntpath.py",
line 103, in join
TypeError: expected str, bytes or os.PathLike object, not NoneType

Can you check the logs for any errors? There might be one that mentions
"find_enclosing_mount folder" or "could not find mount point for MP3
player". See

https://gpodder.github.io/docs/user-manual.html#default-gpodder-home-folder
for location of the Logs folder.

OK, checking in the log, I've got a heap of warnings about unknown
external files I need to sort out, then there's this:

===========
2022-08-31 10:31:59,969 [gpodder_launch.gpo] WARNING: Action could not be
completed
Traceback (most recent call last):
  File "C:\Program Files
(x86)\gPodder\lib\python3.10\site-packages\gpodder_launch\gpo.py", line
222, in _action
    yield
  File "C:\Program Files
(x86)\gPodder\lib\python3.10\site-packages\gpodder_launch\gpo.py", line
547, in _update_podcast
    podcast.update()
  File "C:\Program Files
(x86)\gPodder\lib\python3.10\site-packages\gpodder\model.py", line 1265, in
update
    result = self.feed_fetcher.fetch_channel(self, max_episodes)
  File "C:\Program Files
(x86)\gPodder\lib\python3.10\site-packages\gpodder\model.py", line 214, in
fetch_channel
    return self.fetch(url, channel.http_etag, channel.http_last_modified,
max_episodes=max_episodes)
  File "C:\Program Files
(x86)\gPodder\lib\python3.10\site-packages\gpodder\feedcore.py", line 196,
in fetch
    res = self._check_statuscode(stream.status_code, stream.url)
  File "C:\Program Files
(x86)\gPodder\lib\python3.10\site-packages\gpodder\feedcore.py", line 151,
in _check_statuscode
    raise NotFound('not found')
gpodder.feedcore.NotFound: not found
===========

I also tried using the UI version and I think this is the relevant part of
the log:

===========
2022-08-31 11:02:07,201 [gpodder.gtkui.main] ERROR: Error: not found
2022-08-31 11:03:18,421 [gpodder.log] ERROR: Uncaught exception: Traceback
(most recent call last):
  File "C:\Program Files
(x86)\gPodder\lib\python3.10\site-packages\gpodder\syncui.py", line 242, in
check_free_space
    episode_keys = list(map(playlist.get_absolute_filename_for_playlist,
  File "C:\Program Files
(x86)\gPodder\lib\python3.10\site-packages\gpodder\deviceplaylist.py", line
105, in get_absolute_filename_for_playlist
    filename =
os.path.join(util.relpath(self._config.device_sync.device_folder,
self.mountpoint.get_uri()), filename)
  File
"C:/msys64/home/appveyor/_gpodder_build_root/mingw32/lib/python3.10/ntpath.py",
line 103, in join
TypeError: expected str, bytes or os.PathLike object, not NoneType
===========

Alex

On Wed, 31 Aug 2022 at 22:29, Brand Huntsman <alpha@xxxxxxx> wrote:

On 11:24 Wed 31-Aug-2022, Alex Pankhurst wrote:
I just upgraded to 3.11.0 from 3.10 on Windows 10, but sync doesn't
seem to be working. The MP3 player I'm using is just a basic Creative
Zen Nano that mounts as a drive and doesn't need anything more than
copying the files over and updating the playlists. When I try to sync,
GPO calculates the space needed as normal, but after that, it gives
the error below.

What version of 3.10.x? Did 3.10.21 work?


I saw in the Windows documentation that eyed3 is needed for MP3 sync
in gPodder <3.10.0, but would that be relevant here?

eyed3 and mplayer are optional and it will set track length to about
three hours if neither are installled.


  File "C:\Program Files
(x86)\gPodder\lib\python3.10\site-packages\gpodder\deviceplaylist.py",
line
105, in get_absolute_filename_for_playlist
    filename =
os.path.join(util.relpath(self._config.device_sync.device_folder,
self.mountpoint.get_uri()), filename)
  File

"C:/msys64/home/appveyor/_gpodder_build_root/mingw32/lib/python3.10/ntpath.py",
line 103, in join
TypeError: expected str, bytes or os.PathLike object, not NoneType

Can you check the logs for any errors? There might be one that mentions
"find_enclosing_mount folder" or "could not find mount point for MP3
player". See

https://gpodder.github.io/docs/user-manual.html#default-gpodder-home-folder
for location of the Logs folder.



Other related posts: