Forum Replies Created

Viewing 15 replies - 16 through 30 (of 180 total)
  • Thread Starter luhmann

    (@luhmann)

    When I do that all the recent comments disappear and it says there are none to display.

    It isn’t easy for me to post screenshots from work, I’ll do this later, when I get home.

    Thread Starter luhmann

    (@luhmann)

    Excellent. Also I see that the app is no longer stopping at the errors, but continuing to process additional entries after posting an error report. I think I can go ahead and deploy this plugin on the live version of the site.

    你是一個很棒的軟體工程師!謝謝你的幫助。

    Thread Starter luhmann

    (@luhmann)

    This is great. Thanks. With this error reporting I am now able to run it in batches, knowing that I’ve gotten all the posts except for those with errors – and I also have a clear idea of where the errors are.

    My only request now would be to suppress the output of all the items with “No remote images found” status reports. Instead showing only those that have missing images (or other important status reports). This would make it easier to see what issues need to be addressed. Otherwise one might have to scroll through a lot of data to find the errors and it is possible to miss them.

    Thread Starter luhmann

    (@luhmann)

    Finally i crossed the great firewall, and copied whole codes to tested, still nothing wrong.

    I’m confused..

    So am I. But it doesn’t really matter, as long as I can simply finish the process (using post numbers) making a note of the ID numbers (which the debug code already provides) that cause problems for later debugging.

    Thread Starter luhmann

    (@luhmann)

    The debug system shows the “post id” but I’d like the “post number.” That is, if I tell QQ to work on the first 10 posts I’ll get something like this:

    20
    45
    35
    47
    48
    49
    .
    .
    .
    56

    If the bug is at id# 45 the post number is actually 2, so the next time I run I can tell it to start at number 3 and run for 10, skipping 2. But if I tell it to do ID#46-55 it will skip #35!

    I hope that explains better why it would be good to know the number of entries processed before the bug and not just the ID of the bug. Especially if it has run for a few hundred.

    Sorry the GFW is causing problems. You can try here:

    http://hastebin.com/kimapiduho.xml

    I agree that this might not be an error with the post content. But the standard MySQL commands for fixing DB errors don’t seem to have helped either…

    Thread Starter luhmann

    (@luhmann)

    Very strange. Fixing my database didn’t help either…

    Here is the cleaned up code for the post, if you want to see:

    http://pastebin.com/1pcXhv9p

    Thread Starter luhmann

    (@luhmann)

    Thread Starter luhmann

    (@luhmann)

    So 1.5.7.2 finished its run. Two important notes:

    1. It didn’t finish – it still stopped with 3115. This is true even though I cleaned up the code in 3115. I suspect there may be a database error. I will try to run some DB maintenance on my MySQL database to see if that helps. Still not clear what the post number (as opposed to the post ID) is of this entry.

    2. I really like that my list was not cleared. I can now see that many posts contain missing images. It would be nice to have a concise report with these posts listed, as it can be hard to see them among the hundreds of posts that were scanned.

    3. All of this information is really useful. Running a WP site over time leads to some problems and it is great to be able to go back and debug them like this. You might consider adding checking for broken links and release something like this as a general WP debugging/maintenance plugin.

    Thread Starter luhmann

    (@luhmann)

    Here is the raw code of the post linked above:

    http://pastebin.com/LSEMNNpD

    The link again:

    http://savageminds.org/2010/01/20/place-hacking/

    I removed the [gallery] shortcode (which is outdated?) and also ran the page through a filter to remove all the span elements and embedded style information. I suspect this will fix the problem, but I’m waiting for the 1.5.7.2 run to complete and it will take a while…

    Thread Starter luhmann

    (@luhmann)

    I tried a larger scale test of the new bug reporting. My goal is to scan all entries, skipping the ones that are causing problems and making a note of them. However, the current implementation of the plugin makes it difficult. If I start at the beginning and try to scan all of the posts (in increments of 10) it goes until it gets an error (the same one that appears above) and then stops. Actually, the error is only caused by 1 of the 10 entries listed there, but that isn’t a big problem. What is a problem is trying to complete the task after this is done. I’m simply not clear how to proceed? The thing is that “offset” interface currently wants the post number but the bug report gives me the post ID. This is a problem because there are posts with higher “post numbers” that have lower “post ID.” It would be best if I could start at the last post number after the error happened, but unfortunately the error report clears the list and so I can’t see where the process ended.

    Short version: is it possible to get the error report to also list the post number (as well as the IDs)?

    Thread Starter luhmann

    (@luhmann)

    It gave me this reply:

    May be a problem with some posts: 3022, 3034, 3061, 3073, 3075, 3084, 3093, 3103, 3115, 3145
    readyState: 4
    responseText:
    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, www@ and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    status: 500
    error: Internal Server Error

    I went back and did this range as a manual scan. Of these, only 3115 actually had an image. When I tried that one manually it gave me the same message with only that ID listed.

    This is useful for me. I am unable to figure out what is wrong with that post, but at least I can skip it and keep a record of what posts are causing problems. Thanks.

    Thread Starter luhmann

    (@luhmann)

    In 1.5.7 it still seems to stall indefinitely when it hits something it can’t process.

    I’m happy to continue to help testing this. I am using it on a test install, not the actual website till the issue is worked out.

    Thread Starter luhmann

    (@luhmann)

    PS: Error message “Including remote images those not exist.” should say “Included image files that do not exist.” or “Includes links to image files that could not be found.” or simply “Has missing images.”

    Thread Starter luhmann

    (@luhmann)

    Thanks.

    I think the one that didn’t have an image wasn’t the problematic one, but the one afterwards. It can be hard to tell which posts are actually causing problems because the ID numbers of those posts never appears. What would be good would be when, if a post is taking longer than expected to process, QQWorld asked the user if they would like to skip that one – or just automatically skipped it and then reported at the end which ones were skipped.

    Thread Starter luhmann

    (@luhmann)

    This one also seems to have caused problems, although I’m less clear why. (The use of a URL in the caption field?)

    http://savageminds.org/2011/07/18/the-anthropology-of-freedom-pt-4/

Viewing 15 replies - 16 through 30 (of 180 total)