Ticket #462 (reopened enhancement)

Opened 5 years ago

Last modified 5 years ago

More obvious messages for mkdir failing due to ENOENT

Reported by: betelgeuse Owned by: ciaranm
Priority: IfSomeoneSendsAPatch Milestone:
Component: clients/paludis Version: 0.26.0_alpha4
Keywords: Cc:
Blocked By: Blocking:
Distribution:

Description

Unhandled exception:
  * In program paludis --log-level qa --regenerate-installable-cache:
  * When performing cache regeneration action from command line:
  * When generating repository names cache at '/home/betelgeuse/overlay/.cache/names/betelgeuse':
  * mkdir '/home/betelgeuse/overlay/.cache/names' failed: No such file or directory (paludis::FSError)
 * Done regenerating cache for installable repositories

After mkdir .cache it works.

flybook betelgeuse # paludis --info
paludis 0.26.0_alpha4

Change History

comment:1 Changed 5 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to wontfix

comment:2 Changed 5 years ago by betelgeuse

  • Status changed from closed to reopened
  • Resolution wontfix deleted
  • Summary changed from paludis fails to create cache dir if parents don't exist to Unhandled Exception if cache dir parents don't exist

Ok. Then it should not print Unhandled exception but an error message about parent not existing.

comment:3 Changed 5 years ago by ciaranm

  • Priority changed from Sometime to IfSomeoneSendsAPatch
  • Type changed from defect to enhancement
  • Summary changed from Unhandled Exception if cache dir parents don't exist to More obvious messages for mkdir failing due to ENOENT

Mm, I'd say the existing message is pretty obvious... But patches will be taken to make it more obvious.

Note: See TracTickets for help on using tickets.