← Back to team overview

touch-packages team mailing list archive

[Bug 1353935] [NEW] click packages fail with mysterious error when disk is full

 

Public bug reported:

Sometimes I get the following error when trying to manually install a click package. Package works fine in other systems
                              pkcon install-local com.canonical.scopes.etsy_1.0.10_armhf.click mhf.click
Installing files [=========================]
Finished [=========================]
Installing files [=========================]
Waiting for authentication [=========================]
Starting [=========================]
Finished [=========================]
Fatal error: /home/phablet/clicks/com.canonical.scopes.etsy_1.0.10_armhf.click failed to install.
Traceback (most recent call last):
  File "/usr/bin/click", line 86, in <module>
    sys.exit(main())
  File "/usr/bin/click", line 82, in main
    return mod.run(args)
  File "/usr/lib/python3/dist-packages/click/commands/install.py", line 57, in run
    package_path, user=options.user, all_users=options.all_users)
  File "/usr/lib/python3/dist-packages/click/install.py", line 384, in install
    path, user=user, all_users=all_users)
  File "/usr/lib/python3/dist-packages/click/install.py", line 344, in _unpack
    env=env, **kwargs)
  File "/usr/lib/python3.4/subprocess.py", line 556, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python3.4/subprocess.py", line 537, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.4/subprocess.py", line 858, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.4/subprocess.py", line 1457, in _execute_child
    raise child_exception_type(err_msg)
subprocess.SubprocessError: Exception occurred in preexec_fn.

This appears to be because the disk is full. As well as making this
error cleaner and clearer, some general testing should be done around
what happens when we try to install click apps when the disk is full.

** Affects: click (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1353935

Title:
  click packages fail with mysterious error when disk is full

Status in “click” package in Ubuntu:
  Confirmed

Bug description:
  Sometimes I get the following error when trying to manually install a click package. Package works fine in other systems
                                pkcon install-local com.canonical.scopes.etsy_1.0.10_armhf.click mhf.click
  Installing files [=========================]
  Finished [=========================]
  Installing files [=========================]
  Waiting for authentication [=========================]
  Starting [=========================]
  Finished [=========================]
  Fatal error: /home/phablet/clicks/com.canonical.scopes.etsy_1.0.10_armhf.click failed to install.
  Traceback (most recent call last):
    File "/usr/bin/click", line 86, in <module>
      sys.exit(main())
    File "/usr/bin/click", line 82, in main
      return mod.run(args)
    File "/usr/lib/python3/dist-packages/click/commands/install.py", line 57, in run
      package_path, user=options.user, all_users=options.all_users)
    File "/usr/lib/python3/dist-packages/click/install.py", line 384, in install
      path, user=user, all_users=all_users)
    File "/usr/lib/python3/dist-packages/click/install.py", line 344, in _unpack
      env=env, **kwargs)
    File "/usr/lib/python3.4/subprocess.py", line 556, in check_call
      retcode = call(*popenargs, **kwargs)
    File "/usr/lib/python3.4/subprocess.py", line 537, in call
      with Popen(*popenargs, **kwargs) as p:
    File "/usr/lib/python3.4/subprocess.py", line 858, in __init__
      restore_signals, start_new_session)
    File "/usr/lib/python3.4/subprocess.py", line 1457, in _execute_child
      raise child_exception_type(err_msg)
  subprocess.SubprocessError: Exception occurred in preexec_fn.

  This appears to be because the disk is full. As well as making this
  error cleaner and clearer, some general testing should be done around
  what happens when we try to install click apps when the disk is full.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1353935/+subscriptions


Follow ups

References