** Description changed: Ubuntu Software Center 5.2.4, Ubuntu 12.04 1. touch ./test.deb 2. xdg-open ./test.deb What happens: * USC displays an "Internal Error", "The file “/home/mpt/test.deb” could not be opened." * At the terminal: ------------ 2012-08-02 10:02:06,866 - softwarecenter.backend.spawn_helper - WARNING - got error from helper: 'ERROR:__main__:urclient_apps Traceback (most recent call last): - File "/usr/share/software-center/piston_generic_helper.py", line 214, in <module> - piston_reply = f(**kwargs) - File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 36, in wrapper - "Argument '%s' must be a string" % varname) + File "/usr/share/software-center/piston_generic_helper.py", line 214, in <module> + piston_reply = f(**kwargs) + File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 36, in wrapper + "Argument '%s' must be a string" % varname) ValidationException: Argument 'pkgname' must be a string ' 2012-08-02 10:02:06,867 - softwarecenter.db.categories - WARNING - Error while accessing the recommender service: ERROR:__main__:urclient_apps Traceback (most recent call last): - File "/usr/share/software-center/piston_generic_helper.py", line 214, in <module> - piston_reply = f(**kwargs) - File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 36, in wrapper - "Argument '%s' must be a string" % varname) + File "/usr/share/software-center/piston_generic_helper.py", line 214, in <module> + piston_reply = f(**kwargs) + File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 36, in wrapper + "Argument '%s' must be a string" % varname) ValidationException: Argument 'pkgname' must be a string 2012-08-02 10:02:06,867 - softwarecenter.ui.gtk3.widgets.recommendations - WARNING - Error while accessing the recommender agent for the details view recommendations: ERROR:__main__:urclient_apps Traceback (most recent call last): - File "/usr/share/software-center/piston_generic_helper.py", line 214, in <module> - piston_reply = f(**kwargs) - File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 36, in wrapper - "Argument '%s' must be a string" % varname) + File "/usr/share/software-center/piston_generic_helper.py", line 214, in <module> + piston_reply = f(**kwargs) + File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 36, in wrapper + "Argument '%s' must be a string" % varname) ValidationException: Argument 'pkgname' must be a string ------------ What should happen: * The error message should not suggest that it is an "Internal Error" to USC. * Maybe it shouldn't produce tracebacks? + + Fixing this would alter the symptoms of bug 868188, bug 989398, and bug + 909885.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to software-center in Ubuntu. https://bugs.launchpad.net/bugs/1033548 Title: "Internal Error" for empty .deb Status in “software-center” package in Ubuntu: Triaged Bug description: Ubuntu Software Center 5.2.4, Ubuntu 12.04 1. touch ./test.deb 2. xdg-open ./test.deb What happens: * USC displays an "Internal Error", "The file “/home/mpt/test.deb” could not be opened." * At the terminal: ------------ 2012-08-02 10:02:06,866 - softwarecenter.backend.spawn_helper - WARNING - got error from helper: 'ERROR:__main__:urclient_apps Traceback (most recent call last): File "/usr/share/software-center/piston_generic_helper.py", line 214, in <module> piston_reply = f(**kwargs) File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 36, in wrapper "Argument '%s' must be a string" % varname) ValidationException: Argument 'pkgname' must be a string ' 2012-08-02 10:02:06,867 - softwarecenter.db.categories - WARNING - Error while accessing the recommender service: ERROR:__main__:urclient_apps Traceback (most recent call last): File "/usr/share/software-center/piston_generic_helper.py", line 214, in <module> piston_reply = f(**kwargs) File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 36, in wrapper "Argument '%s' must be a string" % varname) ValidationException: Argument 'pkgname' must be a string 2012-08-02 10:02:06,867 - softwarecenter.ui.gtk3.widgets.recommendations - WARNING - Error while accessing the recommender agent for the details view recommendations: ERROR:__main__:urclient_apps Traceback (most recent call last): File "/usr/share/software-center/piston_generic_helper.py", line 214, in <module> piston_reply = f(**kwargs) File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 36, in wrapper "Argument '%s' must be a string" % varname) ValidationException: Argument 'pkgname' must be a string ------------ What should happen: * The error message should not suggest that it is an "Internal Error" to USC. * Maybe it shouldn't produce tracebacks? Fixing this would alter the symptoms of bug 868188, bug 989398, and bug 909885. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1033548/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

