Project

General

Profile

Actions

Feature #643

closed

viewstack.php remove particles button

Added by Gabriel Lander over 14 years ago. Updated over 14 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
06/08/2010
Due date:
% Done:

0%

Estimated time:

Description

several people in our lab have spent hours removing particles from stacks using viewstack.php, but unfortunately when they click on the "remove particles" button, they get a message:
"Request-URI TOO Large
The requested URL's length exceeds the capacity limit for this server."
This is obviously because there are thousands of particles listed in the url. Is there a better way to pass this particle list to the substack.py script? Perhaps these particles should be put into an array and then saved as a file that's fed to substack.py?
I'm happy to work on this, I just want your thoughts on what a good solution is.
here's an example of one problematic url:

http://appion.qb3.berkeley.edu/processing/subStack.php?expId=358&sId=82&exclude=19335,19286,19321,19320,19300,19353,19290,19289,19267,19265,19283,19308,19314,19313,19292,19316,19315,19220,19210,19233,19227,19228,19230,19229,19182,19181,19180,19156,19135,19136,19090,19089,19097,19147,19146,19184,19170,19169,19148,19108,19087,19196,19195,19202,19201,19246,19245,19075,19103,19127,19120,19236,19242,19251,19252,19253,19254,19192,19212,19206,19185,19062,19061,19018,18952,18972,19055,19054,19053,19031,19007,19013,19009,19010,18965,18966,18905,18904,18908,18910,18909,18915,19038,19045,19004,18954,18974,18973,18994,18990,18989,19032,19011,19012,19047,18928,18933,18934,18935,18953,18932,18789,18806,18785,18807,18829,18828,18827,18805,18804,18802,18781,18778,18779,18780,18824,18823,18845,18846,18868,18867,18866,18839,18774,18885,18886,18893,18833,18758,18759,18760,18761,18741,18740,18719,18718,18717,18736,18735,18737,18671,18651,18650,18630,18629,18631,18611,18612,18613,18614,18615,18594,18593,18592,18571,18653,18674,18697,18676,18583,18562,18538,18517,18520,18541,18529,18440,18481,18398,18454,18539,18559,18522,18501,18484,18483,18463,18443,18469,18425,18426,18557,18556,18555,18558,18581,18521,18500,18415,18449,18429,18408,18510,18420,18400,18401,18417,18291,18261,18242,18243,18241,18240,18357,18371,18231,18232,18290,18289,18288,18287,18286,18282,18337,18395,18353,18352,18321,18320,18222,18219,18218,18217,18168,18147,18148,18108,18183,18204,18206,18132,18111,18090,18069,18061,18174,18120,18080,18176,18180,18211,18228,18005,17964,17965,17925,17923,17924,18001,18019,18022,18023,18024,18051,17959,17918,17917,18018,18039,18040,18060,17978,17977,17982,17981,17983,18032,17933,17932,17909,17890,17866,17842,17758,17759,17815,17816,17851,17850,17769,17892,17880,17877,17857,17838,17839,17798,17753,17755,17752,17788,17787,17655,17674,17673,17650,17669,17668,17689,17690,17712,17713,17717,17718,17738,17599,17578,17577,17598,17557,17683,17704,17653,17652,17701,17660,17682,17585,17590,17635,17633,17596,17593,17594,17595,17638,17694,17625,17622,17603,17483,17461,17458,17436,17480,17500,17555,17573,17571,17552,17530,17471,17450,17439,17418,17420,17419,17410,17495,17456,17455,17568,17470,17511,17463,17429,17356,17355,17334,17314,17293,17292,17313,17286,17269,17382,17380,17402,17401,17305,17304,17296,17297,17276,17275,17300,17321,17342,17361,17340,17357,17376,17397,17247,17250,17119,17115,17180,17165,17164,17189,17188,17107,17125,17203,17204,17202,17201,17179,17209,17210,17215,17111,17100,17140,17141,17168,17167,17066,17065,17024,17027,17008,16987,16967,16979,17000,17034,17033,17032,17031,17035,17036,17058,16975,16976,16955,17038,17017,17062,17013,16997,16998,16963,17085,16972,16855,16919,16891,16871,16850,16810,16831,16852,16851,16912,16886,16885,16827,16867,16779,16804,16877,16922,16904,16927,16863,16764,16763,16615,16656,16658,16681,16660,16686,16704,16745,16725,16769,16751,16730,16709,16666,16664,16663,16670,16649,16691,16790,16782,16738,16759,16717,16750,16633,16575,16530,16486,16492,16471,16604,16479,16522,16516,16495,16458,16601,16622,16556,16572,16573,16594,16593,16614,16444,16545,16521,16547,16546,16494,16493,16473,16512,16506,16468,16476,16526,16484,16600,16598,16416,16371,16324,16389,16374,16373,16353,16337,16294,16383,16431,16307,16286,16287,16288,16322,16357,16440,16437,16436,16442,16317,16313,16314,16311,16226,16135,16177,16216,16215,16234,16218,16198,16180,16113,16206,16205,16241,16264,16265,16244,16248,16231,16166,16140,16254,16194,16197,16118,16026,16045,16079,16077,16078,16080,16075,16076,16074,16072,16071,16073,15994,15993,15992,16001,16000,15999,15947,15945,15944,16004,16007,16069,16070,16090,16089,16126,16051,15963,15981,15835,15856,15855,15815,15883,15906,15867,15849,15809,15810,15771,15905,15853,15817,15798,15778,15864,15863,15887,15865,15943,15893,15875,15848,15869,15844,15783,15784,15838,15672,15673,15651,15693,15694,15715,15753,15708,15655,15633,15676,15723,15724,15641,15640,15618,15685,15684,15740,15696,15674,15586,15603,15691,15738,15768,15726,15690,15623,15687,15666,15631,15524,15441,15527,15526,15589,15588,15544,15521,15498,15489,15490,15493,15492,15535,15555,15576,15516,15517,15514,15476,15432,15458,15461,15587,15600,15578,15539,15538,15486,15446,15412,15384,15363,15368,15317,15376,15377,15378,15362,15318,15442,15409,15410,15408,15380,15335,15334,15336,15309,15329,15328,15262,15261,15278,15277,15245,15224,15217,15196,15195,15161,15232,15233,15190,15215,15272,15275,15255,15256,15257,15293,15267,15162,15163,15164,15165,15144,15145,15166,15169,15174,15197,15180,15179,15181,15200,15260,15259,15281,15283,15323,15264,15213,15193,15194,15155,15103,15121,15040,15061,15108,15129,15087,15105,15104,15126,15125,15127,15072,15028,15009,15010,15011,15139,15138,15135,15134,15122,15083,15095,15077,15076,15073,15067,15068,15066,15062,15046,15047,14995,14996,14997,15001,15006,15007,14946,14967,14949,14844,14888,14882,14836,14880,14839,14840,14829,14874,14854,14853,14875,14954,14890,14848,14827,14815,14818,14823,14885,14884,14948,14964,14966,14957,14956,14934,14895,14896,14795,14735,14774,14637,14641,14645,14654,14689,14688,14686,14752,14731,14758,14766,14764,14785,14786,14787,14803,14804,14678,14674,14673,14672,14651,14663,14705,14682,14522,14503,14530,14551,14507,14508,14538,14575,14554,14574,14495,14496,14471,14478,14610,14586,14568,14544,14514,14469,14349,14374,14373,14400,14425,14416,14395,14432,14412,14329,14328,14331,14310,14309,14311,14420,14429,14364,14307,14346,14455,14459,14356,14357,14223,14174,14237,14236,14251,14206,14264,14265,14245,14260,14196,14083,14103,14122,14113,14055,14034,14054,14029,14028,14019,14020,14107,14006,14124,14145,14168,14167,13993,14012,14011,14077,14040,13956,13959,13846,13828,13860,13885,13945,13924,13989,13952,13951,13931,13912,13890,13871,13872,13877,13856,14002,13981,13982,13978,13892,13930,13929,13928,13879,13898,13876,13837,13827,13714,13735,13757,13739,13737,13719,13678,13720,13674,13673,13675,13652,13771,13772,13705,13727,13706,13795,13786,13767,13779,13595,13493,13583,13603,13600,13482,13631,13556,13516,13617,13665,13664,13668,13627,13594,13615,13654,13550,13530,13490,13469,13468,13448,13400,13480,13459,13458,13403,13404,13405,13406,13407,13408,13409,13430,13429,13427,13428,13426,13425,13474,13497,13498,13491,13471,13449,13424,13402,13390,13399,13486,13485,13339,13357,13352,13364,13284,13286,13289,13303,13308,13307,13272,13293,13251,13220,13218,13217,13240,13257,13233,13213,13211,13311,13227,13262,13276,13275,13274,13273,13253,13280,13279,13348,13229,13136,13064,13146,13172,13058,13057,13056,13093,13134,13133,13089,13154,13143,13122,13125,13178,13082,12931,12980,12981,13002,13020,12941,12942,12908,12929,12969,12993,12992,12962,12984,12900,12965,12964,12963,13018,13007,13006,13045,12937,12883,12886,12932,12933,12953,12952,12973,12989,12990,12987,12918,12895,12882,12884,12814,12802,12781,12845,12753,12857,12856,12820,12824,12825,12766,12767,12751,12731,12732,12675,12674,12647,12646,12703,12676,12680,12681,12652,12653,12633,12672,12693,12694,12695,12696,12715,12738,12759,12605,12584,12637,12615,12616,12595,12594,12626,12720,12741,12740,12744,12723,12519,12520,12462,12414,12415,12474,12497,12498,12526,12546,12547,12545,12567,12566,12568,12569,12570,12532,12531,12533,12512,12555,12448,12447,12426,12450,12430,12472,12451,12452,12467,12468,12466,12481,12418,12516,12495,12496,12479,12501,12500,12563,12564,12544,12543,12541,12542,12577,12509,12489,12510,12485,12464,12478,12539,12292,12313,12334,12355,12376,12397,12382,12361,12340,12319,12298,12256,12360,12359,12317,12318,12339,12338,12363,12299,12296,12358,12357,12396,12395,12375,12374,12393,12330,12309,12288,12267,12268,12271,12272,12251,12250,12265,12266,12219,12214,12194,12177,12157,12158,12156,12152,12154,12171,12150,12151,12100,12144,12102,12101,12080,12097,12187,12226,12249,12184,12185,12153,12255,11941,11920,11962,11984,11981,11980,11979,11951,11950,11928,11907,11913,11934,11955,11976,12018,12040,12049,12031,12032,11921,11937,12045,12046,11997,11823,11830,11802,11781,11782,11788,11789,11809,11806,11807,11877,11756,11748,11749,11811,11792,11772,11773,11873,11901,11779,11777,11755,11858,11795,11717,11665,11667,11706,11703,11700,11618,11639,11641,11644,11643,11664,11699,11681,11685,11686,11687,11666,11671,11696,11731,11707,11678,11729,11534,11537,11557,11558,11550,11553,11554,11476,11497,11496,11498,11499,11482,11548,11547,11589,11568,11567,11586,11606,11605,11624,11623,11603,11578,11560,11539,11518,11474,11475,11511,11490,11532,11541,11483,11468,11471,11574,11348,11323,11303,11425,11408,11449,11448,11375,11354,11333,11376,11418,11396,11377,11355,11313,11311,11310,11349,11329,11423,11392,11363,11362,11361,11340,11405,11406,11336,11315,11381,11420,11419,11255,11233,11232,11211,11145,11146,11116,11137,11237,11216,11200,11157,11158,11165,11182,11203,11235,11238,11239,11243,11244,11242,11246,11253,11254,11275,11259,11278,11113,11133,11118,11122,11205,11207,11228,11209,11234,11213,11267,10942,11007,11006,11011,11012,11013,11055,11097,11077,11076,11095,11094,11026,11025,11018,11024,11087,11080,10953,11036,11046,10944,10890,10889,10869,10870,10871,10875,10876,10906,10905,10907,10928,10927,10926,10924,10904,10837,10816,10795,10794,10776,10777,10778,10779,10788,10678,10679,10677,10676,10675,10674,10718,10739,10738,10717,10714,10735,10653,10652,10747,10748,10730,10742,10628,10733,10561,10560,10559,10580,10558,10533,10493,10492,10494,10483,10463,10464,10524,10525,10545,10566,10587,10586,10585,10567,10573,10553,10530,10592,10593,10614,10612,10549,10527,10503,10526,10622,10645,10522,10453,10432,10409,10406,10426,10402,10401,10377,10378,10379,10344,10346,10394,10342,10341,10396,10440,10312,10315,10347,10327,10328,10388,10387,10367,10384,10207,10288,10298,10277,10214,10153,10193,10203,10242,10239,10238,10218,10219,10246,10279,10256,10273,10252,10253,10254,10272,10230,10189,10168,10143,10281,10236,10235,10234,10308,10225,10224,10226,10184,10274,10117,10116,10115,10140,10139,10134,10108,10043,10051,10050,10113,10159,10054,10034,9958,9906,9905,9885,9882,9863,9875,9895,9894,9946,9993,10004,9956,9955,9874,9851,9850,9884,9944,9755,9735,9709,9749,9816,9840,9783,9757,9718,9706,9788,9805,9671,9669,9643,9644,9621,9620,9619,9622,9623,9581,9655,9612,9611,9687,9648,9717,9712,9665,9502,9499,9478,9476,9471,9472,9496,9494,9517,9556,9538,9459,9423,9443,9465,9527,9509,9553,9550,9546,9525,9564,9475,9474,9453,9409,9408,9421,9442,9463,9441,9487,9316,9321,9322,9320,9319,9376,9392,9366,9369,9370,9349,9347,9309,9355,9377,9400,9401,9405,9406,9386,9339,9335,9297,9275,9283,9324,9332,9390,9417,9361,9302,9290,9270,9268,9232,9210,9148,9150,9127,9164,9140,9118,9116,9138,9139,9136,9156,9158,9159,9224,9204,9247,9248,9246,9227,9225,9226,9182,9183,9205,9273,9233,9234,9257,9254,9191,9192,9212,9211,9153,9154,9176,9146,9178,9177,9241,9240,9262,9185,9072,8969,8929,8949,8988,8991,9047,9039,8943,8942,8934,9032,8993,8977,8833,8830,8829,8806,8804,8801,8823,8824,8803,8780,8779,8904,8867,8846,8890,8916,8938,8899,8790,8774,8775,8769,8789,8766,8765,8786,8825,8871,8795,8725,8704,8616,8615,8577,8645,8624,8691,8687,8644,8587,8695,8675,8678,8679,8656,8637,8638,8661,8642,8727,8686,8746,8747,8722,8715,8716,8694,8614,8634,8575,8582,8690,8752,8703,8555,8533,8449,8406,8549,8541,8488,8489,8423,8350,8283,8284,8263,8238,8240,8362,8323,8307,8328,8329,8409,8408,8407,8405,8404,8403,8276,8259,8265,8374,8417,8312,8273,8290,8291,8202,8177,8199,8126,8142,8155,8175,8191,8214,8216,8066,8090,8074,8083,8082,8182,8183,8180,8181,8139,8176,8127,8222,8223,8241,8133,8112,8113,8105,8015,7975,7913,7944,7920,8030,8027,8025,7981,8002,7950,7906,7926,7948,7970,7971,7972,7986,8004,7897,7898,7902,7903,7997,7996,7977,7978,7911,7910,7974,7976,7846,7761,7808,7827,7871,7850,7756,7755,7758,7757,7754,7753,7796,7805,7806,7804,7786,7787,7788,7752,7751,7731,7733,7699,7598,7597,7705,7676,7695,7607,7589,7611,7640,7600,7648,7655,7657,7678,7549,7548,7527,7528,7514,7442,7513,7531,7440,7481,7465,7439,7468,7492,7494,7496,7576,7577,7495,7339,7323,7324,7226,7331,7254,7255,7253,7319,7183,7018,7074,7075,7033,7176,6961,6941,6921,6949,6858,6934,6979,6958,6900,6905,6884,6904,6925,6870,6892,6792,6769,6768,6705,6802,6671,6708,6703,6746,6724,6687,6609,6612,6611,6563,6581,6579,6639,6638,6668,6623,6577,6578,6453,6472,6459,6529,6544,6498,6515,6513,6496,6516,6405,6441,6421,6373,6352,6361,6333,6336,6388,6416,6432,6344,6345,6346,6326,6434,6395,6370,6371,6429,6251,6188,6186,6189,6227,6205,6301,6243,6222,6201,6200,6179,6158,6286,6208,6214,6159,6160,6259,6221,6288,6302,6232,6173,6166,6080,6102,6103,6104,6058,6056,6055,6054,6057,6140,6094,6036,6106,6130,6131,6151,6105,6085,6026,6041,6073,6072,6071,6070,6096,6136,6017,6053,6011,5928,5880,5902,5905,5888,5912,5933,5974,5975,5973,5990,5921,5914,5867,5866,5864,5865,5862,5849,5957,5936,5915,5894,5873,5852,5978,5954,5952,5953,5972,5996,5999,6020,6018,6002,5883,5882,5840,5845,5844,5833,5772,5768,5706,5710,5711,5664,5743,5722,5735,5734,5733,5798,5797,5803,5804,5805,5807,5757,5670,5724,5723,5729,5750,5730,5745,5744,5725,5726,5758,5655,5656,5813,5782,5781,5577,5514,5512,5509,5510,5511,5547,5551,5527,5481,5571,5601,5600,5599,5581,5582,5585,5626,5642,5638,5619,5616,5593,5629,5568,5492,5597,5565,5484,5403,5424,5404,5368,5347,5343,5358,5379,5440,5439,5442,5447,5445,5434,5415,5416,5417,5476,5453,5431,5386,5341,5342,5385,5446,5448,5495,5457,5438,5369,5237,5240,5241,5242,5286,5309,5279,5278,5277,5258,5256,5239,5218,5282,5303,5299,5320,5294,5272,5236,5168,5216,5266,5267,5269,5270,5268,5333,5285,5265,5244,5245,5200,5296,5295,5211,5232,5231,5188,5089,5069,5049,5048,5063,5148,5153,5154,5139,5140,5115,5094,5078,5057,5079,5059,5077,5076,5055,5031,4987,4990,4969,4991,4975,4952,4922,4925,4939,4998,4964,4965,4944,4943,5006,4961,4896,5039,4907,4999,4960,4959,4958,4814,4816,4838,4817,4841,4862,4861,4859,4877,4876,4791,4790,4728,4767,4706,4776,4753,4781,4762,4785,4765,4766,4799,4820,4843,4864,4848,4827,4835,4733,4756,4757,4695,4694,4569,4570,4590,4582,4581,4586,4563,4564,4544,4542,4545,4575,4576,4672,4652,4669,4537,4538,4539,4662,4568,4524,4502,4482,4461,4441,4420,4399,4413,4501,4535,4556,4540,4519,4411,4392,4464,4378,4342,4341,4291,4290,4265,4264,4244,4272,4346,4258,4279,4297,4275,4254,4253,4296,4300,4338,4247,4249,4248,4269,4270,4268,4289,4217,4101,4106,4107,4150,4095,4148,4143,4229,4228,4192,4193,4176,4157,4135,4124,4123,4105,4004,3977,3979,3971,3995,3994,3974,4040,4056,4026,4027,3985,4069,4048,4049,4092,3989,3836,3817,3816,3815,3789,3870,3911,3935,3953,3932,3907,3950,3890,3807,3808,3837,3838,3943,3922,3901,3900,3878,3857,3856,3877,3921,3899,3902,3749,3728,3727,3699,3700,3679,3660,3639,3640,3689,3668,3647,3745,3744,3742,3720,3721,3697,3769,3770,3736,3754,3755,3756,3693,3691,3692,3703,3705,3787,3804,3561,3581,3540,3503,3462,3620,3576,3533,3553,3554,3512,3536,3552,3551,3550,3484,3480,3447,3426,3425,3367,3366,3365,3349,3328,3350,3355,3404,3383,3403,3342,3405,3343,3319,3320,3318,3386,3387,3380,3337,3327,3326,3325,3375,3181,3261,3262,3259,3269,3212,3243,3103,3105,3121,3114,3115,3116,3073,3011,3072,3154,3133,3069,3029,3031,3032,3059,3058,3057,3075,3095,3100,3101,3099,3094,3093,3088,3087,3041,3036,2996,2975,2976,2956,2935,2966,2965,2944,2945,2968,2947,2867,2866,2983,3005,2991,2914,2872,2890,2911,2912,2858,2879,2857,2860,2900,2862,2747,2771,2792,2741,2724,2725,2689,2738,2737,2800,2784,2728,2727,2810,2812,2794,2793,2714,2824,2612,2641,2621,2656,2626,2605,2570,2591,2564,2649,2650,2623,2645,2665,2683,2678,2572,2602,2607,2586,2551,2530,2509,2503,2502,2524,2436,2441,2442,2471,2472,2492,2576,2557,2534,2536,2512,2511,2527,2526,2507,2548,2523,2543,2438,2405,2384,2353,2355,2397,2398,2316,2318,2339,2319,2410,2409,2400,2332,2290,2311,2269,2312,2340,2298,2297,2222,2201,2196,2219,2199,2198,2210,2230,2252,2165,2143,2253,2249,2183,2095,2094,2146,2145,2044,1921,1896,1897,1893,1914,1955,1932,1988,1989,1957,1775,1809,1748,1750,1854,1794,1842,1780,1861,1841,1910,1838,1826,1691,1692,1711,1732,1733,1735,1693,1653,1654,1622,1599,1661,1667,1602,1581,1698,1678,1637,1727,1638,1575,1569,1590,1611,1612,1568,1547,1564,1528,1524,1545,1479,1500,1478,1522,1523,1520,1428,1434,1433,1442,1443,1446,1554,1565,1503,1455,1456,1457,1516,1493,1510,1468,1308,1309,1307,1288,1269,1346,1367,1366,1387,1388,1413,1392,1333,1337,1338,1299,1296,1295,1381,1363,1315,1292,1438,1417,1249,1248,1208,1235,1234,1238,1200,1199,1201,1203,1202,1204,1286,1287,1239,1219,1313,1298,1082,1081,1140,1119,1158,1179,1134,1092,1095,1077,1111,1112,1133,1188,1167,1116,1098,1076,1186,1114,1093,1097,1059,1060,1072,1050,1173,997,998,996,995,993,1038,974,973,946,949,929,905,931,1000,1022,1048,1042,1036,1011,1035,1014,1009,1008,991,975,828,761,782,774,836,815,807,808,888,889,829,749,750,751,755,754,736,735,719,638,663,647,648,671,592,593,684,654,530,494,473,429,420,421,422,426,528,488,430,396,353,354,306,341,347,324,383,381,401,297,371,409,386,364,393,392,323,282,259,258,192,271,293,272,188,184,164,231,255,131,152,134,154,133,175,196,245,266,205,160,96,89,73,53,52,80,79,115,114,111,57,116


Related issues 1 (1 open0 closed)

Is duplicate of Appion - Bug #414: substack.py can get a "word too long" error if the particle list gets long.New05/02/2010

Actions
Actions

Also available in: Atom PDF