Python Forum
Dict KeyError in cgi-bin script, works fine via console
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dict KeyError in cgi-bin script, works fine via console
#3
That could be something... I named the form variable "yellow" as well just because I will have multiple items on the form, and all they do is set the values of corresponding items in the dict, so I wanted to make life easy, so to speak.

Wow, that was dumb...changing the form variable from yellow to yellowIn did it. Thanks!
Reply


Messages In This Thread
RE: Dict KeyError in cgi-bin script, works fine via console - by dbsoundman - Jul-21-2017, 08:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Combine console script + GUI (tkinter) dejot 2 439 Feb-27-2024, 04:38 PM
Last Post: deanhystad
  Make console show after script was built with Pyinstaller --NOCONSOLE? H84Gabor 0 1,219 May-05-2022, 12:32 PM
Last Post: H84Gabor
  How to fine tune cutecharts? Gigux 1 1,237 Jan-28-2022, 05:41 PM
Last Post: Larz60+
  For Loop Works Fine But Append For Pandas Doesn't Work knight2000 2 2,032 Dec-18-2021, 02:38 AM
Last Post: knight2000
  Encountering `importlib_metadata.PackageNotFoundError` trying to run console script gretchenfrage 0 5,632 Jul-08-2021, 09:26 PM
Last Post: gretchenfrage
  script with imports works but pytest gives "ModuleNotFoundError"? Hpao 0 1,578 Jun-27-2021, 08:30 PM
Last Post: Hpao
  “NameError” “is not defined” script that I know works on other computers iamwithstupid 0 2,538 Nov-24-2020, 04:23 PM
Last Post: iamwithstupid
  Multimode imports fine as script but not after compiling into exe chesschaser 0 2,422 Aug-13-2020, 01:28 PM
Last Post: chesschaser
  IPython console vs Spyder script losc 3 2,745 Apr-30-2020, 04:57 AM
Last Post: deanhystad
  script works in windows but not in linux ovidius80 2 2,753 Apr-29-2020, 02:10 PM
Last Post: ovidius80

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020