https://bugs.gpodder.org/show_bug.cgi?id=1696

             Bug #: 1696
           Summary: Python 3 throws exception
    Classification: Unclassified
           Product: gPodder
           Version: 3.3.0
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: low
         Component: Command-line interface
        AssignedTo: [email protected]
        ReportedBy: [email protected]


I converted gpodder and all subcomponents to Python 3. When I run gpo, I am
getting the following stack trace:

1350201402.010747 [gpodder.log] ERROR: Uncaught exception: Traceback (most
recent call last):
  File "/usr//local/bin/gpo", line 129, in <module>
    from gpodder import api
  File "/usr/local/lib/python3.3/site-packages/gpodder/api.py", line 40, in
<module>
    from gpodder import core
  File "/usr/local/lib/python3.3/site-packages/gpodder/core.py", line 30, in
<module>
    from gpodder import model
  File "/usr/local/lib/python3.3/site-packages/gpodder/model.py", line 161, in
<module>
    class PodcastEpisode(PodcastModelObject):
ValueError: 'podcast_id' in __slots__ conflicts with class variable

As I am looking at the code (gpodder.model), the error makes sense: first
PodcastEpisode has  __slots__ = schema.EpisodeColumns (and EpisodeColumns
includes podcast_id); and then there is a statement 

podcast_id = property(fget=_get_podcast_id, fset=_set_podcast_id)

that conflicts with the value in __slots__

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to