[Spce-user] Error in Upload Fees as CSV in 3.8.3

Marco Teixeira admin at marcoteixeira.com
Wed Sep 23 04:12:02 EDT 2015

Hello list,

Anyone managed to import Fees as CSV in LTS 3.8.3 ?
Always getting this in panel.log:

ngcp-panel: ERROR: IP=X.X.X.X CALLED=Controller::Billing::fees_upload
TX=14068C5A8908C020 USER=admin DATA={ 'save' => 'Upload', 'submitid' => '',
'upload_fees' => 'CSV.txt'} MSG="Failed to upload Billing Fees
(DBIx::Class::Schema::txn_do(): Some lines could not be parsed. Did not
reach eof. Last successful: 0. at
/usr/share/perl5/NGCP/Panel/Controller/Billing.pm line 467. at
/usr/share/perl5/Catalyst/Model/DBIC/Schema.pm line 501#012)" LOG=""

Did not touch fees field order in config.yml:
      - source
      - destination
      - direction
      - zone
      - zone_detail
      - onpeak_init_rate
      - onpeak_init_interval
      - onpeak_follow_rate
      - onpeak_follow_interval
      - offpeak_init_rate
      - offpeak_init_interval
      - offpeak_follow_rate
      - offpeak_follow_interval
      - use_free_time

My CSV.txt is like this (edited in notepad++ in UTF8 in UNIX format):
".","\.local$",out,"local","local services",0,1,0,1,0,1,0,1,0
".","^3512",out,"PT","Portugal Fixed",0.1,1,0.1,1,0.1,1,0.1,1,0

By looking at the code, it line that errors out points to a cycle for
working billing zones... (i already have them created)

Any clues ?

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20150923/a08b7cdc/attachment.html>

More information about the Spce-user mailing list