Getbhavcopy: Free NSE and BSE data downloader

Topic: Error while downloading data

Post Reply
Forum Home > Bugs and Issues > Error while downloading data

Pradip Hardikar
Member
Posts: 11

Hi , Hemen

I am getting following error while downloading BSE data through Getbhavcopy. Please give me the solution urgently.

Error BSE Processor cannot open temporary bhavcopy file
Error Could not find file 'C:\Getbhavcopy\temp\BSEbhav.gbc'.
Message ********* Data download complete *********

Bse data is not downloading due to this error

with regards

Pradip

--
April 23, 2009 at 12:59 PM Flag Quote & Reply

Hemen
Site Owner
Posts: 426

Hi,


Your post does not provide enough information to help me provide a solution to you. Can you provide additional details. Try to download again and paste the complete text from the status box, not just the last few lines.


-Hemen

April 23, 2009 at 1:22 PM Flag Quote & Reply

amit
Member
Posts: 1

hi hemen

 

i m also getting the same error message,, while NSE is fine, its with BSE data only..

 

the text shows..

 

Message ********* Starting Getbhavcopy *********

Message ********* Downloading Data for 24-04-2009 *********

Message Downloading BSE Equity Bhavcopy

Error Error downloading BSE Equity Bhavcopy file

Error The remote server returned an error: (404) Not Found.

Message Downloading index data for SENSEX

Message Downloading index data for MIDCAP

Message Downloading index data for SMLCAP

Message Downloading index data for BSE-100

Message Downloading index data for BSE-200

Message Downloading index data for BSE-500

Message Downloading index data for AUTO

Message Downloading index data for BANKEX

Message Downloading index data for CONSDURBL

Message Downloading index data for CAPGOODS

Message Downloading index data for FMCG

Message Downloading index data for HLTHCARE

Message Downloading index data for IT

Message Downloading index data for METAL

Message Downloading index data for OILGAS

Message Downloading index data for POWER

Message Downloading index data for PSU

Message Downloading index data for REALTY

Message Downloading index data for TECK

Message Downloading index data for DOL-30

Message Downloading index data for DOL-100

Message Downloading index data for DOL-200

Message Processing downloaded data

Error BSE Processor cannot open temporary bhavcopy file

Error Could not find file 'C:\Getbhavcopy\temp\BSEbhav.gbc'.

Message ********* Data download complete *********

 

hope u can resolve this..

 

& thanx for everything..

 

Regards

amit

April 24, 2009 at 12:32 AM Flag Quote & Reply

Hemen
Site Owner
Posts: 426

Amit,


You are trying to download data for 24th April. Obviously the market is still in session and the data file is not generated for 24th. The error is expected.


Try downloading for 23rd. It will not happen.


Regards,

Hemen

April 24, 2009 at 2:37 AM Flag Quote & Reply

Pradip Hardikar
Member
Posts: 11

Dear Hemen ,

 

 I have tried to download data for 24-04-2009 but getting the same error full text is appended herebelow , please provide a solution

 

Message ********* Starting Getbhavcopy *********

Message Downloading symbols for index NSENIFTY

Message Downloading symbols for index NIFTYJUNIOR

Message Downloading symbols for index BANKNIFTY

Message Downloading symbols for index NSE100

Message Downloading symbols for index NSEMIDCAP

Message Downloading symbols for index NSEIT

Message Downloading symbols for index NSE500

Message ********* Downloading Data for 24-04-2009 *********

Message Downloading NSE Equity Bhavcopy

Message Downloading index data for NSENIFTY

Message Downloading index data for NIFTYJUNIOR

Message Downloading index data for BANKNIFTY

Message Downloading index data for NSE100

Message Downloading index data for NSEMIDCAP

Message Downloading index data for NSEIT

Message Downloading index data for NSE500

Message Downloading index data for NSEDEFTY

Message Downloading Deliverable Quantity(Open Interest) data

Message Processing downloaded data

Message ********* NSE Equity Bhavcopy file generated *********

Message Downloading BSE Equity Bhavcopy

Message Downloading index data for SENSEX

