pandas read csv does not separating columns, too many columns? - pandas

I have tried many ways, but it still did not work
below is the data of the first row, how can I seperate them? is it because the number of column exceeds the limit?
1, Car, 48.85, 9.770344, 37.977391, 23.737688, 4.9178, 0.0518, -0.0299, 0.000000, 37.977391, 23.737688, 4.9207, -0.0124, -0.0354, 0.040000, 37.977391, 23.737688, 4.9160, -0.0519, -0.0413, 0.080000, 37.977390, 23.737688, 4.9057, -0.0914, -0.0478, 0.120000, 37.977390, 23.737689, 4.8871, -0.1679, -0.0550, 0.160000, 37.977389, 23.737689, 4.8547, -0.2815, -0.0628, 0.200000, 37.977389, 23.737689, 4.8033, -0.4320, -0.0713, 0.240000, 37.977388, 23.737690, 4.7318, -0.5617, -0.0804, 0.280000, 37.977388, 23.737690, 4.6442, -0.6543, -0.0905, 0.320000, 37.977388, 23.737690, 4.5437, -0.7413, -0.1017, 0.360000, 37.977387, 23.737690, 4.4311, -0.8227, -0.1143, 0.400000, 37.977387, 23.737691, 4.3046, -0.9354, -0.1285, 0.440000, 37.977386, 23.737691, 4.1600, -1.0729, -0.1439, 0.480000, 37.977386, 23.737691, 4.4411, -0.5617, -0.0949, 0.520000, 37.977385, 23.737692, 4.3561, -0.6183, -0.1044, 0.560000, 37.977385, 23.737692, 4.2639, -0.6621, -0.1133, 0.600000, 37.977384, 23.737692, 4.1654, -0.7059, -0.1219, 0.640000, 37.977384, 23.737692, 4.0595, -0.7660, -0.1298, 0.680000, 37.977384, 23.737693, 3.9439, -0.8388, -0.1369, 0.720000, 37.977383, 23.737693, 3.8183, -0.9065, -0.1430, 0.760000, 37.977383, 23.737693, 3.6842, -0.9561, -0.1484, 0.800000, 37.977383, 23.737693, 3.5447, -0.9812, -0.1530, 0.840000, 37.977382, 23.737694, 3.4018, -1.0035, -0.1567, 0.880000, 37.977382, 23.737694, 3.2559, -1.0228, -0.1593, 0.920000, 37.977382, 23.737694, 3.1076, -1.0370, -0.1610, 0.960000, 37.977381, 23.737694, 2.9576, -1.0458, -0.1618, 1.000000, 37.977381, 23.737695, 2.8081, -1.0303, -0.1618, 1.040000, 37.977381, 23.737695, 2.6611, -1.0118, -0.1604, 1.080000, 37.977381, 23.737695, 2.5170, -0.9904, -0.1573, 1.120000, 37.977381, 23.737695, 2.3763, -0.9638, -0.1525, 1.160000, 37.977380, 23.737695, 2.2398, -0.9320, -0.1460, 1.200000, 37.977380, 23.737695, 2.1096, -0.8757, -0.1377, 1.240000, 37.977380, 23.737695, 1.9883, -0.8090, -0.1276, 1.280000, 37.977380, 23.737696, 1.8768, -0.7394, -0.1154, 1.320000, 37.977380, 23.737696, 1.7751, -0.6739, -0.1014, 1.360000, 37.977380, 23.737696, 1.6823, -0.6145, -0.0855, 1.400000, 37.977380, 23.737696, 1.5988, -0.5450, -0.0675, 1.440000, 37.977380, 23.737696, 1.5264, -0.4611, -0.0477, 1.480000, 37.977380, 23.737696, 1.4666, -0.3696, -0.0283, 1.520000, 37.977380, 23.737696, 1.4197, -0.2816, -0.0099, 1.560000, 37.977379, 23.737696, 1.3844, -0.2080, 0.0065, 1.600000, 37.977379, 23.737696, 1.3586, -0.1507, 0.0209, 1.640000, 37.977379, 23.737696, 1.3406, -0.0995, 0.0337, 1.680000, 37.977379, 23.737696, 1.3298, -0.0502, 0.0457, 1.720000, 37.977379, 23.737697, 1.3266, 0.0054, 0.0567, 1.760000, 37.977379, 23.737697, 1.3316, 0.0637, 0.0666, 1.800000, 37.977379, 23.737697, 1.3438, 0.1067, 0.0751, 1.840000, 37.977379, 23.737697, 1.3615, 0.1384, 0.0826, 1.880000, 37.977379, 23.737697, 1.3829, 0.1588, 0.0891, 1.920000, 37.977379, 23.737697, 1.4077, 0.1854, 0.0946, 1.960000, 37.977379, 23.737697, 1.4367, 0.2183, 0.0989, 2.000000, 37.977378, 23.737697, 1.4694, 0.2359, 0.1020, 2.040000, 37.977378, 23.737697, 1.5038, 0.2422, 0.1042, 2.080000, 37.977378, 23.737697, 1.5384, 0.2371, 0.1055, 2.120000, 37.977378, 23.737698, 1.5726, 0.2383, 0.1053, 2.160000, 37.977378, 23.737698, 1.6074, 0.2457, 0.1033, 2.200000, 37.977378, 23.737698, 1.6422, 0.2379, 0.0995, 2.240000, 37.977378, 23.737698, 1.6752, 0.2193, 0.0940, 2.280000, 37.977377, 23.737698, 1.7046, 0.1895, 0.0867, 2.320000, 37.977377, 23.737698, 1.7296, 0.1574, 0.0773, 2.360000, 37.977377, 23.737698, 1.7503, 0.1307, 0.0657, 2.400000, 37.977377, 23.737698, 1.7669, 0.0993, 0.0521, 2.440000, 37.977377, 23.737698, 1.7787, 0.0652, 0.0367, 2.480000, 37.977377, 23.737699, 1.7857, 0.0317, 0.0203, 2.520000, 37.977376, 23.737699, 1.7876, -0.0060, 0.0035, 2.560000, 37.977376, 23.737699, 1.7842, -0.0411, -0.0115, 2.600000, 37.977376, 23.737699, 1.7765, -0.0660, -0.0241, 2.640000, 37.977376, 23.737699, 1.7656, -0.0855, -0.0344, 2.680000, 37.977376, 23.737699, 1.7524, -0.0975, -0.0423, 2.720000, 37.977376, 23.737699, 1.7377, -0.1062, -0.0481, 2.760000, 37.977375, 23.737699, 1.7217, -0.1158, -0.0525, 2.800000, 37.977375, 23.737699, 1.7049, -0.1182, -0.0557, 2.840000, 37.977375, 23.737700, 1.6876, -0.1215, -0.0576, 2.880000, 37.977375, 23.737700, 1.6698, -0.1257, -0.0582, 2.920000, 37.977375, 23.737700, 1.6517, -0.1266, -0.0577, 2.960000, 37.977375, 23.737700, 1.6336, -0.1243, -0.0561, 3.000000, 37.977375, 23.737700, 1.6164, -0.1147, -0.0534, 3.040000, 37.977374, 23.737700, 1.6005, -0.1061, -0.0498, 3.080000, 37.977374, 23.737700, 1.5858, -0.0983, -0.0453, 3.120000, 37.977374, 23.737700, 1.5724, -0.0873, -0.0402, 3.160000, 37.977374, 23.737700, 1.5609, -0.0730, -0.0342, 3.200000, 37.977374, 23.737700, 1.5519, -0.0515, -0.0275, 3.240000, 37.977374, 23.737701, 1.5460, -0.0307, -0.0199, 3.280000, 37.977374, 23.737701, 1.5430, -0.0108, -0.0118, 3.320000, 37.977374, 23.737701, 1.5430, 0.0115, -0.0031, 3.360000, 37.977373, 23.737701, 1.5465, 0.0368, 0.0062, 3.400000, 37.977373, 23.737701, 1.5542, 0.0698, 0.0164, 3.440000, 37.977373, 23.737701, 1.5670, 0.1081, 0.0272, 3.480000, 37.977373, 23.737701, 1.5853, 0.1467, 0.0382, 3.520000, 37.977373, 23.737701, 1.6091, 0.1830, 0.0491, 3.560000, 37.977373, 23.737701, 1.6377, 0.2140, 0.0593, 3.600000, 37.977373, 23.737701, 1.6704, 0.2403, 0.0685, 3.640000, 37.977373, 23.737702, 1.7071, 0.2695, 0.0768, 3.680000, 37.977373, 23.737702, 1.7480, 0.2993, 0.0843, 3.720000, 37.977372, 23.737702, 1.7930, 0.3255, 0.0908, 3.760000, 37.977372, 23.737702, 1.8414, 0.3460, 0.0960, 3.800000, 37.977372, 23.737702, 1.8918, 0.3548, 0.1000, 3.840000, 37.977372, 23.737702, 1.9435, 0.3634, 0.1029, 3.880000, 37.977372, 23.737702, 1.9964, 0.3717, 0.1045, 3.920000, 37.977372, 23.737702, 2.0503, 0.3764, 0.1050, 3.960000, 37.977371, 23.737702, 2.1046, 0.3775, 0.1043, 4.000000, 37.977371, 23.737703, 2.1582, 0.3670, 0.1026, 4.040000, 37.977371, 23.737703, 2.2102, 0.3562, 0.0999, 4.080000, 37.977371, 23.737703, 2.2607, 0.3451, 0.0960, 4.120000, 37.977371, 23.737703, 2.3094, 0.3304, 0.0911, 4.160000, 37.977370, 23.737703, 2.3556, 0.3122, 0.0853, 4.200000, 37.977370, 23.737703, 2.3984, 0.2823, 0.0788, 4.240000, 37.977370, 23.737703, 2.4369, 0.2516, 0.0714, 4.280000, 37.977370, 23.737704, 2.4709, 0.2206, 0.0630, 4.320000, 37.977369, 23.737704, 2.5002, 0.1866, 0.0537, 4.360000, 37.977369, 23.737704, 2.5244, 0.1498, 0.0434, 4.400000, 37.977369, 23.737704, 2.5426, 0.1025, 0.0323, 4.440000, 37.977369, 23.737704, 2.5534, 0.0477, 0.0204, 4.480000, 37.977368, 23.737704, 2.5563, -0.0077, 0.0082, 4.520000, 37.977368, 23.737704, 2.5513, -0.0607, -0.0041, 4.560000, 37.977368, 23.737705, 2.5393, -0.1061, -0.0160, 4.600000, 37.977368, 23.737705, 2.5213, -0.1438, -0.0275, 4.640000, 37.977367, 23.737705, 2.4977, -0.1844, -0.0385, 4.680000, 37.977367, 23.737705, 2.4683, -0.2247, -0.0487, 4.720000, 37.977367, 23.737705, 2.4333, -0.2605, -0.0579, 4.760000, 37.977367, 23.737705, 2.3937, -0.2895, -0.0663, 4.800000, 37.977366, 23.737705, 2.3511, -0.3025, -0.0740, 4.840000, 37.977366, 23.737705, 2.3066, -0.3149, -0.0807, 4.880000, 37.977366, 23.737706, 2.2605, -0.3264, -0.0864, 4.920000, 37.977366, 23.737706, 2.2129, -0.3335, -0.0911, 4.960000, 37.977365, 23.737706, 2.1647, -0.3360, -0.0949, 5.000000, 37.977365, 23.737706, 2.1173, -0.3228, -0.0978, 5.040000, 37.977365, 23.737706, 2.0718, -0.3087, -0.0998, 5.080000, 37.977365, 23.737706, 2.0285, -0.2939, -0.1008, 5.120000, 37.977365, 23.737706, 1.9875, -0.2746, -0.1008, 5.160000, 37.977365, 23.737706, 1.9497, -0.2507, -0.0999, 5.200000, 37.977364, 23.737707, 1.9165, -0.2110, -0.0981, 5.240000, 37.977364, 23.737707, 1.8890, -0.1702, -0.0953, 5.280000, 37.977364, 23.737707, 1.8675, -0.1287, -0.0916, 5.320000, 37.977364, 23.737707, 1.8523, -0.0826, -0.0870, 5.360000, 37.977364, 23.737707, 1.8440, -0.0325, -0.0815, 5.400000, 37.977364, 23.737707, 1.8440, 0.0321, -0.0750, 5.440000, 37.977364, 23.737707, 1.8540, 0.1068, -0.0675, 5.480000, 37.977364, 23.737707, 1.8747, 0.1818, -0.0593, 5.520000, 37.977363, 23.737707, 1.9061, 0.2537, -0.0507, 5.560000, 37.977363, 23.737707, 1.9471, 0.3157, -0.0421, 5.600000, 37.977363, 23.737708, 1.9963, 0.3671, -0.0334, 5.640000, 37.977363, 23.737708, 2.0531, 0.4226, -0.0247, 5.680000, 37.977363, 23.737708, 2.1179, 0.4776, -0.0159, 5.720000, 37.977363, 23.737708, 2.1902, 0.5257, -0.0071, 5.760000, 37.977363, 23.737708, 2.2686, 0.5640, 0.0011, 5.800000, 37.977362, 23.737708, 2.3510, 0.5805, 0.0088, 5.840000, 37.977362, 23.737708, 2.4358, 0.5965, 0.0161, 5.880000, 37.977362, 23.737709, 2.5228, 0.6120, 0.0230, 5.920000, 37.977362, 23.737709, 2.6115, 0.6206, 0.0295, 5.960000, 37.977362, 23.737709, 2.7010, 0.6224, 0.0353, 6.000000, 37.977361, 23.737709, 2.7892, 0.6024, 0.0404, 6.040000, 37.977361, 23.737709, 2.8745, 0.5818, 0.0450, 6.080000, 37.977361, 23.737710, 2.9568, 0.5608, 0.0490, 6.120000, 37.977361, 23.737710, 3.0355, 0.5330, 0.0525, 6.160000, 37.977360, 23.737710, 3.1098, 0.4984, 0.0553, 6.200000, 37.977360, 23.737710, 3.1775, 0.4419, 0.0576, 6.240000, 37.977360, 23.737711, 3.2362, 0.3740, 0.0594, 6.280000, 37.977360, 23.737711, 3.2851, 0.3056, 0.0606, 6.320000, 37.977359, 23.737711, 3.3249, 0.2465, 0.0612, 6.360000, 37.977359, 23.737711, 3.3568, 0.1970, 0.0613, 6.400000, 37.977359, 23.737712, 3.3813, 0.1427, 0.0610, 6.440000, 37.977358, 23.737712, 3.3969, 0.0741, 0.0602, 6.480000, 37.977358, 23.737712, 3.4018, -0.0054, 0.0590, 6.520000, 37.977358, 23.737712, 3.3956, -0.0805, 0.0576, 6.560000, 37.977357, 23.737713, 3.3797, -0.1413, 0.0563, 6.600000, 37.977357, 23.737713, 3.3560, -0.1875, 0.0552, 6.640000, 37.977357, 23.737713, 3.3264, -0.2242, 0.0542, 6.680000, 37.977356, 23.737713, 3.2915, -0.2605, 0.0533, 6.720000, 37.977356, 23.737714, 3.2503, -0.3108, 0.0524, 6.760000, 37.977356, 23.737714, 3.2013, -0.3705, 0.0516, 6.800000, 37.977355, 23.737714, 3.1442, -0.4228, 0.0508, 6.840000, 37.977355, 23.737714, 3.0807, -0.4586, 0.0501, 6.880000, 37.977355, 23.737714, 3.0133, -0.4780, 0.0495, 6.920000, 37.977355, 23.737715, 2.9420, -0.5114, 0.0489, 6.960000, 37.977354, 23.737715, 2.8650, -0.5589, 0.0483, 7.000000, 37.977354, 23.737715, 2.7816, -0.5990, 0.0476, 7.040000, 37.977354, 23.737715, 2.6937, -0.6226, 0.0468, 7.080000, 37.977354, 23.737715, 2.6035, -0.6297, 0.0460, 7.120000, 37.977354, 23.737715, 2.5113, -0.6507, 0.0450, 7.160000, 37.977353, 23.737716, 2.4151, -0.6858, 0.0439, 7.200000, 37.977353, 23.737716, 2.3144, -0.7134, 0.0426, 7.240000, 37.977353, 23.737716, 2.2103, -0.7313, 0.0413, 7.280000, 37.977353, 23.737716, 2.1049, -0.7327, 0.0398, 7.320000, 37.977353, 23.737716, 1.9998, -0.7272, 0.0383, 7.360000, 37.977352, 23.737716, 1.8952, -0.7258, 0.0367, 7.400000, 37.977352, 23.737716, 1.7908, -0.7236, 0.0351, 7.440000, 37.977352, 23.737717, 1.6872, -0.7160, 0.0333, 7.480000, 37.977352, 23.737717, 1.5833, -0.7270, 0.0316, 7.520000, 37.977352, 23.737717, 1.4829, -0.6960, 0.0299, 7.560000, 37.977352, 23.737717, 1.3868, -0.6678, 0.0281, 7.600000, 37.977351, 23.737717, 1.2944, -0.6444, 0.0264, 7.640000, 37.977351, 23.737717, 1.2049, -0.6281, 0.0246, 7.680000, 37.977351, 23.737717, 1.1169, -0.6234, 0.0229, 7.720000, 37.977351, 23.737717, 1.0293, -0.6153, 0.0213, 7.760000, 37.977351, 23.737717, 0.9429, -0.6068, 0.0196, 7.800000, 37.977351, 23.737717, 0.8581, -0.5930, 0.0180, 7.840000, 37.977351, 23.737717, 0.7757, -0.5742, 0.0166, 7.880000, 37.977351, 23.737717, 0.6964, -0.5501, 0.0158, 7.920000, 37.977351, 23.737717, 0.6204, -0.5286, 0.0143, 7.960000, 37.977351, 23.737717, 0.5473, -0.5110, 0.0131, 8.000000, 37.977351, 23.737717, 0.4773, -0.4863, 0.0117, 8.040000, 37.977351, 23.737717, 0.4112, -0.4562, 0.0103, 8.080000, 37.977351, 23.737717, 0.3498, -0.4208, 0.0090, 8.120000, 37.977351, 23.737717, 0.2933, -0.3892, 0.0077, 8.160000, 37.977351, 23.737717, 0.2405, -0.3690, 0.0077, 8.200000, 37.977351, 23.737717, 0.1925, -0.3337, 0.0069, 8.240000, 37.977351, 23.737717, 0.1496, -0.2968, 0.0060, 8.280000, 37.977351, 23.737717, 0.1127, -0.2527, 0.0053, 8.320000, 37.977351, 23.737717, 0.0826, -0.2006, 0.0048, 8.360000, 37.977351, 23.737717, 0.0594, -0.1573, 0.0041, 8.400000, 37.977351, 23.737717, 0.0424, -0.0710, 0.0030, 8.440000, 37.977351, 23.737717, 0.0360, -0.0097, 0.0026, 8.480000, 37.977351, 23.737717, 0.0389, 0.0577, 0.0024, 8.520000, 37.977351, 23.737717, 0.0510, 0.1194, 0.0023, 8.560000, 37.977351, 23.737717, 0.0734, 0.1993, 0.0023, 8.600000, 37.977351, 23.737717, 0.1028, 0.2464, 0.0023, 8.640000, 37.977351, 23.737717, 0.1399, 0.3060, 0.0023, 8.680000, 37.977351, 23.737717, 0.1852, 0.3597, 0.0023, 8.720000, 37.977351, 23.737717, 0.2373, 0.4008, 0.0023, 8.760000, 37.977351, 23.737717, 0.2947, 0.4341, 0.0022, 8.800000, 37.977351, 23.737717, 0.3561, 0.4491, 0.0019, 8.840000, 37.977351, 23.737717, 0.4206, 0.4769, 0.0019, 8.880000, 37.977351, 23.737717, 0.4896, 0.5122, 0.0018, 8.920000, 37.977351, 23.737717, 0.5629, 0.5368, 0.0016, 8.960000, 37.977351, 23.737717, 0.6390, 0.5503, 0.0008, 9.000000, 37.977351, 23.737717, 0.7161, 0.5517, 0.0007, 9.040000, 37.977351, 23.737717, 0.7938, 0.5608, 0.0003, 9.080000, 37.977351, 23.737717, 0.8733, 0.5756, 0.0001, 9.120000, 37.977351, 23.737718, 0.9541, 0.5795, -0.0000, 9.160000, 37.977351, 23.737718, 1.0347, 0.5724, -0.0001, 9.200000, 37.977350, 23.737718, 1.1134, 0.5543, -0.0002, 9.240000, 37.977350, 23.737718, 1.1900, 0.5425, -0.0013, 9.280000, 37.977350, 23.737718, 1.2640, 0.5284, -0.0016, 9.320000, 37.977350, 23.737718, 1.3363, 0.5205, -0.0016, 9.360000, 37.977350, 23.737718, 1.4076, 0.5132, -0.0017, 9.400000, 37.977350, 23.737718, 1.4776, 0.5033, -0.0017, 9.440000, 37.977350, 23.737718, 1.5462, 0.4938, -0.0016, 9.480000, 37.977349, 23.737718, 1.6131, 0.4350, -0.0009, 9.520000, 37.977349, 23.737719, 1.6735, 0.4043, -0.0008, 9.560000, 37.977349, 23.737719, 1.7293, 0.3705, -0.0008, 9.600000, 37.977349, 23.737719, 1.7805, 0.3406, -0.0008, 9.640000, 37.977349, 23.737719, 1.8274, 0.3099, -0.0008, 9.680000, 37.977349, 23.737719, 1.8692, 0.2709, -0.0008, 9.720000, 37.977348, 23.737719, 1.9046, 0.2208, -0.0008, 9.760000, 37.977348, 23.737719, 1.9327, 0.1694, -0.0007, 9.800000, 37.977348, 23.737720, 1.9539, 0.1255, -0.0007, 9.840000, 37.977348, 23.737720, 1.9698, 0.0950, -0.0006, 9.880000, 37.977348, 23.737720, 1.9822, 0.0781, -0.0006, 9.920000, 37.977348, 23.737720, 1.9915, 0.0501, -0.0005, 9.960000, 37.977347, 23.737720, 1.9959, 0.0110, -0.0004, 10.000000, 37.977347, 23.737720, 1.9952, -0.0206, -0.0003, 10.040000, 37.977347, 23.737720, 1.9909, -0.0385, -0.0001, 10.080000, 37.977347, 23.737721, 1.9851, -0.0429, 0.0000, 10.120000, 37.977347, 23.737721, 1.9778, -0.0584, 0.0002, 10.160000, 37.977347, 23.737721, 1.9675, -0.0849, 0.0004, 10.200000, 37.977346, 23.737721, 1.9539, -0.1040, 0.0006, 10.240000, 37.977346, 23.737721, 1.9387, -0.1072, 0.0009, 10.280000, 37.977346, 23.737721, 1.9240, -0.0969, 0.0011, 10.320000, 37.977346, 23.737721, 1.9103, -0.0922, 0.0013, 10.360000, 37.977346, 23.737721, 1.8964, -0.1019, 0.0016, 10.400000, 37.977346, 23.737722, 1.8803, -0.1213, 0.0018, 10.440000, 37.977345, 23.737722, 1.8612, -0.1447, 0.0021, 10.480000, 37.977345, 23.737722, 1.8388, -0.1657, 0.0023, 10.520000, 37.977345, 23.737722, 1.8140, -0.1794, 0.0025, 10.560000, 37.977345, 23.737722, 1.7874, -0.1890, 0.0026, 10.600000, 37.977345, 23.737722, 1.7592, -0.2036, 0.0027, 10.640000, 37.977345, 23.737722, 1.7277, -0.2328, 0.0028, 10.680000, 37.977344, 23.737723, 1.6915, -0.2709, 0.0029, 10.720000, 37.977344, 23.737723, 1.6503, -0.3008, 0.0029, 10.760000, 37.977344, 23.737723, 1.6060, -0.3149, 0.0029, 10.800000, 37.977344, 23.737723, 1.5607, -0.3147, 0.0028, 10.840000, 37.977344, 23.737723, 1.5151, -0.3181, 0.0027, 10.880000, 37.977344, 23.737723, 1.4688, -0.3250, 0.0026, 10.920000, 37.977344, 23.737723, 1.4221, -0.3235, 0.0026, 10.960000, 37.977343, 23.737723, 1.3762, -0.3137, 0.0026, 11.000000, 37.977343, 23.737723, 1.3328, -0.2895, 0.0027, 11.040000, 37.977343, 23.737724, 1.2926, -0.2687, 0.0027, 11.080000, 37.977343, 23.737724, 1.2551, -0.2515, 0.0024, 11.120000, 37.977343, 23.737724, 1.2208, -0.2260, 0.0017, 11.160000, 37.977343, 23.737724, 1.1907, -0.1923, 0.0008, 11.200000, 37.977343, 23.737724, 1.1664, -0.1442, -0.0004, 11.240000, 37.977343, 23.737724, 1.1503, -0.0800, -0.0017, 11.280000, 37.977343, 23.737724, 1.1431, -0.0193, -0.0029, 11.320000, 37.977343, 23.737724, 1.1430, 0.0180, -0.0041, 11.360000, 37.977343, 23.737724, 1.1468, 0.0342, -0.0053, 11.400000, 37.977343, 23.737724, 1.1521, 0.0390, -0.0064, 11.440000, 37.977342, 23.737724, 1.1589, 0.0557, -0.0074, 11.480000, 37.977342, 23.737724, 1.1695, 0.0920, -0.0079, 11.520000, 37.977342, 23.737724, 1.1850, 0.1227, -0.0077, 11.560000, 37.977342, 23.737724, 1.2040, 0.1415, -0.0067, 11.600000, 37.977342, 23.737724, 1.2250, 0.1508, -0.0048, 11.640000, 37.977342, 23.737724, 1.2459, 0.1390, -0.0022, 11.680000, 37.977342, 23.737725, 1.2652, 0.1296, 0.0003, 11.720000, 37.977342, 23.737725, 1.2857, 0.1552, 0.0024, 11.760000, 37.977342, 23.737725, 1.3121, 0.2104, 0.0041, 11.800000, 37.977342, 23.737725, 1.3476, 0.2829, 0.0055, 11.840000, 37.977342, 23.737725, 1.3914, 0.3259, 0.0065, 11.880000, 37.977341, 23.737725, 1.4393, 0.3395, 0.0077, 11.920000, 37.977341, 23.737725, 1.4917, 0.3883, 0.0090, 11.960000, 37.977341, 23.737725, 1.5537, 0.4724, 0.0105, 12.000000, 37.977341, 23.737725, 1.6290, 0.5738, 0.0123, 12.040000, 37.977341, 23.737726, 1.7168, 0.6457, 0.0143, 12.080000, 37.977341, 23.737726, 1.8129, 0.6881, 0.0163, 12.120000, 37.977340, 23.737726, 1.9175, 0.7656, 0.0183, 12.160000, 37.977340, 23.737726, 2.0359, 0.8783, 0.0206, 12.200000, 37.977340, 23.737726, 2.1717, 1.0083, 0.0234, 12.240000, 37.977340, 23.737726, 2.3253, 1.1252, 0.0265, 12.280000, 37.977340, 23.737726, 2.4937, 1.2128, 0.0298, 12.320000, 37.977340, 23.737726, 2.6740, 1.2915, 0.0333, 12.360000, 37.977340, 23.737726, 2.8664, 1.3810, 0.0368, 12.400000, 37.977339, 23.737727, 3.0733, 1.4927, 0.0403, 12.440000, 37.977339, 23.737727, 3.2985, 1.6354, 0.0438, 12.480000, 37.977339, 23.737727, 3.5455, 1.7943, 0.0474, 12.520000, 37.977339, 23.737727, 3.8136, 1.9298, 0.0510, 12.560000, 37.977339, 23.737727, 4.0990, 2.0343, 0.0542, 12.600000, 37.977338, 23.737727, 4.3987, 2.1273, 0.0569, 12.640000, 37.977338, 23.737728, 4.7125, 2.2311, 0.0589, 12.680000, 37.977338, 23.737728, 5.0426, 2.3545, 0.0602, 12.720000, 37.977337, 23.737728, 5.3915, 2.4910, 0.0610, 12.760000, 37.977337, 23.737729, 5.7593, 2.6173, 0.0621, 12.800000, 37.977336, 23.737729, 6.1429, 2.7103, 0.0637, 12.840000, 37.977336, 23.737729, 6.5381, 2.7789, 0.0659, 12.880000, 37.977335, 23.737730, 6.9415, 2.8231, 0.0687, 12.920000, 37.977335, 23.737730, 7.3521, 2.8807, 0.0720, 12.960000, 37.977334, 23.737731, 7.7721, 2.9515, 0.0755, 13.000000, 37.977333, 23.737731, 8.1998, 2.9889, 0.0790, 13.040000, 37.977333, 23.737732, 8.6311, 3.0019, 0.0825, 13.080000, 37.977332, 23.737732, 9.0626, 2.9903, 0.0859, 13.120000, 37.977331, 23.737733, 9.4933, 2.9921, 0.0893, 13.160000, 37.977330, 23.737734, 9.9252, 3.0071, 0.0928, 13.200000, 37.977329, 23.737734, 10.3569, 2.9887, 0.0966, 13.240000, 37.977328, 23.737735, 10.7843, 2.9473, 0.1007, 13.280000, 37.977327, 23.737736, 11.2040, 2.8814, 0.1049, 13.320000, 37.977326, 23.737736, 11.6138, 2.8106, 0.1094, 13.360000, 37.977325, 23.737737, 12.0143, 2.7511, 0.1142, 13.400000, 37.977324, 23.737738, 12.4053, 2.6806, 0.1192, 13.440000, 37.977323, 23.737739, 12.7858, 2.6042, 0.1246, 13.480000, 37.977322, 23.737739, 13.1554, 2.5290, 0.1307, 13.520000, 37.977321, 23.737740, 13.5136, 2.4450, 0.1376, 13.560000, 37.977319, 23.737741, 13.8600, 2.3670, 0.1452, 13.600000, 37.977318, 23.737742, 14.1969, 2.3112, 0.1537, 13.640000, 37.977317, 23.737743, 14.5265, 2.2667, 0.1628, 13.680000, 37.977316, 23.737744, 14.8508, 2.2384, 0.1726, 13.720000, 37.977314, 23.737745, 15.1716, 2.2175, 0.1831, 13.760000, 37.977313, 23.737746, 15.4894, 2.1953, 0.1941, 13.800000, 37.977311, 23.737747, 15.8051, 2.1896, 0.2058, 13.840000, 37.977310, 23.737748, 16.1198, 2.1820, 0.2181, 13.880000, 37.977309, 23.737749, 16.4333, 2.1724, 0.2310, 13.920000, 37.977307, 23.737750, 16.7460, 2.1703, 0.2444, 13.960000, 37.977306, 23.737751, 17.0589, 2.1757, 0.2584, 14.000000, 37.977304, 23.737752, 17.3738, 2.1975, 0.2728, 14.040000, 37.977303, 23.737753, 17.6917, 2.2174, 0.2878, 14.080000, 37.977301, 23.737754, 18.0123, 2.2352, 0.3032, 14.120000, 37.977299, 23.737755, 18.3360, 2.2606, 0.3190, 14.160000, 37.977298, 23.737756, 18.6638, 2.2934, 0.3352, 14.200000, 37.977296, 23.737757, 18.9976, 2.3427, 0.3518, 14.240000, 37.977294, 23.737758, 19.3387, 2.3946, 0.3687, 14.280000, 37.977293, 23.737759, 19.6871, 2.4445, 0.3861, 14.320000, 37.977291, 23.737760, 20.0427, 2.4937, 0.4039, 14.360000, 37.977289, 23.737761, 20.4053, 2.5436, 0.4219, 14.400000, 37.977287, 23.737763, 20.7760, 2.6051, 0.4403, 14.440000, 37.977286, 23.737764, 21.1565, 2.6788, 0.4594, 14.480000, 37.977284, 23.737765, 21.5479, 2.7572, 0.4807, 14.520000, 37.977282, 23.737766, 21.9502, 2.8305, 0.5045, 14.560000, 37.977280, 23.737767, 22.3622, 2.8916, 0.5304, 14.600000, 37.977278, 23.737769, 22.7822, 2.9416, 0.5584, 14.640000, 37.977276, 23.737770, 23.2094, 2.9924, 0.5883, 14.680000, 37.977274, 23.737771, 23.6440, 3.0444, 0.6201, 14.720000, 37.977272, 23.737772, 24.0863, 3.0975, 0.6537, 14.760000, 37.977269, 23.737774, 24.5358, 3.1466, 0.6893, 14.800000, 37.977267, 23.737775, 24.9912, 3.1783, 0.7267, 14.840000, 37.977265, 23.737776, 25.4507, 3.2031, 0.7660, 14.880000, 37.977263, 23.737777, 25.9132, 3.2211, 0.8070, 14.920000, 37.977260, 23.737779, 26.3784, 3.2401, 0.8497, 14.960000, 37.977258, 23.737780, 26.8464, 3.2601, 0.8943, 15.000000, 37.977255, 23.737782, 27.3160, 3.2626, 0.9405, 15.040000, 37.977253, 23.737783, 27.7855, 3.2582, 0.9883, 15.080000, 37.977250, 23.737784, 28.2539, 3.2471, 1.0372, 15.120000, 37.977247, 23.737786, 28.7207, 3.2369, 1.0874, 15.160000, 37.977245, 23.737787, 29.1862, 3.2279, 1.1388, 15.200000, 37.977242, 23.737789, 29.6491, 3.2014, 1.1918, 15.240000, 37.977239, 23.737790, 30.1062, 3.1476, 1.2463, 15.280000, 37.977236, 23.737791, 30.5550, 3.0869, 1.3021, 15.320000, 37.977233, 23.737793, 30.9971, 3.0534, 1.3589, 15.360000, 37.977230, 23.737794, 31.4367, 3.0516, 1.4167, 15.400000, 37.977228, 23.737796, 31.8774, 3.0698, 1.4756, 15.440000, 37.977224, 23.737797, 32.3202, 3.0809, 1.5351, 15.480000, 37.977221, 23.737798, 32.7632, 3.0716, 1.5937, 15.520000, 37.977218, 23.737800, 33.2048, 3.0616, 1.6506, 15.560000, 37.977215, 23.737801, 33.6454, 3.0587, 1.7042, 15.600000, 37.977212, 23.737803, 34.0865, 3.0674, 1.7542, 15.640000, 37.977209, 23.737804, 34.5311, 3.1079, 1.8006, 15.680000, 37.977205, 23.737805, 34.9819, 3.1528, 1.8437, 15.720000, 37.977202, 23.737807, 35.4362, 3.1571, 1.8837, 15.760000, 37.977198, 23.737808, 35.8881, 3.1199, 1.9206, 15.800000, 37.977195, 23.737809, 36.3325, 3.0527, 1.9544, 15.840000, 37.977192, 23.737810, 36.7695, 3.0162, 1.9852, 15.880000, 37.977188, 23.737812, 37.2034, 3.0104, 2.0131, 15.920000, 37.977184, 23.737813, 37.6335, 2.9638, 2.0383, 15.960000, 37.977181, 23.737814, 38.0540, 2.8764, 2.0606, 16.000000, 37.977177, 23.737815, 38.4597, 2.7589, 2.0798, 16.040000, 37.977173, 23.737816, 38.8508, 2.6721, 2.0959, 16.080000, 37.977170, 23.737817, 39.2315, 2.6160, 2.1092, 16.120000, 37.977166, 23.737818, 39.6012, 2.5192, 2.1201, 16.160000, 37.977162, 23.737819, 39.9541, 2.3816, 2.1291, 16.200000, 37.977158, 23.737820, 40.2850, 2.2140, 2.1359, 16.240000, 37.977154, 23.737821, 40.5922, 2.0531, 2.1404, 16.280000, 37.977150, 23.737822, 40.8785, 1.9230, 2.1428, 16.320000, 37.977145, 23.737823, 41.1471, 1.8082, 2.1429, 16.360000, 37.977141, 23.737824, 41.3989, 1.6884, 2.1412, 16.400000, 37.977137, 23.737825, 41.6316, 1.5436, 2.1376, 16.440000, 37.977133, 23.737826, 41.8405, 1.3583, 2.1319, 16.480000, 37.977128, 23.737827, 42.0210, 1.1492, 2.1224, 16.520000, 37.977124, 23.737827, 42.1734, 0.9672, 2.1091, 16.560000, 37.977120, 23.737828, 42.3025, 0.8258, 2.0933, 16.600000, 37.977115, 23.737829, 42.4127, 0.7044, 2.0756, 16.640000, 37.977111, 23.737830, 42.5051, 0.5780, 2.0558, 16.680000, 37.977107, 23.737830, 42.5777, 0.4312, 2.0339, 16.720000, 37.977102, 23.737831, 42.6276, 0.2612, 2.0098, 16.760000, 37.977098, 23.737831, 42.6533, 0.0952, 1.9835, 16.800000, 37.977094, 23.737832, 42.6577, -0.0332, 1.9549, 16.840000, 37.977090, 23.737832, 42.6463, -0.1258, 1.9240, 16.880000, 37.977085, 23.737833, 42.6241, -0.1828, 1.8905, 16.920000, 37.977081, 23.737833, 42.5920, -0.2630, 1.8541, 16.960000, 37.977077, 23.737833, 42.5467, -0.3663, 1.8147, 17.000000, 37.977073, 23.737834, 42.4892, -0.4320, 1.7724, 17.040000, 37.977068, 23.737834, 42.4249, -0.4619, 1.7273, 17.080000, 37.977064, 23.737834, 42.3588, -0.4561, 1.6795, 17.120000, 37.977060, 23.737834, 42.2919, -0.4734, 1.6290, 17.160000, 37.977056, 23.737835, 42.2208, -0.5139, 1.5757, 17.200000, 37.977052, 23.737835, 42.1466, -0.5168, 1.5193, 17.240000, 37.977047, 23.737835, 42.0746, -0.4827, 1.4597, 17.280000, 37.977043, 23.737835, 42.0102, -0.4129, 1.3970, 17.320000, 37.977039, 23.737835, 41.9557, -0.3443, 1.3310, 17.360000, 37.977035, 23.737835, 41.9092, -0.3009, 1.2618, 17.400000, 37.977031, 23.737835, 41.8690, -0.2574, 1.1892, 17.440000, 37.977027, 23.737835, 41.8352, -0.2126, 1.1132, 17.480000, 37.977022, 23.737835, 41.8091, -0.1735, 1.0771, 17.520000, 37.977018, 23.737835, 41.7893, -0.1137, 1.0388, 17.560000, 37.977014, 23.737835, 41.7779, -0.0496, 0.9996, 17.600000, 37.977010, 23.737835, 41.7737, -0.0084, 0.9602, 17.640000, 37.977006, 23.737835, 41.7735, 0.0067, 0.9204, 17.680000, 37.977002, 23.737834, 41.7734, -0.0081, 0.8803, 17.720000, 37.976997, 23.737834, 41.7710, -0.0233, 0.8400, 17.760000, 37.976993, 23.737834, 41.7678, -0.0170, 0.7993, 17.800000, 37.976989, 23.737834, 41.7653, -0.0118, 0.7583, 17.840000, 37.976985, 23.737834, 41.7633, -0.0078, 0.7168, 17.880000, 37.976981, 23.737834, 41.7616, -0.0053, 0.6745, 17.920000, 37.976976, 23.737834, 41.7603, -0.0011, 0.6313, 17.960000, 37.976972, 23.737833, 41.7595, 0.0052, 0.5878, 18.000000,

