Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PluginLoader::loadTypekits throws boost::filesystem_error for "File name too long" with long path_list #323

Open
pierrewillenbrockdfki opened this issue Sep 22, 2020 · 0 comments

Comments

@pierrewillenbrockdfki
Copy link

The path_list is just very many paths, properly separated by ":", not running on windows(where ":" is not a delimiter).

The text of the cause is

boost::filesystem::status: File name too long

The most probably cause is the call to boost::filesystem::is_regular_file in PluginLoader::loadPluginsInternal with the entire path_list string. According to the boost documentation, boost::filesystem::is_regular_file uses boost::filesystem::status to determine if the file is regular.

Maybe it is time to remove the check, or at least catch the exception and try to go ahead with the split path_list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant