ValueError: can't have unbuffered text I/Oin devstack

Bug #1669290 reported by cooldharma06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Unassigned

Bug Description

Facing following error when using python3 as my default python:

+./stack.sh:main:421 mkdir -p /opt/stack/logs
+./stack.sh:main:422 find /opt/stack/logs -maxdepth 1 -name 'stack.sh.log.*' -mtime +2 -exec rm '{}' ';'
+./stack.sh:main:423 LOGFILE=/opt/stack/logs/stack.sh.log.2017-03-02-130906
+./stack.sh:main:424 SUMFILE=/opt/stack/logs/stack.sh.log.2017-03-02-130906.summary.2017-03-02-130906
+./stack.sh:main:430 exec
+./stack.sh:main:431 [[ True == \T\r\u\e ]]
+./stack.sh:main:433 exec
++./stack.sh:main:433 /home/cool/Documents/devstack/tools/outfilter.py -v -o /opt/stack/logs/stack.sh.log.2017-03-02-130906
Traceback (most recent call last):
  File "/home/cool/Documents/devstack/tools/outfilter.py", line 85, in <module>
    sys.exit(main())
  File "/home/cool/Documents/devstack/tools/outfilter.py", line 53, in main
    outfile = open(opts.outfile, 'a', 0)
ValueError: can't have unbuffered text I/O

cool@cool:~/Documents/devstack$ python --version
Python 3.5.2

When using python2.x its running fine.

Need to fix this issue.

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

It seems that this has been resolved, please respond if you are still seing this issue.

Changed in devstack:
status: New → 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.