Your input file contains a space after each comma.
To omit them gracefully while reading, pass skipinitialspace=True
to read_csv.
Another hint: If the row that you provided in your post is really
the first row of your file (it contains just data, not column names),
then your file has no row with column names.
To inform read_csv about it, pass either header=None
or names with the proper list of column names.
And the last detail: Probably the first column of your source should be
the index. If this is the case, pass index_col=[0].

Related

Transform xyz data into surface for Plotly

I have a text file with xyz data called elevation.txt.
29.6615067663688 -98.3933654143067 -0.772875302700243
29.6615067663688 -98.3933757636723 -0.71250410914962
29.6615065076668 -98.3933654143067 -0.757068728178126
29.6615032793597 -98.3933757636723 -0.761051993140882
29.6615067663688 -98.3933647490732 -0.762067716839908
29.6615067663688 -98.3933861130379 -0.6694827930163
29.6615039261939 -98.3933861130379 -0.700458102119342
29.6615067663688 -98.3933964624035 -0.616901857503478
29.661506592754 -98.3933964624035 -0.616901857503478
29.6615067663688 -98.3933969253778 -0.624557146812265
29.6615157595849 -98.3933447155754 -0.765732910338727
29.6615157595849 -98.393355064941 -0.70790301178198
29.6615151056918 -98.3933447155754 -0.764905434184072
29.66151057784 -98.393355064941 -0.775122479690196
29.6615157595849 -98.3933432209641 -0.769340655884378
29.6615157595849 -98.3933654143067 -0.65363454400682
29.6615157595849 -98.3933757636723 -0.607481276569502
29.6615157595849 -98.3933861130379 -0.576043135792759
29.6615157595849 -98.3933964624035 -0.562651209935325
29.6615157595849 -98.3934068117692 -0.574109217270234
29.6615106655842 -98.3934068117692 -0.614824188539728
29.6615157595849 -98.3934151474394 -0.590072189764953
29.6615247528009 -98.3933240168442 -0.716696572671196
29.6615247528009 -98.3933343662098 -0.686067695192037
29.661524433825 -98.3933240168442 -0.716696572671196
29.6615197295622 -98.3933343662098 -0.756041264529586
29.6615247528009 -98.393323315098 -0.727161408607287
29.6615247528009 -98.3933447155754 -0.638302943876681
29.6615247528009 -98.393355064941 -0.595028363722974
29.6615247528009 -98.3933654143067 -0.556618694163944
29.6615247528009 -98.3933757636723 -0.524177330077976
29.6615247528009 -98.3933861130379 -0.502490718796878
29.6615247528009 -98.3933964624035 -0.493857409456894
29.6615247528009 -98.3934068117692 -0.504201213967065
29.6615247528009 -98.3934171611348 -0.537894228748428
29.6615169901716 -98.3934171611348 -0.583259938640822
29.6615247528009 -98.3934272247451 -0.553953638867654
29.661533746017 -98.3933136674785 -0.65337903725532
29.661533746017 -98.3933240168442 -0.606100909015026
29.6615302013555 -98.3933136674785 -0.708003376811007
29.661533746017 -98.3933086036904 -0.674403153398373
29.661533746017 -98.3933343662098 -0.567366118147447
29.661533746017 -98.3933447155754 -0.534873445625749
29.661533746017 -98.393355064941 -0.508345134300043
29.661533746017 -98.3933654143067 -0.4861347257239
29.661533746017 -98.3933757636723 -0.467501455070533
29.661533746017 -98.3933861130379 -0.454825455237369
29.661533746017 -98.3933964624035 -0.450999899418036
29.661533746017 -98.3934068117692 -0.460597462045143
29.661533746017 -98.3934171611348 -0.485507380618685
29.661533746017 -98.3934275105004 -0.527974722804913
29.661525070305 -98.3934275105004 -0.556840681625602
29.661533746017 -98.3934344310752 -0.562287963820779
29.6615427392331 -98.3933033181129 -0.573540650163409
29.6615427392331 -98.3933136674785 -0.534670699160301
29.6615374459315 -98.3933033181129 -0.636710444804976
29.6615427392331 -98.393296254736 -0.60161550624673
29.6615427392331 -98.3933240168442 -0.504091160067674
29.6615427392331 -98.3933343662098 -0.481685184127628
29.6615427392331 -98.3933447155754 -0.464099499361851
29.6615427392331 -98.393355064941 -0.451925941678382
29.6615427392331 -98.3933654143067 -0.442387452656249
29.6615427392331 -98.3933757636723 -0.434505319003051
29.6615427392331 -98.3933861130379 -0.43005283413379
29.6615427392331 -98.3933964624035 -0.430975358433614
29.6615427392331 -98.3934068117692 -0.439570957852027
29.6615427392331 -98.3934171611348 -0.457793169386434
29.6615427392331 -98.3934275105004 -0.486800614061849
29.6615427392331 -98.393437859866 -0.526190392944102
29.6615399177873 -98.393437859866 -0.537130143062313
29.6615427392331 -98.3934387004372 -0.514852475111695
29.6615517324491 -98.3932929687473 -0.505021052994948
29.6615517324491 -98.3933033181129 -0.473109594469918
29.6615456966351 -98.3932929687473 -0.575492082966775
29.6615517324491 -98.3932864360227 -0.521250369085692
29.6615517324491 -98.3933136674785 -0.45228220458921
29.6615517324491 -98.3933240168442 -0.437672906029206
29.6615517324491 -98.3933343662098 -0.428764266490191
29.6615517324491 -98.3933447155754 -0.423388509125061
29.6615517324491 -98.393355064941 -0.42064725625545
29.6615517324491 -98.3933654143067 -0.42059184404286
29.6615517324491 -98.3933757636723 -0.421243310930151
29.6615517324491 -98.3933861130379 -0.423173771259656
29.6615517324491 -98.3933964624035 -0.428077085966038
29.6615517324491 -98.3934068117692 -0.436455120482265
29.6615517324491 -98.3934171611348 -0.449453737366639
29.6615517324491 -98.3934275105004 -0.467176208307023
29.6615517324491 -98.393437859866 -0.491158847783368
29.6615517324491 -98.3934410558634 -0.497183097610673
29.6615607256652 -98.3932826193817 -0.448472127921775
29.6615607256652 -98.3932929687473 -0.423026080899604
29.6615555491089 -98.3932826193817 -0.489444421659471
29.6615607256652 -98.3932774428508 -0.459300103364114
29.6615607256652 -98.3933033181129 -0.41007264067008
29.6615607256652 -98.3933136674785 -0.403379653580657
29.6615607256652 -98.3933240168442 -0.40160597586771
29.6615607256652 -98.3933343662098 -0.402303299508787
29.6615607256652 -98.3933447155754 -0.405026619865623
29.6615607256652 -98.393355064941 -0.409214051179902
29.6615607256652 -98.3933654143067 -0.415145859438724
29.6615607256652 -98.3933757636723 -0.421400604537439
29.6615607256652 -98.3933861130379 -0.428143788263469
29.6615607256652 -98.3933964624035 -0.436987817589795
29.6615607256652 -98.3934068117692 -0.44512400629128
29.6615607256652 -98.3934171611348 -0.454197381772929
29.6615607256652 -98.3934275105004 -0.463704639044295
29.6615607256652 -98.393437859866 -0.475074798026128
29.6615607256652 -98.3934419552231 -0.47966411974312
29.6615697188812 -98.393272270016 -0.406872175697117
29.6615697188812 -98.3932826193817 -0.381486406072099
29.6615665050732 -98.393272270016 -0.423858240303332
29.6615697188812 -98.3932696405537 -0.408051452734071
29.6615697188812 -98.3932929687473 -0.37507324528184
29.6615697188812 -98.3933033181129 -0.376443590970155
29.6615697188812 -98.3933136674785 -0.381102967001596
29.6615697188812 -98.3933240168442 -0.387274655391025
29.6615697188812 -98.3933343662098 -0.39395895958836
29.6615697188812 -98.3933447155754 -0.402001773351628
29.6615697188812 -98.393355064941 -0.410521732197196
29.6615697188812 -98.3933654143067 -0.42095882320541
29.6615697188812 -98.3933757636723 -0.430973881383409
29.6615697188812 -98.3933861130379 -0.441647395592099
29.6615697188812 -98.3933964624035 -0.452005925774586
29.6615697188812 -98.3934068117692 -0.461284006552319
29.6615697188812 -98.3934171611348 -0.467917848494494
29.6615697188812 -98.3934275105004 -0.471415514054002
29.6615697188812 -98.393437859866 -0.473245094507774
29.6615697188812 -98.3934419996021 -0.472659420054981
29.6615787120973 -98.393272270016 -0.355651132143748
29.6615787120973 -98.3932826193817 -0.347239308692565
29.6615787120973 -98.3932632737198 -0.35591381410751
29.6615787120973 -98.3932929687473 -0.35162619014784
29.6615787120973 -98.3933033181129 -0.361200636616275
29.6615787120973 -98.3933136674785 -0.371593174544898
29.6615787120973 -98.3933240168442 -0.382765752356477
29.6615787120973 -98.3933343662098 -0.395095946884567
29.6615787120973 -98.3933447155754 -0.407420962025753
29.6615787120973 -98.393355064941 -0.420616003396162
29.6615787120973 -98.3933654143067 -0.434115117961653
29.6615787120973 -98.3933757636723 -0.447571228535537
29.6615787120973 -98.3933861130379 -0.460083111502854
29.6615787120973 -98.3933964624035 -0.471282501279632
29.6615787120973 -98.3934068117692 -0.479825008942328
29.6615787120973 -98.3934171611348 -0.483889960099589
29.6615787120973 -98.3934275105004 -0.483803486838212
29.6615787120973 -98.393437859866 -0.479388198273796
29.6615787120973 -98.3934408449891 -0.478342909984406
29.6615877053134 -98.3932619206504 -0.352953163198265
29.6615877053134 -98.393272270016 -0.330661192674995
29.661580967234 -98.3932619206504 -0.367248936850558
I read the data using
elevation = np.loadtxt('elevation.txt')
x, y, z = elevation[:, 0], elevation[:, 1], elevation[:, 2]
Because each z point is an unique combination of the corresponding x and y point, they all have the same length, 150.
I want to post this surface using plotly, not matplotlib.
Their documentation says the following:
The data the describes the coordinates of the surface is set in z.
Data in z should be a 2D list. Coordinates in x and y can either be 1D
lists or 2D lists (e.g. to graph parametric surfaces).
However, the shape of z is equal to
(150, )
It needs to be equal to
(150, 150)
How can I achieve this?
The Surface class expects the points to be spaced linearly across both x and y (like those that would be created by np.linspace, examples here). It appears that your data is a set of 3d points which are not linearly spaced out in a grid as Surface expects.
Perhaps a better solution would be to build a 3d scatter plot, or a 3d mesh.

