[Bug 688682] Re: software-center crashed with IOError in _open()

2013-09-23 Thread Adolfo Jayme Barrientos
** No longer affects: software-center (Ubuntu Oneiric)

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

Title:
  software-center crashed with IOError in _open()

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

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2012-02-11 Thread Damian Manig
** Branch unlinked: lp:software-center

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

Title:
  software-center crashed with IOError in _open()

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

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2012-02-06 Thread GAURAV VIMAL
** Changed in: software-center (Ubuntu Oneiric)
 Assignee: (unassigned) = GAURAV VIMAL (gaurav-vimalbhumca09)

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

Title:
  software-center crashed with IOError in _open()

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

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2012-02-06 Thread GAURAV VIMAL
** Changed in: software-center (Ubuntu Oneiric)
   Status: Invalid = Fix Committed

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

Title:
  software-center crashed with IOError in _open()

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

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-06-10 Thread Xwarman
yes, that works. I deleted that logfile. after restart of software-
center it was created new, automaticlly and everything workes fine

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

Title:
  software-center crashed with IOError in _open()

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

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-04-20 Thread Szabó Gergely
+1

Thx!

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-04-19 Thread Michael Vogt
** Also affects: software-center (Ubuntu Natty)
   Importance: High
 Assignee: Gary Lasker (gary-lasker)
   Status: In Progress

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-04-19 Thread Michael Vogt
This bug is fixed in the current code, however its not fully able to
deal with the breakage it caused earlier.

The bug itself got fixed in 3.1.25:

--- software-center-3.1.23.1/softwarecenter/db/update.py2011-03-07 
10:15:24.0 +0100
+++ software-center-3.1.26.6/softwarecenter/db/update.py2011-04-14 
13:53:17.0 +0200
@@ -30,7 +30,6 @@
 import time
 import urllib
 import xapian
-import softwarecenter.log
 
 from ConfigParser import RawConfigParser, NoOptionError
 from gettext import gettext as _

The import had caused a subsequent import for softwarecenter.paths and that has 
created the dir. There is a check
there for os.getuid() == 0. Then HOME is unset, but 
xdg.BaseDirectory.xdg_cache_home  was already created so
the updated HOME was not taken into account.

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-04-19 Thread Gary Lasker
** Branch unlinked: lp:~gary-lasker/software-center/root-owned-logfile-
lp688682

** Changed in: software-center (Ubuntu Natty)
 Assignee: Gary Lasker (gary-lasker) = Michael Vogt (mvo)

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-04-19 Thread Launchpad Bug Tracker
This bug was fixed in the package software-center - 3.1.26.8

---
software-center (3.1.26.8) natty; urgency=low

  * softwarecenter/log.py:
