douglasdrumond / folders2flickr

Automatically exported from code.google.com/p/folders2flickr (GNU GPL v3)
0 stars 0 forks source link

Error as the md5 module is deprecated #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I had to download python v2.6 from pyhton.org as the bsddb module is now 
deprecated and _bsddb.so is not found  and throws an error as already reported 
in a previous issue. 

What steps will reproduce the problem?
1. Edit uploadr.ini
2. Run with python uploadr.py
3. Provide 1st time authority when prompted in browser

What is the expected output? What do you see instead?
uploadr.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib 
instead
  import xmltramp, mimetools, mimetypes, md5, webbrowser, exif, flickr2history, tags2set, deleteAll
history
---------

What version of the product are you using? On what operating system?

v1.0 OS X 10.8.2 with

Python 2.6.1 (r261:67515, Dec  6 2008, 16:42:21) 
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin

Please provide any additional information below.

debug.log

2013-01-22 22:33:02,021 DEBUG Started
2013-01-22 22:33:04,391 DEBUG flickr2history: Started flickr2history
2013-01-22 22:33:05,013 DEBUG 88717261@N03
2013-01-22 22:33:05,015 DEBUG tags2set: Started tags2set
2013-01-22 22:33:05,704 DEBUG 88717261@N03
2013-01-22 22:33:07,688 ERROR tags2set: Cannot create set 
2013-01-22 22:33:07,688 ERROR <type 'exceptions.IndexError'>
2013-01-22 22:33:07,688 ERROR tags2set: Cannot edit set 
2013-01-22 22:33:07,688 ERROR <type 'exceptions.AttributeError'>
2013-01-22 22:33:07,688 DEBUG tags2set: ...added 0 photos

error.log

tags2set: Cannot create set 
<type 'exceptions.IndexError'>
tags2set: Cannot edit set 
<type 'exceptions.AttributeError'>
tags2set: Cannot create set 
<type 'exceptions.IndexError'>
tags2set: Cannot edit set 
<type 'exceptions.AttributeError'>
tags2set: Cannot create set 
<type 'exceptions.IndexError'>
tags2set: Cannot edit set 
<type 'exceptions.AttributeError'>
tags2set: Cannot create set 
<type 'exceptions.IndexError'>
tags2set: Cannot edit set 
<type 'exceptions.AttributeError'>
error.log (END) 

Original issue reported on code.google.com by kickmale...@gmail.com on 22 Jan 2013 at 10:46