<div dir="ltr"><div>Windows has fairly shorter path limitation by default (see <a href="https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry">https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry</a> )</div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Alex</div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 24 nov. 2022 à 20:33, Greg Troxel via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
"Alexis R.L. via QGIS-Developer" <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>><br>
writes:<br>
<br>
> I'm not sure it warranted a bug report but some control image now have<br>
> names that are frankly too long and are causing issues in git if the local<br>
> report folder is located some level down.<br>
><br>
> Would it be too crazy to shrink down some offending name to prevent error<br>
> when switching to more recent branches? I can submit a PR if needed.<br>
><br>
> Here's one of the error I got<br>
> 'tests/testdata/control_images/labelingengine/expected_label_curved_line_allow_upside_down_hint_reversed_right_positive_offset/expected_label_curved_line_allow_upside_down_hint_reversed_right_positive_offset.png':<br>
> Filename too long<br>
<br>
I am not objecting to shrinking, and don't really have standing to, but<br>
can you explain the platform and what you think is going on?<br>
<br>
That filename is 210 bytes long, which doesn't seem that big.  Do you<br>
know what limit is being hit, in which program or the OS kernel, and<br>
what properties the file name needs to have to avoid the problems?<br>
<br>
I just checked on the box I am reading mail on (NetBSD), and it looks<br>
like PATH_MAX is 1024 bytes.  That actually seems like a low limit these<br>
days.   I am unclear on what the values are on other systems, only that<br>
I have ~never run into this.<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>