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.

Q: cutadapt 2.0 with Python 3.6.7 -> 'str' object has no attribute 'name'

See original GitHub issue

I upgraded to version 2.0 just a few hours ago … now running a simple using conda

cutadapt --cores 8 --adapter AGATCGGAAGAGC -A AGATCGGAAGAGC --interleaved xxx.r1.fq.gz xxx.r2.fq.gz

raises an exception:

This is cutadapt 2.0 with Python 3.6.7
Command line parameters: --cores 8 --adapter AGATCGGAAGAGC -A AGATCGGAAGAGC --interleaved xxx.r1.fq.gz xxx.r2.fq.gz
Processing reads on 8 cores in paired-end mode ...
Traceback (most recent call last):
  File "/path/to/bin/cutadapt", line 12, in <module>
    sys.exit(main())
  File /path/to/anaconda3/envs/ngs/lib/python3.6/site-packages/cutadapt/__main__.py", line 787, in main
    stats = runner.run()
  File "/path/to/anaconda3/envs/ngs/lib/python3.6/site-packages/cutadapt/pipeline.py", line 684, in run
    raise e
AttributeError: 'str' object has no attribute 'name'

There went probably sth wrong during upgrade? Omitting --cores 8 just works fine…? Any idea?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
marcelmcommented, Mar 15, 2019

Cutadapt 2.1 is now released. pip install should work already. conda install should also work in a couple of minutes.

0reactions
marcelmcommented, Mar 15, 2019

That’s right, it’s not released. I’ll prepare a release now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError: 'str' object has no attribute - Stack Overflow
The problem is in your playerMovement method. You are creating the string name of your room variables ( ID1 , ID2 , ID3...
Read more >
Python error in Walking Into It? - IFComp - The Interactive Fiction ...
I ran into a Python error at the very first prompt: “AttributeError: 'str' object has no attribute 'decode'”. This was on Python 3.6.9...
Read more >
Debian -- Source Packages in "sid", Subsection misc
... golang-github-juju-mutex (2.0.0-1); golang-github-juju-names (4.0.0-2) ... golang-github-nbio-st (0.0~git20140626.e9e8d98-2) ...
Read more >
https://packages.ubuntu.com/eu/bionic/arm64/allpac...
... and analysis for single valued point data 3dldf (2.0.3+dfsg-7) [universe] ... for astronomy astro-python3 (1.1ubuntu2) [universe] Python 3 packages for ...
Read more >
bioconda - :: Anaconda.org
antarna, 2.0.1.2, The, X, antaRNA is a python based implementation of ant-colony ... Deprecated Package: biobb_md is no longer maintained and has been....
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