send: u'POST /bursa/index.asp?view=search&company_group=3000&arg_comp= &srh_comp_lb=&srh_from=2010-01-01&srh_until=2010-10-28&srh_anaf=-1&srh_event=9999&is_urgent=0&srh_company_press= HTTP/1.1\r\nAccept-Encoding: identity\r\nContent-Length: 933\r\nHost: maya.tase.co.il\r\nContent-Type: application/x-www-form-urlencoded\r\nConnection: close\r\nUser-Agent: Mozilla/5.0 (X11; U; i686 Linux; en_US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4\r\n\r\n'
send: 'view=search&arg_comp=&srh_company_group=3000&srh_ company_press=&srh_comp_lb=&srh_free_text_opt=1&cm bHavarottext=&cmbHavarothidden=&srh_txt=&optionFTS earch=1&srh_from=2010-01-01&srh_from_yr=2010&srh_from_mon=1&srh_from_day=1& srh_until=2010-10-28&srh_until_yr=2010&srh_until_mon=10&srh_until_da y=28&srh_event=9999&srh_min_day=2010-01-01&srh_max_day=2010-10-28&rsSearchRes_pgNo=1&rsSearchRes_Count=64572&repT otal=30&ToPage=1&_method=%252Fbursa%252Findex.asp% 253F_method%253D_EM__onclientevent%2526pcount%253D 2%2526p0%253DBTNNEXT%2526p1%253Donclick&_BTNNEXT_s tate=_nStyle%253D1%2526value%253D%2526src%253Dimg% 252Fkadima.gif%2526alt%253D%2525u05DC%2525u05D3%25 25u05E3%252520%2525u05D4%2525u05D1%2525u05D0&_BTNP REV_state=_nStyle%253D1%2526value%253D%2526src%253 Dimg%252Fahora.gif%2526alt%253D%2525u05DC%2525u05D 3%2525u05E3%252520%2525u05D4%2525u05E7%2525u05D5%2 525u05D3%2525u05DD&_thisPage_state=pb_rsSearchRes% 253D0%2526pb_rsComByNm%253D0'
reply: 'HTTP/1.1 302 Moved Temporarily\r\n'
header: Location:
http://maya.tase.co.il/bursa/mayaincorrect.htm
header: Cache-Control: no-cache
header: Pragma: no-cache
header: Expires: 0
header: Content-Length: 0
header: Date: Thu, 28 Oct 2010 18:44:55 GMT
header: Connection: close
send: u'GET /bursa/mayaincorrect.htm HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: maya.tase.co.il\r\nConnection: close\r\nUser-Agent: Mozilla/5.0 (X11; U; i686 Linux; en_US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Server: Microsoft-IIS/6.0
header: X-Maya: 1
header: X-Powered-By: ASP.NET
header: Content-Type: text/html
header: Cache-Control: private
header: Vary: Accept-Encoding
header: Date: Thu, 28 Oct 2010 18:44:56 GMT
header: Content-Length: 4058
header: Connection: close
header: Set-Cookie: LBMaya=1; path=/bursa
header: Set-Cookie: ASPSESSIONIDAACQDSTB=JKDFAGGAGKDKGMGHDCKPGLFA; path=/
<response_seek_wrapper at 0x4ff6878 whose wrapped object = <closeable_response at 0x4ff65f8 whose fp = <socket._fileobject object at 0x04D87DB0>>> this is ok
Python function terminated unexpectedly
expected string or buffer (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 99, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 832, in run
File "site-packages\calibre\customize\conversion.py", line 211, in __call__
File "site-packages\calibre\web\feeds\input.py", line 105, in convert
File "site-packages\calibre\web\feeds\news.py", line 710, in download
File "site-packages\calibre\web\feeds\news.py", line 835, in build_index
File "c:\users\berkow~1\appdata\local\temp\calibre_0.7. 20_tmp_9v_nmw\calibre_0.7.20_qc4llz_recipes\recipe 0.py", line 98, in parse_index
articles = self.make_links(url)
File "c:\users\berkow~1\appdata\local\temp\calibre_0.7. 20_tmp_9v_nmw\calibre_0.7.20_qc4llz_recipes\recipe 0.py", line 118, in make_links
self.append_page(url,soup, soup.body, report3,1)
File "c:\users\berkow~1\appdata\local\temp\calibre_0.7. 20_tmp_9v_nmw\calibre_0.7.20_qc4llz_recipes\recipe 0.py", line 77, in append_page
soup2 = self.index_to_soup(nexturl)
File "site-packages\calibre\web\feeds\news.py", line 477, in index_to_soup
File "re.py", line 137, in match
TypeError: expected string or buffer