<?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 stone.backends.python_rsrc.stone_validators.ValidationError in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/stone-backends-python-rsrc-stone-validators-ValidationError/m-p/505300#M1782</link>
    <description>&lt;PRE&gt;i have a imagefield in my model, but when i upload an image, i get this error:&lt;/PRE&gt;&lt;PRE&gt;stone.backends.python_rsrc.stone_validators.ValidationError: 'C:\nirpics\italian-tomato.jpg' did not match pattern '(/(.|[\r\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)'&lt;BR /&gt;&lt;BR /&gt;I've searched for the solutions, but none of them does the work. Anyone can help me out?&lt;/PRE&gt;</description>
    <pubDate>Tue, 16 Mar 2021 15:33:08 GMT</pubDate>
    <dc:creator>Jason_gu</dc:creator>
    <dc:date>2021-03-16T15:33:08Z</dc:date>
    <item>
      <title>stone.backends.python_rsrc.stone_validators.ValidationError</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/stone-backends-python-rsrc-stone-validators-ValidationError/m-p/505300#M1782</link>
      <description>&lt;PRE&gt;i have a imagefield in my model, but when i upload an image, i get this error:&lt;/PRE&gt;&lt;PRE&gt;stone.backends.python_rsrc.stone_validators.ValidationError: 'C:\nirpics\italian-tomato.jpg' did not match pattern '(/(.|[\r\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)'&lt;BR /&gt;&lt;BR /&gt;I've searched for the solutions, but none of them does the work. Anyone can help me out?&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Mar 2021 15:33:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/stone-backends-python-rsrc-stone-validators-ValidationError/m-p/505300#M1782</guid>
      <dc:creator>Jason_gu</dc:creator>
      <dc:date>2021-03-16T15:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: stone.backends.python_rsrc.stone_validators.ValidationError</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/stone-backends-python-rsrc-stone-validators-ValidationError/m-p/505301#M1783</link>
      <description>&lt;P&gt;When uploading a file to&amp;nbsp;Dropbox via the API, you need to specify the path in&amp;nbsp;Dropbox where you want to put the file. I see you're supplying a path&amp;nbsp;'C:\nirpics\italian-tomato.jpg', but that's a local Windows filesystem path, not a&amp;nbsp;Dropbox path. For example, a&amp;nbsp;Dropbox path would look like '/nirpics/italian-tomato.jpg'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;recommend reading &lt;A href="https://developers.dropbox.com/dbx-file-access-guide" target="_self"&gt;the File Access Guide&lt;/A&gt; for more information.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 15:38:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/stone-backends-python-rsrc-stone-validators-ValidationError/m-p/505301#M1783</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-16T15:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: stone.backends.python_rsrc.stone_validators.ValidationError</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/stone-backends-python-rsrc-stone-validators-ValidationError/m-p/505314#M1785</link>
      <description>&lt;P&gt;Thank you Greg, the link's dead, but i can find the documentation. My problem is my code works well on Mac, but on Windows it doesn't. I've tried to locate where the variable 'path' is, but i failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 15:54:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/stone-backends-python-rsrc-stone-validators-ValidationError/m-p/505314#M1785</guid>
      <dc:creator>Jason_gu</dc:creator>
      <dc:date>2021-03-16T15:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: stone.backends.python_rsrc.stone_validators.ValidationError</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/stone-backends-python-rsrc-stone-validators-ValidationError/m-p/505323#M1786</link>
      <description>&lt;P&gt;Apologies for the trouble. It looks like there's an issue with the routing for that page when using a non-English locale. We'll look into it. For now, you should be able to work around that and access&amp;nbsp;&lt;A href="https://developers.dropbox.com/dbx-file-access-guide" target="_blank"&gt;https://developers.dropbox.com/dbx-file-access-guide&lt;/A&gt;&amp;nbsp;by temporarily switching to the "English (United States)" locale on&amp;nbsp;&lt;A href="https://www.dropbox.com/account/general" target="_blank"&gt;https://www.dropbox.com/account/general&lt;/A&gt;&amp;nbsp;(if signed in) or&amp;nbsp;&lt;A href="https://www.dropbox.com/login?cont=https%3A%2F%2Fwww.dropbox.com%2Fhome" target="_blank"&gt;https://www.dropbox.com/login?cont=https%3A%2F%2Fwww.dropbox.com%2Fhome&lt;/A&gt;&amp;nbsp;(if not signed in).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, the "path" parameter is the parameter you send to the API when uploading a file to specify where in the Dropbox filesystem to put the file. For example, when using the Python SDK, that's the "path" parameter on &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.files_upload" target="_self"&gt;the files_upload method&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 16:17:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/stone-backends-python-rsrc-stone-validators-ValidationError/m-p/505323#M1786</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-03-16T16:17:15Z</dc:date>
    </item>
  </channel>
</rss>

