Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: XLSX tmp file error

by jmcnamara (Monsignor)
on Mar 02, 2012 at 20:15 UTC ( #957544=note: print w/ replies, xml ) Need Help??


in reply to XLSX tmp file error

You can change the default temp dir that Excel::Writer::XLSX uses via the set_tempdir() method.

--
John.


Comment on Re: XLSX tmp file error
Replies are listed 'Best First'.
Re^2: XLSX tmp file error
by vishi83 (Pilgrim) on Mar 05, 2012 at 17:08 UTC
    Hi John,

    Glad to hear from you!
    I tried with 0.46 version of XLSX module.. But after setting the tmp dir in this way,
    workbook->set_tempdir('/opt/apache/secure-htdocs/exceldir/');
    I still see this error,
    Couldn't create sub directory /opt/apache/secure-htdocs/exceldir/CQ2RN +O0V36/xl/worksheets: Permission denied at /opt/perl-5.8.3/lib/site_pe +rl/5.8.3/Excel/Writer/XLSX/Workbook.pm line 809
    I've given 777 permissions to the exceldir folder with ownership belonging to the web user..

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://957544]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2015-07-29 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls