Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

something that can display a Thumbs.db?

318 views
Skip to first unread message

gene heskett

unread,
Feb 11, 2023, 12:50:07 PM2/11/23
to
Greetings All;

I'm in the middle pages of trying to build a voron 2.4 kit, a 3d
printer. Definitely not recommended for beginners. Very poor assembly
instructions. I've printed two versions of them, over 500 pages in dead
tree format but am getting poor and often out of order or missing
finishing touches, obviously the work of a designer who assumes this is
the 50th such project the user has built and Just Knows what to do next..

I have unpacked the .stl files to feed cura and they generally work, but
each major section of the printed stuff also contains a Thumbs.db file.
I'm not familiar with databases enough to know what to do, but being
able to see whats in this file in thumbnail form would sure help me to
build the next part I need. So what do we have that can display whats in
these files, from a Chinese originator?

File says this about one of them:
Thumbs.db: Composite Document File V2 Document, Cannot read section info

Is there something that can display the contents of that?

Thank you all, take care & stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>

Linux-Fan

unread,
Feb 11, 2023, 1:32:58 PM2/11/23
to
gene heskett writes:

> Greetings All;
>
> I'm in the middle pages of trying to build a voron 2.4 kit, a 3d printer.
> Definitely not recommended for beginners. Very poor assembly instructions.
> I've printed two versions of them, over 500 pages in dead tree format but am
> getting poor and often out of order or missing finishing touches, obviously
> the work of a designer who assumes this is the 50th such project the user
> has built and Just Knows what to do next..
>
> I have unpacked the .stl files to feed cura and they generally work, but
> each major section of the printed stuff also contains a Thumbs.db file.
> I'm not familiar with databases enough to know what to do, but being able to
> see whats in this file in thumbnail form would sure help me to build the
> next part I need. So what do we have that can display whats in these files,
> from a Chinese originator?
>
> File says this about one of them:
> Thumbs.db: Composite Document File V2 Document, Cannot read section info

Thumbs.db is a file generated by Windows OSes to speed up image previews.
Users are not usually expected to need reading the file. On Windows systems
such files are usually “hidden” (Windows does not follow the convention of
the leading dot meaning hidden) such that they end up in all kinds of places
where they are not expected/useful.

Unless you are looking to extract minature previews of some ofther files in
that same directory, Thumbs.db may well be of little use to you.

Or in other Words: Whatever information you are missing and want to extract
from there, is unlikely to be contained in the Thumbs.db.

> Is there something that can display the contents of that?

Debian has a package called `vinetto`. When I tried it on some random
`Thumbs.db` from Windows-originating files, it bailed out with

~~~
Traceback (most recent call last):
File "/usr/bin/vinetto", line 418, in <module>
print(" " + TNid + " " + TNtimestamp + " " + TNname)
TypeError: can only concatenate str (not "bytes") to str
~~~

That looks like a python2 -> python3 migration issue to me.

But: It extracted one thumbnail from the Thumbs.db that looks plausible.

If you must know about the Thumbs.db's contents, it might be interesting to
try this tool.

HTH
Linux-Fan

öö

[...]

gene heskett

unread,
Feb 11, 2023, 2:00:06 PM2/11/23
to
I pulled in 4 other bits of snaky stuff, but only displays info that
might be of interest to windoze making little sense to a human.
vinetto Thumb.db gets me this:

gene@coyote:~/Downloads/3dp.stf/trident/stl.stf_from_slipper/01
Exhaust_Filter 空气过滤模块$ vinetto Thumbs.db
------------------------------------------------------
File: Thumbs.db
MD5: baab53eff2c588460a6989ccc5fb7a3b
------------------------------------------------------
Root Entry
--------------------
Name: Root Entry
Color: Red
Prev Dir ID: -1
Next Dir ID: -1
Sub Dir ID: 3
Class ID: b'00000000000000000000000000000000'
User Flags: b'00000000'
Create: Wed Dec 31 19:00:00 1969
Modify: Wed Feb 8 20:31:16 2023
1st Sec: 3
Size: 10240
------------------------------------------------------
Stream Entry
--------------------
Name: 256_2e24f7a96182fb47
Color: Black
Prev Dir ID: 4
Next Dir ID: -1
Sub Dir ID: -1
Class ID: b'00000000000000000000000000000000'
User Flags: b'00000000'
Create: Wed Dec 31 19:00:00 1969
Modify: Wed Dec 31 19:00:00 1969
1st Sec: 0
Size: 3393
------------------------------------------------------
Stream Entry
--------------------
Name: 256_5b12f2389de528b5
Color: Black
Prev Dir ID: -1
Next Dir ID: -1
Sub Dir ID: -1
Class ID: b'00000000000000000000000000000000'
User Flags: b'00000000'
Create: Wed Dec 31 19:00:00 1969
Modify: Wed Dec 31 19:00:00 1969
1st Sec: 54
Size: 3450
------------------------------------------------------
Stream Entry
--------------------
Name: 256_3a5e33accfde5c5a
Color: Black
Prev Dir ID: 1
Next Dir ID: 2
Sub Dir ID: -1
Class ID: b'00000000000000000000000000000000'
User Flags: b'00000000'
Create: Wed Dec 31 19:00:00 1969
Modify: Wed Dec 31 19:00:00 1969
1st Sec: 108
Size: 3328
------------------------------------------------------
Stream Entry
--------------------
Name: 256_7ecd35efe1d0eb4
Color: Red
Prev Dir ID: -1
Next Dir ID: -1
Sub Dir ID: -1
Class ID: b'00000000000000000000000000000000'
User Flags: b'00000000'
Create: Wed Dec 31 19:00:00 1969
Modify: Wed Dec 31 19:00:00 1969
1st Sec: 26
Size: 5104
------------------------------------------------------

