Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cooldibs

    Python Code - TypeError: loop over non-sequence

    I tried changing the size but its not working. Here is how the Layout looks like for EBCDIC file. And the corresponding config file. Do you think anything wrong inmapping? ebcdic string(2) A; packed decimal(17,0) B; signed big endian integer(2) C; ebcdic string(19) D...
  2. cooldibs

    Python Code - TypeError: loop over non-sequence

    Thanks, I did those changes and printed them and here is the output. Does this help? ***>python cbl-data2.py athacct_dly_init.dat cbl_data.cfg * Processing 0001 record...
  3. cooldibs

    Python Code - TypeError: loop over non-sequence

    If this helps, this is the complete out of the program run. ***>python cbl-data2.py athacct_dly_init.dat cbl_data.cfg * Processing 0001 record...
  4. cooldibs

    Python Code - TypeError: loop over non-sequence

    hello - now after I upgraded the version to 2.7, it started working. But now its getting a different error. It has partially converted the first record and failing at 2nd record. I will try to debug it now but thought of sharing it with you all to see if any of you have faced such issues in past...
  5. cooldibs

    Python Code - TypeError: loop over non-sequence

    I am using version-2.6.6. Is it a limitation for version-2.6.6 and do I need to upgrade it to 2.7.6? $>python Python 2.6.6 (r266:84292, Nov 21 2013, 10:50:32) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys...
  6. cooldibs

    Python Code - TypeError: loop over non-sequence

    hello here is the full code, didn't get much help with above steps. It would be great if you can run the same code and debug it for me? Basically my requirement is to convert a EBCDIC file to an ASCII output and getting this issue. Let me know if you need any other info? import sys, string...
  7. cooldibs

    Python Code - TypeError: loop over non-sequence

    hello, we are getting this issue with a Python Program. Anyone has any clue? Traceback (most recent call last): File "cbl_data.py", line 149, in ? field_list = create_field_list('cbl_data.cfg') File "cbl_data.py", line 35, in create_field_list for line in open(config_file)...

Part and Inventory Search

Back
Top