I'm using Ludwig and get the following message: "The FILES type libraries are not supported by Ludwig automatically."

https://ibb.co/LPLDVck

Can I ignore this or is there something I must do?

CommentFileSizeAuthor
#2 3198535-02.patch525 bytesdevad

Comments

ab2211 created an issue. See original summary.

devad’s picture

Status: Active » Needs review
StatusFileSize
new525 bytes

Ludwig has added a ludwig.require_once service as support for 'files' autoload type libraries recently.

Here is a patch which takes advantage of the new Ludwig service.

With this patch in place the league/csv library 'files' autoload resource file is properly loaded and the "Warning! The FILES type libraries are not supported by Ludwig automatically." warning is solved.

Note for maintainers:

This .module file patch is a one-time change and it does not require maintenance if the league/csv library version changes in the future.

A new CSV Serialization module release (with this patch committed) would be nice.

klauq’s picture

Hi

I tried to find the csv_serialization.module file, but I can't find it. This patch should alter csv_serialization.module right? So could you please show me where is the file?

Thank you very much

devad’s picture

Re: @klauq #3

This patch is adding a new csv_serialization.module file.

The best and highly recommended way to apply patches is to use git. However, if you are not familiar with git you can apply this patch manually. You will need to create a new empty csv_serialization.module file inside module root folder first, and then copy/paste the code from patch to it.

klauq’s picture

Thanks devad!

devad’s picture

@klauq: If you have tested the patch and if it is working for you please feel free to leave positive review here so that we can move this issue to RTBC.

devad’s picture

Status: Needs review » Closed (outdated)

The new 9.7.0 ver of the league/csv library has declared all functions loaded by "src/functions_include.php" file as deprecated.

So, it seems that the 'files' autoload type which loads "src/functions_include.php" will be soon removed as well and that not having it now has no bad effect on library functioning. And Ludwig's message: "The FILES type libraries are not supported by Ludwig automatically." in this case can be ignored safely as well.

Closing this as outdated.

devad’s picture