Message Downloading index data for MIDCAP

Message Downloading index data for SMLCAP

Message Downloading index data for BSE-100

Message Downloading index data for BSE-200

Message Downloading index data for BSE-500

Message Downloading index data for AUTO

Message Downloading index data for BANKEX

Message Downloading index data for CONSDURBL

Message Downloading index data for CAPGOODS

Message Downloading index data for FMCG

Message Downloading index data for HLTHCARE

Message Downloading index data for IT

Message Downloading index data for METAL

Message Downloading index data for OILGAS

Message Downloading index data for POWER

Message Downloading index data for PSU

Message Downloading index data for REALTY

Message Downloading index data for TECK

Message Downloading index data for DOL-30

Message Downloading index data for DOL-100

Message Downloading index data for DOL-200

Message Processing downloaded data

Error BSE Processor cannot open temporary bhavcopy file

Error Could not find file 'C:\Getbhavcopy\temp\BSEbhav.gbc'.

Message ********* Data download complete *********

 

Please guide

 

With regards

 

pradip

April 27, 2009 at 11:23 AM Flag Quote & Reply

Hemen
Site Owner
Posts: 426

Ok, Do the following


First delete the log file in the logs directory and the files in the temp directory of Getbhavcopy.


Then do the following


1. Start the command prompt , Start >> run >> cmd

2. Change to the directory where you have getbhavcopy.exe

3. In that directory start getbhavcopy as 'getbhavcopy.exe debugOn'

4. Try to download the data as you do normally.

5. A new log file will be generated. Email it to me. Email address is in the private message i sent you.


Regards,

Hemen

April 27, 2009 at 2:39 PM Flag Quote & Reply

nikesh
Member
Posts: 5

The real problem people are facing is .net 3.5 . As this is new version; most of the machines don't have it. As soon as they download it; most of the problems go away.

April 27, 2009 at 10:26 PM Flag Quote & Reply

nikesh
Member
Posts: 5

I updated for 3.5 but still the same problems. Earlier versions used to work fine. Here is error log


04/28/2009 11:28:50    Message    *********  Starting Getbhavcopy  *********

04/28/2009 11:28:59    Message    Downloading symbols for index NSENIFTY

04/28/2009 11:29:02    Error    Error downloading symbols for index NSENIFTY from http://www.nse-india.com/content/indices/ind_niftylist.csv

04/28/2009 11:29:02    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:02    Message    Downloading symbols for index NIFTYJUNIOR

04/28/2009 11:29:02    Error    Error downloading symbols for index NIFTYJUNIOR from http://www.nse-india.com/content/indices/ind_jrniftylist.csv

04/28/2009 11:29:02    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:02    Message    Downloading symbols for index BANKNIFTY

04/28/2009 11:29:02    Error    Error downloading symbols for index BANKNIFTY from http://www.nse-india.com/content/indices/ind_cnxbanklist.csv

04/28/2009 11:29:02    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:02    Message    Downloading symbols for index NSE100

04/28/2009 11:29:02    Error    Error downloading symbols for index NSE100 from http://www.nse-india.com/content/indices/ind_cnx100list.csv

04/28/2009 11:29:02    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:02    Message    Downloading symbols for index NSEMIDCAP

04/28/2009 11:29:03    Error    Error downloading symbols for index NSEMIDCAP from http://www.nse-india.com/content/indices/ind_cnxmidcaplist.csv

04/28/2009 11:29:03    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:03    Message    Downloading symbols for index NSEIT

04/28/2009 11:29:03    Error    Error downloading symbols for index NSEIT from http://www.nse-india.com/content/indices/ind_cnxitlist.csv

04/28/2009 11:29:03    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:03    Message    Downloading symbols for index NSE500

04/28/2009 11:29:03    Error    Error downloading symbols for index NSE500 from http://www.nse-india.com/content/indices/ind_cnx500list.csv

04/28/2009 11:29:03    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:03    Message    *********  Downloading Data for 24-04-2009  *********

04/28/2009 11:29:03    Message    Downloading NSE Equity Bhavcopy

