Skip to content

Using oslcquery on command line is generating errors #79

Answered by barny
denisbelanger101 asked this question in Q&A

You must be logged in to vote

As the last line tells you, oslcquery can't create folder .web_cache. This is used to cache responses to speed the overall query and it is left after a run so the next run can use the cached data. The cache content is ignored seven days after it was retrieved. You can clear the cache with the -W option, or clear it and disabled caching using -WW option.

Two solutions:

  1. Ensure you have permission to create a folder called .web_cache wherever you're running oslcquery
  2. Use option -WW option which disables caching so there shouldn't be any attempt to create the .web_cache folder. But the shape loading will have to be done every time as it is no longer cached.

Replies: 6 comments 6 replies

You must be logged in to vote
1 reply
@denisbelanger101

Answer selected by barny

You must be logged in to vote
1 reply
@denisbelanger101

You must be logged in to vote
1 reply
@barny

barny Mar 6, 2025
Maintainer

You must be logged in to vote
2 replies
@barny

barny Mar 6, 2025
Maintainer

@denisbelanger101

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@barny

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants