[dscng-dev] import_dsc_dat_files.py assertion error

Bedrich Kosata bedrich.kosata at nic.cz
Fri Jun 15 10:46:27 CEST 2012


Hi,

I fixed this problem in git now.

Best regards

Beda

On 06/14/2012 12:21 PM, Thomas Dupas wrote:
> Hi,
>
> I'm using the latest git version, where the import_dsc_dat_files.py errors out on the very last moment.
> At first sight it can't handle the 99.9% done / 0.1% remaining to 100% done / 0% remaining transition
>
> "# DSCng - importing original DSC .dat files
>
> * Importing into database 'dsc'
> * Logging into 'dscng_import-2012-06-14_112109.log'
>
> #################### 0:23:19, 3.29 s/dir, 1052 kB/s, 99.9%, ~0:00:01 to goTraceback (most recent call last):
>    File "import_dsc_dat_files.py", line 1547, in<module>
>      main()
>    File "import_dsc_dat_files.py", line 1544, in main
>      show_progress=True, stat_out_stream=stat_out_stream)
>    File "import_dsc_dat_files.py", line 1447, in import_dirs
>      log_to_progressbar(format_percent_bar(done_part) + " " + \
>    File "import_dsc_dat_files.py", line 1479, in format_percent_bar
>      assert 0<= percent<= 1
> AssertionError"
>
> When querying some tables in the database I can already see some data, but I can't output anything useful in the webinterface.
> I only see the list of servers in the left column
>
> Br,
>
> Thomas Dupas
> _______________________________________________
> dscng-dev mailing list
> dscng-dev at lists.nic.cz
> https://lists.nic.cz/cgi-bin/mailman/listinfo/dscng-dev

-- 
Bedrich Kosata
CZ.NIC Labs <http://labs.nic.cz>


More information about the dscng-dev mailing list