04/28/2009 11:29:03    Error    Error downloading NSE Equity Bhavcopy file

04/28/2009 11:29:03    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:03    Error    Error sending Index Data HTTP POST for NSENIFTY

04/28/2009 11:29:04    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:04    Error    Error sending Index Data HTTP POST for NIFTYJUNIOR

04/28/2009 11:29:04    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:13    Error    Error sending Index Data HTTP POST for BANKNIFTY

04/28/2009 11:29:13    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:13    Error    Error sending Index Data HTTP POST for NSE100

04/28/2009 11:29:13    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:13    Error    Error sending Index Data HTTP POST for NSEMIDCAP

04/28/2009 11:29:13    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:14    Error    Error sending Index Data HTTP POST for NSEIT

04/28/2009 11:29:14    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:14    Error    Error sending Index Data HTTP POST for NSE500

04/28/2009 11:29:14    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:14    Error    Error sending Index Data HTTP POST for NSEDEFTY

04/28/2009 11:29:14    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:14    Message    Processing downloaded data

04/28/2009 11:29:14    Error    NSE Processor cannot open temporary bhavcopy file

04/28/2009 11:29:14    Error    Could not find file 'E:\bhavcopy\temp\NSEbhav.gbc'.

04/28/2009 11:29:14    Message    *********  Downloading Data for 27-04-2009  *********

04/28/2009 11:29:14    Message    Downloading NSE Equity Bhavcopy

04/28/2009 11:29:15    Error    Error downloading NSE Equity Bhavcopy file

04/28/2009 11:29:15    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:15    Error    Error sending Index Data HTTP POST for NSENIFTY

04/28/2009 11:29:15    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:15    Error    Error sending Index Data HTTP POST for NIFTYJUNIOR

04/28/2009 11:29:15    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:15    Error    Error sending Index Data HTTP POST for BANKNIFTY

04/28/2009 11:29:15    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:16    Error    Error sending Index Data HTTP POST for NSE100

04/28/2009 11:29:16    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:16    Error    Error sending Index Data HTTP POST for NSEMIDCAP

04/28/2009 11:29:16    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:16    Error    Error sending Index Data HTTP POST for NSEIT

04/28/2009 11:29:16    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:16    Error    Error sending Index Data HTTP POST for NSE500

04/28/2009 11:29:16    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:17    Error    Error sending Index Data HTTP POST for NSEDEFTY

04/28/2009 11:29:17    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:17    Message    Processing downloaded data

04/28/2009 11:29:17    Error    NSE Processor cannot open temporary bhavcopy file

04/28/2009 11:29:17    Error    Could not find file 'E:\bhavcopy\temp\NSEbhav.gbc'.

04/28/2009 11:29:17    Message    *********  Downloading Data for 28-04-2009  *********

04/28/2009 11:29:17    Message    Downloading NSE Equity Bhavcopy

04/28/2009 11:29:17    Error    Error downloading NSE Equity Bhavcopy file

04/28/2009 11:29:17    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:17    Error    Error sending Index Data HTTP POST for NSENIFTY

04/28/2009 11:29:17    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:17    Error    Error sending Index Data HTTP POST for NIFTYJUNIOR

04/28/2009 11:29:18    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:18    Error    Error sending Index Data HTTP POST for BANKNIFTY

04/28/2009 11:29:18    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:21    Error    Error sending Index Data HTTP POST for NSE100

04/28/2009 11:29:21    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:21    Error    Error sending Index Data HTTP POST for NSEMIDCAP

04/28/2009 11:29:21    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:21    Error    Error sending Index Data HTTP POST for NSEIT

04/28/2009 11:29:21    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:22    Error    Error sending Index Data HTTP POST for NSE500

04/28/2009 11:29:22    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:22    Error    Error sending Index Data HTTP POST for NSEDEFTY

04/28/2009 11:29:22    Error    The remote server returned an error: (403) Forbidden.

04/28/2009 11:29:22    Message    Processing downloaded data

04/28/2009 11:29:22    Error    NSE Processor cannot open temporary bhavcopy file

