Public bug reported:

Hi, this happend when I tried to search for a package with smart:

~$ sudo smart --shell
Smart Package Manager 1.2 - Shell Mode

Update Zwischenspeicher...      ########################################
[100%]

smart> search libav
Traceback (most recent call last):
  File "/usr/bin/smart", line 195, in <module>
    main(sys.argv[1:])
  File "/usr/bin/smart", line 168, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib/pymodules/python2.6/smart/interfaces/text/interactive.py", 
line 46, in run
    Interpreter(self._ctrl).cmdloop()
  File "/usr/lib/python2.6/cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/usr/lib/pymodules/python2.6/smart/interfaces/text/interactive.py", 
line 195, in onecmd
    return Cmd.onecmd(self, line)
  File "/usr/lib/python2.6/cmd.py", line 219, in onecmd
    return func(arg)
  File "/usr/lib/pymodules/python2.6/smart/interfaces/text/interactive.py", 
line 742, in do_search
    search.main(self._ctrl, opts, reloadchannels=False)
  File "/usr/lib/pymodules/python2.6/smart/commands/query.py", line 247, in main
    hasname.append(re.compile(token, re.I))
  File "/usr/lib/python2.6/re.py", line 190, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python2.6/re.py", line 245, in _compile
    raise error, v # invalid expression
sre_constants.error: unexpected end of pattern

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: smartpm 1.2-5
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat Jun  5 11:36:21 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100130)
PackageArchitecture: all
ProcEnviron:
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: smart

** Affects: smart (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
Python exception when searchin for package in shell mode
https://bugs.launchpad.net/bugs/590045
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to