pkolarov / folders2flickr

Automatically exported from code.google.com/p/folders2flickr
7 stars 2 forks source link

Fixes for changes to flickr api #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've attached a diff with the following changes....

 * Updated flickr api urls to use SSL as per https://code.flickr.net/2014/04/30/flickr-api-going-ssl-only-on-june-27th-2014/
 * Added more video file types that flickr supports
 * Ignoring unix style hidden files/folders that start with "." (dot files).

Original issue reported on code.google.com by keithwha...@gmail.com on 14 Jul 2014 at 2:16

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Keith, 

Thanks for the .diff 
- any chance you could just make the diff'ed .py available?
- if not, how do I apply this, do I need an IDE?  
- does code.google have similar command line to git? ie. "-apply" switch?
- which version does this patch - 1.0? (2011/05/31)
https://code.google.com/p/folders2flickr/downloads/detail?name=folders2flickr%20
v1.zip&can=2&q=

Many, many thanks!

Original comment by adam.oe....@gmail.com on 25 Oct 2014 at 2:26

GoogleCodeExporter commented 9 years ago
Pretty sure you can use the patch command in unix as follows to apply a
patch...

cd /path/to/folders2flickr
patch < /path/to/patchfile.diff

This will probably work on the latest version from svn as I don't think the
project has been updated in a while.

I've attached my latest .py files in an archive.

Enjoy,

-- keith

Original comment by keithwha...@gmail.com on 25 Oct 2014 at 2:43

GoogleCodeExporter commented 9 years ago
Keith, 

I don't see your files attached... but anyway, in the last 77 mins since my 
comment... I found "patch" and actually got an error with one chunk, which I 
manually fixed.

However when I run it I'm getting...

Traceback (most recent call last):
  File "uploadr.py", line 3, in <module>
    import dbhash,anydbm
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/dbhash.py", line 7, in <module>
    import bsddb
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/bsddb/__init__.py", line 67, in <module>
    import _bsddb
ImportError: No module named _bsddb

Seems like bsddb is deprecated since 2.6?
http://stackoverflow.com/questions/16003224/installing-bsddb-package-python

Any ideas?

Thanks!

Original comment by adam.oe....@gmail.com on 25 Oct 2014 at 3:46