Closed swesemeyer closed 4 months ago
Hello, thanks for the report!
I just tested with Fedora 40 and Python 3.12.3, I cannot reproduce the bug (dragging and dropping an image from Nautilus to PhotoCollage works as expected, as well as dragging and dropping images from within PhotoCollage (swapping them)).
However I can reproduce in a Python console:
>>> import urllib
>>> urllib.parse.unquote('file://test')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'urllib' has no attribute 'parse'
>>> import urllib.parse
>>> urllib.parse.unquote('file://test')
'file://test'
I fixed this in https://github.com/adrienverge/PhotoCollage/pull/112.
When dragging and dropping images onto the main window nothing happens....
Running Photocollage from the command line shows the following error:
The fix is to import urllib.parse in line 24 of gtkgui.py instead of just urllib.