ValueError: too many values to unpack

k.retheesh at gmail.com k.retheesh at gmail.com
Thu Jun 8 17:44:36 EDT 2006


Hi,

I am very new to pyton, during my adventures journey I got the
following error message which am not able to solve, can somebody help
me. I was trying to format my output in a readable way,

Compare results in tblItem
________________________________________________________________________________
71 records found in pctrsqlstage case9125
71 records found in qa-sql2\pctr case9126
Database counts match:  True
--------------------------------------------------------------------------------
71 unique records found in pctrsqlstage case9125
71 unique records found in qa-sql2\pctr case9126
56 records were different
 Type,   FileType,
                                           Item,
     Hash,

             Path,  Size,  CullCd,   Ext,                      DtCr,
                 DtLMd,                     DtLAc
Traceback (most recent call last):
  File
"C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
line 310, in RunScript
    exec codeObject in __main__.__dict__
  File "Q:\PythonScripts\InventoryCompareCase.py", line 234, in ?
    main()
  File "Q:\PythonScripts\InventoryCompareCase.py", line 117, in main
    for (Type,FileType,Item,Hash,Path,Size,CullCd,Ext,DtCr,DtLMd,DtLAc)
in infoDiffs :
ValueError: too many values to unpack

Thanks
Retheesh




More information about the Python-list mailing list