Page 1 of 1

Problem while trying to export data

Posted: April 27th, 2023, 2:32 pm
by benito
Good evening dear all from CSPro Users Forum,

I hope this mail finds you well.

Can you help me please?

I’m trying to export data from a dictionary in another format but I’m facing the error message in the file here attached.

Please, advise.

Best regards.

Re: Problem while trying to export data

Posted: April 28th, 2023, 9:11 am
by justinlakier
First, please check that the DCF is where CSPro expects it to be. It might be that your relative or absolute paths don't match between the code and the device you're using. Make sure that the dictionary is valid and is where you are trying to load it from.
To get a more detailed idea of what's going wrong, we'd need to take a look at your files and attempt to reproduce the error. You can post them here or send them to the cspro mailing list at cspro@lists.census.gov if you don't want your files publicly visible.

Hope that helps,
Justin

Re: Problem while trying to export data

Posted: April 28th, 2023, 11:34 am
by Gregory Martin
Are you opening a data file from a zip file? If you look at the path, it is looking in your computer's temporary folder for the dictionary, which should generally not happen, but sometimes does when you open files from a zip file.

Re: Problem while trying to export data

Posted: April 29th, 2023, 2:11 pm
by benito
I sent the files to cspro@lists.census.gov
justinlakier wrote: April 28th, 2023, 9:11 am First, please check that the DCF is where CSPro expects it to be. It might be that your relative or absolute paths don't match between the code and the device you're using. Make sure that the dictionary is valid and is where you are trying to load it from.
To get a more detailed idea of what's going wrong, we'd need to take a look at your files and attempt to reproduce the error. You can post them here or send them to the cspro mailing list at cspro@lists.census.gov if you don't want your files publicly visible.

Hope that helps,
Justin

Re: Problem while trying to export data

Posted: April 29th, 2023, 2:13 pm
by benito
Hello Greg,

Yes I saw the responses.

To answer to your question, no I’m not opening a data file from a zip file.

I sent the folder with the tool I'm working on to cspro@lists.census.gov.

Best regards.
Gregory Martin wrote: April 28th, 2023, 11:34 am Are you opening a data file from a zip file? If you look at the path, it is looking in your computer's temporary folder for the dictionary, which should generally not happen, but sometimes does when you open files from a zip file.