04/28/2009 11:29:22    Error    Could not find file 'E:\bhavcopy\temp\NSEbhav.gbc'.

04/28/2009 11:29:22    Message    ********* Data download complete *********

 

 


April 28, 2009 at 12:31 AM Flag Quote & Reply

Nitin gupta
Member
Posts: 1

Pradip Hardikar at 12:59PM on Apr 23, 2009

Hi , Hemen

I am getting following error while downloading BSE data through Getbhavcopy. Please give me the solution urgently.

Error BSE Processor cannot open temporary bhavcopy file
Error Could not find file 'C:\Getbhavcopy\temp\BSEbhav.gbc'.
Message ********* Data download complete *********

Bse data is not downloading due to this error

with regards

Pradip

hemen i am getting the same problem......as a result bsedata is not downloading...........


we have a nse bhav.gbc in the template when getbhavcopy is downloaded............


but the bsebhav.gbc is not seen and as a result the data downloaded is not processed..and created into a notepad file.............


Error BSE Processor cannot open temporary bhavcopy file

Error Could not find file 'C:\Getbhavcopy\temp\BSEbhav.gbc'.

Message ********* Data download complete *********

 

 

Bse data is not downloading due to this error

 


April 28, 2009 at 4:14 AM Flag Quote & Reply

Hemen
Site Owner
Posts: 426

Hi,


Those of you getting error please enable advanced debuggin mode of getbhavcopy as mentioned above and send me the log file. Please follow the instructions carefully.

April 28, 2009 at 4:42 AM Flag Quote & Reply

nikesh
Member
Posts: 5

your email id?

April 28, 2009 at 5:27 AM Flag Quote & Reply

Hemen
Site Owner
Posts: 426

Sent the email id in a private message.

--

Thanks and Regards,
Hemen Kapadia

Quicklinks:

New Blog Post: Getbhavcopy version 2.1.0 released

NSE and BSE Historical data in Metastock format
NSE and BSE Historical data in ASCII format

April 30, 2009 at 12:48 AM Flag Quote & Reply

Hemen
Site Owner
Posts: 426

Hi,


So there are two different kinds of errors discussed in this thread making it a bit confusing.


So this is my clarification.


Those who get the " Error    The remote server returned an error: (403) Forbidden. " error, I have not been able to figure out what is worng. The fact that youget a 403 means the NSE server actually returned it and the communication was successful. I think it to be some temporary issue with NSE server and you should try downloading after some time (about an hour or so). If you consistently get this issue for more than a day, let me know.


Those who have the error


Error BSE Processor cannot open temporary bhavcopy file

Error Could not find file 'C:\Getbhavcopy\temp\BSEbhav.gbc'.

 


Please check if the BSE data download completed successfully.


Check the log a bit above for a message like this


Message ********* NSE Equity Bhavcopy file generated *********

Message Downloading BSE Equity Bhavcopy

Message Downloading index data for SENSEX

 


Since there was not error generated during download the data download was fine. Now even after a successful download you get the error Could not find file 'C:\Getbhavcopy\temp\BSEbhav.gbc' then i think you can try deleting the temp directory and try again.


I checked the debug logs obtained from p_hardikar and I did not find any issues in the log.


Let me know if others are facing this issue.


Regards,

Hemen





May 1, 2009 at 6:16 PM Flag Quote & Reply

nkot
Member
Posts: 2

Hi Hemen, even i am facing similar problem. While downloading NSE data for 29 April 2009. it gives error as:

 

05/04/2009 11:12:39 Message ********* Downloading Data for 29-04-2009 *********

05/04/2009 11:12:39 Message Downloading NSE Equity Bhavcopy

05/04/2009 11:12:40 Message Downloading index data for NSENIFTY

05/04/2009 11:12:41 Message Downloading index data for NIFTYJUNIOR

05/04/2009 11:12:42 Message Downloading index data for BANKNIFTY

05/04/2009 11:12:43 Message Downloading index data for NSE100

05/04/2009 11:12:43 Message Downloading index data for NSEMIDCAP

05/04/2009 11:12:45 Error Error sending Index Data HTTP POST for NSEMIDCAP

