carderne / signal-export

Export your Signal chats to markdown files with attachments
Other
481 stars 50 forks source link

Export of media not working anymore? #28

Closed franklin-be closed 2 years ago

franklin-be commented 3 years ago

Hello,

yes it's me again.. hopefully this time around it's not something that's on me.. (again)

so lately i've noticed that the export doesn't include media that has been sent to me. it happens with all media (webm, jpg, png, mp4,..).. and no matter if they are are send one by one or in a bunch of 10+

all my media i send to contacts.. is exported correctly. Just not media that i receive from contacts.

my export command would be:

python3 /signal-export/sigexport.py --source "/mnt/c/temp/trans/Signal/" --manual "/mnt/c/Users/user0/Desktop/signal/t3" -p0

(/mnt/c/temp/trans/Signal/ would be the a place i copied the entire signal_desktop client folder to.

the same command with the -v flag with a snipped of a skipped over picture

            Doing contactname, msg: 2021-08-15 15:03
            Doing contactname, msg: 2021-08-15 15:07
            No attachments for a message: contactname, 2021-08-15 15:07
            Doing contactname, msg: 2021-08-15 15:07
            Doing contactname, msg: 2021-08-15 15:07

it's obviously also not contained in the html file html

how it's displayed in the signal app. export_issuepng

what i tried so far..

how can i further analyze this? Maybe the --manual parameter might be involved?

regards

franklin.

coppolab commented 3 years ago

Same problem from a contact with high number of incoming messages/attachments.

In addition:

Setup:

adam-sroka commented 3 years ago

I'm not sure if this is the same issue, but I'm also having troubles with media export. This seems to be only affecting received media from Android users (myself having the Signal mobile app on iOS and the desktop app on macOS), i.e. iOS to iOS Signal messages are fine (both the received and sent), but with chats with Android Signal users, the received media has no filename extension, and instead ends with _None. The actual file is correct though, it's just that it's missing the extension and hence is not displayed by default:

none_received_media

none_media

coppolab commented 3 years ago

I'm not sure if this is the same issue, but I'm also having troubles with media export. This seems to be only affecting received media from Android users (myself having the Signal mobile app on iOS and the desktop app on macOS), i.e. iOS to iOS Signal messages are fine (both the received and sent), but with chats with Android Signal users, the received media has no filename extension, and instead ends with _None. The actual file is correct though, it's just that it's missing the extension and hence is not displayed by default:

Concerning my post above, I confirm IT IS exactly the same issue. I emphasize again that in the case of "empty" message only including a file and no text, the whole message is skipped at all in the html/md visualization.

carderne commented 3 years ago

Thanks both for figuring this out. Will find someone on Android to send me a message and see if I can fix this in the next couple of days.

carderne commented 2 years ago

Sorry this took so long, should be fixed now by 39781bb62dc634bee2f4c930261cdb16ef00c58d