XML Invoice Data into SQL Table

I am trying to get xml data into a SQL table.
I have the following Xml
<?xml version="1.0" encoding="UTF-8"?>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:UBLVersionID>2.1</cbc:UBLVersionID>
<cbc:ID>TOSL108</cbc:ID>
<cbc:IssueDate>2009-12-15</cbc:IssueDate>
<cbc:InvoiceTypeCode listID="UN/ECE 1001 Subset" listAgencyID="6">380</cbc:InvoiceTypeCode>
<cbc:Note languageID="en">Ordered in our booth at the convention.</cbc:Note>
<cbc:TaxPointDate>2009-11-30</cbc:TaxPointDate>
<cbc:DocumentCurrencyCode listID="ISO 4217 Alpha" listAgencyID="6"
>EUR</cbc:DocumentCurrencyCode>
<cbc:AccountingCost>Project cost code 123</cbc:AccountingCost>
<cac:InvoicePeriod>
<cbc:StartDate>2009-11-01</cbc:StartDate>
<cbc:EndDate>2009-11-30</cbc:EndDate>
</cac:InvoicePeriod>
<cac:OrderReference>
<cbc:ID>123</cbc:ID>
</cac:OrderReference>
<cac:ContractDocumentReference>
<cbc:ID>Contract321</cbc:ID>
<cbc:DocumentType>Framework agreement</cbc:DocumentType>
</cac:ContractDocumentReference>
<cac:AdditionalDocumentReference>
<cbc:ID>Doc1</cbc:ID>
<cbc:DocumentType>Timesheet</cbc:DocumentType>
<cac:Attachment>
<cac:ExternalReference>
<cbc:URI>http://www.suppliersite.eu/sheet001.html</cbc:URI>
</cac:ExternalReference>
</cac:Attachment>
</cac:AdditionalDocumentReference>
<cac:AdditionalDocumentReference>
<cbc:ID>Doc2</cbc:ID>
<cbc:DocumentType>Drawing</cbc:DocumentType>
<cac:Attachment>
<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf"
>UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</cbc:EmbeddedDocumentBinaryObject>
</cac:Attachment>
</cac:AdditionalDocumentReference>
<cac:AccountingSupplierParty>
<cac:Party>
<cbc:EndpointID schemeID="GLN" schemeAgencyID="9">1234567890123</cbc:EndpointID>
<cac:PartyIdentification>
<cbc:ID schemeID="ZZZ">Supp123</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>Salescompany ltd.</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:ID schemeID="GLN" schemeAgencyID="9">1231412341324</cbc:ID>
<cbc:Postbox>5467</cbc:Postbox>
<cbc:StreetName>Main street</cbc:StreetName>
<cbc:AdditionalStreetName>Suite 123</cbc:AdditionalStreetName>
<cbc:BuildingNumber>1</cbc:BuildingNumber>
<cbc:Department>Revenue department</cbc:Department>
<cbc:CityName>Big city</cbc:CityName>
<cbc:PostalZone>54321</cbc:PostalZone>
<cbc:CountrySubentityCode>RegionA</cbc:CountrySubentityCode>
<cac:Country>
<cbc:IdentificationCode listID="ISO3166-1" listAgencyID="6"
>DK</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID schemeID="DKVAT" schemeAgencyID="ZZZ">DK12345</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>The Sellercompany Incorporated</cbc:RegistrationName>
<cbc:CompanyID schemeID="CVR" schemeAgencyID="ZZZ">5402697509</cbc:CompanyID>
<cac:RegistrationAddress>
<cbc:CityName>Big city</cbc:CityName>
<cbc:CountrySubentity>RegionA</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>DK</cbc:IdentificationCode>
</cac:Country>
</cac:RegistrationAddress>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:Telephone>4621230</cbc:Telephone>
<cbc:Telefax>4621231</cbc:Telefax>
<cbc:ElectronicMail>antonio#salescompany.dk</cbc:ElectronicMail>
</cac:Contact>
<cac:Person>
<cbc:FirstName>Antonio</cbc:FirstName>
<cbc:FamilyName>M</cbc:FamilyName>
<cbc:MiddleName>Salemacher</cbc:MiddleName>
<cbc:JobTitle>Sales manager</cbc:JobTitle>
</cac:Person>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<cbc:EndpointID schemeID="GLN" schemeAgencyID="9">1234567987654</cbc:EndpointID>
<cac:PartyIdentification>
<cbc:ID schemeID="ZZZ">345KS5324</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>Buyercompany ltd</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:ID schemeID="GLN" schemeAgencyID="9">1238764941386</cbc:ID>
<cbc:Postbox>123</cbc:Postbox>
<cbc:StreetName>Anystreet</cbc:StreetName>
<cbc:AdditionalStreetName>Back door</cbc:AdditionalStreetName>
<cbc:BuildingNumber>8</cbc:BuildingNumber>
<cbc:Department>Accounting department</cbc:Department>
<cbc:CityName>Anytown</cbc:CityName>
<cbc:PostalZone>101</cbc:PostalZone>
<cbc:CountrySubentity>RegionB</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode listID="ISO3166-1" listAgencyID="6"
>BE</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID schemeID="BEVAT" schemeAgencyID="ZZZ">BE54321</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>The buyercompany inc.</cbc:RegistrationName>
<cbc:CompanyID schemeAgencyID="ZZZ" schemeID="ZZZ">5645342123</cbc:CompanyID>
<cac:RegistrationAddress>
<cbc:CityName>Mainplace</cbc:CityName>
<cbc:CountrySubentity>RegionB</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>BE</cbc:IdentificationCode>
</cac:Country>
</cac:RegistrationAddress>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:Telephone>5121230</cbc:Telephone>
<cbc:Telefax>5121231</cbc:Telefax>
<cbc:ElectronicMail>john#buyercompany.eu</cbc:ElectronicMail>
</cac:Contact>
<cac:Person>
<cbc:FirstName>John</cbc:FirstName>
<cbc:FamilyName>X</cbc:FamilyName>
<cbc:MiddleName>Doe</cbc:MiddleName>
<cbc:JobTitle>Purchasing manager</cbc:JobTitle>
</cac:Person>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:PayeeParty>
<cac:PartyIdentification>
<cbc:ID schemeID="GLN" schemeAgencyID="9">098740918237</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>Ebeneser Scrooge Inc.</cbc:Name>
</cac:PartyName>
<cac:PartyLegalEntity>
<cbc:CompanyID schemeID="UK:CH" schemeAgencyID="ZZZ">6411982340</cbc:CompanyID>
</cac:PartyLegalEntity>
</cac:PayeeParty>
<cac:Delivery>
<cbc:ActualDeliveryDate>2009-12-15</cbc:ActualDeliveryDate>
<cac:DeliveryLocation>
<cbc:ID schemeID="GLN" schemeAgencyID="9">6754238987648</cbc:ID>
<cac:Address>
<cbc:StreetName>Deliverystreet</cbc:StreetName>
<cbc:AdditionalStreetName>Side door</cbc:AdditionalStreetName>
<cbc:BuildingNumber>12</cbc:BuildingNumber>
<cbc:CityName>DeliveryCity</cbc:CityName>
<cbc:PostalZone>523427</cbc:PostalZone>
<cbc:CountrySubentity>RegionC</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>BE</cbc:IdentificationCode>
</cac:Country>
</cac:Address>
</cac:DeliveryLocation>
</cac:Delivery>
<cac:PaymentMeans>
<cbc:PaymentMeansCode listID="UN/ECE 4461"
>31</cbc:PaymentMeansCode>
<cbc:PaymentDueDate>2009-12-31</cbc:PaymentDueDate>
<cbc:PaymentChannelCode>IBAN</cbc:PaymentChannelCode>
<cbc:PaymentID>Payref1</cbc:PaymentID>
<cac:PayeeFinancialAccount>
<cbc:ID>DK1212341234123412</cbc:ID>
<cac:FinancialInstitutionBranch>
<cac:FinancialInstitution>
<cbc:ID>DKDKABCD</cbc:ID>
</cac:FinancialInstitution>
</cac:FinancialInstitutionBranch>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:PaymentTerms>
<cbc:Note>Penalty percentage 10% from due date</cbc:Note>
</cac:PaymentTerms>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">292.20</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">1460.5</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">292.1</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">1</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">0.1</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">AA</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">-25</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">E</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cbc:TaxExemptionReasonCode listID="CWA 15577" listAgencyID="ZZZ"
>AAM</cbc:TaxExemptionReasonCode>
<cbc:TaxExemptionReason>Exempt New Means of Transport</cbc:TaxExemptionReason>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">1436.5</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">1436.5</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">1729</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="EUR">100</cbc:AllowanceTotalAmount>
<cbc:ChargeTotalAmount currencyID="EUR">100</cbc:ChargeTotalAmount>
<cbc:PrepaidAmount currencyID="EUR">1000</cbc:PrepaidAmount>
<cbc:PayableRoundingAmount currencyID="EUR">0.30</cbc:PayableRoundingAmount>
<cbc:PayableAmount currencyID="EUR">729</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:Note>Scratch on box</cbc:Note>
<cbc:InvoicedQuantity unitCode="C62">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">1273</cbc:LineExtensionAmount>
<cbc:AccountingCost>BookingCode001</cbc:AccountingCost>
<cac:OrderLineReference>
<cbc:LineID>1</cbc:LineID>
</cac:OrderLineReference>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">254.6</cbc:TaxAmount>
</cac:TaxTotal>
<cac:Item>
<cbc:Description languageID="EN">Processor: Intel Core 2 Duo SU9400 LV (1.4GHz). RAM:
3MB. Screen 1440x900</cbc:Description>
<cbc:Name>Labtop computer</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>JB007</cbc:ID>
</cac:SellersItemIdentification>
<cac:StandardItemIdentification>
<cbc:ID schemeID="GTIN" schemeAgencyID="9">1234567890124</cbc:ID>
</cac:StandardItemIdentification>
<cac:CommodityClassification>
<cbc:ItemClassificationCode listAgencyID="113" listID="UNSPSC"
>12344321</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<cac:CommodityClassification>
<cbc:ItemClassificationCode listAgencyID="2" listID="CPV"
>65434568</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<ClassifiedTaxCategory
xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2">
<cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</TaxScheme>
</ClassifiedTaxCategory>
<cac:AdditionalItemProperty>
<cbc:Name>Color</cbc:Name>
<cbc:Value>black</cbc:Value>
</cac:AdditionalItemProperty>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">1273</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="C62">1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>2</cbc:ID>
<cbc:Note>Cover is slightly damaged.</cbc:Note>
<cbc:InvoicedQuantity unitCode="C62">-1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">-3.96</cbc:LineExtensionAmount>
<cac:OrderLineReference>
<cbc:LineID>5</cbc:LineID>
</cac:OrderLineReference>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">-0.396</cbc:TaxAmount>
</cac:TaxTotal>
<cac:Item>
<cbc:Name>Returned "Advanced computing" book</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>JB008</cbc:ID>
</cac:SellersItemIdentification>
<cac:StandardItemIdentification>
<cbc:ID schemeID="GTIN" schemeAgencyID="9">1234567890125</cbc:ID>
</cac:StandardItemIdentification>
<cac:CommodityClassification>
<cbc:ItemClassificationCode listAgencyID="113" listID="UNSPSC"
>32344324</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<cac:CommodityClassification>
<cbc:ItemClassificationCode listAgencyID="2" listID="CPV"
>65434567</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<ClassifiedTaxCategory
xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2">
<cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">AA</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</TaxScheme>
</ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">3.96</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="C62">1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>3</cbc:ID>
<cbc:InvoicedQuantity unitCode="C62">2</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">4.96</cbc:LineExtensionAmount>
<cac:OrderLineReference>
<cbc:LineID>3</cbc:LineID>
</cac:OrderLineReference>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">0.496</cbc:TaxAmount>
</cac:TaxTotal>
<cac:Item>
<cbc:Name>"Computing for dummies" book</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>JB009</cbc:ID>
</cac:SellersItemIdentification>
<cac:StandardItemIdentification>
<cbc:ID schemeID="GTIN" schemeAgencyID="9">1234567890126</cbc:ID>
</cac:StandardItemIdentification>
<cac:CommodityClassification>
<cbc:ItemClassificationCode listAgencyID="113" listID="UNSPSC"
>32344324</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<cac:CommodityClassification>
<cbc:ItemClassificationCode listAgencyID="2" listID="CPV"
>65434566</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<ClassifiedTaxCategory
xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2">
<cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">AA</cbc:ID>
<cbc:Percent>10</cbc:Percent>
<TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</TaxScheme>
</ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">2.48</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="C62">1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>4</cbc:ID>
<cbc:InvoicedQuantity unitCode="C62">-1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">-25</cbc:LineExtensionAmount>
<cac:OrderLineReference>
<cbc:LineID>2</cbc:LineID>
</cac:OrderLineReference>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">0</cbc:TaxAmount>
</cac:TaxTotal>
<cac:Item>
<cbc:Name>Returned IBM 5150 desktop</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>JB010</cbc:ID>
</cac:SellersItemIdentification>
<cac:StandardItemIdentification>
<cbc:ID schemeID="GTIN" schemeAgencyID="9">1234567890127</cbc:ID>
</cac:StandardItemIdentification>
<cac:CommodityClassification>
<cbc:ItemClassificationCode listAgencyID="113" listID="UNSPSC"
>12344322</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<cac:CommodityClassification>
<cbc:ItemClassificationCode listAgencyID="2" listID="CPV"
>65434565</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<ClassifiedTaxCategory
xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2">
<cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">E</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</TaxScheme>
</ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">25</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="C62">1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>5</cbc:ID>
<cbc:InvoicedQuantity unitCode="C62">250</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">187.5</cbc:LineExtensionAmount>
<cbc:AccountingCost>BookingCode002</cbc:AccountingCost>
<cac:OrderLineReference>
<cbc:LineID>4</cbc:LineID>
</cac:OrderLineReference>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">37.5</cbc:TaxAmount>
</cac:TaxTotal>
<cac:Item>
<cbc:Name>Network cable</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>JB011</cbc:ID>
</cac:SellersItemIdentification>
<cac:StandardItemIdentification>
<cbc:ID schemeID="GTIN" schemeAgencyID="9">1234567890128</cbc:ID>
</cac:StandardItemIdentification>
<cac:CommodityClassification>
<cbc:ItemClassificationCode listAgencyID="113" listID="UNSPSC"
>12344325</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<cac:CommodityClassification>
<cbc:ItemClassificationCode listAgencyID="2" listID="CPV"
>65434564</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<ClassifiedTaxCategory
xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2">
<cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">S</cbc:ID>
<cbc:Percent>20</cbc:Percent>
<TaxScheme>
<cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
</TaxScheme>
</ClassifiedTaxCategory>
<cac:AdditionalItemProperty>
<cbc:Name>Type</cbc:Name>
<cbc:Value>Cat5</cbc:Value>
</cac:AdditionalItemProperty>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">0.75</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="C62">1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
</Invoice>
I can get most of the values but I am stuggling to get the InvoiceLine detail. The amount of InvoiceLine detail can be zero or up to 50.
This is my code to date:
DECLARE #xml XML
SELECT #xml = BulkColumn
FROM OPENROWSET(BULK 'D:\OUTSOURCE\UBL-Invoice-2.1-Example.xml', SINGLE_BLOB) x
--insert into Test(Issuedate)
SELECT
t.c.value('(../*:IssueDate/text())[1]', 'VARCHAR(100)') as IssueDate,
t.c.value('(../*:TaxTotal/*:TaxSubtotal/*:TaxableAmount/text())[1]', 'VARCHAR(100)') as TaxAmount,
t.c.value('(../*:AccountingSupplierParty/*:Party/*:PartyTaxScheme/*:CompanyID/text())[1]', 'VARCHAR(100)') as SupplierAccountID,
t.c.value('(../*:InvoiceLine/*:TaxTotal/*:TaxAmount/text())[1]', 'VARCHAR(100)') as LineTax,
t.c.value('(../*:InvoiceLine/*:Price/*:PriceAmount/text())[1]', 'VARCHAR(100)') as Price
FROM #xml.nodes('*:Invoice/*:InvoiceLine') t(c)
I read that I can use CROSS APPLY but I am not getting it to work.
Any help would be great.
You need to change path argument in last two value functions. The path to any data of InvoiceLine should start at the current node (.), because it is the node selected by nodes function.
SELECT
t.c.value('(../*:IssueDate/text())[1]', 'VARCHAR(100)') as IssueDate,
t.c.value('(../*:TaxTotal/*:TaxSubtotal/*:TaxableAmount/text())[1]', 'VARCHAR(100)') as TaxAmount,
t.c.value('(../*:AccountingSupplierParty/*:Party/*:PartyTaxScheme/*:CompanyID/text())[1]', 'VARCHAR(100)') as SupplierAccountID,
t.c.value('(./*:TaxTotal/*:TaxAmount/text())[1]', 'VARCHAR(100)') as LineTax,
t.c.value('(./*:Price/*:PriceAmount/text())[1]', 'VARCHAR(100)') as Price
FROM #xml.nodes('*:Invoice/*:InvoiceLine') t(c);
Returns
IssueDate TaxAmount SupplierAccountID LineTax Price
2009-12-15 1460.5 DK12345 254.6 1273
2009-12-15 1460.5 DK12345 -0.396 3.96
2009-12-15 1460.5 DK12345 0.496 2.48
2009-12-15 1460.5 DK12345 0 25
2009-12-15 1460.5 DK12345 37.5 0.75

