oneconf-service crashed with IOError in update(): [Errno 2] No such file or directory: u'/home/mandj/.cache/oneconf/511b8f54f57a6b95c13bb6740000000a/package_list_511b8f54f57a6b95c13bb6740000000a'

Bug #842198 reported by maxstevens
132
This bug affects 17 people
Affects Status Importance Assigned to Milestone
oneconf (Ubuntu)
Fix Released
High
Didier Roche-Tolomelli

Bug Description

I was trying to install --thru synaptic package manager-- adobe flash player.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: oneconf 0.2.6.1
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
Uname: Linux 3.0.0-10-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Mon Sep 5 18:45:16 2011
ExecutablePath: /usr/share/oneconf/oneconf-service
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/oneconf/oneconf-service
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
PythonArgs: ['/usr/share/oneconf/oneconf-service']
SourcePackage: oneconf
Title: oneconf-service crashed with IOError in update(): [Errno 2] No such file or directory: u'/home/mandj/.cache/oneconf/511b8f54f57a6b95c13bb6740000000a/package_list_511b8f54f57a6b95c13bb6740000000a'
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/oneconf/packagesethandler.py", line 61, in update
     with open(os.path.join(self.hosts.get_currenthost_dir(), '%s_%s' % (PACKAGE_LIST_PREFIX, hostid)), 'w') as f:
 IOError: [Errno 2] No such file or directory: u'/home/username/.cache/oneconf/511b8f54f57a6b95c13bb6740000000a/package_list_511b8f54f57a6b95c13bb6740000000a'
UpgradeStatus: Upgraded to oneiric on 2011-09-05 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
maxstevens (mho-607) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thanks for reporting this bug and help to make ubuntu better, it seems your home directory is not writable for oneconf, do you run update-notifier under another user than your current one? does /home/mandj/.cache exist? (and then, the subdirectory oneconf, and 511b8f54f57a6b95c13bb6740000000a?) What's their persmission?

Thanks for the additional precision :)

Changed in oneconf (Ubuntu):
status: New → Incomplete
visibility: private → public
Revision history for this message
Rick Martensen (rickmartensen) wrote :

I have this bug too, but I got it when I reboot!

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

@Rick: can you please answer to my request above replacing your computer id and your home user with yours?

Revision history for this message
doudoufr (doudoufr) wrote :

i have also this bug
i run sudo bleachit and then clean everything and then the bug appears. :-)

i don't have any oneconf directory in my home/user/.cache

en francais (car si j'ai bien tout suivi, didrocks est francais :-)) :
j'ai ce bug aussi.
j'ai fait sudo bleachbit, puis j'ai lancé un nettoyage, puis le bug est apparu. (dans bleachit tout est coché sauf scan approfondi et dans système/ espace disque et mémoire)

je n'ai pas de répertoire oneconf dans mon répertoire /home/user/.cache.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for oneconf (Ubuntu) because there has been no activity for 60 days.]

Changed in oneconf (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Bruno Martins (skorzen) wrote :

I could reproduce this bug in 12.04 with test updates enabled. Running 64-bit version.

Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :

I get this issue also on Precise unstable 12.04 32bits

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

@everyone involved: can you check if you have a oneconf directory in your ~/.cache directory? if so, do you have an id directory under it?

Changed in oneconf (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Austin S. Hemmelgarn (ahferroin7) wrote :

I just checked and the equivelent file does exist

Revision history for this message
maxstevens (mho-607) wrote :

I was installing unrar thru terminal when this error popped up.

visibility: public → private
tags: added: bugpattern-needed
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

I'll try to harden OneConf is some files are supposed to be here but are not. Thanks for your report :)

visibility: private → public
Changed in oneconf (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → High
assignee: nobody → Didier Roche (didrocks)
Changed in oneconf (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
maxstevens (mho-607) wrote :

I have the oneconf directory in my cache directory.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package oneconf - 0.2.8

---------------
oneconf (0.2.8) precise; urgency=low

  [ Michael Vogt ]
  * Fix software-center crashed with KeyError in get_hostid_pending_change()
    (LP: #941193)

  [ Didier Roche ]
  * Move saving facility to an utils module to reuse safe saving accross
    the whole application. Removed a deprecated call as well
    (LP: #944738, #842198)
  * Recover gracefully if any of the json file is broken (LP: #849037)
  * Fix turning off oneconf is USC doesn't work (LP: #964659)
  * oneconf-service crashed with KeyError in check_if_refresh_needed():
    'packages_checksum' (LP: #940710)
  * Added/Enhanced tests for all the above
  * debian/control:
    - Bump Standards-Version: to latest
 -- Didier Roche <email address hidden> Tue, 10 Apr 2012 15:11:17 +0200

Changed in oneconf (Ubuntu):
status: Fix Committed → Fix Released
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.