Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271033 - x11-themes/fvwm-crystal-3.0.6 doesn't work well with python2.6
Summary: x11-themes/fvwm-crystal-3.0.6 doesn't work well with python2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.6
  Show dependency tree
 
Reported: 2009-05-24 09:02 UTC by Naohiro Aota
Modified: 2010-08-10 19:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for fvwm-crystal.apps to fix the problem (fvwm-crystal.apps.patch,4.34 KB, patch)
2009-05-24 09:04 UTC, Naohiro Aota
Details | Diff
ebuild to use the above patch (fvwm-crystal-3.0.6.ebuild,1.74 KB, text/plain)
2009-05-24 09:06 UTC, Naohiro Aota
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2009-05-24 09:02:12 UTC
`with' became reserved keyword in python2.6 so that
/usr/bin/fvwm-crystal.apps doesn't work well with python2.6.


Reproducible: Always

Steps to Reproduce:
1. eselect python set python2.6
2. start fvwm-crystal
3. You may find that the application menu doesn't appear.


Actual Results:  
/usr/bin/fvwm-crystal.apps exit with the following error.

% /usr/bin/fvwm-crystal.apps
  File "/usr/bin/fvwm-crystal.apps", line 209
    def getAppsData(databases=[database],checkExecs=False,searchIconsIn='',sortOrder='prio',minLength=3,with=None,without=None,rootName='/Applications',topInSub=True,fileIcon='default.png',dirIcon='directory.png'):
                                                                                                           ^
SyntaxError: invalid syntax


Expected Results:  
/usr/bin/fvwm-crystal.apps shoud work.
Comment 1 Naohiro Aota gentoo-dev 2009-05-24 09:04:53 UTC
Created attachment 192272 [details, diff]
patch for fvwm-crystal.apps to fix the problem
Comment 2 Naohiro Aota gentoo-dev 2009-05-24 09:06:22 UTC
Created attachment 192275 [details]
ebuild to use the above patch

These patch and ebuild might fix this bug.
Comment 3 Thomas Sachau gentoo-dev 2009-06-28 19:54:59 UTC
Fixed with x11-themes/fvwm-crystal-3.0.6-r1
Comment 4 Jonathan Geisler 2010-08-10 19:21:17 UTC
The problem also affects fvwm-crystal-3.0.5 and needs a similar patch.  Please apply the same patch to that version or bump 3.0.6-r1 as stable.