Gradle error: Execution failed for task ':app:compileKotlin'. > java.io.IOException

The error:
Execution failed for task ':app:compileKotlin'.
> java.io.IOException: System can not find the path(系统找不到指定的路径)
This is happened in a jetbrain compose project in kotlin, source code is in github
And more log detail in here(https://scans.gradle.com/s/ih7iv743ot4o4)
Environment(you can see all version of dependence in lib.version.toml or gradle scan report):
gradle 7.0.2
kotlin 1.5.10
windows 10 with IDEA
How can I fix this problem? thx
I will show brief log and stacktrace here:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileKotlin'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:187)
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:268)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:185)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:173)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:408)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:395)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:388)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:374)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
Caused by: org.gradle.api.UncheckedIOException: java.io.IOException: ϵͳ�Ҳ���ָ�����ļ���
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:61)
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:107)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskInputsTaskAction.doExecute(IncrementalTaskInputsTaskAction.java:47)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
at org.gradle.api.internal.project.taskfactory.AbstractIncrementalTaskAction.execute(AbstractIncrementalTaskAction.java:25)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$2.run(ExecuteActionsTaskExecuter.java:498)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:483)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:466)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$300(ExecuteActionsTaskExecuter.java:105)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:270)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:248)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:83)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:37)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:47)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:47)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:37)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:68)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:38)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:50)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:36)
at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:29)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:54)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:35)
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:60)
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:27)
at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:174)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:74)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:45)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:40)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:29)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)
at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:99)
at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:92)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:52)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:36)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:84)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:41)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:91)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:49)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:78)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:49)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:105)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:50)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:86)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:86)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:32)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:43)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:31)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution$2.withWorkspace(ExecuteActionsTaskExecuter.java:283)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:49)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:35)
at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:184)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:173)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:408)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:395)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:388)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:374)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
Caused by: java.io.IOException: 系统找不到指定的文件
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunner$Companion.buildModulesInfo$kotlin_gradle_plugin(GradleKotlinCompilerRunner.kt:254)
at org.jetbrains.kotlin.gradle.tasks.GradleCompileTaskProvider.<init>(Tasks.kt:140)
at org.jetbrains.kotlin.gradle.tasks.KotlinCompileWithWorkers.compilerRunner$kotlin_gradle_plugin(Tasks.kt:619)
at org.jetbrains.kotlin.gradle.tasks.KotlinCompileWithWorkers.compilerRunner$kotlin_gradle_plugin(Tasks.kt:612)
at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile$compilerRunner$2.invoke(Tasks.kt:332)
at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile$compilerRunner$2.invoke(Tasks.kt:332)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile.getCompilerRunner$kotlin_gradle_plugin(Tasks.kt:332)
at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompilerAsync$kotlin_gradle_plugin(Tasks.kt:541)
at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompilerAsync$kotlin_gradle_plugin(Tasks.kt:478)
at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile.executeImpl(Tasks.kt:396)
at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile.execute(Tasks.kt:360)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
... 119 more
Oh, I got the solution:
just because I use catelogVersion for the project.version
NEVER DO IT!
not only project.version but other version variables.
Remeber just use it for dependency and some relative!
Detail in commit -> version = libs.versions.app in build.gradle.kt

