-
Notifications
You must be signed in to change notification settings - Fork 4
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
CacheFS Error #27
Comments
It was never tested as a library component because, if not used with Kopytko Packager, it requires manual file imports anyway. Summarizing, it's not an issue. //cc @bchelkowski |
I am not using it directly, I believe: ' @import /components/http/HttpService.brs from @dazn/kopytko-framework m._port = CreateObject("roMessagePort") feat!: Add HTTP request and support HTTP caching (getndazn/kopytko-framework#49) (1a09ae8), closes getndazn/kopytko-framework#49 It worked prior to this version (before 2.0) Thanks! |
Hi, @alexkn1 can you give some info about your use case? |
Hi, We are guessing, as there is a bit little information, but from what you wrote I assume that you are migrating kopytko-framework from v1 to v2. In v2, the HttpRequest component has been added (that's why we marked it as a breaking change, as it could be a name that is already used in a project) and this could be your case. The second thing is that one mentioned by Pawel and Tomek, that HttpService.brs needs to be run in a task thread. With v2 this is included in the HttpRequest Task, so it could be simply done by extending your request from HttpRequest and then calling |
Was this tested in a library component. Typically library components don't have access to the file system.
BRIGHTSCRIPT: ERROR: roFilesystem: creating MAIN|TASK-only component failed on RENDER thread: pkg:/components/kopytko_modules/dazn_kopytkoUtils_v2/CacheFS.brs(16)
Suspending threads...
Thread selected: 1* ...n_kopytkoUtils_v2/CacheFS.brs(19) if (NOT m._fileSystem.exists(m._PREFIX + m._folder)) then m._createFolder()
The text was updated successfully, but these errors were encountered: