Note that there are some explanatory texts on larger screens.

plurals
  1. POError, Putpkt write failed
    primarykey
    data
    text
    <p>Hi everyone I am dispalying remote images in tableview cell.While i scrolled through the images,delete one of them and reloaded them ,my application exited showing this warning message.</p> <pre><code> Ignoring packet error, continuing... gdb stack trace at 'putpkt: write failed': 0 gdb-arm-apple-darwin </code></pre> <p>0x0019026b remote_backtrace_self + 54</p> <pre><code>recent remote packets prior to 'putpkt: write failed': </code></pre> <p>The code for TableView Cell images is</p> <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *celltype=@"cell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:celltype]; if (cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"cell"] autorelease]; cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; cell.backgroundColor=[UIColor clearColor]; //cell.textLabel.text=[[resultarray objectAtIndex:indexPath.row] valueForKey:@"Service"]; /*UIImage *indicatorImage = [UIImage imageNamed:@"indicator.png"]; cell.accessoryView = [[[UIImageView alloc] initWithImage:indicatorImage] autorelease];*/ /*NSThread *thread=[[NSThread alloc]initWithTarget:self selector:@selector() object:nil]; [thread setStackSize:44]; [thread start];*/ cell.backgroundView=[[[UIImageView alloc]initWithImage:[UIImage imageNamed:@"cell.png"]]autorelease]; // [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"back.png"]] autorelease]; cell.selectionStyle=UITableViewCellSelectionStyleNone; } UIImageView *imageView= [[UIImageView alloc] initWithFrame:CGRectMake(19, 15, 75, 68)]; imageView.contentMode = UIViewContentModeScaleToFill; frameImagePath= [NSString stringWithFormat:@"http://XYZplayz.com/snapit/products/%@",[[productInfoArray objectAtIndex:indexPath.row]valueForKey:@"Image"]]; [imageView setImageWithURL:[NSURL URLWithString:frameImagePath]placeholderImage:[UIImage imageNamed:@"no_image.png"]]; [cell.contentView addSubview:imageView]; [imageView release]; imageView = nil; return cell; } </code></pre> <p>And the method i call to reload the data in table after deleting is</p> <pre><code> -(void)viewWillAppear:(BOOL)animated { spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]; spinner.center = self.view.center; [self.view addSubview:spinner]; [spinner startAnimating]; [[SnapItParsing sharedInstance]assignSender:self]; [[SnapItParsing sharedInstance]startParsingForShowProducts:appDel.userIdString]; } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload