Python exception when searchin for package in shell mode

Bug #590045 reported by Thomas Karl Pietrowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
smart (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

Revision history for this message
Thomas Karl Pietrowski (thopiekar) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.