title: GUI won't open and not sure how to make variables
body: <p>I'm getting an error &quot;No objects to concatenate&quot; on line 50: newtime = yf.download(ticker_info, start = startdate_info, end = enddate_info) and the program closes before the user interface can open. I'm just trying to list the Entries as strings to use in the bottom function.</p>
  <pre><code>import yfinance as yf
  import pandas as pd
  import pyautogui
  from tkinter import *
  import keyboard
  import numpy as np
  import matplotlib.pyplot as plt
  from matplotlib import pyplot
  
  screen = Tk()
  screen.geometry(&quot;450x550&quot;)
  
  startdate = StringVar()
  start_date = Label(text = &quot;Enter start date in YYYY-MM-DD format: &quot;)
  start_date.place(x = 15, y = 70)
  startdate_entry = Entry(textvariable = startdate, width = &quot;30&quot;)
  startdate_entry.place(x = 15, y = 120)
  
  enddate = StringVar()
  end_date = Label(text = &quot;Enter end date in YYYY-MM-DD format: &quot;)
  end_date.place(x = 15, y = 170)
  enddate_entry = Entry(textvariable = enddate, width = &quot;30&quot;)
  enddate_entry.place(x = 15, y = 220)
  
  tickerE = StringVar()
  ticker_label = Label(text = &quot;Ticker symbol:  &quot;)
  ticker_label.place(x = 15, y = 270)
  ticker = Entry(textvariable = tickerE, width = &quot;30&quot;)
  ticker.place(x = 15, y = 320)
  
  inspectE = StringVar()
  inspect_label = Label(text = &quot;What would you like to analyze  &quot;)
  inspect_label.place(x = 15, y = 270)
  inspect_label = Label(text = &quot;(Open, High, Low, Close, Adj Close, Volume)? &quot;)
  inspect_label.place(x = 15, y = 320)
  inspect = Entry(textvariable = inspectE, width = &quot;30&quot;)
  inspect.place(x = 15, y = 370)
  
  def save_info():
      startdate_info = startdate.get()
      enddate_info = enddate.get()
      ticker_info = tickerE.get()
      inspect_info = inspectE.get()
      return ticker_info, inspect_info, startdate_info, enddate_info
  
  search = Button(screen,text = &quot;Search&quot;, width = &quot;30&quot;, height = &quot;2&quot;, command = save_info, bg = &quot;grey&quot;)
  search.place(x = 14, y = 410)
  ticker_info, inspect_info, startdate_info, enddate_info = save_info()
  
  newtime = yf.download(ticker_info, start = startdate_info, end = enddate_info)
  print(newtime)
  def adjusted_close(ticker_info, newtime):
      newtime[inspect_info].plot()
      plt.xlabel(&quot;Date&quot;)
      plt.ylabel(inspect_info)
      plt.title(ticker_info + &quot; &quot; + inspect_info + &quot; &quot;  + &quot;Data&quot;)
      plt.show()
  adjusted_close(ticker, newtime)
  </code></pre>