# RESCRIPt: AttributeError: '\_io.TextIOWrapper' object has no attribute 'rstrip'

**URL:** https://forum.qiime2.org/t/rescript-attributeerror-io-textiowrapper-object-has-no-attribute-rstrip/26287
**Category:** Technical Support
**Tags:** rescript
**Created:** [April 29, 2023, 9:34pm UTC](https://forum.qiime2.org/t/rescript-attributeerror-io-textiowrapper-object-has-no-attribute-rstrip/26287 "2023-04-29T21:34:07Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)
#### Post date: [April 30, 2023, 6:48am UTC](https://forum.qiime2.org/t/rescript-attributeerror-io-textiowrapper-object-has-no-attribute-rstrip/26287/2 "2023-04-30T06:48:42Z")

</div>

Hi @kafker ,  
Thanks for reporting! We have not seen this error before, so it might be related to the very very recent release of GTDB 214 (just a few days ago; we have not had time to extensively test yet). We will investigate.

As a workaround for now, you can train a classifier with q2-feature-classifier instead ([as shown in the previous step of that tutorial](https://forum.qiime2.org/t/how-to-train-a-gtdb-ssu-classifier-using-rescript/25725#train-the-gtdb-classifier-teacher-5), so you have probably done this already).

Just out of curiosity, what kind of environment are you running this in? I see that you are running qiime2-2023.2 — but what other plugins or packages have you installed in that environment?

---

_[View the full topic](https://forum.qiime2.org/t/rescript-attributeerror-io-textiowrapper-object-has-no-attribute-rstrip/26287)._
