Opened 3 years ago

Closed 22 months ago

Last modified 22 months ago

#25348 closed defect (duplicate)

sage.misc.lazy_import_cache.get_cache_file() creates a file name > 255 chars

Reported by: isuruf Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: misc Keywords:
Cc: saraedum Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

If the SAGE_SRC is in a really long path like in conda, the cache file name has the long path with / replaced by _ which is > 255 chars. Linux paths can be really long (4096 chars), but the filename has to be less than 255.

Possible workaround https://github.com/conda-forge/sagelib-feedstock/blob/master/recipe/patches/fix_cache_file_length.patch

Change History (7)

comment:1 Changed 3 years ago by isuruf

  • Type changed from PLEASE CHANGE to defect

comment:2 Changed 3 years ago by vdelecroix

  • Milestone changed from sage-8.3 to sage-8.4

update milestone 8.3 -> 8.4

comment:4 Changed 22 months ago by vdelecroix

  • Component changed from PLEASE CHANGE to misc
  • Milestone changed from sage-8.4 to sage-duplicate/invalid/wontfix
  • Resolution set to fixed
  • Status changed from new to closed

comment:5 Changed 22 months ago by chapoton

  • Resolution changed from fixed to duplicate

comment:6 Changed 22 months ago by chapoton

wrong move, sorry. I did not see that this was already closed..

comment:7 Changed 22 months ago by isuruf

Thanks for closing

Note: See TracTickets for help on using tickets.