[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error invoice.tex:No such file or directory



On Wed, Dec 17, 2008 at 12:36 PM, shaker Khzym <..hidden..> wrote:
> Dear Chris,
>       Thanks a lot for your advise. It is perfect.
>       Now the project is working and can send many invoices. after I add
>                            chdir ("/usr/local/ledgersmb")
>       before open (IN ....
>       Is there any ability to get this path dynamical instead of calling it

Current plan is to:

my $dir = getcwd at the beginning of the function
chdir($dir) before exiting.


> statically.
> Best wishes,
> Shaekir,
>
>
>
>> Date: Wed, 17 Dec 2008 10:05:04 -0800
>> From: ..hidden..
>> To: ..hidden..
>> Subject: Re: [Ledger-smb-devel] error invoice.tex:No such file or
>> directory
>>
>> On Wed, Dec 17, 2008 at 9:47 AM, shaker Khzym <..hidden..>
>> wrote:
>> > Hi Chris,
>> > the path is : templates/demo/invoice.tex
>> > I will change it for what.
>>
>> No, the problem is the chdir to the temp dir. We need to change back
>> after the template run.
>>
>> Best Wishes,
>> Chris Travers
>>
>>
>> ------------------------------------------------------------------------------
>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
>> Nevada.
>> The future of the web can't happen without you. Join us at MIX09 to help
>> pave the way to the Next Web now. Learn more and register at
>>
>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>> _______________________________________________
>> Ledger-smb-devel mailing list
>> ..hidden..
>> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
>
> ________________________________
> Messenger wants to send you on a trip. Enter today.
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Ledger-smb-devel mailing list
> ..hidden..
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
>
>