pkolarov / folders2flickr

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

Unable to get it to work on mac? #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I installed as stated for my mac with the ini file settings as below:

[DEFAULT]

#
# Location to scan for new images (no trailing \)
#
imagedir=/Users/michaeltaylor265/Dropbox/instagram
#
#   File we keep the history of uploaded images in.
#
history_file=history

#visible 1, invisible 0
public= 0
friend = 1
family = 1

#set this to true if name of the auto generated flickr sets should be only name 
of the last sub folder e.g. Crete when folder is 
d:\testpictures\holidays\Crete\123img.jpg
only_sub_sets  = false

#Start from scratch! If you want to delete first everything you have in your 
Flickr account then set this to true
#This is handy if you messed up your uploads before or just want to start from 
the begining. 
#Once everything is deleted turn this feature off so you wont keep deleting 
your pics in your cron job!
#WARNING!!! IF SET TO true THIS WILL DELETE EVERYTHING (pictures and videos) 
FROM YOUR FLICKR ACCOUNT
#SO BE 100% SURE YOU WANT TO DO THIS!!!!!!!!!!!!!!!!!!
#NOTE: The tool will not start uploading pictures unless this is set to false 
in order to prevent delete-upload-delete-upload loops

remove_all_pics_first = false

I get the following error in terminal and no prompt to authorise my flickr 
account:

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>
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/bsddb/__init__.py", line 67, in <module>
ImportError: No module named _bsddb

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

Mac os x v 20.8.2, python version 2.7

Original issue reported on code.google.com by mikkelta...@gmail.com on 30 Sep 2012 at 11:39

GoogleCodeExporter commented 9 years ago
Is there any simple way to add the bsddb module to python ?
This issue seems to impact all mac users, since the default python installation 
does not contain the bsddb package.

Thanks,

Original comment by guillaum...@gmail.com on 31 May 2013 at 6:04

GoogleCodeExporter commented 9 years ago
Works fine when getting rid of the "import dbhash,anydbm" lines in the source 
code.
This does the trick to run it on a Mac.

Original comment by guillaum...@gmail.com on 5 Feb 2014 at 11:09