<?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: tkinter in notebooks for ArcGIS Online in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/tkinter-in-notebooks-for-arcgis-online/m-p/397149#M124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I ask what are you using TkInter for?&amp;nbsp;TkInter requires a direct connection to a display, virtual or otherwise. You won't be able to present a GUI in AGOL Notebooks as&amp;nbsp;it is a headless environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2020 18:47:00 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-04-16T18:47:00Z</dc:date>
    <item>
      <title>tkinter in notebooks for ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/tkinter-in-notebooks-for-arcgis-online/m-p/397148#M123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep getting this error when trying to use tkinter in arcgis notebooks hosted in ArcGIS Online.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TclError: no display name and no $DISPLAY environment variable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I have seen it this is an environment variable that needs to be set in the docker image.&amp;nbsp; Using %env DISPLAY= does change variable but doesn't seem to clear up the issue.&amp;nbsp; I will then get this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="" style="color: #242729; background-color: var(--black-050); border: 0px; margin: 0px 0px 1em; padding: 12px 8px;"&gt;&lt;STRONG&gt;&lt;CODE style="background-color: var(--black-050); border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #2b91af; border: 0px; font-size: 13px;"&gt;TclError&lt;/SPAN&gt;&lt;SPAN class="" style="color: var(--black-750); border: 0px; font-size: 13px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: var(--black-750); border: 0px; font-size: 13px;"&gt; couldn&lt;/SPAN&gt;&lt;SPAN class="" style="color: var(--red-800); border: 0px; font-size: 13px;"&gt;'t connect to display ":0.0"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I do not have the control to alter these docker images used&amp;nbsp;for Notebooks in ArcGIS Online I am wondering if someone from ESRI can look into this so tkinter works in notebooks for AGOL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program runs fine when I run it from a jupyter notebook on my local machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/space/2250"&gt;ArcGIS Notebooks Beta - Online&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2020 22:24:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/tkinter-in-notebooks-for-arcgis-online/m-p/397148#M123</guid>
      <dc:creator>RobertWeber</dc:creator>
      <dc:date>2020-04-13T22:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: tkinter in notebooks for ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/tkinter-in-notebooks-for-arcgis-online/m-p/397149#M124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I ask what are you using TkInter for?&amp;nbsp;TkInter requires a direct connection to a display, virtual or otherwise. You won't be able to present a GUI in AGOL Notebooks as&amp;nbsp;it is a headless environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 18:47:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/tkinter-in-notebooks-for-arcgis-online/m-p/397149#M124</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-04-16T18:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: tkinter in notebooks for ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/tkinter-in-notebooks-for-arcgis-online/m-p/397150#M125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Josh - wanted to provide a UI for users of certain notebooks is all really.&amp;nbsp; It's not a huge deal but would be nice.&amp;nbsp; If there is another package you are aware of that can accomplish this using the runtime's available in AGOL I am open to suggestions.&amp;nbsp; I was thinking along the lines of&amp;nbsp;taking an input from dropbox and add, publish, append etc an item.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 19:16:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/tkinter-in-notebooks-for-arcgis-online/m-p/397150#M125</guid>
      <dc:creator>RobertWeber</dc:creator>
      <dc:date>2020-04-16T19:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: tkinter in notebooks for ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/tkinter-in-notebooks-for-arcgis-online/m-p/397151#M126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm personally not too familiar with related packages, but have you looked into using ipywidgets to simulate a UI? You can create radio buttons, dropdowns, display videos.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://ipywidgets.readthedocs.io/en/stable/examples/Widget%20List.html#Selection-widgets" title="https://ipywidgets.readthedocs.io/en/stable/examples/Widget%20List.html#Selection-widgets"&gt;https://ipywidgets.readthedocs.io/en/stable/examples/Widget%20List.html#Selection-widgets&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not entirely sure if that fits your use-case but it could be worth mentioning. Perhaps populate a drop-down with your dropbox items. I hope it's at least a good starting point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 23:46:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/tkinter-in-notebooks-for-arcgis-online/m-p/397151#M126</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-04-29T23:46:32Z</dc:date>
    </item>
  </channel>
</rss>

