sre_constants.error: unexpected end of pattern on smart search
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
Fix Released
|
Undecided
|
Unassigned | ||
smart (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
smartpm:
Installed: 1.2-5
Candidate: 1.2-5
Version table:
*** 1.2-5 0
500 http://
100 /var/lib/
rtg@buzz:~$ smart --shell
Smart Package Manager 1.2 - Shell Mode
Loading cache...
Updating cache... ... [100%]
smart> search test
Traceback (most recent call last):
File "/usr/bin/smart", line 195, in <module>
main(
File "/usr/bin/smart", line 168, in main
exitcode = iface.run(
File "/usr/lib/
Interpreter
File "/usr/lib/
stop = self.onecmd(line)
File "/usr/lib/
return Cmd.onecmd(self, line)
File "/usr/lib/
return func(arg)
File "/usr/lib/
search.
File "/usr/lib/
hasname.
File "/usr/lib/
return _compile(pattern, flags)
File "/usr/lib/
raise error, v # invalid expression
sre_constants.
The same happens with smart search from commandline.
Distributor ID: Ubuntu
Description: Ubuntu lucid (development branch)
Release: 10.04
Codename: lucid
python:
Installed: 2.6.4-0ubuntu2
Changed in smart: | |
milestone: | none → 1.3.1 |
status: | Confirmed → Fix Committed |
Changed in smart: | |
status: | Fix Committed → Fix Released |
Changed in smart (Ubuntu): | |
status: | New → Confirmed |
tags: | added: patch |
Hmm, wonder why Python never can print the actual failing value...
Are you able to dump the value of token ? Insert "iface.info(token)"
Also, does `smart query --name test` give you the same traceback ?
Can't seem to reproduce the problem here with either of 1.2 or 1.3.