Project

General

Profile

Actions

Bug #17453

closed

rudder package command fails when not run from a terminal

Added by Benoît PECCATTE over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Traceback (most recent call last):
  File "/opt/rudder/share/commands/package", line 117, in <module>
    rudderPkg.update_licenses()
  File "/opt/rudder/share/python/rudder-pkg/rudderPkg.py", line 304, in update_licenses
    utils.download(link, utils.LICENCES_PATH + "/" + os.path.basename(link))
  File "/opt/rudder/share/python/rudder-pkg/rudderPkgUtils.py", line 164, in download
    columns = terminal_size()[1]
  File "/opt/rudder/share/python/rudder-pkg/rudderPkgUtils.py", line 23, in terminal_size
    struct.pack('HHHH', 0, 0, 0, 0)))
OSError: [Errno 25] Inappropriate ioctl for device


Related issues 1 (0 open1 closed)

Related to Rudder tools - Bug #17454: rudder-setup fails to install pluginsRejectedActions
Actions

Also available in: Atom PDF