Сканирование mysql выдает ошибку

6 months 4 weeks ago #2065 by senitch
senitch created the topic: Сканирование mysql выдает ошибку
2018-02-26 15:20:00,020 INFO ***** Starting sopds-scan...
2018-02-26 15:20:00,020 DEBUG OPTIONS SET
2018-02-26 15:20:00,022 DEBUG root_lib = /mnt/win/Librusec
2018-02-26 15:20:00,024 DEBUG fb2toepub =
2018-02-26 15:20:00,025 DEBUG fb2tomobi =
2018-02-26 15:20:00,027 DEBUG temp_dir = /root/sopds/tmp
2018-02-26 15:20:00,028 INFO FB2SAX = True
2018-02-26 15:20:00,153 INFO Start process INPX file = /mnt/win/Librusec/librusec_local_fb2.inpx
2018-02-26 15:20:00,174 INFO Start process ZIP for INP archive = /mnt/win/Librusec/librusec_local_fb2.inpx/fb2-000024-030559.zip
2018-02-26 15:20:00,655 ERROR Job "Command.scan (trigger: date[2018-02-26 15:20:00 MSK], next run at: 2018-02-26 15:20:00 MSK)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/root/sopds/opds_catalog/management/commands/sopds_scanner.py", line 80, in scan
scanner.scan_all()
File "/root/sopds/opds_catalog/sopdscan.py", line 96, in scan_all
self.processinpx(inpx_file, full_path, file)
File "/root/sopds/opds_catalog/sopdscan.py", line 170, in processinpx
inpx.parse()
File "/root/sopds/opds_catalog/inpx_parser.py", line 87, in parse
if not "%s.%s"(meta_data[sFile],meta_data[sExt]) in testzip_namelist:
TypeError: 'str' object is not callable

Please Войти or Create an account to join the conversation.

  • senitch
  • senitch's Avatar Topic Author
  • Offline
  • Новый участник
  • Новый участник
More
6 months 4 weeks ago #2066 by senitch
senitch replied the topic: Сканирование mysql выдает ошибку
Убрал проверку наличия fb2 файла в архиве и все заработало.

Please Войти or Create an account to join the conversation.

  • senitch
  • senitch's Avatar Topic Author
  • Offline
  • Новый участник
  • Новый участник
More
6 months 4 weeks ago #2067 by mitshel
mitshel replied the topic: Сканирование mysql выдает ошибку
Спасибо, за отчет об ошибке... Посмотрю что не так...

Please Войти or Create an account to join the conversation.

  • mitshel
  • mitshel's Avatar
  • Offline
  • Администратор
  • Администратор
More
Time to create page: 0.133 seconds