-
I want to install vinetto into /usr/local, but the install script seems to be hard-coded to install into /usr/share/vinetto:
[psy@weasel:~/src/vinetto-beta-0.07]$ sudo python setup.py install --prefix=/usr/local
root's password:
running install.
2009-05-21 12:28:48 UTC by psychonaut25
-
Very interesting solution - many thanks for your efforts.
May i suggest some things (i am playing with vinetto on Windows but without cygwin)
And with just a few modifications it works almost perfect on plain Windows:
1)
os.system("mkdir " + opts.outputdir + "/" + NUMBERED_THUMBS_DIR)
doesn't work, since mkdir ..., but pythons os.mkdir works just fine:
#os.system("mkdir " +...
2008-03-25 10:01:28 UTC by rsabet
-
why is that needed?
if you have PIL installed (and you are extracting Type 1 Thumbs.db) then it writes all the images to output folder, not into .thumbs folder, which is IMHO totally fine.
if you are extracting Type 2 Thumbs.db then all the files go to .thumbs folder, which is not good because report doesn't use .thumbs folder for images output address.
anyways, great software!
does...
2007-10-26 12:02:18 UTC by nobody
-
When you run it just for listing the contents, like in
vinetto /path/to/Thumbs.db
it will stop at line 77 (Python 2.4) because the output directory is None and cannot be concatenated with Strings, need a check before doing so like this:
line 77:
if (opts.outputdir != None) :
os.system("mkdir " + opts.outputdir + "/" + NUMBERED_THUMBS_DIR)
and it runs fine, nice script btw, I...
2007-09-02 01:36:52 UTC by azok
-
You are right. I made vinetto for use in unix-like environments (Linux, Cygwin, Mac OS X, ...). I'll try to see if I can do something for windowsTM.
Thanks four your post and comment.
Rukin.
2007-08-19 09:54:25 UTC by rukin
-
There are some problems with the way you made the setup.py file. I'm relatively new to Linux, but I'm guessing that you made this for Linux due to your instructions on installation and from looking at how you label paths/directories.
I'm using Windows XP.
Here's the error I get while trying "python.exe setup.py install":
Traceback (most recent call last):
File "setup.py", line 14, in...
2007-08-16 07:41:42 UTC by nobody
-
rukin committed revision 60 to the vinetto SVN repository, changing 1 files.
2007-06-14 19:46:43 UTC by rukin
-
Hello Michel,
I have a following error when processing a thumbs.db of 14256640 bytes with latest version of vinetto (vinetto 0.06 (r56)).
Traceback (most recent call last):
File "/usr/bin/vinetto", line 176, in
i = nextBlock (thumbsDB, FATblocks, i)
File "/usr/bin/vinetto", line 89, in nextBlock
offst = Table [iFAT] * 512 + 0x200 + iSECT*4
IndexError: list index...
2007-06-14 14:14:00 UTC by free_ouyo
-
rukin committed revision 59 to the vinetto SVN repository, changing 1 files.
2006-12-28 11:27:35 UTC by rukin
-
I want to write the thumbnails with the orginal name of the image.
This is line of output:
0007 Mon Apr 24 19:33:48 2006 NewOffice.jpg
The thumbnail will be written as:
0007.jpg
I want to write it as:
NewOffice.jpg
I have solved this problem by creating new switch '-s' that create symlinks of the real filename to the thumb. This is 'ls -l' :
lrwxrwxrwx 1 kfir kfir 16 Dec 20...
2006-12-21 10:13:54 UTC by kfir_lavi