Why can't generate from UNION operation

My pig Script is:
S22_JOIN = JOIN S0 BY (CD_SI,IDT_ETT_CTR), S7 BY (CD_SI,IDT_ETT_CTR);
S22 = FOREACH S22_JOIN GENERATE
S7::CD_SI AS CD_SI,
S7::IDT_ETT_CTR AS IDT_ETT_CTR,
S7::CD_EFS AS CD_EFS,
S7::MT_DSP AS MT_DSP,
S7::MT_NAL AS MT_NAL,
S7::MT_ENC_MOY AS MT_ENC_MOY,
S7::MT_UTI AS MT_UTI,
S7::MT_CAP_RST_DU AS MT_CAP_RST_DU,
S7::MT_ITT_CRU AS MT_ITT_CRU,
S7::MT_CAP_ECN_IMP AS MT_CAP_ECN_IMP,
S7::MT_ITT_IMP AS MT_ITT_IMP,
S7::MT_DNR_ECN AS MT_DNR_ECN,
S7::CD_ETT_ORI AS CD_ETT_ORI,
S7::MT_DSP_CVE AS MT_DSP_CVE,
S7::MT_NAL_CVE AS MT_NAL_CVE,
S7::MT_ENC_MOY_CVE AS MT_ENC_MOY_CVE,
S7::MT_CAP_IMP_CVE AS MT_CAP_IMP_CVE,
S7::MT_ITT_IMP_CVE AS MT_ITT_IMP_CVE,
S7::MT_GLB_IMP AS MT_GLB_IMP,
S7::MT_GLB_IMP_CVE AS MT_GLB_IMP_CVE,
S7::MT_BN_INST AS MT_BN_INST,
S7::MT_BN_INST_CVE AS MT_BN_INST_CVE,
S7::MT_BN_NV AS MT_BN_NV,
S7::MT_BN_NV_CVE AS MT_BN_NV_CVE,
S7::MT_IMP AS MT_IMP,
S7::MT_PROR AS MT_PROR,
S7::MT_DEM AS MT_DEM,
S7::MT_ITT_M AS MT_ITT_M;
-- Grouper by
S23 = FOREACH S21 GENERATE
CD_SI AS CD_SI,
IDT_ETT_CTR AS IDT_ETT_CTR,
CD_EFS AS CD_EFS,
(IDT_ETT_CTR_LIG == '' ? (MT_NAL_BIL - MT_CAP_RST_DU):99) AS MT_DSP,
MT_NAL AS MT_NAL,
MT_ENC_MOY AS MT_ENC_MOY,
MT_UTI AS MT_UTI,
MT_CAP_RST_DU AS MT_CAP_RST_DU,
MT_ITT_CRU AS MT_ITT_CRU,
MT_CAP_ECN_IMP AS MT_CAP_ECN_IMP,
MT_ITT_IMP AS MT_ITT_IMP,
MT_DNR_ECN AS MT_DNR_ECN,
CD_ETT_ORI AS CD_ETT_ORI,
(IDT_ETT_CTR_LIG == '' ? (MT_NAL_BIL - MT_CAP_RST_DU):99) AS
MT_DSP_CVE,
MT_NAL_CVE AS MT_NAL_CVE,
MT_ENC_MOY_CVE AS MT_ENC_MOY_CVE,
MT_CAP_IMP_CVE AS MT_CAP_IMP_CVE,
MT_ITT_IMP_CVE AS MT_ITT_IMP_CVE,
MT_GLB_IMP AS MT_GLB_IMP,
MT_GLB_IMP_CVE AS MT_GLB_IMP_CVE,
MT_BN_INST AS MT_BN_INST,
MT_BN_INST_CVE AS MT_BN_INST_CVE,
MT_BN_NV AS MT_BN_NV,
MT_BN_NV_CVE AS MT_BN_NV_CVE,
MT_IMP AS MT_IMP,
MT_PROR AS MT_PROR,
MT_DEM AS MT_DEM,
MT_ITT_M AS MT_ITT_M;
S24 = GROUP S22 BY IDT_ETT_CTR;
S25 = GROUP S23 BY IDT_ETT_CTR;
S26 = UNION S24, S25;
S20 = GROUP S19 BY IDT_ETT_CTR;
S27 = UNION S20, S26;
Note that the result of the UNION operation (S27) loook like :
TE7420183801,"{(001,TE7420183801,29,0.0,60000.0,0.0,,34137.88,0.0,0.0,0.0,,ECRFI,0.0,60000.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,,,,)}"
TE7424155609,"{(001,TE7424155609,29,0.0,616084.0,0.0,,407423.56,0.0,0.0,0.0,,ECRFI,0.0,616084.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,,,,)}"
TE7433106206,"{(001,TE7433106206,29,0.0,1241357.04,0.0,,1241357.04,0.0,0.0,0.0,,ECRFI,0.0,1241357.04,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,,,,)}"
TE7439115501,"{(001,TE7439115501,29,0.0,1044900.0,0.0,,776071.78,0.0,0.0,0.0,,ECRFI,0.0,1044900.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,,,,)}"
TE7439115502,"{(001,TE7439115502,29,0.0,116100.0,0.0,,86230.23,0.0,0.0,0.0,,ECRFI,0.0,116100.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,,,,)}"
TE7439115503,"{(001,TE7439115503,29,0.0,-116100.0,0.0,,-83626.92,0.0,0.0,0.0,,ECRFI,0.0,-116100.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,,,,)}"
TE7444031506,"{(001,TE7444031506,29,0.0,16802484.21,0.0,,14153891.85,0.0,0.0,0.0,,ECRFI,0.0,16802484.21,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,,,,)}"
TE7446142004,"{(001,TE7446142004,29,0.0,47341.96,0.0,,35618.57,0.0,0.0,0.0,,ECRFI,0.0,47341.96,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,,,,)}"
TE7458036405,"{(001,TE7458036405,29,0.0,3395911.0,0.0,,2576480.4,0.0,0.0,0.0,,ECRFI,0.0,3395911.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,,,,)}"
TE7461072603,"{(001,TE7461072603,29,0.0,1192162.0,0.0,,708855.6,0.0,0.0,0.0,,ECRFI,0.0,1192162.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,,,,)}"
TE7461072701,"{(001,TE7461072701,29,0.0,3700000.0,0.0,,2311590.89,0.0,0.0,0.0,,ECRFI,0.0,3700000.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,,,,)}"
TE7474079601,"{(001,TE7474079601,29,0.0,9570000.0,0.0,,8010700.07,0.0,0.0,0.0,,ECRFI,0.0,9570000.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,,,,)}"
Now when I want to generate the final entity from it :
S28 = FOREACH S27 GENERATE
CD_SI AS CD_SI,
IDT_ETT_CTR AS IDT_ETT_CTR,
CD_EFS AS CD_EFS,
MT_DSP AS MT_DSP,
MT_NAL AS MT_NAL,
MT_ENC_MOY AS MT_ENC_MOY,
MT_UTI AS MT_UTI,
MT_CAP_RST_DU AS MT_CAP_RST_DU,
MT_ITT_CRU AS MT_ITT_CRU,
MT_CAP_ECN_IMP AS MT_CAP_ECN_IMP,
MT_ITT_IMP AS MT_ITT_IMP,
MT_DNR_ECN AS MT_DNR_ECN,
CD_ETT_ORI AS CD_ETT_ORI,
MT_DSP_CVE AS MT_DSP_CVE,
MT_NAL_CVE AS MT_NAL_CVE,
MT_ENC_MOY_CVE AS MT_ENC_MOY_CVE,
MT_CAP_IMP_CVE AS MT_CAP_IMP_CVE,
MT_ITT_IMP_CVE AS MT_ITT_IMP_CVE,
MT_GLB_IMP AS MT_GLB_IMP,
MT_GLB_IMP_CVE AS MT_GLB_IMP_CVE,
MT_BN_INST AS MT_BN_INST,
MT_BN_INST_CVE AS MT_BN_INST_CVE,
MT_BN_NV AS MT_BN_NV,
MT_BN_NV_CVE AS MT_BN_NV_CVE,
S10.MT_ENMO + S5.MT_ENC_MOY AS MT_ENC_EFF,
MT_IMP AS MT_IMP,
MT_PROR AS MT_PROR,
MT_DEM AS MT_DEM,
MT_ITT_M AS MT_ITT_M,
(S6.IDT_ETT_CTR_LIG == '' ? (S6.MT_NAL_BIL + S6.MT_AUT) :'99') AS MT_NAL_LIG;
STORE S28 INTO '$PathDataWorkingFile' USING CSVExcelStorage(',', 'YES_MULTILINE');
I get this error :
Invalid field reference. Referenced field [CD_SI] does not exist in
schema: .
Note that there is no problem about the resources S6, S7, S20 ,... because I verified them and they generated the S27 data without problem.
BUt in reality CD_SI exist it has as values 001 as you can see in first line second column
It's really wired no ?
Since you are using union on grouped relations. You can just store the 2nd field using positional notation
S24 = GROUP S22 BY IDT_ETT_CTR;
S25 = GROUP S23 BY IDT_ETT_CTR;
S26 = UNION S24, S25;
S20 = GROUP S19 BY IDT_ETT_CTR;
S27 = UNION S20, S26;
S28 = FOREACH S27 GENERATE S27.$1
STORE S28 INTO '$PathDataWorkingFile' USING CSVExcelStorage(',', 'YES_MULTILINE');
Or
Enumerate the groups and then join.Since you are using UNION on grouped relations, you really have only two fields i.e. the grouped column and the the rest in the form of a bag.
S24 = GROUP S22 BY IDT_ETT_CTR;
S25 = GROUP S23 BY IDT_ETT_CTR;
S24_1 = FOREACH S24 GENERATE group as IDT_ETT_CTR,
CD_SI AS CD_SI,
IDT_ETT_CTR AS IDT_ETT_CTR,
CD_EFS AS CD_EFS,
MT_DSP AS MT_DSP,
MT_NAL AS MT_NAL,
MT_ENC_MOY AS MT_ENC_MOY,
MT_UTI AS MT_UTI,
MT_CAP_RST_DU AS MT_CAP_RST_DU,
MT_ITT_CRU AS MT_ITT_CRU,
MT_CAP_ECN_IMP AS MT_CAP_ECN_IMP,
MT_ITT_IMP AS MT_ITT_IMP,
MT_DNR_ECN AS MT_DNR_ECN,
CD_ETT_ORI AS CD_ETT_ORI,
MT_DSP_CVE AS MT_DSP_CVE,
MT_NAL_CVE AS MT_NAL_CVE,
MT_ENC_MOY_CVE AS MT_ENC_MOY_CVE,
MT_CAP_IMP_CVE AS MT_CAP_IMP_CVE,
MT_ITT_IMP_CVE AS MT_ITT_IMP_CVE,
MT_GLB_IMP AS MT_GLB_IMP,
MT_GLB_IMP_CVE AS MT_GLB_IMP_CVE,
MT_BN_INST AS MT_BN_INST,
MT_BN_INST_CVE AS MT_BN_INST_CVE,
MT_BN_NV AS MT_BN_NV,
MT_BN_NV_CVE AS MT_BN_NV_CVE,
S10.MT_ENMO + S5.MT_ENC_MOY AS MT_ENC_EFF,
MT_IMP AS MT_IMP,
MT_PROR AS MT_PROR,
MT_DEM AS MT_DEM,
MT_ITT_M AS MT_ITT_M,
(S6.IDT_ETT_CTR_LIG == '' ? (S6.MT_NAL_BIL + S6.MT_AUT) :'99') AS MT_NAL_LIG;
S25_1 = FOREACH S25 GENERATE group as IDT_ETT_CTR,
CD_SI AS CD_SI,
IDT_ETT_CTR AS IDT_ETT_CTR,
CD_EFS AS CD_EFS,
MT_DSP AS MT_DSP,
MT_NAL AS MT_NAL,
MT_ENC_MOY AS MT_ENC_MOY,
MT_UTI AS MT_UTI,
MT_CAP_RST_DU AS MT_CAP_RST_DU,
MT_ITT_CRU AS MT_ITT_CRU,
MT_CAP_ECN_IMP AS MT_CAP_ECN_IMP,
MT_ITT_IMP AS MT_ITT_IMP,
MT_DNR_ECN AS MT_DNR_ECN,
CD_ETT_ORI AS CD_ETT_ORI,
MT_DSP_CVE AS MT_DSP_CVE,
MT_NAL_CVE AS MT_NAL_CVE,
MT_ENC_MOY_CVE AS MT_ENC_MOY_CVE,
MT_CAP_IMP_CVE AS MT_CAP_IMP_CVE,
MT_ITT_IMP_CVE AS MT_ITT_IMP_CVE,
MT_GLB_IMP AS MT_GLB_IMP,
MT_GLB_IMP_CVE AS MT_GLB_IMP_CVE,
MT_BN_INST AS MT_BN_INST,
MT_BN_INST_CVE AS MT_BN_INST_CVE,
MT_BN_NV AS MT_BN_NV,
MT_BN_NV_CVE AS MT_BN_NV_CVE,
S10.MT_ENMO + S5.MT_ENC_MOY AS MT_ENC_EFF,
MT_IMP AS MT_IMP,
MT_PROR AS MT_PROR,
MT_DEM AS MT_DEM,
MT_ITT_M AS MT_ITT_M,
(S6.IDT_ETT_CTR_LIG == '' ? (S6.MT_NAL_BIL + S6.MT_AUT) :'99') AS MT_NAL_LIG;
S26 = UNION S24_1, S25_1;
S20 = GROUP S19 BY IDT_ETT_CTR;
S20_1 = FOREACH S20 GENERATE group as IDT_ETT_CTR,
CD_SI AS CD_SI,
IDT_ETT_CTR AS IDT_ETT_CTR,
CD_EFS AS CD_EFS,
MT_DSP AS MT_DSP,
MT_NAL AS MT_NAL,
MT_ENC_MOY AS MT_ENC_MOY,
MT_UTI AS MT_UTI,
MT_CAP_RST_DU AS MT_CAP_RST_DU,
MT_ITT_CRU AS MT_ITT_CRU,
MT_CAP_ECN_IMP AS MT_CAP_ECN_IMP,
MT_ITT_IMP AS MT_ITT_IMP,
MT_DNR_ECN AS MT_DNR_ECN,
CD_ETT_ORI AS CD_ETT_ORI,
MT_DSP_CVE AS MT_DSP_CVE,
MT_NAL_CVE AS MT_NAL_CVE,
MT_ENC_MOY_CVE AS MT_ENC_MOY_CVE,
MT_CAP_IMP_CVE AS MT_CAP_IMP_CVE,
MT_ITT_IMP_CVE AS MT_ITT_IMP_CVE,
MT_GLB_IMP AS MT_GLB_IMP,
MT_GLB_IMP_CVE AS MT_GLB_IMP_CVE,
MT_BN_INST AS MT_BN_INST,
MT_BN_INST_CVE AS MT_BN_INST_CVE,
MT_BN_NV AS MT_BN_NV,
MT_BN_NV_CVE AS MT_BN_NV_CVE,
S10.MT_ENMO + S5.MT_ENC_MOY AS MT_ENC_EFF,
MT_IMP AS MT_IMP,
MT_PROR AS MT_PROR,
MT_DEM AS MT_DEM,
MT_ITT_M AS MT_ITT_M,
(S6.IDT_ETT_CTR_LIG == '' ? (S6.MT_NAL_BIL + S6.MT_AUT) :'99') AS MT_NAL_LIG;
S27 = UNION S20_1, S26;
S28 = FOREACH S27 GENERATE
CD_SI AS CD_SI,
IDT_ETT_CTR AS IDT_ETT_CTR,
CD_EFS AS CD_EFS,
MT_DSP AS MT_DSP,
MT_NAL AS MT_NAL,
MT_ENC_MOY AS MT_ENC_MOY,
MT_UTI AS MT_UTI,
MT_CAP_RST_DU AS MT_CAP_RST_DU,
MT_ITT_CRU AS MT_ITT_CRU,
MT_CAP_ECN_IMP AS MT_CAP_ECN_IMP,
MT_ITT_IMP AS MT_ITT_IMP,
MT_DNR_ECN AS MT_DNR_ECN,
CD_ETT_ORI AS CD_ETT_ORI,
MT_DSP_CVE AS MT_DSP_CVE,
MT_NAL_CVE AS MT_NAL_CVE,
MT_ENC_MOY_CVE AS MT_ENC_MOY_CVE,
MT_CAP_IMP_CVE AS MT_CAP_IMP_CVE,
MT_ITT_IMP_CVE AS MT_ITT_IMP_CVE,
MT_GLB_IMP AS MT_GLB_IMP,
MT_GLB_IMP_CVE AS MT_GLB_IMP_CVE,
MT_BN_INST AS MT_BN_INST,
MT_BN_INST_CVE AS MT_BN_INST_CVE,
MT_BN_NV AS MT_BN_NV,
MT_BN_NV_CVE AS MT_BN_NV_CVE,
S10.MT_ENMO + S5.MT_ENC_MOY AS MT_ENC_EFF,
MT_IMP AS MT_IMP,
MT_PROR AS MT_PROR,
MT_DEM AS MT_DEM,
MT_ITT_M AS MT_ITT_M,
(S6.IDT_ETT_CTR_LIG == '' ? (S6.MT_NAL_BIL + S6.MT_AUT) :'99') AS MT_NAL_LIG;
STORE S28 INTO '$PathDataWorkingFile' USING CSVExcelStorage(',', 'YES_MULTILINE');

