Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Map Plugin #118

Merged
merged 6 commits into from
Dec 25, 2024
Merged

Fix Map Plugin #118

merged 6 commits into from
Dec 25, 2024

Conversation

jeremiah-k
Copy link
Collaborator

I ended up applying the Monkeypatch fix from flopp/py-staticmaps#39 to map_plugin.py

And updated staticmaps to 0.5.0 using this in requirements.txt

git+https://github.com/flopp/py-staticmaps.git@e0266dc40163e87ce42a0ea5d8836a9a4bd92208`

And everything's functional, with Pillow updated to the latest release (11.0.0) as well

The map plugin has been down for awhile and inline images were not being displayed in the latest version of Element (1.11.89), they were just being uploaded as an attachment. I went back and looked at earlier instances of when the map plugin was working and those were being displayed as an attachment too, so I added image.png to the event's body and now it's working again.

Trunk is complaining about a few things in the map plugin but I'll sort through those later. I want to see how the executable builds when installing staticmaps this way.

@jeremiah-k jeremiah-k merged commit 4140353 into geoffwhittington:main Dec 25, 2024
@jeremiah-k jeremiah-k mentioned this pull request Dec 25, 2024
@jeremiah-k jeremiah-k deleted the map-work-2 branch December 25, 2024 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant