Short answer
Avoid special characters for folder and file names. Use only letters, numbers and underscores, then the problem is solved.
Details
I could now finally reproduce the behaviour you describe. The problem is the path you use for the csv file: it contains special characters. Your first screenshot shows the path where you saved the csv. This path contains different special characters like points (.
), spaces (
), commas (,
), hash sign (#
), hyphens (-
) apostrophe ('
), equal sign (=
) etc. This should be avoided.
Using such characters might work in many settings. However, it might suddenly produce unexpected errors, as in your case. So as a general rule (not just for QGIS), always limit names for folders and files to characters a
to z
and A
to Z
, numbers 0
to 9
and underscores (_
) and avoid all other characters.
Depending on context (operating system, file system, filetype, application used etc.), rules for allowed/forbidden characters vary - see e.g. naming conventions for web files. In some contexts, filenames are not case sensitive, so you might even consider using only lowercase (or only uppercase) characters or only hyphens instead of underscores. For maximum interoperability, keep file- and foldernames as simple as possible and as complex as necessary. See also entry for Filename on Wikipedia.
Checking data source in Layer Properties > Information
reveals the problem: path includes special characters like hash sign, spaces and hyphens, all data are inserted in one field and thus the fields that define the geometry cannot be recognized: