← Back to team overview

touch-packages team mailing list archive

[Bug 1130799] Re: pyclean crashed with SyntaxError in unknown(): invalid syntax

 

you can try use Python2. 
sudo rm -f  /usr/bin/python && ln -s /usr/bin/python2.7 /usr/bin/python

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1130799

Title:
  pyclean crashed with SyntaxError in unknown(): invalid syntax

Status in python-defaults package in Ubuntu:
  Fix Released

Bug description:
  at startup ubuntu bug

  ProblemType: Crash
  DistroRelease: Ubuntu 13.04
  Package: python-minimal 2.7.3-10ubuntu5
  ProcVersionSignature: Ubuntu 3.8.0-6.13-generic 3.8.0-rc7
  Uname: Linux 3.8.0-6-generic x86_64
  ApportVersion: 2.8-0ubuntu4
  Architecture: amd64
  Date: Wed Feb 20 18:18:12 2013
  ExecutablePath: /usr/bin/pyclean
  InstallationDate: Installed on 2013-02-01 (19 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  InterpreterPath: /usr/bin/python3.3
  MarkForUpload: True
  ProcCmdline: /usr/bin/python /usr/bin/pyclean -p python-gobject-2
  ProcEnviron:
   LANGUAGE=fr:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/pyclean', '-p', 'python-gobject-2']
  SourcePackage: python-defaults
  Title: pyclean crashed with SyntaxError in unknown(): invalid syntax
  Traceback:
   File "/usr/bin/pyclean", line 63
       except (IOError, OSError), e:
                                ^
   SyntaxError: invalid syntax
  UpgradeStatus: Upgraded to raring on 2013-02-01 (19 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1130799/+subscriptions