Exception: Invalid output parameter of type io.StringIO(), use six.StringIO() instead
See original GitHub issueHi, I’m trying to build OpenSSL on Ubuntu for Android using Conan 1.2.0 and getting error:
OpenSSL/1.1.0g@conan/stable: WARN: Build folder /root/.conan/data/OpenSSL/1.1.0g/conan/stable/build/39aa0c5b054d7d622fcb086e1d36a2b94f40d8bd
ERROR: OpenSSL/1.1.0g@conan/stable: Error in build() method, line 83
self.unix_build()
while calling 'unix_build', line 218
self.run_in_src("./Configure %s %s" % (target, self._get_flags()), win_bash=win_bash)
while calling 'run_in_src', line 103
self.run(command, win_bash=win_bash, output=buf)
Exception: Invalid output parameter of type io.StringIO(), use six.StringIO() instead
Works on Conan old Conan 1.0.4
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Reopening a closed stringIO object in Python 3 - Stack Overflow
I have a nice hack, which I am currently using for testing (Since my code can make I/O operations, and giving it StringIO...
Read more >StringIO Module in Python - GeeksforGeeks
The StringIO module is an in-memory file-like object. ... StringIO.seek(): The seek() function is used set the cursor position on the file.
Read more >to_parquet() to a StringIO() causes python to crash #30317
The cause for the error is that instead of a String buffer, we should use Bytes buffer (io.BytesIO). But anyhow, the exception should...
Read more >7.5. StringIO — Read and write strings as files - IronPython
Calling StringIO() with a Unicode string parameter populates the object with the buffer representation of the Unicode string instead of encoding the string....
Read more >IO Tools (Text, CSV, HDF5, ...) - Pandas
We can get around this using dialect. In [7]: dia = csv.excel() In [8]: dia.quoting = csv.QUOTE_NONE In [9]: pd.read_csv(StringIO(data), dialect=dia) ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OpenSSL recipe is ok now, thanks
We replaced the exception with a warning message in the released 1.2.1. OpenSSL recipe was fixed, but anyway Conan won’t crash anymore for that reason.