Forum archive 2000-2006

Andrew L Vogel - Odd number of elements in hash

Andrew L Vogel - Odd number of elements in hash

by Arnold Pizer -
Number of replies: 0
inactiveTopicOdd number of elements in hash topic started 10/9/2001; 2:52:32 PM
last post 10/9/2001; 3:52:35 PM
userAndrew L Vogel - Odd number of elements in hash  blueArrow
10/9/2001; 2:52:32 PM (reads: 2718, responses: 1)
Hi all,

Just wondering if this( see below for a couple copies) error needs correcting. This semester I'm getting it when I change information on a problem set for all students (for these particular errors the answer date was changed). I believe I'm getting the error for each student in the class, below are two of a very long list of "identical" error reports.

Andy Vogel

 

* Odd number of elements in hash assignment at /var/www/webwork/system/scripts/DBglue7.pl line 102. ##More details: -------- diagnostics::warn_trap called at /var/www/webwork/system/scripts/DBglue7.pl line 102 ---- main::detachProbSetRecord called at /var/www/webwork/system/cgi/cgi-scripts/profChangeDates.pl line 294 ---- main::changeOpenDate called at /var/www/webwork/system/cgi/cgi-scripts/profChangeDates.pl line 193 ---- main::changeDates called at /var/www/webwork/system/cgi/cgi-scripts/profChangeDates.pl line 118 ---- main::webDatePage called at /var/www/webwork/system/cgi/cgi-scripts/profChangeDates.pl line 63

-----------------------------------


* Odd number of elements in hash assignment at /var/www/webwork/system/scripts/DBglue7.pl line 102. ##More details: -------- diagnostics::warn_trap called at /var/www/webwork/system/scripts/DBglue7.pl line 102 ---- main::detachProbSetRecord called at /var/www/webwork/system/cgi/cgi-scripts/profChangeDates.pl line 294 ---- main::changeOpenDate called at /var/www/webwork/system/cgi/cgi-scripts/profChangeDates.pl line 193 ---- main::changeDates called at /var/www/webwork/system/cgi/cgi-scripts/profChangeDates.pl line 118 ---- main::webDatePage called at /var/www/webwork/system/cgi/cgi-scripts/profChangeDates.pl line 63

--------------------------------------

<| Post or View Comments |>


userArnold K. Pizer - Re: Odd number of elements in hash  blueArrow
10/9/2001; 3:52:35 PM (reads: 2950, responses: 0)
I believe this usually occurs because there is a key but no value for the screenHeader or paperHeader file name in the database. It is worrysome but I have never known of this is lead to a real error (wich is much different than saying it will not).

Hopefully changes we have made in 1.7 will eliminate the possibility of this type of error occuring.

<| Post or View Comments |>