[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: stripclub - Online Comic Reader/Archiver



Benjamin Cutler wrote:

Also, the downloading thing is very nice, but it would be nice to also include the current comics list in case the user can't get through to sourceforge.

Oops, that's what I get for hitting send too fast.

No worries, same problem on this end.



Another user sent me an e-mail just yesterday to let me know my program wasn't working with one comic (Perki Goth). She was very specific, supplied her debug log, and her .comic file. I was quickly able to create a bug fix, and released a fixed version of the program the same day. Just an example.

I've attached the debug log. In my first mail I was adding the issue as a footnote to what I thought were the bigger problems. Looks like this one is the biggie.

Regrettably I can't seem to find my .comic file (I think the download overwrote it, I called mine 'sluggy' as well)

HTH, I dare say I can recreate the file if the debug log isn't enough.

Out: Loading Comic: penny-arcade
Out: Loading Comic: sluggy
Out: Switching Comic: sluggy
Debug: Looking up host: sluggy.com
Debug: Bar Label: Looking up host...
Out: Switching Date: http://sluggy.com
Debug: Local: 1 Remote: 2
Debug: Bar Label: 
Debug: Bar Value: 0.0
Debug: Bar Label: Opening connection...
Debug: Requesting HEAD for URL: http://sluggy.com
Up: Sending HTTP request to: sluggy.com (A09F6A40)
Up: HEAD  HTTP/1.1
Host: sluggy.com
User-Agent: Strip Club/0.6.1
Accept: text/html,text/plain;q=0.9,image/jpeg,image/png,image/gif;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1;q=0.7
Accept-Encoding: 
Connection: close

Debug: Bar Label: Sending HEAD Request...
Debug: Bar Label: Awaiting HEAD Response...
Debug: Bar Label: Awaiting HEAD Response... (0s)
Debug: Bar Label: Awaiting HEAD Response... (0s)
MOut: Error retrieving HEAD, expected "HTTP/1.1 200 OK" but got "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">"
Debug: Bar Label: Unable to retrieve HEAD!
Out: Unable to retrieve HEAD for "http://sluggy.com";!
Debug: Bar Label: 
Debug: Bar Label: Arranging Images...
Debug: Arranging Images
Debug: Done Arranging
Debug: Bar Label: Loading Links...
Debug: Done switching
Debug: Bar Label: 
Out: Switching Comic: penny-arcade
Debug: Looking up host: penny-arcade.com
Debug: Bar Label: Looking up host...
Out: Switching Date: http://penny-arcade.com
Debug: Local: 1 Remote: 2
Debug: Bar Label: 
Debug: Bar Value: 0.0
Debug: Bar Label: Opening connection...
Debug: Requesting HEAD for URL: http://penny-arcade.com
Up: Sending HTTP request to: penny-arcade.com (9C2CD42)
Up: HEAD  HTTP/1.1
Host: penny-arcade.com
User-Agent: Strip Club/0.6.1
Accept: text/html,text/plain;q=0.9,image/jpeg,image/png,image/gif;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1;q=0.7
Accept-Encoding: 
Connection: close

Debug: Bar Label: Sending HEAD Request...
Debug: Bar Label: Awaiting HEAD Response...
Debug: Bar Label: Awaiting HEAD Response... (0s)
Debug: Bar Label: Awaiting HEAD Response... (0s)
MOut: Error retrieving HEAD, expected "HTTP/1.1 200 OK" but got "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">"
Debug: Bar Label: Unable to retrieve HEAD!
Out: Unable to retrieve HEAD for "http://penny-arcade.com";!
Debug: Bar Label: 
Debug: Clearing old Boxes
Debug: Cleared old Boxes
Debug: Bar Label: Arranging Images...
Debug: Arranging Images
Debug: Done Arranging
Debug: Bar Label: Loading Links...
Debug: Done switching
Debug: Bar Label: 
Out: Importing Comic: megatokyo
Debug: Importing name: Megatokyo
Debug: Importing baseurl: http://www.megatokyo.com/
Debug: Importing firsturl: http://www.megatokyo.com/?strip_id=1
Debug: Importing imgpattern: <img .*src="(.*strips/.*(png|jpg|gif))".*>
Debug: Importing linktype: tag
Debug: Importing prevpattern: <img .*src='http://www.megatokyo.com/parts/mt-bottom-prev.gif'.*>
Debug: Importing nextpattern: <img .*src='http://www.megatokyo.com/parts/mt-bottom-next.gif'.*>
Debug: Importing relativeurl: http://www.megatokyo.com/?strip_id=XXX
Debug: Importing category: Anime
Debug: Importing category: Anime
Out: Reloading Comics due to Import
Out: Loading Comic: megatokyo
Out: Loading Comic: penny-arcade
Out: Loading Comic: sluggy
Out: Switching Comic: megatokyo
Debug: Looking up host: www.megatokyo.com
Debug: Bar Label: Looking up host...
Out: Switching Date: http://www.megatokyo.com/
Debug: Local: 1 Remote: 2
Debug: Bar Label: 
Debug: Bar Value: 0.0
Debug: Bar Label: Opening connection...
Debug: Requesting HEAD for URL: http://www.megatokyo.com/
Up: Sending HTTP request to: www.megatokyo.com (5A3CF42)
Up: HEAD / HTTP/1.1
Host: www.megatokyo.com
User-Agent: Strip Club/0.6.1
Accept: text/html,text/plain;q=0.9,image/jpeg,image/png,image/gif;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1;q=0.7
Accept-Encoding: 
Connection: close

Debug: Bar Label: Sending HEAD Request...
Debug: Bar Label: Awaiting HEAD Response...
Debug: Bar Label: Awaiting HEAD Response... (0s)
Debug: Bar Label: Awaiting HEAD Response... (0s)
Debug: Bar Label: Awaiting HEAD Response... (0s)
Debug: Bar Label: Awaiting HEAD Response... (0s)
Debug: Bar Label: Awaiting HEAD Response... (0s)
Debug: Bar Label: Awaiting HEAD Response... (0s)
Debug: Bar Label: Awaiting HEAD Response... (0s)
Debug: Bar Label: Awaiting HEAD Response... (0s)
Debug: Bar Label: Awaiting HEAD Response... (0s)
Debug: Bar Label: Awaiting HEAD Response... (1s)
Debug: Bar Label: Awaiting HEAD Response... (1s)
Debug: Bar Label: Awaiting HEAD Response... (1s)
Debug: Bar Label: Awaiting HEAD Response... (1s)
Debug: Bar Label: Awaiting HEAD Response... (1s)
Debug: Bar Label: Awaiting HEAD Response... (1s)
Debug: Bar Label: Awaiting HEAD Response... (1s)
Debug: Bar Label: Awaiting HEAD Response... (1s)
Debug: Bar Label: Awaiting HEAD Response... (1s)
Debug: Bar Label: Awaiting HEAD Response... (1s)
Debug: Bar Label: Receiving HEAD response...
Down: Receiving HEAD response from: www.megatokyo.com
Down: HTTP/1.1 200 OK
Date: Fri, 09 Apr 2004 15:18:29 GMT
Server: Apache/1.3.27 (Unix) mod_gzip/1.3.19.1a PHP/4.3.1
X-Powered-By: PHP/4.3.1
Connection: close
Content-Type: text/html
Debug: ContentType = text/html

Debug: GrabHTTPLink() Return Value: temp.html
Debug: Bar Label: Opening connection...
Debug: Bar Label: Sending GET Request...
Out: Requesting URL: http://www.megatokyo.com/
Up: Sending HTTP request to: www.megatokyo.com
Up: GET / HTTP/1.1
User-Agent: Strip Club/0.6.1
Accept: text/html,text/plain;q=0.9,image/jpeg,image/png,image/gif;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1;q=0.7
Accept-Encoding: 
Host: www.megatokyo.com
Connection: close

Debug: Bar Label: Awaiting GET Response...
Debug: Bar Label: Awaiting GET Response... (0s)
Debug: Bar Label: Awaiting GET Response... (0s)
Debug: Bar Label: Awaiting GET Response... (0s)
Debug: Bar Label: Awaiting GET Response... (0s)
Debug: Bar Label: Awaiting GET Response... (0s)
Debug: Bar Label: Awaiting GET Response... (0s)
Down: Receiving GET response from: www.megatokyo.com
Debug: Bar Label: Receiving GET Response...
HTTP/1.1 200 OK
Date: Fri, 09 Apr 2004 15:18:34 GMT
Server: Apache/1.3.27 (Unix) mod_gzip/1.3.19.1a PHP/4.3.1
X-Powered-By: PHP/4.3.1
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html

Debug: Now receiving body
Debug: Chunked transfer
Debug: Bar Label: 
Debug: Chunkheader: f0b
Debug: Chunklength: 3851
Debug: Bar Label: index.html 2559
Debug: Bar Label: index.html 3851
Debug: Chunkheader: 197
Debug: Chunklength: 407
Debug: Bar Label: index.html 3940
Debug: Bar Label: index.html 4258
Debug: Chunkheader: ff5
Debug: Chunklength: 4085
Debug: Bar Label: index.html 5321
Debug: Bar Label: index.html 6709
Debug: Bar Label: index.html 8097
Debug: Bar Label: index.html 8343
Debug: Chunkheader: 40
Debug: Chunklength: 64
Debug: Bar Label: index.html 8407
Debug: Chunkheader: fd5
Debug: Chunklength: 4053
Debug: Bar Label: index.html 9472
Debug: Bar Label: index.html 10860
Debug: Bar Label: index.html 12248
Debug: Bar Label: index.html 12460
Debug: Chunkheader: 41
Debug: Chunklength: 65
Debug: Bar Label: index.html 12525
Debug: Chunkheader: ff3
Debug: Chunklength: 4083
Debug: Bar Label: index.html 13623
Debug: Bar Label: index.html 15011
Debug: Bar Label: index.html 16399
Debug: Bar Label: index.html 16608
Debug: Chunkheader: 42
Debug: Chunklength: 66
Debug: Bar Label: index.html 16674
Debug: Chunkheader: ff2
Debug: Chunklength: 4082
Debug: Bar Label: index.html 17774
Debug: Bar Label: index.html 20550
Debug: Bar Label: index.html 20756
Debug: Chunkheader: 3e
Debug: Chunklength: 62
Debug: Bar Label: index.html 20818
Debug: Chunkheader: fcc
Debug: Chunklength: 4044
Debug: Bar Label: index.html 21925
Debug: Bar Label: index.html 23313
Debug: Bar Label: index.html 24701
Debug: Bar Label: index.html 24862
Debug: Chunkheader: 40
Debug: Chunklength: 64
Debug: Bar Label: index.html 24926
Debug: Chunkheader: fec
Debug: Chunklength: 4076
Debug: Bar Label: index.html 26076
Debug: Bar Label: index.html 27464
Debug: Bar Label: index.html 28852
Debug: Bar Label: index.html 29002
Debug: Chunkheader: 4e
Debug: Chunklength: 78
Debug: Bar Label: index.html 29080
Debug: Chunkheader: fc6
Debug: Chunklength: 4038
Debug: Bar Label: index.html 30227
Debug: Bar Label: index.html 31615
Debug: Bar Label: index.html 33003
Debug: Bar Label: index.html 33118
Debug: Chunkheader: 40
Debug: Chunklength: 64
Debug: Bar Label: index.html 33182
Debug: Chunkheader: fd5
Debug: Chunklength: 4053
Debug: Bar Label: index.html 34378
Debug: Bar Label: index.html 35766
Debug: Bar Label: index.html 37154
Debug: Bar Label: index.html 37235
Debug: Chunkheader: 44
Debug: Chunklength: 68
Debug: Bar Label: index.html 37303
Debug: Chunkheader: ff6
Debug: Chunklength: 4086
Debug: Bar Label: index.html 38529
Debug: Bar Label: index.html 39917
Debug: Bar Label: index.html 41305
Debug: Bar Label: index.html 41389
Debug: Chunkheader: 34
Debug: Chunklength: 52
Debug: Bar Label: index.html 41441
Debug: Chunkheader: fd5
Debug: Chunklength: 4053
Debug: Bar Label: index.html 42680
Debug: Bar Label: index.html 44068
Debug: Bar Label: index.html 45456
Debug: Bar Label: index.html 45494
Debug: Chunkheader: 19d
Debug: Chunklength: 413
Debug: Bar Label: index.html 45907
Debug: Chunkheader: fa5
Debug: Chunklength: 4005
Debug: Bar Label: index.html 46830
Debug: Bar Label: index.html 48218
Debug: Bar Label: index.html 49606
Debug: Bar Label: index.html 49912
Debug: Chunkheader: 173
Debug: Chunklength: 371
Debug: Bar Label: index.html 50283
Debug: Chunkheader: 1a5
Debug: Chunklength: 421
Debug: Bar Label: index.html 50704
Debug: Chunkheader: 173b
Debug: Chunklength: 5947
Debug: Bar Label: index.html 50972
Debug: Bar Label: index.html 52360
Debug: Bar Label: index.html 55136
Debug: Bar Label: index.html 56524
Debug: Bar Label: index.html 56651
Debug: Chunkheader: 9dc
Debug: Chunklength: 2524
Debug: Bar Label: index.html 57905
Debug: Bar Label: index.html 59175
Debug: Chunkheader: 0
Debug: Chunklength: 0
Debug: Closed Socket
Debug: Bar Label: 
Out: Done with Request
Debug: Returning: temp.html
Debug: Parsing "temp.html" for comic images
Debug: Search Pattern: <img .*src="(.*strips/.*(png|jpg|gif))".*>
Out: Parsing for images
Out: Found Image: http://www.megatokyo.com/strips/0545.gif
Debug: Bar Label: 
Debug: Bar Value: 0.0
Debug: Bar Label: Opening connection...
Debug: Requesting HEAD for URL: http://www.megatokyo.com/strips/0545.gif
Up: Sending HTTP request to: www.megatokyo.com (5A3CF42)
Up: HEAD /strips/0545.gif HTTP/1.1
Host: www.megatokyo.com
Referer: http://www.megatokyo.com/
User-Agent: Strip Club/0.6.1
Accept: text/html,text/plain;q=0.9,image/jpeg,image/png,image/gif;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1;q=0.7
Accept-Encoding: 
Connection: close

Debug: Bar Label: Sending HEAD Request...
Debug: Bar Label: Awaiting HEAD Response...
Debug: Bar Label: Awaiting HEAD Response... (0s)
Debug: Bar Label: Awaiting HEAD Response... (0s)
Debug: Bar Label: Receiving HEAD response...
Down: Receiving HEAD response from: www.megatokyo.com
Down: HTTP/1.1 200 OK
Date: Fri, 09 Apr 2004 15:18:36 GMT
Server: Apache/1.3.27 (Unix) mod_gzip/1.3.19.1a PHP/4.3.1
Last-Modified: Wed, 07 Apr 2004 20:04:26 GMT
ETag: "36d98-2f8f7-40745eca"
Accept-Ranges: bytes
Content-Length: 194807
Connection: close
Content-Type: image/gif
Debug: ContentType = image/gif

Out: Local Filename: /home/jepri/.stripclub/megatokyo/0545.gif
Debug: GrabHTTPLink() Return Value: /home/jepri/.stripclub/megatokyo/0545.gif
Debug: Bar Label: Opening connection...
Debug: Bar Label: Sending GET Request...
Out: Requesting URL: http://www.megatokyo.com/strips/0545.gif
Up: Sending HTTP request to: www.megatokyo.com
Up: GET /strips/0545.gif HTTP/1.1
Referer: http://www.megatokyo.com/
User-Agent: Strip Club/0.6.1
Accept: text/html,text/plain;q=0.9,image/jpeg,image/png,image/gif;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1;q=0.7
Accept-Encoding: 
Host: www.megatokyo.com
Connection: close

Debug: Bar Label: Awaiting GET Response...
Debug: Bar Label: Awaiting GET Response... (0s)
Debug: Bar Label: Awaiting GET Response... (0s)
Down: Receiving GET response from: www.megatokyo.com
Debug: Bar Label: Receiving GET Response...
HTTP/1.1 200 OK
Date: Fri, 09 Apr 2004 15:18:37 GMT
Server: Apache/1.3.27 (Unix) mod_gzip/1.3.19.1a PHP/4.3.1
Last-Modified: Wed, 07 Apr 2004 20:04:26 GMT
ETag: "36d98-2f8f7-40745eca"
Accept-Ranges: bytes
Content-Length: 194807
Connection: close
Content-Type: image/gif

Debug: Now receiving body
Debug: Bar Label: 
Debug: File Length: 194807
Debug: Bar Value: 1107.0
Debug: Bar Value: 2495.0
Debug: Bar Value: 5271.0
Debug: Bar Value: 6659.0
Debug: Bar Value: 8047.0
Debug: Bar Value: 9435.0
Debug: Bar Value: 10823.0
Debug: Bar Value: 12211.0
Debug: Bar Value: 13599.0
Debug: Bar Value: 14987.0
Debug: Bar Value: 16375.0
Debug: Bar Value: 17763.0
Debug: Bar Value: 19151.0
Debug: Bar Value: 20539.0
Debug: Bar Value: 23315.0
Debug: Bar Value: 24703.0
Debug: Bar Value: 26091.0
Debug: Bar Value: 27479.0
Debug: Bar Value: 28867.0
Debug: Bar Value: 30255.0
Debug: Bar Value: 31643.0
Debug: Bar Value: 33031.0
Debug: Bar Value: 34419.0
Debug: Bar Value: 35807.0
Debug: Bar Value: 37195.0
Debug: Bar Value: 39971.0
Debug: Bar Value: 41359.0
Debug: Bar Value: 42747.0
Debug: Bar Value: 44135.0
Debug: Bar Value: 45523.0
Debug: Bar Value: 46911.0
Debug: Bar Value: 48299.0
Debug: Bar Value: 49687.0
Debug: Bar Value: 51075.0
Debug: Bar Value: 52463.0
Debug: Bar Value: 53851.0
Debug: Bar Value: 55239.0
Debug: Bar Value: 56627.0
Debug: Bar Value: 58015.0
Debug: Bar Value: 59403.0
Debug: Bar Value: 60791.0
Debug: Bar Value: 62179.0
Debug: Bar Value: 63567.0
Debug: Bar Value: 64955.0
Debug: Bar Value: 65536.0
Debug: Bar Value: 67731.0
Debug: Bar Value: 69119.0
Debug: Bar Value: 70507.0
Debug: Bar Value: 71895.0
Debug: Bar Value: 73283.0
Debug: Bar Value: 74671.0
Debug: Bar Value: 76059.0
Debug: Bar Value: 77447.0
Debug: Bar Value: 78835.0
Debug: Bar Value: 80223.0
Debug: Bar Value: 81611.0
Debug: Bar Value: 82999.0
Debug: Bar Value: 84387.0
Debug: Bar Value: 85775.0
Debug: Bar Value: 87163.0
Debug: Bar Value: 88551.0
Debug: Bar Value: 89939.0
Debug: Bar Value: 91327.0
Debug: Bar Value: 92715.0
Debug: Bar Value: 94103.0
Debug: Bar Value: 95491.0
Debug: Bar Value: 96879.0
Debug: Bar Value: 98267.0
Debug: Bar Value: 98304.0
Debug: Bar Value: 99692.0
Debug: Bar Value: 101043.0
Debug: Bar Value: 102431.0
Debug: Bar Value: 103819.0
Debug: Bar Value: 105207.0
Debug: Bar Value: 106595.0
Debug: Bar Value: 107983.0
Debug: Bar Value: 109371.0
Debug: Bar Value: 110759.0
Debug: Bar Value: 112147.0
Debug: Bar Value: 113535.0
Debug: Bar Value: 114923.0
Debug: Bar Value: 116311.0
Debug: Bar Value: 117699.0
Debug: Bar Value: 119087.0
Debug: Bar Value: 120475.0
Debug: Bar Value: 121863.0
Debug: Bar Value: 123251.0
Debug: Bar Value: 124639.0
Debug: Bar Value: 126027.0
Debug: Bar Value: 127415.0
Debug: Bar Value: 128803.0
Debug: Bar Value: 130191.0
Debug: Bar Value: 131072.0
Debug: Bar Value: 132460.0
Debug: Bar Value: 134355.0
Debug: Bar Value: 135743.0
Debug: Bar Value: 137131.0
Debug: Bar Value: 138519.0
Debug: Bar Value: 139907.0
Debug: Bar Value: 141295.0
Debug: Bar Value: 142683.0
Debug: Bar Value: 144071.0
Debug: Bar Value: 145459.0
Debug: Bar Value: 146847.0
Debug: Bar Value: 148235.0
Debug: Bar Value: 149623.0
Debug: Bar Value: 151011.0
Debug: Bar Value: 152399.0
Debug: Bar Value: 153787.0
Debug: Bar Value: 155175.0
Debug: Bar Value: 156563.0
Debug: Bar Value: 159339.0
Debug: Bar Value: 160727.0
Debug: Bar Value: 162115.0
Debug: Bar Value: 163840.0
Debug: Bar Value: 165228.0
Debug: Bar Value: 166616.0
Debug: Bar Value: 167667.0
Debug: Bar Value: 169055.0
Debug: Bar Value: 170443.0
Debug: Bar Value: 171831.0
Debug: Bar Value: 173219.0
Debug: Bar Value: 174607.0
Debug: Bar Value: 175995.0
Debug: Bar Value: 177383.0
Debug: Bar Value: 178771.0
Debug: Bar Value: 180159.0
Debug: Bar Value: 181547.0
Debug: Bar Value: 182935.0
Debug: Bar Value: 184323.0
Debug: Bar Value: 185711.0
Debug: Bar Value: 188487.0
Debug: Bar Value: 191263.0
Debug: Bar Value: 192651.0
Debug: Bar Value: 194039.0
Debug: Bar Value: 194807.0
Debug: Bar Value: 0.0
Debug: Bar Label: 
Out: Done with Request
Debug: Closed Socket
Debug: Returning: /home/jepri/.stripclub/megatokyo/0545.gif
Out: Done parsing
Out: Opening "temp.html" to find links
Debug: PrevPattern: <img .*src='http://www.megatokyo.com/parts/mt-bottom-prev.gif'.*>
Debug: NextPattern: <img .*src='http://www.megatokyo.com/parts/mt-bottom-next.gif'.*>
Debug: Found Prev Tag Marker
Debug: Using: /index.php?strip_id=544
Out: Done Link Searching
Debug: Clearing old Boxes
Debug: Cleared old Boxes
Debug: Bar Label: Loading Image... (0545.gif)
Debug: Opening /home/jepri/.stripclub/megatokyo/0545.gif as GIF
Debug: Bar Label: Arranging Images...
Debug: Arranging Images
Debug: Done Arranging
Debug: Bar Label: Loading Links...
Debug: Done switching
Debug: Bar Label: 

Reply to: