Hello mechaiaros, and thank you for your report. I actually just tried
this myself and I cannot reproduce what you are seeing. For both search
cases, I see the correct result appear in the list.

However, looking at your attached SoftwareCenterLog.txt, I can see the
following error reported. This would explain why searching for software
items will not work correctly. Does the problem persist after you stop
and restart Software Center?

Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/db/database.py", line 183, in 
_get_new_xapiandb
    softwarecenter.paths.APT_XAPIAN_INDEX_DB_PATH)
  File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 3666, in 
__init__
    _xapian.Database_swiginit(self,_xapian.new_Database(*args))
DatabaseOpeningError: Couldn't stat '/var/lib/apt-xapian-index/index' (No such 
file or directory)
2012-07-16 13:35:50,377 - softwarecenter.db.database - ERROR - failed to add 
apt-xapian-index
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/db/database.py", line 183, in 
_get_new_xapiandb
    softwarecenter.paths.APT_XAPIAN_INDEX_DB_PATH)
  File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 3666, in 
__init__
    _xapian.Database_swiginit(self,_xapian.new_Database(*args))
DatabaseOpeningError: Couldn't stat '/var/lib/apt-xapian-index/index' (No such 
file or directory)

** Description changed:

  The software center search function is not able to find server related
  packages.
  
  For example you can give "apache2" to the search field and see that there 
will come up no hits.
  Or try "phpmyadmin" for database administration.
  
  This can be done with all packages that goes in a more
  administrativ/profesional sector of the system.
  
  So, in moment software-center is for those people not a alternative to
  synaptic package manager, which has  a much more advanced search
  function, or command line.
  
+ You can see this as wish and mark as such.
  
- You can see this as wish and mark as such.
+ Stack trace showing a xapian error in the attached
+ SoftwareCenterLog.txt:
+ 
+ Traceback (most recent call last):
+   File "/usr/share/software-center/softwarecenter/db/database.py", line 183, 
in _get_new_xapiandb
+     softwarecenter.paths.APT_XAPIAN_INDEX_DB_PATH)
+   File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 3666, in 
__init__
+     _xapian.Database_swiginit(self,_xapian.new_Database(*args))
+ DatabaseOpeningError: Couldn't stat '/var/lib/apt-xapian-index/index' (No 
such file or directory)
+ 2012-07-16 13:35:50,377 - softwarecenter.db.database - ERROR - failed to add 
apt-xapian-index
+ Traceback (most recent call last):
+   File "/usr/share/software-center/softwarecenter/db/database.py", line 183, 
in _get_new_xapiandb
+     softwarecenter.paths.APT_XAPIAN_INDEX_DB_PATH)
+   File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 3666, in 
__init__
+     _xapian.Database_swiginit(self,_xapian.new_Database(*args))
+ DatabaseOpeningError: Couldn't stat '/var/lib/apt-xapian-index/index' (No 
such file or directory)
+ 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: software-center 5.3.4
  ProcVersionSignature: Ubuntu 3.5.0-4.4-generic 3.5.0-rc6
  Uname: Linux 3.5.0-4-generic x86_64
  ApportVersion: 2.3-0ubuntu4
  Architecture: amd64
  Date: Mon Jul 16 13:40:47 2012
  ExecutablePath: /usr/share/software-center/software-center
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120715.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcEnviron:
-  PATH=(custom, no username)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  PATH=(custom, no username)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: software-center
  UpgradeStatus: No upgrade log present (probably fresh install)

** Changed in: software-center (Ubuntu)
       Status: New => Incomplete

** Summary changed:

- software center is not able to find many server packages
+ software center is not able to find many server packages - 
DatabaseOpeningError: Couldn't stat '/var/lib/apt-xapian-index/index' (No such 
file or directory)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1025237

Title:
  software center is not able to find many server packages -
  DatabaseOpeningError: Couldn't stat '/var/lib/apt-xapian-index/index'
  (No such file or directory)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1025237/+subscriptions

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

Reply via email to