- deal with not accessible ~/.cache/software-center directory
  (LP: #688682)
  * softwarecenter/paths.py:
- check for SUDO_USER before xdg is imported, otherwise the
  check has no effect (LP: #688682)
  * softwarecenter/{paths,enums}.py, utils/update-software-center-agent:
- remove unneeded xdg.BaseDirectory import
  * utils/update-software-center-agent, softwarecenter/enums.py:
- remove unused imports, make imports explicit (thanks pyflakes)
 -- Michael Vogt michael.v...@ubuntu.com   Tue, 19 Apr 2011 20:31:31 +0200

** Changed in: software-center (Ubuntu Natty)
   Status: In Progress = Fix Released

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-04-19 Thread Gary Lasker
** Changed in: software-center (Ubuntu Oneiric)
   Importance: High = Undecided

** Changed in: software-center (Ubuntu Oneiric)
   Status: Triaged = Invalid

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-04-19 Thread Darek
Hi,

Gary's workaround is work.

Thanks.



BR

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-04-18 Thread Robbie Williamson
targeting this to Oneiric, since we probably want it fixed there...and
it's too late (IMO) to try and fix for Natty.

** Also affects: software-center (Ubuntu Oneiric)
   Importance: Undecided
   Status: New

** Changed in: software-center (Ubuntu Oneiric)
   Status: New = In Progress

** Changed in: software-center (Ubuntu Oneiric)
   Importance: Undecided = High

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-04-18 Thread Joe Archer
So what you're saying is, I won't have a GUI means of installing
applications on my netbook in this release of Ubuntu? Because I'm sure
people will agree, that's a pretty big deal and would definitely mean a
move to another distro for me.

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

Title:
  software-center crashed with IOError in _open()

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


Re: [Bug 688682] Re: software-center crashed with IOError in _open()

2011-04-18 Thread Lewis Chung
Sorry, this has been fixed, at least in my case.  there was a permissions
issue earlier on in the alphas
On Apr 18, 2011 1:01 PM, Joe Archer 688...@bugs.launchpad.net wrote:
 So what you're saying is, I won't have a GUI means of installing
 applications on my netbook in this release of Ubuntu? Because I'm sure
 people will agree, that's a pretty big deal and would definitely mean a
 move to another distro for me.

 --
 You received this bug notification because you are a direct subscriber
 of a duplicate bug (738074).
 https://bugs.launchpad.net/bugs/688682

 Title:
 software-center crashed with IOError in _open()

 Status in “software-center” package in Ubuntu:
 In Progress
 Status in “software-center” source package in Oneiric:
 In Progress

 Bug description:
 Binary package hint: software-center

 live ubuntu from USB

 ProblemType: Crash
 DistroRelease: Ubuntu 10.10
 Package: software-center 3.0.4
 ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
 Uname: Linux 2.6.35-22-generic i686
 Architecture: i386
 Date: Fri Dec 10 20:37:24 2010
 ExecutablePath: /usr/share/software-center/software-center
 InterpreterPath: /usr/bin/python2.6
 LiveMediaBuild: Ubuntu 10.10 Maverick Meerkat - Release i386 (20101007)
 PackageArchitecture: all
 ProcCmdline: /usr/bin/python /usr/bin/software-center
 ProcEnviron:
 LANG=ru_UA.utf8
 SHELL=/bin/bash
 PythonArgs: ['/usr/bin/software-center']
 SourcePackage: software-center
 Title: software-center crashed with IOError in _open()
 UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

 To unsubscribe from this bug, go to:

https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/688682/+subscribe

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

Title:
  software-center crashed with IOError in _open()

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

[Bug 688682] Re: software-center crashed with IOError in _open()

2011-04-18 Thread Gary Lasker
Hi Joe, I'm very sorry for the trouble you've been having with this bug.
There is actually a workaround in comment #5 that will fix this problem
for you. I've added the workaround to the original bug description, and
will include it here so as well so that it's not buried in the many
comments. It involves typing a single command into the terminal, and
once this is done Software Center should work as expected from that
point on. Please give this a try and it should take care of the problem
for you.

WORKAROUND:

This bug can happen if the directory ~/.cache/software-center is created
with root ownership somehow (see bug 652151 for some possible scenarios
for how this might happen).

The fix is to set the ownership if this directory back to your user
account. You can do this by typing the following into a terminal window
(be sure to substitute your own username as noted below):

sudo chown -R yourusername:yourusername ~/.cache/software-center

After this, Software Center should launch correctly.

** Description changed:

  Binary package hint: software-center
  
- live ubuntu from USB
+ WORKAROUND:
+ 
+ This bug can happen if the directory ~/.cache/software-center is created
+ with root ownership somehow (see bug 652151 for some possible scenarios
+ for how this might happen).
+ 
+ The fix is to set the ownership if this directory back to your user
+ account. You can do this by typing the following into a terminal window
+ (be sure to substitute your own username as noted below):
+ 
+ sudo chown -R yourusername:yourusername ~/.cache/software-center
+ 
+ After this, Software Center should launch correctly.
+ 
  
  ProblemType: Crash
  DistroRelease: Ubuntu 10.10
  Package: software-center 3.0.4
  ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic i686
  Architecture: i386
  Date: Fri Dec 10 20:37:24 2010
  ExecutablePath: /usr/share/software-center/software-center
  InterpreterPath: /usr/bin/python2.6
  LiveMediaBuild: Ubuntu 10.10 Maverick Meerkat - Release i386 (20101007)
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-center
  ProcEnviron:
-  LANG=ru_UA.utf8
-  SHELL=/bin/bash
+  LANG=ru_UA.utf8
+  SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-center']
  SourcePackage: software-center
  Title: software-center crashed with IOError in _open()
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

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

Title:
  software-center crashed with IOError in _open()

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

[Bug 688682] Re: software-center crashed with IOError in _open()

2011-04-18 Thread Gary Lasker
** Changed in: software-center (Ubuntu)
 Assignee: (unassigned) = Gary Lasker (gary-lasker)

** Branch linked: lp:~gary-lasker/software-center/root-owned-logfile-
lp688682

** Changed in: software-center (Ubuntu Oneiric)
   Status: In Progress = Triaged

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-03-28 Thread Kiwinote
It seems that this is not yet fixed correctly.

** Changed in: software-center (Ubuntu)
   Status: Fix Released = In Progress

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-03-22 Thread Launchpad Bug Tracker
This bug was fixed in the package software-center - 3.1.24

---
software-center (3.1.24) natty; urgency=low

  [ Gary Lasker ]
  * softwarecenter/view/widgets/thumbnail.py:
- add missing logger definition to fix name error on
  a thumbnail download error
  * softwarecenter/utils.py,
softwarecenter/view/appdetailsview_gtk.py,
softwarecenter/view/softwarepane.py:
- update Unity launcher integration implementation per
  revised approach (see LP: #670403)
  * test/test_unity_launcher_integration.py,
test/data/many:
- update unit tests per the revised approach

  [ Michael Vogt ]
  * merged lp:~mmcg069/software-center/rtl-work, many thanks
to Matthew McGowan
  * merged lp:~mmcg069/software-center/desc-tweaks
  * merged lp:~weblive-dev/software-center/weblive-by-default, thanks
to Stephane Graber (LP: #736227)
  * softwarecenter/view/widgets/thumbnail.py:
- fix show/hide issue in download_and_display()
  * softwarecenter/db/reviews.py, softwarecenter/models/appstore.py:
- deal with empty appname in the review-stats to follow the
  latest server changes
  * merged lp:~mmcg069/software-center/reviews-msg-tweaks, many thanks
to to Matthew McGowan
  * show launcher like location for commandline only apps, thanks
to Matthew McGowan
  * when scanning for commandline binaries take alterantives into
account as well

  [ Kiwinote ]
  * data/new.menu.in,
softwarecenter/view/appview.py,
softwarecenter/view/availablepane.py,
softwarecenter/view/catview_gtk.py:
- only display available items in what's new (LP: #739276)
- don't display installed items in what's new (LP: #627114)
  * softwarecenter/db/database.py:
- don't crash when we have no axi values (LP: #737870)
  * softwarecenter/gwibber_helper.py:
- don't crash on startup due to anything sqlite related (LP: #737220)
  * softwarecenter/log.py:
- don't crash on startup when logfile is not writeable (LP: #688682)
  * softwarecenter/view/appdetailsview_gtk.py:
- correctly update statusbar after cancelling a dependency dialog
  * softwarecenter/view/catview_gtk:
- don't crash when we have no what's new carousel (LP: #736046)
  * softwarecenter/view/softwarepane.py:
- connect 'transaction-stopped' to on_transaction_stopped rather than o_t_f
  * softwarecenter/view/widgets/reviews.py:
- fallback to package_name if review_data contains no app_name
 -- Michael Vogt michael.v...@ubuntu.com   Tue, 22 Mar 2011 16:03:58 +0100

** Changed in: software-center (Ubuntu)
   Status: Fix Committed = Fix Released

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-03-18 Thread Gary Lasker
Hi Kiwinote, thanks a lot for the nice, clean fix!  It does the trick
perfectly. It's merged to trunk and will be available in the next
development release of Software Center which should appear at the very
early part of next week.

Regarding the question about why we have seen a spate of duplicates of
this problem in recent days, the timing seems to indicate that this is
likely a side-consequence of the recent SIGSEGV crasher that so many
people experienced (bug 259219). One possible scenario is that that many
people, in an attempt to work around the SIGSEGV crash,  attempted to
launch software-center with root privileges.  That said, I'm still not
entirely sure of the exact conditions that would have resulted in this
problem as I myself have not been able to reproduce this issue.

However, the fact is that, very soon after the fix for bug 259219 was
released, we saw a spike in reports of this bug. Now, a few days later,
we no longer see these reports.

The good news is that your fix will prevent this particular issue from
being a problem in the future.  Thanks again for that!

** Changed in: software-center (Ubuntu)
   Status: In Progress = Fix Committed

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-03-18 Thread Gary Lasker
P.S. If any of the reporters could identify the things that they did
that might have caused this (launching software-center as sudo, etc.),
it might be very helpful to know about it. This would go a long way
toward helping us to identify the root cause for how this may have
happened.

Thanks!

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-03-17 Thread Apport retracing service
** Tags added: bugpattern-needed

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-03-17 Thread Kiwinote
I've pushed a fix for this to my branch which will unblock startup.
Considering that this bug has had 16+ duplicates in the last 10 days, we
should try to investigate why we get a non-writeable log file in the
first place..

** Changed in: software-center (Ubuntu)
   Importance: Undecided = High

** Changed in: software-center (Ubuntu)
   Status: Incomplete = In Progress

** Branch linked: lp:~kiwinote/software-center/tweaks

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-03-17 Thread Gary Lasker
** Branch linked: lp:software-center

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-03-11 Thread František Zatloukal
Thanks gary, but
if i use your LD preload, it works PERFECTLY, but launcher must be modified to 
your command, by normal software-center, there is same error, terminal log (i 
tried your command without and with sudo )

fanys@fanys-netbook:~$ LD_PRELOAD=/usr/lib/libstdc++.so.6 software-center
2011-03-11 14:48:51,027 - softwarecenter.fixme - WARNING - logs to the root 
logger: '('/usr/share/software-center/softwarecenter/db/database.py', 142, 
'open')'
2011-03-11 14:48:51,027 - root - WARNING - failed to add sca db Couldn't stat 
'/home/fanys/.cache/software-center/software-center-agent.db' (Adresář nebo 
soubor neexistuje)
/usr/share/software-center/softwarecenter/app.py:1114: Warning: 
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.window_main.show_all()
/usr/share/software-center/softwarecenter/SimpleGtkbuilderApp.py:50: Warning: 
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  gtk.main()
2011-03-11 14:49:01,780 - softwarecenter.app - INFO - software-center-agent 
finished with status 1
fanys@fanys-netbook:~$ LD_PRELOAD=/usr/lib/libstdc++.so.6 software-center
2011-03-11 14:50:47,311 - softwarecenter.fixme - WARNING - logs to the root 
logger: '('/usr/share/software-center/softwarecenter/db/database.py', 142, 
'open')'
2011-03-11 14:50:47,310 - root - WARNING - failed to add sca db Couldn't stat 
'/home/fanys/.cache/software-center/software-center-agent.db' (Adresář nebo 
soubor neexistuje)
/usr/share/software-center/softwarecenter/app.py:1114: Warning: 
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.window_main.show_all()
/usr/share/software-center/softwarecenter/SimpleGtkbuilderApp.py:50: Warning: 
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  gtk.main()
2011-03-11 14:50:56,395 - softwarecenter.app - INFO - software-center-agent 
finished with status 1
fanys@fanys-netbook:~$ software-center
Neoprávněný přístup do paměti (SIGSEGV) (core dumped [obraz paměti uložen])
fanys@fanys-netbook:~$ sudo LD_PRELOAD=/usr/lib/libstdc++.so.6 software-center
2011-03-11 14:51:41,881 - softwarecenter.fixme - WARNING - logs to the root 
logger: '('/usr/share/software-center/softwarecenter/db/database.py', 142, 
'open')'
2011-03-11 14:51:41,880 - root - WARNING - failed to add sca db Couldn't stat 
'/root/.cache/software-center/software-center-agent.db' (Adresář nebo soubor 
neexistuje)
/usr/share/software-center/softwarecenter/app.py:1114: Warning: 
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.window_main.show_all()
/usr/share/software-center/softwarecenter/SimpleGtkbuilderApp.py:50: Warning: 
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  gtk.main()
2011-03-11 14:51:48,091 - softwarecenter.backend.scagent - WARNING - error in 
query_info 'Operace není podporována'
2011-03-11 14:51:48,093 - softwarecenter.db.update - WARNING - error: Operace 
není podporována
2011-03-11 14:51:48,684 - softwarecenter.app - INFO - software-center-agent 
finished with status 1

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

Title:
  software-center crashed with IOError in _open()

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

[Bug 688682] Re: software-center crashed with IOError in _open()

2011-03-10 Thread František Zatloukal
Here is error log from terminal:

fanys@fanys-netbook:~$ software-center
WARNING:root:trying to fix not writable cache directory
ERROR:root:failed to fix not writable cache directory
Traceback (most recent call last):
  File /usr/share/software-center/softwarecenter/paths.py, line 59, in 
try_to_fixup_root_owned_dir_via_remove
os.rmdir(directory)
OSError: [Errno 39] Adresář není prázdný: '/home/fanys/.cache/software-center'
Traceback (most recent call last):
  File /usr/bin/software-center, line 47, in module
import softwarecenter.log 
  File /usr/share/software-center/softwarecenter/log.py, line 94, in module
backupCount=5)
  File /usr/lib/python2.7/logging/handlers.py, line 118, in __init__
BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
  File /usr/lib/python2.7/logging/handlers.py, line 65, in __init__
logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File /usr/lib/python2.7/logging/__init__.py, line 893, in __init__
StreamHandler.__init__(self, self._open())
  File /usr/lib/python2.7/logging/__init__.py, line 912, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Operace zamítnuta: 
'/home/fanys/.cache/software-center/software-center.log'
fanys@fanys-netbook:~$

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

Title:
  software-center crashed with IOError in _open()

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

[Bug 688682] Re: software-center crashed with IOError in _open()

2011-03-10 Thread Gary Lasker
Hey Joda and other reporters. This bug can happen if the directory
~/.cache/software-center is created with root ownership somehow (see bug
652151 for some possible scenarios for how this might happen).

The fix is to set the ownership if this directory back to your user
account. You can do this by typing the following into a terminal window
(be sure to substitute your own username as noted below):

sudo chown -R yourusername:yourusername ~/.cache/software-center

After this, Software Center should launch correctly. Please let us know
if you have any troublem and thanks for your report!

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

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

Title:
  software-center crashed with IOError in _open()

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


[Bug 688682] Re: software-center crashed with IOError in _open()

2011-03-10 Thread František Zatloukal
thanks, but, it still doesn't work, terminal log:

fanys@fanys-netbook:~$ sudo chown -R fanys:fanys ~/.cache/software-center
[sudo] password for fanys: 
fanys@fanys-netbook:~$ software-Center
No command 'software-Center' found, did you mean:
 Command 'software-center' from package 'software-center' (main)
software-Center: command not found
fanys@fanys-netbook:~$ sudo chown -R fanys:fanys 
~/.cache/software-centerfanys@fanys-netbook:~$ software-center
Neoprávněný přístup do paměti (SIGSEGV) (core dumped [obraz paměti uložen])
fanys@fanys-netbook:~$ 


Neoprávněný přístup do paměti (SIGSEGV) (core dumped [obraz paměti
uložen]) mean Unallowed access to memory

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

Title:
  software-center crashed with IOError in _open()

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

[Bug 688682] Re: software-center crashed with IOError in _open()

2011-03-10 Thread Gary Lasker
Hi František Zatloukal, thanks for reporting back.  Looking at your
terminal output, it seems that you may be encountering a separate issue
as there is currently a known SIGSEGV crash with software-center in
Natty (bug 259219).

Please try launching software center from the terminal as shown:

  LD_PRELOAD=/usr/lib/libstdc++.so.6 software-center

Software Center should start normally. After this, you can quit Software
Center and it should launch normally (from the launcher, etc.) after
that.

If this doesn't solve the problem, then this is a different issue.
Please report back here and we will try to help.

Thanks!
Gary

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

Title:
  software-center crashed with IOError in _open()

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

[Bug 688682] Re: software-center crashed with IOError in _open()

2010-12-16 Thread Alex Valavanis
** Visibility changed to: Public

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

Title:
  software-center crashed with IOError in _open()

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