Not usefull. OTOH, it didn't bail out either.

Many thanks for trying, take care & sty well.

gene heskett

unread,
Feb 11, 2023, 2:20:06 PM2/11/23
to
On 2/11/23 13:20, Linux-Fan wrote:
I take it back, the man page showed me how to extract the thumbnail
.jpg's so it is usefull.
now I have:
gene@coyote:~/Downloads/3dp.stf/trident/stl.stf_from_slipper/02面板安装部分$
ls -lR
total 2228
-rw-r--r-- 1 gene gene 3827 Feb 11 13:59 256_2d2493d05c55f5fe.jpg
-rw-r--r-- 1 gene gene 4186 Feb 11 13:59 256_426ee6c8f831d36.jpg
-rw-r--r-- 1 gene gene 4096 Feb 11 13:59 256_4ab7dd5f32a37df5.jpg
-rw-r--r-- 1 gene gene 3952 Feb 11 13:59 256_5307013a11fbed22.jpg
-rw-r--r-- 1 gene gene 4490 Feb 11 13:59 256_63d61390839bc3c8.jpg
-rw-r--r-- 1 gene gene 4701 Feb 11 13:59 256_998fc8153b45b98e.jpg
-rw-r--r-- 1 gene gene 3833 Feb 11 13:59 256_db1afa9086558c42.jpg
-rw-r--r-- 1 gene gene 4876 Feb 11 13:59 256_faf340636a3ac6f6.jpg
-rw-r--r-- 1 gene gene 75784 Sep 21 2021 bottom_panel_clip_x4.stl
-rw-r--r-- 1 gene gene 558984 Sep 21 2021 bottom_panel_hinge_x2.stl
-rw-r--r-- 1 gene gene 176284 Sep 21 2021 corner_panel_clip_3mm_x12.stl
-rw-r--r-- 1 gene gene 182384 Sep 21 2021 corner_panel_clip_6mm_x4.stl
-rw-r--r-- 1 gene gene 141884 Sep 21 2021 midspan_panel_clip_3mm_x12.stl
-rw-r--r-- 1 gene gene 143684 Sep 21 2021 midspan_panel_clip_6mm_x3.stl
-rw-r--r-- 1 gene gene 39936 Feb 9 09:31 Thumbs.db
-rw-r--r-- 1 gene gene 444584 Sep 21 2021 z_belt_cover_a_x2.stl
-rw-r--r-- 1 gene gene 444584 Sep 21 2021 z_belt_cover_b_x2.stl
drwxr-xr-x 2 gene gene 4096 Aug 4 2022 前门固定件

./前门固定件:
total 1660
-rw-r--r-- 1 gene gene 1437384 Sep 21 2021 door_hinge_x4.stl
-rw-r--r-- 1 gene gene 92784 Sep 21 2021 handle_a_x2.stl
-rw-r--r-- 1 gene gene 92784 Sep 21 2021 handle_b_x2.stl
-rw-r--r-- 1 gene gene 73684 Sep 21 2021 latch_x2.stl

but not an obvious way to link the hash number to the stl, and it did
not extract the last 4 mini jpg's. But I'm still ahead of the game as I
now know there's a subdir with 4 more stl's I didn't see before.
Thanks, it turns out to be helpfull. Another read of the manpage shows
me how to link them to real names, so further experimentation is in
order. Thanks a bunch.
>
> [...]

to...@tuxteam.de

unread,
Feb 12, 2023, 2:10:06 AM2/12/23
to
On Sat, Feb 11, 2023 at 07:20:17PM +0100, Linux-Fan wrote:

[...]

> ~~~
> Traceback (most recent call last):
> File "/usr/bin/vinetto", line 418, in <module>
> print(" " + TNid + " " + TNtimestamp + " " + TNname)
> TypeError: can only concatenate str (not "bytes") to str
> ~~~

HAH. Python3 and its OCD type system. Perhaps you might want to
try running it with Python2 (their character type systems are
broken in different ways).

Cheers
--
t
signature.asc

Linux-Fan

unread,
Feb 14, 2023, 1:40:09 PM2/14/23
to
At least a cursory attempt at doing this failed:

~~~
$ python2 /usr/bin/vinetto -o /tmp .../Thumbs.db
Traceback (most recent call last):
File "/usr/bin/vinetto", line 40, in <module>
import vinetto.vinreport
ImportError: No module named vinetto.vinreport
~~~

On Github, there seems to be a newer version available where porting to
Python 3 has progressed further. If users run into the error above, I'd
suggest them to try the version from Github?

HTH
Linux-Fan

öö
0 new messages