GNOME Bugzilla – Bug 575982
pitivi has syntax errors when using Python 2.6
Last modified: 2009-05-14 14:10:22 UTC
When I build pitivi to use Python 2.6, I get these syntax errors when I try to run it: Traceback (most recent call last):
+ Trace 213627
_run_pitivi()
import pitivi.pitivi as ptv
from project import Project, file_is_project
from timeline.timeline import Timeline
as = self.audiocomp._getAutoSettings()
I am guessing that "as" is a reserved word or something. I notice that changing the variable name to "asfoo" fixes the problem. I'm sure this isn't the best thing to rename the variable, but since I am not familiar with the code I'm unsure of a better name. Perhaps you could rename this upstream to something more sensible to avoid this error? Providing a patch that fixes this problem.
Created attachment 130979 [details] [review] patch fixing problem
this patch doesn't apply to current git. Are you sure it's not already fixed ?
Sorry, looking at the latest git code, I don't see this code anymore. I think this is a non-issue.