<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: OSError: Cache file does not exists. in Notebook in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/OSError-Cache-file-does-not-exists-in-Notebook/m-p/4733102#M10179</link>
    <description>&lt;P&gt;By logging out once and restarting the browser, it works fine again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know why this is the case, but I hope this information will be helpful to others who have had the same problem.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jun 2025 07:45:22 GMT</pubDate>
    <dc:creator>aki_h</dc:creator>
    <dc:date>2025-06-16T07:45:22Z</dc:date>
    <item>
      <title>OSError: Cache file does not exists. in Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/OSError-Cache-file-does-not-exists-in-Notebook/m-p/4733047#M10178</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Microsoft Fabric's Notebook, the following error occurred when running pyspark.&lt;BR /&gt;It was running fine a few minutes before the error occurred.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My colleague is in the same situation, and there is no configuration change or other event that I am aware of.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any information if anyone else has a similar phenomenon or knows of a solution or fault information.&lt;/P&gt;&lt;P&gt;Thanks for taking a look at the post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import sempy.fabric as fabric
from pyspark.sql import functions as F
from pyspark.sql.types import StructType, StructField, StringType, IntegerType, DateType, DecimalType

## ---error message
Cache file does not exists. resource=$ml, path=$/nfs4/tridenttokenlibrary/tokens/ml.token
failed to get ml token
Traceback (most recent call last):
  File "/home/trusted-service-user/cluster-env/trident_env/lib/python3.11/site-packages/synapse/ml/fabric/token_utils.py", line 156, in _get_access_token_from_token_lib
    return PyTridentTokenLibrary.get_access_token_from_cache(resource)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/trusted-service-user/cluster-env/trident_env/lib/python3.11/site-packages/trident_token_library_wrapper.py", line 71, in get_access_token_from_cache
    raise IOError(err_msg)
OSError: Cache file does not exists. resource=$ml, path=$/nfs4/tridenttokenlibrary/tokens/ml.token&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 07:31:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/OSError-Cache-file-does-not-exists-in-Notebook/m-p/4733047#M10178</guid>
      <dc:creator>aki_h</dc:creator>
      <dc:date>2025-06-16T07:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: OSError: Cache file does not exists. in Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/OSError-Cache-file-does-not-exists-in-Notebook/m-p/4733102#M10179</link>
      <description>&lt;P&gt;By logging out once and restarting the browser, it works fine again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know why this is the case, but I hope this information will be helpful to others who have had the same problem.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 07:45:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/OSError-Cache-file-does-not-exists-in-Notebook/m-p/4733102#M10179</guid>
      <dc:creator>aki_h</dc:creator>
      <dc:date>2025-06-16T07:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: OSError: Cache file does not exists. in Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/OSError-Cache-file-does-not-exists-in-Notebook/m-p/4734522#M10211</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Same error here since yesterday. Notebook used to run fine prior.&lt;BR /&gt;Couldnt find anything that references.&lt;/P&gt;&lt;PRE&gt;$/nfs4/tridenttokenlibrary/tokens/ml.token&lt;/PRE&gt;&lt;P&gt;After a restart, it seems to be resolved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a transient issue?&lt;BR /&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 08:56:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/OSError-Cache-file-does-not-exists-in-Notebook/m-p/4734522#M10211</guid>
      <dc:creator>TomT131</dc:creator>
      <dc:date>2025-06-17T08:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: OSError: Cache file does not exists. in Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/OSError-Cache-file-does-not-exists-in-Notebook/m-p/4734934#M10225</link>
      <description>&lt;P&gt;No need for restart for myself. Second run of notebook cell executed error-free and with no code changes.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 15:13:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/OSError-Cache-file-does-not-exists-in-Notebook/m-p/4734934#M10225</guid>
      <dc:creator>P_work</dc:creator>
      <dc:date>2025-06-17T15:13:45Z</dc:date>
    </item>
  </channel>
</rss>

