Git Product home page Git Product logo

Comments (5)

pixelb avatar pixelb commented on August 16, 2024

Comment #1 originally posted by pixelb on 2009-06-11T10:07:01.000Z:

That error doesn't make much sense.
There is an import md5 line before that which should have given an error.
Could you please reply with your python version.
Also if you could type the following in a terminal it would help:

$ python

import md5
dir(md5)

Note also that the lastest version of fslint in the repo tries to work around
the deprecated md5 module, and should work better at least

from fslint.

pixelb avatar pixelb commented on August 16, 2024

Comment #2 originally posted by pixelb on 2009-06-11T11:11:28.000Z:

Python 2.6.2

Which repo?

naught101@naught101-laptop:.gnome2$ python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import md5
main:1: DeprecationWarning: the md5 module is deprecated; use hashlib instead
dir(md5)
['builtins', 'doc', 'file', 'name', 'package', 'blocksize',
'digest_size', 'md5', 'new', 'warnings']

from fslint.

pixelb avatar pixelb commented on August 16, 2024

Comment #3 originally posted by pixelb on 2009-06-11T11:36:49.000Z:

Did you edit the file yourself to remove "md5" from the import statement yourself?
The patch required is in change r192

from fslint.

pixelb avatar pixelb commented on August 16, 2024

Comment #4 originally posted by pixelb on 2009-06-11T12:04:39.000Z:

No, I didn't change anything... downgraded to 2.26, and now it works. I don't know
where I got the the 2.28 package from, it's not in the repos. perhaps from
http://www.pixelbeat.org/fslint/

Anyway, I'll stick with the older version for now. Happy to test newer version if you
want me to though.

from fslint.

pixelb avatar pixelb commented on August 16, 2024

Comment #5 originally posted by pixelb on 2009-06-20T23:23:53.000Z:

I'm marking this as invalid as I'm guessing someone has just removed the "import md5"
to try and remove the deprecation warning (either in the package or on the disk).
Note to find out the source of the package just do dpkg -s fslint or dpkg -I fslint_2.28-1_all.deb. I also confirmed that md5sum_approx has not changed from r144
between fslint-2.26 and fslint-2.28

from fslint.

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.