Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: XLSX tmp file error

by jmcnamara (Monsignor)
on Mar 02, 2012 at 20:15 UTC ( [id://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.

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://957544]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-18 03:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found