[Spce-user] Invoice creation

Irina Peshinskaya ipeshinskaya at sipwise.com
Wed Jun 21 10:21:40 EDT 2017


Dear Koot,

Invoice generator uses `gs` if there is more than 25 pages. GS is used 
to join pages. Otherwise generator breaks memory limits.

Strange, that you system doesn't have gs. I will check it. On my current 
5.2 VM (root at sp1:~# ngcp-status --version
5.2.2.0+0~mr5.2.2.0+0~20170411090314.177) gs is presented.

As a solution you can install ghostscript package:

root at sp1:~# apt-cache policy ghostscript
ghostscript:
   Installed: 9.06~dfsg-2+deb8u5

Best regards,
Irina Peshinskaya


On 20.06.2017 14:45, Koot Pienaar wrote:
>
> Good day
>
> I am experiencing a problem when trying to reate an invoice for a 
> customer.
>
> I get the following error in the /var/log/ngcp/panel.log
>
> Jun 20 13:43:02 ntel-sipsw1 ngcp-panel: ERROR: IP=192.15.1.1 
> CALLED=Controller::Invoice::__ANON__ TX=14C9D1C202435BB0 
> USER=administrator DATA={ 'period' => '2017-06', 'contract.id' => 
> '12', 'template.id' => '3', 'save' => 'Save', 'submitid' => ''} 
> MSG="Failed to render invoice" LOG=""gs" failed to start: "No such 
> file or directory" at 
> /usr/share/perl5/NGCP/Panel/Utils/InvoiceTemplate.pm line 67."
>
> Jun 20 13:43:02 ntel-sipsw1 ngcp-panel: ERROR: IP=192.15.1.1 
> CALLED=Controller::Invoice::create TX=14C9D1C202C36120 
> USER=administrator DATA={ 'template.id' => '3', 'submitid' => '', 
> 'save' => 'Save', 'period' => '2017-06', 'contract.id' => '12'} 
> MSG="Failed to create invoice. (catalyst_detach#012)" LOG=""
>
> Anyone have this problem before. Running version mr5.2.1
>
> Regards
>
> Koot Pienaar
>
> VoIP Coordinator
>
> Ntelecom Central
>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20170621/3a80c34e/attachment-0001.html>


More information about the Spce-user mailing list