Giter VIP home page Giter VIP logo

Comments (8)

tom111 avatar tom111 commented on September 4, 2024

I think I fixed all the print statements to function calls. At some point in the past python3 support was blocked since ConfigFile had no python3 version. It seems this is fixed now, so tatt should support python3. See 73b1e91

from tatt.

jlec avatar jlec commented on September 4, 2024

Yes, seems to work now.

from tatt.

tom111 avatar tom111 commented on September 4, 2024

Great. Could you update the ebuild, please? I'll make a 0.3 release soon.

from tatt.

jlec avatar jlec commented on September 4, 2024

Args, I have been wrong. Still used the old ebuild

tatt -v -u sci-biology/emboss-6.6.0
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/tatt", line 11, in <module>
    from tatt.scriptwriter import writeusecombiscript as writeUSE
  File "/usr/lib64/python3.4/site-packages/tatt/scriptwriter.py", line 55
    os.fchmod(outfile.fileno(),0744)
                                  ^
SyntaxError: invalid token

from tatt.

tom111 avatar tom111 commented on September 4, 2024

I have fixed two more things in c80648a and 6e35c3a, maybe it works now?
Man, I really suck at python development. I don't even know how to test things anymore because my python path is not set correctly or something. Sorry for the delays, this should be trivial.

from tatt.

tom111 avatar tom111 commented on September 4, 2024

OK, it's not done yet, please stay tuned
tatt -b 552400
Bugnumber: 552400
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.3/tatt", line 135, in
bugtitle = [l for l in bugraw.splitlines() if 'Title' in l][0]
File "/usr/lib/python-exec/python3.3/tatt", line 135, in
bugtitle = [l for l in bugraw.splitlines() if 'Title' in l][0]
TypeError: Type str doesn't support the buffer API

from tatt.

tom111 avatar tom111 commented on September 4, 2024

In python3 the return objects of various libraries changed type to byte encoded strings where tatt wants to process utf-8 encoded strings. These should also be fixed now. Please test.

from tatt.

tom111 avatar tom111 commented on September 4, 2024

This is fixed in the 0.3 release that I just pushed to the tree.
Thanks!

from tatt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.