Can't get a simple login page on Cas server (critical)

i got some trouble to get Cas Server (3.5.2) works.
i am on WebLogic 10.3.5.
I did several things :
removed : log4j-over-slf4j-1.6.1.jar ( conflict with this jar and slf4j-log4j.jar )
add to my weblogic.xml :
<prefer-application-packages>
<package-name>org.apache.xerces.*</package-name>
</prefer-application-packages>
for a good parsing of XMLs files
explicitly declare hibernate validator 4.x :
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>4.3.1.Final</version>
</dependency>
But it still doesn't display a login page. I've got a
CAS is Unavailable
There was an error trying to complete your request. Please notify your support desk or try again.
There is my log :
org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'viewLoginForm' of flow 'login'
at org.springframework.webflow.engine.impl.FlowExecutionImpl.wrap(FlowExecutionImpl.java:571)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:229)
at org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:140)
at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:193)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody2(SafeDispatcherServlet.java:128)
at org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody3$advice(SafeDispatcherServlet.java:58)
at org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:1)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:63)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: java.lang.IllegalStateException: Exception resolving view with name 'casLoginView'
at org.springframework.webflow.mvc.builder.DelegatingFlowViewResolver.resolveView(DelegatingFlowViewResolver.java:55)
at org.springframework.webflow.mvc.view.AbstractMvcViewFactory.getView(AbstractMvcViewFactory.java:87)
at org.springframework.webflow.engine.ViewState.doEnter(ViewState.java:184)
at org.springframework.webflow.engine.State.enter(State.java:194)
at org.springframework.webflow.engine.Transition.execute(Transition.java:227)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)
at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105)
at org.springframework.webflow.engine.State.enter(State.java:194)
at org.springframework.webflow.engine.Transition.execute(Transition.java:227)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)
at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105)
at org.springframework.webflow.engine.State.enter(State.java:194)
at org.springframework.webflow.engine.Transition.execute(Transition.java:227)
at org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:51)
at org.springframework.webflow.engine.State.enter(State.java:194)
at org.springframework.webflow.engine.Transition.execute(Transition.java:227)
at org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:51)
at org.springframework.webflow.engine.State.enter(State.java:194)
at org.springframework.webflow.engine.Flow.start(Flow.java:535)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:366)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:225)
at org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:140)
at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:193)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody2(SafeDispatcherServlet.java:128)
at org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody3$advice(SafeDispatcherServlet.java:58)
at org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:1)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:63)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'casSamlServiceSuccessView': Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/jasig/cas/web/view/Saml10SuccessResponseView
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:997)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:914)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
at org.springframework.web.servlet.view.ResourceBundleViewResolver.initFactory(ResourceBundleViewResolver.java:254)
at org.springframework.web.servlet.view.ResourceBundleViewResolver.loadView(ResourceBundleViewResolver.java:194)
at org.springframework.web.servlet.view.AbstractCachingViewResolver.createView(AbstractCachingViewResolver.java:186)
at org.springframework.web.servlet.view.AbstractCachingViewResolver.resolveViewName(AbstractCachingViewResolver.java:103)
at org.springframework.webflow.mvc.builder.DelegatingFlowViewResolver.resolveView(DelegatingFlowViewResolver.java:51)
at org.springframework.webflow.mvc.view.AbstractMvcViewFactory.getView(AbstractMvcViewFactory.java:87)
at org.springframework.webflow.engine.ViewState.doEnter(ViewState.java:185)
at org.springframework.webflow.engine.State.enter(State.java:195)
at org.springframework.webflow.engine.Transition.execute(Transition.java:228)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)
at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105)
at org.springframework.webflow.engine.State.enter(State.java:195)
at org.springframework.webflow.engine.Transition.execute(Transition.java:228)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)
at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105)
at org.springframework.webflow.engine.State.enter(State.java:195)
at org.springframework.webflow.engine.Transition.execute(Transition.java:228)
at org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:52)
at org.springframework.webflow.engine.State.enter(State.java:195)
at org.springframework.webflow.engine.Transition.execute(Transition.java:228)
at org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:52)
at org.springframework.webflow.engine.State.enter(State.java:195)
at org.springframework.webflow.engine.Flow.start(Flow.java:536)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:366)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:225)
at org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:141)
at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:193)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:779)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody2(SafeDispatcherServlet.java:128)
at org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody3$advice(SafeDispatcherServlet.java:58)
at org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:1)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:89)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: java.lang.NoClassDefFoundError: org/jasig/cas/web/view/Saml10SuccessResponseView
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
at org.springframework.web.servlet.view.ResourceBundleViewResolver.initFactory(ResourceBundleViewResolver.java:251)
at org.springframework.web.servlet.view.ResourceBundleViewResolver.loadView(ResourceBundleViewResolver.java:194)
at org.springframework.web.servlet.view.AbstractCachingViewResolver.createView(AbstractCachingViewResolver.java:186)
at org.springframework.web.servlet.view.AbstractCachingViewResolver.resolveViewName(AbstractCachingViewResolver.java:103)
at org.springframework.webflow.mvc.builder.DelegatingFlowViewResolver.resolveView(DelegatingFlowViewResolver.java:50)
at org.springframework.webflow.mvc.view.AbstractMvcViewFactory.getView(AbstractMvcViewFactory.java:87)
at org.springframework.webflow.engine.ViewState.doEnter(ViewState.java:184)
at org.springframework.webflow.engine.State.enter(State.java:194)
at org.springframework.webflow.engine.Transition.execute(Transition.java:227)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)
at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105)
at org.springframework.webflow.engine.State.enter(State.java:194)
at org.springframework.webflow.engine.Transition.execute(Transition.java:227)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:393)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:119)
at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:555)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:388)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)
at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105)
at org.springframework.webflow.engine.State.enter(State.java:194)
at org.springframework.webflow.engine.Transition.execute(Transition.java:227)
at org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:51)
at org.springframework.webflow.engine.State.enter(State.java:194)
at org.springframework.webflow.engine.Transition.execute(Transition.java:227)
at org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:51)
at org.springframework.webflow.engine.State.enter(State.java:194)
at org.springframework.webflow.engine.Flow.start(Flow.java:535)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:366)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:225)
at org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:140)
at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:193)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody2(SafeDispatcherServlet.java:128)
at org.jasig.cas.web.init.SafeDispatcherServlet.service_aroundBody3$advice(SafeDispatcherServlet.java:58)
at org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:1)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:63)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
I printed out some trace, dunno if it's usefull :
2013-05-28 10:41:15,754 DEBUG [org.quartz.core.JobRunShell] - <Calling execute on job DEFAULT.serviceRegistryReloaderJobDetail>
2013-05-28 10:41:15,754 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Reloading registered services.>
2013-05-28 10:41:15,754 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Reloading registered services.>
2013-05-28 10:41:15,754 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 1 services.>
2013-05-28 10:41:15,754 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 1 services.>
Any workaround or solution would be great.
Even if i need to downgrade CAS Server.
It looks like your login page view is not found : do you have any customization of your CAS server ?