Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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
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 studying the Monastery: (10)
As of 2014-07-29 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (220 votes), past polls