mdude77
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
November 10, 2012, 03:49:09 AM |
|
The JSON outputs from p2pool (like /local_stats) are causing my IE9 to prompt to download the file instead of displaying it on the screen. Can this be easily fixed? It looks as if you add a ContentType of HTML/Text or text/plain it fixes it. I'll have a look at the source and see if I can figure out where this is coming from, but I figured I'd mention it since there are experts here who could do it a lot faster than I can.
Thanks.
M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
rav3n_pl
Legendary
Offline
Activity: 1361
Merit: 1003
Don`t panic! Organize!
|
|
November 10, 2012, 07:11:40 AM |
|
Just use IE to download proper web browser....
|
|
|
|
mdude77
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
November 10, 2012, 12:20:57 PM Last edit: November 11, 2012, 03:37:21 AM by mdude77 |
|
Just use IE to download proper web browser....
I'm not using IE as my main web browser. Thanks for the useless comment though! M EDIT: Seriously, I'm thinking the content tag can't be added w/o messing up JSON parsers that don't use IE. That might mean a whole new URL is needed. Maybe I can figure it out. EDIT #2: I got it figured out with no changes to p2pool.
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
rav3n_pl
Legendary
Offline
Activity: 1361
Merit: 1003
Don`t panic! Organize!
|
|
November 10, 2012, 12:31:47 PM |
|
Just use IE to download proper web browser....
I'm not using IE as my main web browser. Thanks for the useless comment though! M EDIT: Seriously, I'm thinking the content tag can't be added w/o messing up JSON parsers that don't use IE. That might mean a whole new URL is needed. Maybe I can figure it out. Sorry, I mean no offense ... IE just sux and when s1 is telling that "something is not working on IE" it is mostly IE feature, not a IE bug
|
|
|
|
lenny_
Legendary
Offline
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
|
|
November 10, 2012, 04:21:33 PM |
|
Just use IE to download proper web browser....
+1 There's nothing else to say.
|
|
|
|
|
stevegee58
Legendary
Offline
Activity: 916
Merit: 1003
|
|
November 10, 2012, 05:27:53 PM |
|
Just use IE to download proper web browser....
Sadly I'm forced to use IE8 at work. They're stone-age Nazis.
|
You are in a maze of twisty little passages, all alike.
|
|
|
mdude77
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
November 10, 2012, 06:42:11 PM |
|
Just use IE to download proper web browser....
I'm not using IE as my main web browser. Thanks for the useless comment though! M EDIT: Seriously, I'm thinking the content tag can't be added w/o messing up JSON parsers that don't use IE. That might mean a whole new URL is needed. Maybe I can figure it out. Sorry, I mean no offense ... IE just sux and when s1 is telling that "something is not working on IE" it is mostly IE feature, not a IE bug No offense taken. IE is awful, just awful, in so many ways. But it sure makes web scraping easy from .net. In this case I think I'll try the direct socket approach. M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
|
November 10, 2012, 07:54:00 PM |
|
Just use IE to download proper web browser....
I'm not using IE as my main web browser. Thanks for the useless comment though! M EDIT: Seriously, I'm thinking the content tag can't be added w/o messing up JSON parsers that don't use IE. That might mean a whole new URL is needed. Maybe I can figure it out. Sorry, I mean no offense ... IE just sux and when s1 is telling that "something is not working on IE" it is mostly IE feature, not a IE bug No offense taken. IE is awful, just awful, in so many ways. But it sure makes web scraping easy from .net. In this case I think I'll try the direct socket approach. M why argue with someone who recommends IE?
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
bitpop
Legendary
Offline
Activity: 2912
Merit: 1060
|
|
November 10, 2012, 08:07:17 PM |
|
Just use IE to download proper web browser....
|
|
|
|
Schleicher
|
|
November 10, 2012, 08:18:35 PM |
|
I just started p2pool. After about 2 minutes I saw this: 2012-11-10 20:58:21.431000 Peer sent entire transaction that was already received 2012-11-10 20:58:21.431000 RECV forget_tx 0258b896f65b1e801f318c16e9fa5813b0108240641636349325851b645d40ce025f2874dc8f9342d6ef6a59fb31f1a301008c6d3415996309bddddc9801621728 2012-11-10 20:58:21.451000 > Error handling message: (see RECV line) 2012-11-10 20:58:21.451000 > Traceback (most recent call last): 2012-11-10 20:58:21.451000 > File "D:\python27\lib\site-packages\twisted\internet\tcp.py", line 209, in _dataReceived 2012-11-10 20:58:21.451000 > rval = self.protocol.dataReceived(data) 2012-11-10 20:58:21.451000 > File "D:\p2pool\p2pool-master\p2pool\p2p.py", line 146, in new_dataReceived 2012-11-10 20:58:21.451000 > old_dataReceived(data) 2012-11-10 20:58:21.451000 > File "D:\p2pool\p2pool-master\p2pool\util\p2protocol.py", line 39, in dataReceived 2012-11-10 20:58:21.451000 > self.dataReceived2(data) 2012-11-10 20:58:21.451000 > File "D:\p2pool\p2pool-master\p2pool\util\datachunker.py", line 40, in _DataChunker 2012-11-10 20:58:21.451000 > wants = receiver.send(buf.get(wants)) 2012-11-10 20:58:21.451000 > --- <exception caught here> --- 2012-11-10 20:58:21.451000 > File "D:\p2pool\p2pool-master\p2pool\util\p2protocol.py", line 66, in dataReceiver 2012-11-10 20:58:21.451000 > self.packetReceived(command, type_.unpack(payload)) 2012-11-10 20:58:21.451000 > File "D:\p2pool\p2pool-master\p2pool\p2p.py", line 91, in packetReceived 2012-11-10 20:58:21.451000 > p2protocol.Protocol.packetReceived(self, command, payload2) 2012-11-10 20:58:21.451000 > File "D:\p2pool\p2pool-master\p2pool\util\p2protocol.py", line 79, in packetReceived 2012-11-10 20:58:21.451000 > handler(**payload2) 2012-11-10 20:58:21.451000 > File "D:\p2pool\p2pool-master\p2pool\p2p.py", line 390, in handle_forget_tx 2012-11-10 20:58:21.451000 > self.remembered_txs_size -= 100 + bitcoin_data.tx_type.packed_size(self.remembered_txs[tx_hash]) 2012-11-10 20:58:21.451000 > exceptions.KeyError: 1269040422094664870972422158679581342431664119710372484483215473841054070872L 2012-11-10 20:58:21.451000 Outgoing connection to peer 72.130.76.188:9333 established. p2pool version: 8 '8.2' 2012-11-10 20:58:21.551000 Sending 1 shares to 72.130.76.188:9333
This is the latest version from github (2cb4d8381e).
|
|
|
|
rav3n_pl
Legendary
Offline
Activity: 1361
Merit: 1003
Don`t panic! Organize!
|
|
November 10, 2012, 10:38:35 PM |
|
Probably some huge tx which is send in between all nodes and/or some complicated block. Anyway, on 8. nov all-time luck went to 99.9%! Really good improvement form less than 90% few months back. Sadly that last over-lengh blocks killing it again... :/
|
|
|
|
mdude77
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
November 10, 2012, 11:12:10 PM |
|
Just use IE to download proper web browser....
I'm not using IE as my main web browser. Thanks for the useless comment though! M EDIT: Seriously, I'm thinking the content tag can't be added w/o messing up JSON parsers that don't use IE. That might mean a whole new URL is needed. Maybe I can figure it out. Sorry, I mean no offense ... IE just sux and when s1 is telling that "something is not working on IE" it is mostly IE feature, not a IE bug No offense taken. IE is awful, just awful, in so many ways. But it sure makes web scraping easy from .net. In this case I think I'll try the direct socket approach. M why argue with someone who recommends IE? Who's recommending IE? M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
sharky112065
|
|
November 11, 2012, 05:21:43 AM |
|
Just use IE to download proper web browser....
Sadly I'm forced to use IE8 at work. They're stone-age Nazis. Normally I disagree with all the Windows bashing form the Linux crowd, but in the case of IE, it is a festering POS.
|
Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
|
|
|
aadje93
|
|
November 12, 2012, 07:09:48 AM |
|
And we have a nice luck streak again got 5,07 bitcoin in 12 hours of mining (~4,5ghs, estimated by p2pool 0,62-0,80/24hr)
|
|
|
|
rav3n_pl
Legendary
Offline
Activity: 1361
Merit: 1003
Don`t panic! Organize!
|
|
November 12, 2012, 07:20:31 AM |
|
And we have a nice luck streak again got 5,07 bitcoin in 12 hours of mining (~4,5ghs, estimated by p2pool 0,62-0,80/24hr) *facepalm*
|
|
|
|
spiccioli
Legendary
Offline
Activity: 1379
Merit: 1003
nec sine labore
|
|
November 12, 2012, 07:33:05 AM |
|
OMG! my 3.7 GH/s rig got two blocks in a few hours!! 2012-11-11 10:11:31.827311 GOT BLOCK FROM PEER! Passing to bitcoind! 10fec080 bitcoin: http://blockexplorer.com/block/000000000000017d6334ea4879445b3db2742aa4b126c15f780e359b10fec080 2012-11-11 18:05:00.046074 GOT BLOCK FROM MINER! Passing to bitcoind! http://blockexplorer.com/block/00000000000000e1a611799f954b950af31050e6d5faad27afba8a8678b57042 2012-11-11 18:05:00.107708 GOT BLOCK FROM PEER! Passing to bitcoind! 78b57042 bitcoin: http://blockexplorer.com/block/00000000000000e1a611799f954b950af31050e6d5faad27afba8a8678b57042 2012-11-11 22:03:58.762769 GOT BLOCK FROM PEER! Passing to bitcoind! 9d20b4e8 bitcoin: http://blockexplorer.com/block/000000000000006fa5a29ba508f2a7f6c4997f6698ce0be8935a72249d20b4e8 2012-11-11 23:05:28.105767 GOT BLOCK FROM PEER! Passing to bitcoind! c2e1a971 bitcoin: http://blockexplorer.com/block/000000000000027e355c4fd3ab9b31d37ea60744c5db52056245275bc2e1a971 2012-11-12 06:05:38.913612 GOT BLOCK FROM MINER! Passing to bitcoind! http://blockexplorer.com/block/000000000000013750ed9afc1288c6f1e27a9622aba80d03f744cb6f299d88b6
spiccioli
|
|
|
|
aadje93
|
|
November 12, 2012, 07:37:00 AM |
|
And we got another incoming transaction Very nice luck streak, around 5,70 btc in 14 hours OMG! my 3.7 GH/s rig got two blocks in a few hours!! 2012-11-11 10:11:31.827311 GOT BLOCK FROM PEER! Passing to bitcoind! 10fec080 bitcoin: http://blockexplorer.com/block/000000000000017d6334ea4879445b3db2742aa4b126c15f780e359b10fec080 2012-11-11 18:05:00.046074 GOT BLOCK FROM MINER! Passing to bitcoind! http://blockexplorer.com/block/00000000000000e1a611799f954b950af31050e6d5faad27afba8a8678b57042 2012-11-11 18:05:00.107708 GOT BLOCK FROM PEER! Passing to bitcoind! 78b57042 bitcoin: http://blockexplorer.com/block/00000000000000e1a611799f954b950af31050e6d5faad27afba8a8678b57042 2012-11-11 22:03:58.762769 GOT BLOCK FROM PEER! Passing to bitcoind! 9d20b4e8 bitcoin: http://blockexplorer.com/block/000000000000006fa5a29ba508f2a7f6c4997f6698ce0be8935a72249d20b4e8 2012-11-11 23:05:28.105767 GOT BLOCK FROM PEER! Passing to bitcoind! c2e1a971 bitcoin: http://blockexplorer.com/block/000000000000027e355c4fd3ab9b31d37ea60744c5db52056245275bc2e1a971 2012-11-12 06:05:38.913612 GOT BLOCK FROM MINER! Passing to bitcoind! http://blockexplorer.com/block/000000000000013750ed9afc1288c6f1e27a9622aba80d03f744cb6f299d88b6
spiccioli is there a way to minimize the output on p2pool CMD window to only output this data? I can see the other stats on the site (127.0.0.1)
|
|
|
|
spiccioli
Legendary
Offline
Activity: 1379
Merit: 1003
nec sine labore
|
|
November 12, 2012, 08:51:37 AM |
|
is there a way to minimize the output on p2pool CMD window to only output this data?
I can see the other stats on the site (127.0.0.1)
aadje93, I'm using linux and you cannot minimize p2pool output AFAIK. But you should be able to issue something like this command type p2pool_folder\data\bitcoin\log | find "BLOCK"
where p2pool folder is the path to the folder holding p2pool files. spiccioli.
|
|
|
|
aadje93
|
|
November 12, 2012, 09:54:12 AM |
|
is there a way to minimize the output on p2pool CMD window to only output this data?
I can see the other stats on the site (127.0.0.1)
aadje93, I'm using linux and you cannot minimize p2pool output AFAIK. But you should be able to issue something like this command type p2pool_folder\data\bitcoin\log | find "BLOCK"
where p2pool folder is the path to the folder holding p2pool files. spiccioli. Thanks for the help, I use notedpadd++ so if i search for "MINER" then i find it soon enough (but nothing found )
|
|
|
|
|