question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception: Invalid output parameter of type io.StringIO(), use six.StringIO() instead

See original GitHub issue

Hi, 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:closed
  • Created 5 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
alexxxgucommented, Apr 2, 2018

OpenSSL recipe is ok now, thanks

0reactions
lasotecommented, Apr 3, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found