05/04/2009 11:12:46 Error The remote server returned an error: (500) Internal Server Error.

05/04/2009 11:12:46 Message Downloading index data for NSEIT

05/04/2009 11:12:47 Message Downloading index data for NSE500

05/04/2009 11:12:47 Message Downloading index data for NSEDEFTY

05/04/2009 11:12:48 Message Processing downloaded data

05/04/2009 11:12:48 Message ********* NSE Equity Bhavcopy file generated *********

05/04/2009 11:12:48 Message ********* Data download complete *********

 

please suggest wat should i do. Thanks

May 4, 2009 at 1:55 AM Flag Quote & Reply

maddys90
Member
Posts: 1

hemen pls help me ..

i m getting the following msg..

i hav downloaded the latest version from the site..

 

Message ********* Starting Getbhavcopy *********

Message You are not using the latest version of Getbhavcopy.

Message Please download the latest version from http://www.getbhavcopy.com

May 4, 2009 at 4:45 AM Flag Quote & Reply

Cirilo
Member
Posts: 1

Hi Hemnen,


I too have downloaded the latest version 2.0.4 but am getting the error as follows

Appreciate if you can advise

Message    *********  Starting Getbhavcopy  *********

Message    Downloading symbols for index NSENIFTY

Message    Downloading symbols for index NIFTYJUNIOR

Message    Downloading symbols for index BANKNIFTY

Message    Downloading symbols for index NSE100

Message    Downloading symbols for index NSEMIDCAP

Message    Downloading symbols for index NSEIT

Message    Downloading symbols for index NSE500

Message    *********  Downloading Data for 04-05-2009  *********

Message    Downloading NSE Equity Bhavcopy

Error    Error downloading NSE Equity Bhavcopy file

Error    The remote server returned an error: (404) Not Found.

Message    Downloading index data for NSENIFTY

Message    Downloading index data for NIFTYJUNIOR

Message    Downloading index data for BANKNIFTY

Message    Downloading index data for NSE100

Message    Downloading index data for NSEMIDCAP

Error    Error sending Index Data HTTP POST for NSEMIDCAP

Error    The remote server returned an error: (500) Internal Server Error.

Message    Downloading index data for NSEIT

Error    Error sending Index Data HTTP POST for NSEIT

Error    The remote server returned an error: (400) Bad Request.

Message    Downloading index data for NSE500

Message    Downloading index data for NSEDEFTY

Message    Processing downloaded data

Error    NSE Processor cannot open temporary bhavcopy file

Error    Could not find file 'C:\getbhavcopy\getbhavcopy\temp\NSEbhav.gbc'.

Message    ********* Data download complete *********


Cirilo

 

 


May 4, 2009 at 8:33 AM Flag Quote & Reply

Hemen
Site Owner
Posts: 426

@nkot : I cannot do anything about the 500 Internal server error. It is an error on NSE end. The only suggestion I have is to retry after some time.


 

@maddys90: As the message suggests, please download the latest version from my site. You need to be a member of my site to reach the download page. Registration is FREE.


 

@cirilo: Same advice as nkot. I have seen the NSE server behaving badly these days. Hence I changed the way i download the CSV file for indices. I suggest you retry after some time. The issue will auto resolve itself as it is not with Getbhavcopy but with NSE.


May 4, 2009 at 2:47 PM Flag Quote & Reply

nkot
Member
Posts: 2

@ hemen

 

Thanks a lot

May 5, 2009 at 2:39 AM Flag Quote & Reply

guy
Member
Posts: 23

I do also use to get the error

" Error    The remote server returned an error: (403) Forbidden. "


But i'll try downloading once again immediately and this time the error wont come. I am sure it's some server problem with NSE which occurs sometime.

May 5, 2009 at 9:06 AM Flag Quote & Reply

Hemen
Site Owner
Posts: 426

Yup, NSE server is behaving up a bit these days.

May 6, 2009 at 11:38 PM Flag Quote & Reply

You must login to post.

Welcome

Google Search


Recent Blog Entries

Newest Members