alexstaj / cutadapt

Automatically exported from code.google.com/p/cutadapt
0 stars 0 forks source link

Error with preamble and exc_clear #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. running cutadapt with any files

What is the expected output? What do you see instead?
Instead of proper cutadapt running, I see the code copied below

Traceback (most recent call last):
  File "/home/rnaseq/programs/execute/cutadapt", line 5, in <module>
    import _preamble
ImportError: No module named _preamble

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "$HOME/programs/execute/cutadapt", line 7, in <module>
    sys.exc_clear()
AttributeError: 'module' object has no attribute 'exc_clear'

What version of the product are you using? On what operating system?
cutadapt 1.1 on linux with python 3.2

Please provide any additional information below.
I'm sorry if this is a simple question but I am new to linux and having errors 
trying to use cutadapt. Please help me determine what is incorrect about my 
installation or coding. Thank you.

Original issue reported on code.google.com by Levy...@gmail.com on 22 Aug 2012 at 8:41

GoogleCodeExporter commented 9 years ago
Please edit the file $HOME/programs/execute/cutadapt and replace the line 
"sys.exc_clear()" with "pass". That command isn't available in Python 3 and the 
fix isn't included in cutadapt 1.1.

Original comment by marcel.m...@tu-dortmund.de on 23 Aug 2012 at 7:33

GoogleCodeExporter commented 9 years ago

Original comment by marcel.m...@tu-dortmund.de on 12 Oct 2012 at 11:16