v3.rc8 fails with pdf not recognized

I installed from the tarball under ubuntu server 14.04.3.
As far as I noticed, all dependencies are up to date. It seems to fail to recognize a given pdf files as a valid input. This is an AutoCAD pdf output. This file works fine with http://solutions.weblite.ca/pdfocrx/index.php a similar app for the OSX.
Any hint on how to solve this?
Thanks in advance.
Output log follows:
#ocrmypdf -v 10 -f M101.pdf M101-searchable-ocrmy.pdf

    [{'height_inches': Decimal('48'), 'pageno': 0, 'has_text': True, 'images': [{'height': 1093, 'color': 'rgb', 'bpc': 8, 'dpi': Decimal('10.0600'), 'width': 160, 'enc': 'image', 'dpi_h': Decimal('22.7708'), 'dpi_w': Decimal('4.44444'), 'comp': 3}], 'width_pixels': 160, 'height_pixels': 1093, 'yres': Decimal('22.7708'), 'xres': Decimal('4.44444'), 'width_inches': Decimal('36')}]
   Checksum use calculated time as well: No 1 second pause...
  Task = 'ocrmypdf.main.repair_pdf'
    Needing update:
      Job  = [M101.pdf -> .../com.github.ocrmypdf.gu23q44s/M101.repaired.pdf, <ocrmypdf.main.WrappedLogger>, [], <_thread.lock>]

________________________________________
Tasks which will be run:

    fill_queue_with_job_parameters START
   job_parameter_generator BEGIN
   job_parameter_generator consider task = 'ocrmypdf.main.repair_pdf'
   job_parameter_generator task 'ocrmypdf.main.repair_pdf' not in progress
   job_parameter_generator start task 'ocrmypdf.main.repair_pdf' (parents completed)
Task enters queue = 'ocrmypdf.main.repair_pdf'
    Job  = [M101.pdf -> .../com.github.ocrmypdf.gu23q44s/M101.repaired.pdf, <ocrmypdf.main.WrappedLogger>, [], <_thread.lock>] ...
        Missing file [.../com.github.ocrmypdf.gu23q44s/M101.repaired.pdf]
    fill_queue_with_job_parameters=>('M101.pdf', '/tmp/com.github.ocrmypdf.gu23q44s/M101.repaired.pdf', <ocrmypdf.main.WrappedLogger object at 0x7f62858b6f60>, <ListProxy object, typeid 'list' at 0x7f62858c35c0>, <AcquirerProxy object, typeid 'Lock' at 0x7f62858c34a8>)
   job_parameter_generator consider task = 'ocrmypdf.main.split_pages'
   job_parameter_generator task 'ocrmypdf.main.split_pages' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.rasterize_with_ghostscript'
   job_parameter_generator task 'ocrmypdf.main.rasterize_with_ghostscript' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.preprocess_deskew'
   job_parameter_generator task 'ocrmypdf.main.preprocess_deskew' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.preprocess_clean'
   job_parameter_generator task 'ocrmypdf.main.preprocess_clean' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.select_image_for_pdf'
   job_parameter_generator task 'ocrmypdf.main.select_image_for_pdf' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.ocr_tesseract_hocr'
   job_parameter_generator task 'ocrmypdf.main.ocr_tesseract_hocr' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.render_hocr_debug_page'
   job_parameter_generator task 'ocrmypdf.main.render_hocr_debug_page' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.render_hocr_page'
   job_parameter_generator task 'ocrmypdf.main.render_hocr_page' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.skip_page'
   job_parameter_generator task 'ocrmypdf.main.skip_page' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.tesseract_ocr_and_render_pdf'
   job_parameter_generator task 'ocrmypdf.main.tesseract_ocr_and_render_pdf' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.generate_postscript_stub'
   job_parameter_generator task 'ocrmypdf.main.generate_postscript_stub' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.merge_pages'
   job_parameter_generator task 'ocrmypdf.main.merge_pages' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.copy_final'
   job_parameter_generator task 'ocrmypdf.main.copy_final' not in progress
    incomplete tasks = ocrmypdf.main.repair_pdf,ocrmypdf.main.split_pages,ocrmypdf.main.rasterize_with_ghostscript,ocrmypdf.main.preprocess_deskew,ocrmypdf.main.preprocess_clean,ocrmypdf.main.select_image_for_pdf,ocrmypdf.main.ocr_tesseract_hocr,ocrmypdf.main.render_hocr_debug_page,ocrmypdf.main.render_hocr_page,ocrmypdf.main.skip_page,ocrmypdf.main.tesseract_ocr_and_render_pdf,ocrmypdf.main.generate_postscript_stub,ocrmypdf.main.merge_pages,ocrmypdf.main.copy_final
    fill_queue_with_job_parameters WAITING for task to complete
    fill_queue_with_job_parameters END
   Send params to Pooled Process START
   Get next parameter size = 1
   Get next parameter done
   Send params to Pooled Process=>('M101.pdf', '/tmp/com.github.ocrmypdf.gu23q44s/M101.repaired.pdf', <ocrmypdf.main.WrappedLogger object at 0x7f62858b6f60>, <ListProxy object, typeid 'list' at 0x7f62858c35c0>, <AcquirerProxy object, typeid 'Lock' at 0x7f62858c34a8>)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[[ job_wrapper ]]>>>>>>>>>>>>>>>>>>>>>>>>>>>
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww[[ task() done ]]wwwwwwwwwwwwwwwwwwwwwwwwwww
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<[[ job_wrapper done ]]<<<<<<<<<<<<<<<<<<<<<<
    Job  = [M101.pdf -> .../com.github.ocrmypdf.gu23q44s/M101.repaired.pdf, <ocrmypdf.main.WrappedLogger>, [], <_thread.lock>] completed
   Job History : ../../../tmp/com.github.ocrmypdf.gu23q44s/M101.repaired.pdf
   Job History Saved: ../../../tmp/com.github.ocrmypdf.gu23q44s/M101.repaired.pdf
   _is_up_to_date completed task & checksum...
   job errors?
   Fill queue with more parameter...
    fill_queue_with_job_parameters START
   Last job for 'ocrmypdf.main.repair_pdf'. Retired from incomplete tasks in pipeline_run
Completed Task = 'ocrmypdf.main.repair_pdf'
   job_parameter_generator consider task = 'ocrmypdf.main.split_pages'
   job_parameter_generator task 'ocrmypdf.main.split_pages' not in progress
   job_parameter_generator start task 'ocrmypdf.main.split_pages' (parents completed)
Task enters queue = 'ocrmypdf.main.split_pages'
    Job  = [.../com.github.ocrmypdf.gu23q44s/M101.repaired.pdf -> .../com.github.ocrmypdf.gu23q44s/*.page.pdf, <ocrmypdf.main.WrappedLogger>, [{'height_inches': Decimal('48'), 'pageno': 0, 'has_text': True, 'images': [{'height': 1093, 'color': 'rgb', 'bpc': 8, 'dpi': Decimal('10.0600'), 'width': 160, 'enc': 'image', 'dpi_h': Decimal('22.7708'), 'dpi_w': Decimal('4.44444'), 'comp': 3}], 'width_pixels': 160, 'height_pixels': 1093, 'yres': Decimal('22.7708'), 'xres': Decimal('4.44444'), 'width_inches': Decimal('36')}], <_thread.lock>] Missing output file
    fill_queue_with_job_parameters=>('/tmp/com.github.ocrmypdf.gu23q44s/M101.repaired.pdf', [], <ocrmypdf.main.WrappedLogger object at 0x7f62858b6f60>, <ListProxy object, typeid 'list' at 0x7f62858c35c0>, <AcquirerProxy object, typeid 'Lock' at 0x7f62858c34a8>)
   job_parameter_generator consider task = 'ocrmypdf.main.rasterize_with_ghostscript'
   job_parameter_generator task 'ocrmypdf.main.rasterize_with_ghostscript' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.preprocess_deskew'
   job_parameter_generator task 'ocrmypdf.main.preprocess_deskew' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.preprocess_clean'
   job_parameter_generator task 'ocrmypdf.main.preprocess_clean' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.select_image_for_pdf'
   job_parameter_generator task 'ocrmypdf.main.select_image_for_pdf' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.ocr_tesseract_hocr'
   job_parameter_generator task 'ocrmypdf.main.ocr_tesseract_hocr' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.render_hocr_debug_page'
   job_parameter_generator task 'ocrmypdf.main.render_hocr_debug_page' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.render_hocr_page'
   job_parameter_generator task 'ocrmypdf.main.render_hocr_page' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.skip_page'
   job_parameter_generator task 'ocrmypdf.main.skip_page' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.tesseract_ocr_and_render_pdf'
   job_parameter_generator task 'ocrmypdf.main.tesseract_ocr_and_render_pdf' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.generate_postscript_stub'
   job_parameter_generator task 'ocrmypdf.main.generate_postscript_stub' not in progress
   job_parameter_generator start task 'ocrmypdf.main.generate_postscript_stub' (parents completed)
Task enters queue = 'ocrmypdf.main.generate_postscript_stub'
    Job  = [.../com.github.ocrmypdf.gu23q44s/M101.repaired.pdf -> .../com.github.ocrmypdf.gu23q44s/M101.pdfa_def.ps, <ocrmypdf.main.WrappedLogger>] ...
        Missing file [.../com.github.ocrmypdf.gu23q44s/M101.pdfa_def.ps]
    fill_queue_with_job_parameters=>('/tmp/com.github.ocrmypdf.gu23q44s/M101.repaired.pdf', '/tmp/com.github.ocrmypdf.gu23q44s/M101.pdfa_def.ps', <ocrmypdf.main.WrappedLogger object at 0x7f62858b6f60>)
    Page 1 already has text! – rasterizing text and running OCR anyway
    os.symlink(/tmp/com.github.ocrmypdf.gu23q44s/000001.page.pdf, /tmp/com.github.ocrmypdf.gu23q44s/000001.ocr.page.pdf)
    Output file: The generated PDF/A file is INVALID
   job_parameter_generator consider task = 'ocrmypdf.main.merge_pages'
   job_parameter_generator task 'ocrmypdf.main.merge_pages' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.copy_final'
   job_parameter_generator task 'ocrmypdf.main.copy_final' not in progress
    incomplete tasks = ocrmypdf.main.split_pages,ocrmypdf.main.rasterize_with_ghostscript,ocrmypdf.main.preprocess_deskew,ocrmypdf.main.preprocess_clean,ocrmypdf.main.select_image_for_pdf,ocrmypdf.main.ocr_tesseract_hocr,ocrmypdf.main.render_hocr_debug_page,ocrmypdf.main.render_hocr_page,ocrmypdf.main.skip_page,ocrmypdf.main.tesseract_ocr_and_render_pdf,ocrmypdf.main.generate_postscript_stub,ocrmypdf.main.merge_pages,ocrmypdf.main.copy_final
    fill_queue_with_job_parameters WAITING for task to complete
    fill_queue_with_job_parameters END
   Get next parameter size = 2
   Get next parameter done
   Send params to Pooled Process=>('/tmp/com.github.ocrmypdf.gu23q44s/M101.repaired.pdf', [], <ocrmypdf.main.WrappedLogger object at 0x7f62858b6f60>, <ListProxy object, typeid 'list' at 0x7f62858c35c0>, <AcquirerProxy object, typeid 'Lock' at 0x7f62858c34a8>)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[[ job_wrapper ]]>>>>>>>>>>>>>>>>>>>>>>>>>>>
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww[[ task() done ]]wwwwwwwwwwwwwwwwwwwwwwwwwww
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<[[ job_wrapper done ]]<<<<<<<<<<<<<<<<<<<<<<
    Job  = [.../com.github.ocrmypdf.gu23q44s/M101.repaired.pdf -> .../com.github.ocrmypdf.gu23q44s/*.page.pdf, <ocrmypdf.main.WrappedLogger>, [{'height_inches': Decimal('48'), 'pageno': 0, 'has_text': True, 'images': [{'height': 1093, 'color': 'rgb', 'bpc': 8, 'dpi': Decimal('10.0600'), 'width': 160, 'enc': 'image', 'dpi_h': Decimal('22.7708'), 'dpi_w': Decimal('4.44444'), 'comp': 3}], 'width_pixels': 160, 'height_pixels': 1093, 'yres': Decimal('22.7708'), 'xres': Decimal('4.44444'), 'width_inches': Decimal('36')}], <_thread.lock>] completed
   Job History : ../../../tmp/com.github.ocrmypdf.gu23q44s/000001.ocr.page.pdf
   Job History Saved: ../../../tmp/com.github.ocrmypdf.gu23q44s/000001.ocr.page.pdf
   Job History : ../../../tmp/com.github.ocrmypdf.gu23q44s/000001.page.pdf
   Job History Saved: ../../../tmp/com.github.ocrmypdf.gu23q44s/000001.page.pdf
   _is_up_to_date completed task & checksum...
   job errors?
   Fill queue with more parameter...
    fill_queue_with_job_parameters START
   Last job for 'ocrmypdf.main.split_pages'. Retired from incomplete tasks in pipeline_run
Completed Task = 'ocrmypdf.main.split_pages'
   job_parameter_generator consider task = 'ocrmypdf.main.rasterize_with_ghostscript'
   job_parameter_generator task 'ocrmypdf.main.rasterize_with_ghostscript' not in progress
   job_parameter_generator start task 'ocrmypdf.main.rasterize_with_ghostscript' (parents completed)
Task enters queue = 'ocrmypdf.main.rasterize_with_ghostscript'
    Job  = [.../com.github.ocrmypdf.gu23q44s/000001.ocr.page.pdf -> .../com.github.ocrmypdf.gu23q44s/000001.page.png, <ocrmypdf.main.WrappedLogger>, [{'height_inches': Decimal('48'), 'pageno': 0, 'has_text': True, 'images': [{'height': 1093, 'color': 'rgb', 'bpc': 8, 'dpi': Decimal('10.0600'), 'width': 160, 'enc': 'image', 'dpi_h': Decimal('22.7708'), 'dpi_w': Decimal('4.44444'), 'comp': 3}], 'width_pixels': 160, 'height_pixels': 1093, 'yres': Decimal('22.7708'), 'xres': Decimal('4.44444'), 'width_inches': Decimal('36')}], <_thread.lock>] ...
        Missing file [.../com.github.ocrmypdf.gu23q44s/000001.page.png]
    fill_queue_with_job_parameters=>('/tmp/com.github.ocrmypdf.gu23q44s/000001.ocr.page.pdf', '/tmp/com.github.ocrmypdf.gu23q44s/000001.page.png', <ocrmypdf.main.WrappedLogger object at 0x7f62858b6f60>, <ListProxy object, typeid 'list' at 0x7f62858c35c0>, <AcquirerProxy object, typeid 'Lock' at 0x7f62858c34a8>)
   job_parameter_generator consider task = 'ocrmypdf.main.preprocess_deskew'
   job_parameter_generator task 'ocrmypdf.main.preprocess_deskew' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.preprocess_clean'
   job_parameter_generator task 'ocrmypdf.main.preprocess_clean' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.select_image_for_pdf'
   job_parameter_generator task 'ocrmypdf.main.select_image_for_pdf' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.ocr_tesseract_hocr'
   job_parameter_generator task 'ocrmypdf.main.ocr_tesseract_hocr' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.render_hocr_debug_page'
   job_parameter_generator task 'ocrmypdf.main.render_hocr_debug_page' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.render_hocr_page'
   job_parameter_generator task 'ocrmypdf.main.render_hocr_page' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.skip_page'
   job_parameter_generator task 'ocrmypdf.main.skip_page' not in progress
   job_parameter_generator start task 'ocrmypdf.main.skip_page' (parents completed)
Task enters queue = 'ocrmypdf.main.skip_page'
Uptodate Task = 'ocrmypdf.main.skip_page'
   No jobs created for 'ocrmypdf.main.skip_page'. Retired in parameter_generator

WARNING:
        In Task 'ocrmypdf.main.skip_page':
        No jobs were run because no file names matched.
        Please make sure that the regular expression is correctly specified.
        Job Warning: Input substitution failed:
          File '/tmp/com.github.ocrmypdf.gu23q44s/000001.ocr.page.pdf' does not match suffix('.skip.page.pdf') and pattern '.done.pdf'
        Job Warning: Input substitution failed:
          File '/tmp/com.github.ocrmypdf.gu23q44s/000001.page.pdf' does not match suffix('.skip.page.pdf') and pattern '.done.pdf'

   job_parameter_generator consider task = 'ocrmypdf.main.tesseract_ocr_and_render_pdf'
   job_parameter_generator task 'ocrmypdf.main.tesseract_ocr_and_render_pdf' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.generate_postscript_stub'
   job_parameter_generator consider task = 'ocrmypdf.main.merge_pages'
   job_parameter_generator task 'ocrmypdf.main.merge_pages' not in progress
   job_parameter_generator consider task = 'ocrmypdf.main.copy_final'
   job_parameter_generator task 'ocrmypdf.main.copy_final' not in progress
    incomplete tasks = ocrmypdf.main.rasterize_with_ghostscript,ocrmypdf.main.preprocess_deskew,ocrmypdf.main.preprocess_clean,ocrmypdf.main.select_image_for_pdf,ocrmypdf.main.ocr_tesseract_hocr,ocrmypdf.main.render_hocr_debug_page,ocrmypdf.main.render_hocr_page,ocrmypdf.main.tesseract_ocr_and_render_pdf,ocrmypdf.main.generate_postscript_stub,ocrmypdf.main.merge_pages,ocrmypdf.main.copy_final
    fill_queue_with_job_parameters WAITING for task to complete
    fill_queue_with_job_parameters END
   Get next parameter size = 2
   Get next parameter done
   Send params to Pooled Process=>('/tmp/com.github.ocrmypdf.gu23q44s/M101.repaired.pdf', '/tmp/com.github.ocrmypdf.gu23q44s/M101.pdfa_def.ps', <ocrmypdf.main.WrappedLogger object at 0x7f62858b6f60>)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[[ job_wrapper ]]>>>>>>>>>>>>>>>>>>>>>>>>>>>
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE[[ Other Interrupt ]]EEEEEEEEEEEEEEEEEEEEEEE
   JOB ERROR / JOB_SIGNALLED_BREAK: Job  = [.../com.github.ocrmypdf.gu23q44s/M101.repaired.pdf -> .../com.github.ocrmypdf.gu23q44s/M101.pdfa_def.ps, <ocrmypdf.main.WrappedLogger>]
   Exception caught for Job  = [.../com.github.ocrmypdf.gu23q44s/M101.repaired.pdf -> .../com.github.ocrmypdf.gu23q44s/M101.pdfa_def.ps, <ocrmypdf.main.WrappedLogger>]
   Break loop False 1 1

Original exception:

    Exception #1
      'builtins.TypeError(unsupported operand type(s) for +=: 'NoneType' and 'str')' raised in ...
       Task = def ocrmypdf.main.generate_postscript_stub(...):
       Job  = [.../com.github.ocrmypdf.gu23q44s/M101.repaired.pdf -> .../com.github.ocrmypdf.gu23q44s/M101.pdfa_def.ps, <ocrmypdf.main.WrappedLogger>]

    Traceback (most recent call last):
      File "/usr/local/lib/python3.4/dist-packages/ruffus/task.py", line 751, in run_pooled_job_without_exceptions
        register_cleanup, touch_files_only)
      File "/usr/local/lib/python3.4/dist-packages/ruffus/task.py", line 567, in job_wrapper_io_files
        ret_val = user_defined_work_func(*params)
      File "/usr/local/lib/python3.4/dist-packages/ocrmypdf/main.py", line 756, in generate_postscript_stub
        generate_pdfa_def(output_file, pdfmark)
      File "/usr/local/lib/python3.4/dist-packages/ocrmypdf/pdfa.py", line 121, in generate_pdfa_def
        icc_profile = os.path.join(_get_postscript_icc_path(), 'srgb.icc')
      File "/usr/lib/python3.4/posixpath.py", line 83, in join
        path += b
    TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'

M101.pdf: not a valid PDF, and could not repair it.
Details:
open M101-searchable-ocrmy.pdf: No such file or directory

ubuntu@vbox.mbp[22:55]:~/Test$

PS: Just to add that https://github.com/virantha/pypdfocr manages to process my file and outputs a searchable pdf. Would be great if ocrmypdf could also do it, as the momentum in that other projects seems to fading away.

The problem is during PDF/A conversion. It is looking for a folder named "iccprofiles" containing a file named "srgb.icc". It asked Ghostscript for how to find this and got no answer. I've never seen Ghostscript fail to find it so there is no error handling for the case.
You can install the package in development mode (pip install -e .) and try to fix it yourself if you need it immediately (ocrmypdf/pdfa.py@_get_postscript_iccpath). You could also use the Docker container that includes this missing file.
To help me fix this:
What is the output of gs --help?
Could you also search your OS folders for any file named srgb.icc so we can find out where it was supposed to look?

Thanks for quick reply. Below the output. Looking at that of find, I'm thinking something may have gone wrong with my installation of gs 9.14. I had to compile and install myself. Things went ok, it seemed, but it's strange that the only system-wide copy of srgb.icc is the one of gs 9.10 -the default one of ubuntu 9.14.04. I will check that again.
Meanwhile, here those answers:
root@vbox.mbp[05:43]:~#find / -iname "*srgb.icc*"
/home/ubuntu/ghostscript-9.14/iccprofiles/srgb.icc
/usr/share/ghostscript/9.10/iccprofiles/srgb.icc
root@vbox.mbp[05:45]:~#gs --version
9.14
root@vbox.mbp[05:45]:~#gs --help
GPL Ghostscript 9.14 (2014-03-26)
Copyright (C) 2014 Artifex Software, Inc.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]

For more information, see /usr/local/share/ghostscript/9.14/doc/Use.htm.
Please report bugs to bugs.ghostscript.com.

It does look like something isn't right with your ghostscript reinstall.
Maybe you did a make without make install?
You could try copying /home/ubuntu/ghostscript-9.14/iccprofiles/srgb.icc
to /usr/local/share/ghostscript/9.14/lib/iccprofiles/srgb.icc, where the
file is expected to be.
On Thu, 27 Aug 2015 at 15:31 MASantos<EMAIL_ADDRESS>wrote:

Thanks for quick reply. Below the output. Looking at that of find, I'm
thinking something may have gone wrong with my installation of gs 9.14. I
had to compile and install myself. Things went ok, it seemed, but it's
strange that the only system-wide copy of srgb.icc is the one of gs 9.10
-the default one of ubuntu 9.14.04. I will check that again.
Meanwhile, here those answers:
root@vbox.mbp[05:43]:~#find / -iname "srgb.icc"
/home/ubuntu/ghostscript-9.14/iccprofiles/srgb.icc
/usr/share/ghostscript/9.10/iccprofiles/srgb.icc
root@vbox.mbp[05:45]:~#gs --version
9.14
root@vbox.mbp[05:45]:~#gs --help
GPL Ghostscript 9.14 (2014-03-26)
Copyright (C) 2014 Artifex Software, Inc.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]

For more information, see /usr/local/share/ghostscript/9.14/doc/Use.htm.
Please report bugs to bugs.ghostscript.com.
—
Reply to this email directly or view it on GitHub
https://github.com/fritz-hh/OCRmyPDF/issues/118#issuecomment-135574088.

"Maybe you did a make without a make install?"
Nah. Otherwise gs --version wouldn't show 9.14. But I checked it: the configure of ghostcript 9.14 sets the default prefix to /usr/local and it's there where it's locate. However, this installation doesn't come with the iccprofiles.
Furthermore, a closer look to its config.log shows a few more error during configuration. Mind you configure did end with exit status 0.
Simply substituting srgb.icc file with 9.14's version didn't make any difference.
I gues I'll have to dig further into this and/or have a look at gs mailing list.
Thanks again.

These are all errors reported in config.log.


Images fails to load because relative path is changed too late

I am using it on a site where the images are loaded with local path <img src="pagename/somepath/image.jpg"/> and what happens is that the pagename does not get updated even though that's what should change. Therefore images don't load.

This seems to be a design issue.
Pjax can only change dom elemtents, it will not change the pagename.
You may change that manually on pjax:complete, or try to render the images differently.


API returns internal error when user already exists

API returns internal error when user already exists. We should return a 400 instead with the information that the user already exists. This information should also make its way to the UI.

closed by #13


Update ensemble.py

When passing a policy config yaml file using the -c argument on rasa_core.train, the PolicyEnsemble.from_dict method is called, but causes an Error:
Traceback (most recent call last):   File "/opt/conda/envs/env/lib/python2.7/runpy.py", line 174, in _run_module_as_main     "__main__", fname, loader, pkg_name)   File "/opt/conda/envs/env/lib/python2.7/runpy.py", line 72, in _run_code     exec code in run_globals   File "/opt/conda/envs/env/lib/python2.7/site-packages/rasa_core/train.py", line 259, in <module>     additional_arguments)   File "/opt/conda/envs/env/lib/python2.7/site-packages/rasa_core/train.py", line 176, in train_dialogue_model     policies = config.load(policy_config, fallback_args, max_history)   File "/opt/conda/envs/env/lib/python2.7/site-packages/rasa_core/config.py", line 29, in load     return PolicyEnsemble.from_dict(config_data)   File "/opt/conda/envs/env/lib/python2.7/site-packages/rasa_core/policies/ensemble.py", line 219, in from_dict     policy_object = constr_func(**policy) TypeError: __init__() got an unexpected keyword argument 'max_history'
The policy_object created for 'KerasPolicy' was overridden two lines after, causing the policy_object = constr_func(**policy) line to throw an error as 'max_history' is not a valid argument for the KerasPolicy class.
I think the else block was forgotten after the "if policy_name == 'KerasPolicy':"
Proposed changes:

Moved the following two lines into a else block to make sure the policy_object is only created once and KerasPolicy objects are only created in the corresponding if block.

Status (please check what you already did):

[ ] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hey, thanks for submitting this PR! could you post the config file you used that caused this error please?

@akelad Sure, this is the policies.yml I passed as config:
`policies:

name: "KerasPolicy"
max_history: 5
name: "MemoizationPolicy"
max_history: 5
name: "FallbackPolicy"
nlu_threshold: 0.7
core_threshold: 0.7
fallback_action_name: "action_default_fallback"`


publish<EMAIL_ADDRESS>

Requested by: @Swatinem
Merge target: (default)
Quick links:

View changes
View check runs

Assign the accepted label to this issue to approve the release.
Leave a comment containing #retract under this issue to retract the release (original issuer only).
Targets

[ ] pypi
[ ] sentry-pypi
[ ] github

Targets marked with a checkbox have already been executed.  Administrators can manually tick a checkbox to force craft to skip it.

#retract twine once more, bumping version and trying again.

#retract
on its own line now


Remove non-Dockerfile keywords?

https://github.com/ekalinin/Dockerfile.vim/blob/8401e017bb2c7987f306eb5a92c80016c915422e/syntax/Dockerfile.vim#L22-L28
Why do these commands get special treatment?

Hey @frewsxcv
It's just most used commands from bash.
For convenience I decided to add the highlighting for them.

They disturb you somehow?

Doesn't bother me that much, it just causes words to be highlighted in my code that shouldn't be highlighted:

Feel free to close this though


Country request Bolivia

I would like to request Bolivia be added to your queue, thanks!

added to the list, thank you!

@51114u9 Bolivia is now available!

thank you! \o/


Droid Build Error

[Environment]

Xamarin Studio 5.10.3(Build51)
Xamarin.Forms  <IP_ADDRESS>
Xamarin.Android.Support.* 23.3.0
PayPal.Forms 2.0.2

[Build Error Message]
Resources/Resource.designer.cs(220,127): error CS0117: PaypalSample.Droid.Resource.Attribute' does not contain a definition for mediaRouteSettingsDrawable'
Resources/Resource.designer.cs(369,121): error CS0117: PaypalSample.Droid.Resource.Color' does not contain a definition for design_textinput_error_color'
Resources/Resource.designer.cs(477,124): error CS0117: PaypalSample.Droid.Resource.Dimension' does not contain a definition for design_fab_content_size'
Resources/Resource.designer.cs(487,138): error CS0117: PaypalSample.Droid.Resource.Dimension' does not contain a definition for design_navigation_padding_top_default'
Resources/Resource.designer.cs(500,121): error CS0117: PaypalSample.Droid.Resource.Dimension' does not contain a definition for design_tab_min_width'
Resources/Resource.designer.cs(501,126): error CS0117: PaypalSample.Droid.Resource.Dimension' does not contain a definition for dialog_fixed_height_major'
Resources/Resource.designer.cs(502,126): error CS0117: PaypalSample.Droid.Resource.Dimension' does not contain a definition for dialog_fixed_height_minor'
Resources/Resource.designer.cs(503,125): error CS0117: PaypalSample.Droid.Resource.Dimension' does not contain a definition for dialog_fixed_width_major'
Resources/Resource.designer.cs(504,125): error CS0117: PaypalSample.Droid.Resource.Dimension' does not contain a definition for dialog_fixed_width_minor'
Resources/Resource.designer.cs(510,141): error CS0117: PaypalSample.Droid.Resource.Dimension' does not contain a definition for mr_media_route_controller_art_max_height'
Resources/Resource.designer.cs(597,114): error CS0117: PaypalSample.Droid.Resource.Drawable' does not contain a definition for ic_setting_dark'
Resources/Resource.designer.cs(598,115): error CS0117: PaypalSample.Droid.Resource.Drawable' does not contain a definition for ic_setting_light'
Resources/Resource.designer.cs(609,118): error CS0117: PaypalSample.Droid.Resource.Drawable' does not contain a definition for mr_ic_settings_dark'
Resources/Resource.designer.cs(610,119): error CS0117: PaypalSample.Droid.Resource.Drawable' does not contain a definition for mr_ic_settings_light'
Resources/Resource.designer.cs(630,90): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for art'
Resources/Resource.designer.cs(634,94): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for buttons'
Resources/Resource.designer.cs(649,108): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for default_control_frame'
Resources/Resource.designer.cs(651,97): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for disconnect'
Resources/Resource.designer.cs(676,112): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for media_route_control_frame'
Resources/Resource.designer.cs(677,103): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for media_route_list'
Resources/Resource.designer.cs(678,112): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for media_route_volume_layout'
Resources/Resource.designer.cs(679,112): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for media_route_volume_slider'
Resources/Resource.designer.cs(689,97): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for play_pause'
Resources/Resource.designer.cs(694,97): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for route_name'
Resources/Resource.designer.cs(710,95): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for settings'
Resources/Resource.designer.cs(723,91): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for stop'
Resources/Resource.designer.cs(725,95): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for subtitle'
Resources/Resource.designer.cs(732,96): error CS0117: PaypalSample.Droid.Resource.Id' does not contain a definition for title_bar'
Resources/Resource.designer.cs(780,124): error CS0117: PaypalSample.Droid.Resource.Layout' does not contain a definition for mr_media_route_chooser_dialog'
Resources/Resource.designer.cs(781,138): error CS0117: PaypalSample.Droid.Resource.Layout' does not contain a definition for mr_media_route_controller_material_dialog_b'
Resources/Resource.designer.cs(782,119): error CS0117: PaypalSample.Droid.Resource.Layout' does not contain a definition for mr_media_route_list_item'
Resources/Resource.designer.cs(814,136): error CS0117: PaypalSample.Droid.Resource.String' does not contain a definition for mr_media_route_button_content_description'
Resources/Resource.designer.cs(815,127): error CS0117: PaypalSample.Droid.Resource.String' does not contain a definition for mr_media_route_chooser_searching'
Resources/Resource.designer.cs(816,123): error CS0117: PaypalSample.Droid.Resource.String' does not contain a definition for mr_media_route_chooser_title'
Resources/Resource.designer.cs(817,131): error CS0117: PaypalSample.Droid.Resource.String' does not contain a definition for mr_media_route_controller_disconnect'
Resources/Resource.designer.cs(818,138): error CS0117: PaypalSample.Droid.Resource.String' does not contain a definition for mr_media_route_controller_no_info_available'
Resources/Resource.designer.cs(819,126): error CS0117: PaypalSample.Droid.Resource.String' does not contain a definition for mr_media_route_controller_pause'
Resources/Resource.designer.cs(820,125): error CS0117: PaypalSample.Droid.Resource.String' does not contain a definition for mr_media_route_controller_play'
Resources/Resource.designer.cs(821,141): error CS0117: PaypalSample.Droid.Resource.String' does not contain a definition for mr_media_route_controller_settings_description'
Resources/Resource.designer.cs(822,125): error CS0117: PaypalSample.Droid.Resource.String' does not contain a definition for mr_media_route_controller_stop'
Resources/Resource.designer.cs(982,142): error CS0117: PaypalSample.Droid.Resource.Style' does not contain a definition for RtlOverlay_Widget_AppCompat_ActionButton_Overflow'
Resources/Resource.designer.cs(1261,140): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for FloatingActionButton_android_background'
Resources/Resource.designer.cs(1413,106): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme'
Resources/Resource.designer.cs(1414,123): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionBarDivider'
Resources/Resource.designer.cs(1415,130): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionBarItemBackground'
Resources/Resource.designer.cs(1416,126): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionBarPopupTheme'
Resources/Resource.designer.cs(1417,120): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionBarSize'
Resources/Resource.designer.cs(1418,126): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionBarSplitStyle'
Resources/Resource.designer.cs(1419,121): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionBarStyle'
Resources/Resource.designer.cs(1420,127): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionBarTabBarStyle'
Resources/Resource.designer.cs(1421,124): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionBarTabStyle'
Resources/Resource.designer.cs(1422,128): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionBarTabTextStyle'
Resources/Resource.designer.cs(1423,121): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionBarTheme'
Resources/Resource.designer.cs(1424,127): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionBarWidgetTheme'
Resources/Resource.designer.cs(1425,124): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionButtonStyle'
Resources/Resource.designer.cs(1426,126): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionDropDownStyle'
Resources/Resource.designer.cs(1427,131): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionMenuTextAppearance'
Resources/Resource.designer.cs(1428,126): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionMenuTextColor'
Resources/Resource.designer.cs(1429,127): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionModeBackground'
Resources/Resource.designer.cs(1430,133): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionModeCloseButtonStyle'
Resources/Resource.designer.cs(1431,130): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionModeCloseDrawable'
Resources/Resource.designer.cs(1432,129): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionModeCopyDrawable'
Resources/Resource.designer.cs(1433,128): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionModeCutDrawable'
Resources/Resource.designer.cs(1434,129): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionModeFindDrawable'
Resources/Resource.designer.cs(1435,130): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionModePasteDrawable'
Resources/Resource.designer.cs(1436,133): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionModePopupWindowStyle'
Resources/Resource.designer.cs(1437,134): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionModeSelectAllDrawable'
Resources/Resource.designer.cs(1438,130): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionModeShareDrawable'
Resources/Resource.designer.cs(1439,132): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionModeSplitBackground'
Resources/Resource.designer.cs(1440,122): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionModeStyle'
Resources/Resource.designer.cs(1441,134): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionModeWebSearchDrawable'
Resources/Resource.designer.cs(1442,132): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionOverflowButtonStyle'
Resources/Resource.designer.cs(1443,130): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_actionOverflowMenuStyle'
Resources/Resource.designer.cs(1444,131): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_activityChooserViewStyle'
Resources/Resource.designer.cs(1445,134): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_alertDialogButtonGroupStyle'
Resources/Resource.designer.cs(1446,131): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_alertDialogCenterButtons'
Resources/Resource.designer.cs(1447,123): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_alertDialogStyle'
Resources/Resource.designer.cs(1448,123): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_alertDialogTheme'
Resources/Resource.designer.cs(1449,135): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_android_windowAnimationStyle'
Resources/Resource.designer.cs(1450,131): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_android_windowIsFloating'
Resources/Resource.designer.cs(1451,132): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_autoCompleteTextViewStyle'
Resources/Resource.designer.cs(1452,128): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_borderlessButtonStyle'
Resources/Resource.designer.cs(1453,127): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_buttonBarButtonStyle'
Resources/Resource.designer.cs(1454,135): error CS0117: PaypalSample.Droid.Resource.Styleable' does not contain a definition for Theme_buttonBarNegativeButtonStyle'
Would you please provide some solution for this?

@huepark could you provide me more info about the issue ie. Device, Device Os Ver, App Target SDK, Minimum & Target Framework, also I released a new version that it is builded for forms <IP_ADDRESS> and Support Libraries <IP_ADDRESS> https://www.nuget.org/packages/PayPal.Forms/2.0.3 please let me know if the new release fix your issue


Can't install extensions on Ubuntu LTS 14.04

VSCode Version:1.0.0
OS Version: Ubuntu 14.04 (via deb-package) on a virtualbox (via vagrant if that matters)

Steps to Reproduce:

Open fresh installed VSCode within Ubuntu 14.04/virtualbox/vagrant
ext install tslint (or any other, as it doesn't matter)
Press the download button
Nothing happens (No popup, no install, no extension-dir in my home-folder, no errormessage)

No problem on the same setup with VSCode 0.10.xx (which was not really installed via deb, but only by extracted zip-File of VSCode, I think deb wasn't available at this time). Where may I take a look at, is there a log-File or something more verbose?
Thanks!

@Cyber1000 anything in the console (help > toggle developer tools)?

Do you have a proxy?

In developer tools I'm getting this some seconds after pressing enter on "ext install {whatever}":

Virtualbox is NATted, if that matters (some weeks ago with 0.10.xx it worked with the same settings), no proxy.
I'll try to switch to bridged network.

No difference, internet works within virtualbox, but installing extensions in VSCode always throws an error.
Reinstall also didn't work.
Can I download marketplace-extensions manually (to test if downloading is the problem).
What more can I do?
Thanks!

Seems to not be network related.
Does the user under which Code runs have permissions to write to the following paths?

$TMPDIR
~/.vscode
~/.vscode/extensions

Is there something inside ~/.vscode/extensions?

Sorry for the inconvinience, a proper error-message would be fine though.
Thanks for your fast help :+1:

I'll keep it open, to take care of displaying the error message. 👍

similar behaviour:
Ubuntu 16.04 in VirtualBox with NAT
proxy over cntlm on windows host
http_proxy and https_proxy env vars on ubuntu are set, and other linux cli tools are working
installed latest april deb package
Ctrl+Shift+P ext install -> endless activity indicator
developer tools console (but no new entries after above command):
connect ETIMEDOUT <IP_ADDRESS>:443
connect ETIMEDOUT <IP_ADDRESS>:80

Verification:

Change the owner of extensions folder to be root, eg: sudo chown root ~/.vscode-oss-dev/extensions.
Try to install an extension
You should see an error message in the workbench, something containing EPERM.

@joaomoreno I don't see an error messages with those steps

See anything in the dev tools? Sure you have latest?

Ok found a problem in installing extensions, you might be seeing it instead: #6947

yeah, I saw something like that. Tho I could install backspace-plusplus and after changing the owner I could uninstall it.

@jrieken Just pushed fixes... Can you try verifying again?

Similar issue, vscode can't work in vagrant/ubuntu16.04
VSCode Version:1.4.0
OS Version: Ubuntu 16.04 on a virtualbox


Add disclaimer to certain events

For example Anand Karaj has several rules that must be followed, these should be outlined in the email.

Also, funeral's should not have a deposit required. But, afterwards they are expected to pay a balance (as much as they want).

Tangentially related to #47.


[bug:rust] can't detect value if it's in a macro

⏯ Playground Link

Playground link with relevant code
💻 Code

Code:
struct Test {
    a: i32,
}

fn main() {
    let a = vec![Some(Test {
        a: 42
    })];
}

Pattern:
Test { $VALUE }

🙁 Actual behavior
Test { a: 42 } doesn't get selected.
🙂 Expected behavior
Test { a: 42 } should get selected.
Removing the vec! makes it working again:
struct Test {
    a: i32,
}

fn main() {
    let a = Some(Test {
        a: 42
    });
}

This is expected. Test {..} inside Rust's macro is parsed as token tree, instead of identifier.
Please see the output in TreeSitter panel. https://ast-grep.github.io/reference/playground

Similar issue https://github.com/ast-grep/ast-grep/issues/702

oh. Hm... May I ask if you have an idea how to catch the stuff inside the macro?

You can use ast-grep-py or ast-grep/napi to inspect the macro tree programmatically. https://ast-grep.github.io/guide/api-usage.html

ok, thank you :)


Polisy - PGC - Ambient Weather

I have installed the nodeserver from the PGC site and it integrates into my ISY, but the data that is populated shows a "1" in all fields. For example, wind speed, temperature, humidity, etc. all shows a "1"
What is wrong?
Please help. Logfiles attached.
ambientweather-0021b900fd99-9 (2).txt
Paul Straten
(817) 366-7999
<EMAIL_ADDRESS>

Also, I have 2 different weather stations at 2 different houses under my single account at AmbientWeather - how does it know which one to pull the data from for the nodes?
Also attaching logfile
ambientweather-0021b900fd99-9 (1).txt

Is anyone assigned to this ticket?

Ran another logfile this morning if this will assist - the data that is being populated is in error still.
ambientweather-0021b900fd99-9 (4).txt


Publish 2.3.1 to use as go module

Proposal
Publish v2.3.1 to https://pkg.go.dev/github.com/percona/percona-postgresql-operator/cmd/postgres-operator.
Use-Case
I am writing an operator that uses the PerconaPGCluster types. They are available in v2.3.1, but the latest version to import is v1.5.1
Is this a feature you are interested in implementing yourself?
Yes
Anything else?
I could do this myself if I knew how to do it. If given guidance, I do not mind picking this up myself.

Oh, it seems to be autogenerated. We will fix it.
@inelpandzic once you have time, please have a look.

@spron-in Thank you 🙏 I am now using github.com/percona/percona-postgresql-operator v0.0.0-20240122085308-8253f681478d which is not very elegant, but I am no longer blocked on this.


Halt retrying

We just updated from 3.35.2 to 3.37.0.
We have a build which is getting cancelled but all jobs are stuck in an endless loop retrying.
kubectl logs $AGENT_IT builder | grep "Buildkite rejected the call to start the job" | wc -l
     758

So there are 758 retries on this agent!
We got hundreds of these messages and the job is stuck for >1h.
{"ts":"2022-07-24T07:02:38Z","level":"INFO","msg":"Assigned job 01822a27-1e37-4968-8126-79aaecef5a44. Accepting...","agent":"shopify-build-docker-6fb69d7c48-mphf9"}
{"ts":"2022-07-24T07:02:38Z","level":"INFO","msg":"Starting job 01822a27-1e37-4968-8126-79aaecef5a44","agent":"shopify-build-docker-6fb69d7c48-mphf9"}
{"ts":"2022-07-24T07:02:38Z","level":"WARN","msg":"Buildkite rejected the call to start the job (PUT https://agent-shopify.buildkite.com/v3/jobs/01822a27-1e37-4968-8126-79aaecef5a44/start: 422 This job can't be started while the build is in a `canceling` state.)","agent":"shopify-build-docker-6fb69d7c48-mphf9"}
{"ts":"2022-07-24T07:02:38Z","level":"ERROR","msg":"Failed to run job: PUT https://agent-shopify.buildkite.com/v3/jobs/01822a27-1e37-4968-8126-79aaecef5a44/start: 422 This job can't be started while the build is in a `canceling` state.","agent":"shopify-build-docker-6fb69d7c48-mphf9"}
{"ts":"2022-07-24T07:02:46Z","level":"INFO","msg":"Assigned job 01822a27-1e37-4968-8126-79aaecef5a44. Accepting...","agent":"shopify-build-docker-6fb69d7c48-mphf9"}
{"ts":"2022-07-24T07:02:46Z","level":"INFO","msg":"Starting job 01822a27-1e37-4968-8126-79aaecef5a44","agent":"shopify-build-docker-6fb69d7c48-mphf9"}
{"ts":"2022-07-24T07:02:46Z","level":"WARN","msg":"Buildkite rejected the call to start the job (PUT https://agent-shopify.buildkite.com/v3/jobs/01822a27-1e37-4968-8126-79aaecef5a44/start: 422 This job can't be started while the build is in a `canceling` state.)","agent":"shopify-build-docker-6fb69d7c48-mphf9"}
{"ts":"2022-07-24T07:02:46Z","level":"ERROR","msg":"Failed to run job: PUT https://agent-shopify.buildkite.com/v3/jobs/01822a27-1e37-4968-8126-79aaecef5a44/start: 422 This job can't be started while the build is in a `canceling` state.","agent":"shopify-build-docker-6fb69d7c48-mphf9"}

I believe it might be related to https://github.com/buildkite/agent/pull/1675
I'm not entirely sure this will fix the error but the example in roko says this
r := roko.NewRetrier(
  roko.WithMaxAttempts(3),                           // Only try 3 times, then give up
  roko.WithStrategy(roko.Constant(5 * time.Second)), // Wait 5 seconds between attempts
)

err := r.Do(func(r *roko.Retrier) error {
  err := canFail()
  if err.Is(errorUnrecoverable) {
    r.Break()  // Give up, we can't recover from this error
    return err // We still need to return from this function, Break() doesn't halt this callback
    // return nil would be appropriate too, if we don't want to handle this error further
  }
})

Close https://github.com/buildkite/agent/issues/1723

Hmm not too sure that will fix it 🤔 The retry should be halted anyway and the final return should return the error. Might be a complete red herring.

@ChrisBr yeah, i think the retrier thing might be a red herring - it'll already return the 422 error, without the early return you've added.
I'm pretty sure that this is an issue with the buildkite backend - i think what's happening here is:

Our dispatcher doesn't know that it shouldn't dispatch jobs in the cancelling state, so it tries to dispatch this job to the agent our unhappy agent here
The agent receives the cancelling job, and says "yep, sure thing!" and tries to accept the job with the buildkite backend
Buildkite tells the agent that it's not allowed to accept a job in the cancelling state
The agent says "oh bummer, okay", spits out the error message above, and goes back to polling for work
Repeat ad nauseam

we have a couple of bits of work ongoing to fix this issues and issues like it - in the meantime, manually cancelling the job in the BK ui should resolve this issue, but i realise that it's not an ideal solution. i'll get back to you when we've made some progress on the underlying issue.

I'm pretty sure that this is an issue with the buildkite backend - i think what's happening here is:

What I'm just surprised is that this agent gets assigned the same job again and again. We had a few hundred agents running, shouldn't there be a bit of a mix if it's coming from the backend?

in the meantime, manually cancelling the job in the BK ui should resolve this issue, but i realise that it's not an ideal solution.

Yeah that's not ideal as we got builds with a few 100 steps in parallel.
I never saw this before so it was just a bit of an alarm bell as it haapened just after the agent upgrade.

What I'm just surprised is that this agent gets assigned the same job again and again

i think this is happening because the dispatcher has already assigned this agent to this job, and the agent accepted it, so when the agent pings for work again, the dispatcher says "i've already assigned this one to you".

Yeah that's not ideal as we got builds with a few 100 steps in parallel.

yep, i totally understand - we're working on it, and i hope to be able to update you soon

Closing this one then as it seems a backend issue.


Object reference not set to an instance of an object

System Information (please complete the following information):

Model Builder or CLI Version: 16.14.1+6737204c7385d9f8d1252a097a5f86747dc0ce81
Visual Studio Version (if applicable):

Describe the bug

On which page of the tutorial did you run into an issue (URL): https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/train
Clear description of the problem: When attempting to run the classification command receive the following output:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.ML.ModelBuilder.AutoMLService.ServiceFactory.CodeGeneratorService.SetTorchRunTimeFolderAndLoadModel(TrainingConfiguration configuration, String modelPath, MLContext& context, ITransformer& model, DataViewSchema& inputSchema) in //src/Microsoft.ML.ModelBuilder.AutoMLService/ServiceFactory/CodeGeneratorService.cs:line 118
at Microsoft.ML.ModelBuilder.AutoMLService.ServiceFactory.CodeGeneratorService.CreateConsoleAppProjectCodesAsync(TrainingConfiguration configuration, Dictionary`2 sampleData, String sampleProjectName, String nameSpace, String className, String modelPath, String[] labels, String targetFramework, Boolean isDev17, CancellationToken ct) in //src/Microsoft.ML.ModelBuilder.AutoMLService/ServiceFactory/CodeGeneratorService.cs:line 61
at Microsoft.ML.CLI.Program.GenerateConsoleAppAsync(TrainingConfiguration trainingConfiguration, TrainResult trainResult, PathConfiguration pathConfig, String dataset) in //src/mlnet/Program.cs:line 368
at Microsoft.ML.CLI.Program.AutoMLCommandRunner(AutoMLCommand command, Boolean skipGenerateConsoleApp) in //src/mlnet/Program.cs:line 338
at Microsoft.ML.CLI.Program.<>c.<b__4_0>d.MoveNext() in //src/mlnet/Program.cs:line 90
--- End of stack trace from previous location ---
at System.CommandLine.Invocation.CommandHandler.GetExitCodeAsync(Object value, InvocationContext context)
at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.ML.CLI.Program.<>c__DisplayClass4_0.<b__9>d.MoveNext() in //src/mlnet/Program.cs:line 291
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__24_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass11_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__10_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<b__0>d.MoveNext()

To Reproduce
Steps to reproduce the behavior:

Run mlnet classification --dataset "yelp_labelled.txt" --label-col 1 --has-header false --name SentimentModel  --train-time 60mlnet

Expected behavior
A successful build of the classification dataset

Only SentimentModel.mbconfig and SentimentModel.zip is created. The application code is not generated.

Hi @fred-ahead
Sorry to hear you ran into this issue. We're looking into it.
@LittleLittleCloud can you please take a look at this one. Thanks.

I am seeing the same issue
mlnet version : 16.14.2+48a74e849ab32700b5af6489a96ff50c0e3bc429

Looking at it

We push a fix for it, in the meanwhile, a workaround can be adding a $Path variable in your system environment.

@LittleLittleCloud What is missing from the path?  Happy to do that, just need to know what to add to my path.

@fred-ahead The content of $Path doesn't matter. This issue is caused because mlnet cli can't find $Path environment variable is missing in the system.

@LittleLittleCloud can you elaborate? I'm running into the same exact issue with the mlnet cli on MacOs. My path variable is set and displays correctly when doing echo $PATH

@joanimato sure. We just push a fix to nuget and please update to the latest cli to deploy the fix.
More details on this error if anyone interests
MLNet cli checks if env:path exists in environment by calling
var path = Environment.GetVariable("Path")

and then adds runtime folder into env:Path.
by calling
if (!path.contain(runtimefolder))
    path = /path/to/runtime;path

The problem is Environment.GetVariable("Path") returns a null if "Path" doesn't exist. And if "Path" is null, calling path.contain will trigger an object reference not set instance exception.

If it checks for Path then that is most likely the issue as on a Mac the PATH variable is all caps.  Path does not work for Mac, neither does path. PATH does work though. On Windows the capitalization doesn't matter.

To be clear, on a Mac this issue is easily resolved by doing the following:
export Path=$PATH
I was able to easily build the code with the above command.

it might affect text classification GPU training in Mac. @LittleLittleCloud to look into


Accessibility of the status page

References

Fixes #1190

Description
Using grid system classes, creation of a new class in scss and media query to improve the responsiveness of the status page using the "item-operation" component.
Instructions for reviewers
List of changes in this PR:

In the "item-operation" component, the grid system classes "col-3" and "col-9" have been replaced by "col-12 col-md-3" and "col-12 col-md-9" in the div containing the text describing the functionality of the buttons and in the div containing the buttons.
The "item-operation.component.scss" file was created for styling.
The "column-height" class was created to define the height of the grid columns on larger and smaller screens using media queries.

To reproduce:

Log in as an administrator.
Enter an item and click on the edit button.
Click on the status button.
Zoom out and see that the texts and buttons on the status page are responsive.

I tested this PR locally in Firefox and Chrome, and it does make the buttons and their labels on the status page more responsive. But for some reason there is space between the text and the button, so the text appears closer to the button above it. See screenshot.

Hi @nwoodward, thanks for the feedback!
I had a look and realized that the h-100 class in the div containing the text was causing this! I removed it and now everything should be working properly.

Hi @Andrea-Guevara! I confirmed the alignment issue still exists between the Bootstrap breakpoints for extra small (576px) and small screens (767px). I think the issue is that setting the height to 100% in the new column-height class does the same thing as the h-100 Bootstrap class. So I think both need to be removed. Was there a reasons for setting it in the first place?

Hello @nwoodward, good morning!
Sorry for the delay in replying, our schedules haven't been matching up. You're right, we could set the height of the text column with the h-auto bootstrap class and remove the 100% height.
My main idea was: on larger screens leave the height of the text column at 100% and on smaller screens leave it automatic.
Thank you for your suggestions, I look forward to your feedback.

Good afternoon @artlowel!
Thank you very much for your feedback.
I've made the changes to the “item-status.component” component, and in addition to your suggestions, I've added a small space between the lines to improve readability.
I think the bold labels are great!
We'll be happy to help with anything.

Good morning @artlowel!
I've already adjusted the code. In the “item-status.component.html” the labels are defined directly in the divs, if it's interesting for you, I could add the  tag as it is defined in the “item-operation.component.html”.
I hope I've got it right and made the necessary adjustments to the code.
Once again, we are at your disposal!


Maybe a typo in Readme

Describe the Bug
Is it necessary to install Prism Theme, or just a typo in Readme?
Relevant Screenshots

thanks, It's just copied and not corrected🥲


No need for the anonymous type here

Think RedirectToAction() has an overload that takes an Action name and Controller name so you don't need the anonymous type.
https://github.com/TwilioDevEd/browser-calls-csharp/blob/master/BrowserCalls.Web/Controllers/TicketsController.cs#L27

Please have a look on this one #7.


Need to add a PR template in this repo for contributer

Sended to PR and after merged. Why not add more valuble?
So what I was thought add a template for PR and Also added CONTRIBUTE.md file and style of code.
I had plan to add all this infomation.
Here is link to more about it.
Do you want send PR?
Yes!

Okay.
But still, need to more work to add Contribute.md and open_issue_template.md
So could you please help me what contains do you want to add in Contribute.md so I can add more specific to this repo otherwise I will add general rules?
Also, need to coding style of it. Please just add some  .txt file in repo I will do further.

It is nice to see you added PR template in repo.


ARTEMIS-5142 support never expiring incoming messages

@gemmellr, take a look at this as a potential replacement for #5334. I feel like this is much simpler and more intuitive.

@gemmellr, if you're good with this then I'll add more tests for the new never-expire address-setting.

You mentioned adding more tests...this is one I actually do think should have integration tests as well.
In particular, as I think about it more, I guess its likely there is a gotcha in there for AMQP messages (both for this and the existing min/max etc). I would not be surprised to see the broker apply the new expirations 'locally' but then send the original expiration to the consumer...so e.g if you increase or remove an original expiration, things may not turn out at all as intended.

@gemmellr, I added some integration tests and problem which I fixed. Let me know what you think.


Reproducibility of RFB speed

Hi,
I think you should add torch.cuda.synchronize() inside timer(e.g. after net(x) ), because CUDA is asynchronous.
By adding this, I got ~0.12s/forward.

The current inference time measurement followed as faster rcnn. Moreover, each forward only process a single image at test, so we do not need synchronize to depress the power of CUDA.


Donut Chart with Legend with slice in random order

Expected Behavior
The order in the legend equal in the order of the donut chart slices.
First name in the legend be the first slice and the slice that is together be the second name in the legend and so on.
Current Behavior
The order in the legend is not the order of the donut chart slices.
Possible Solution

Steps to Reproduce (for bugs)

Screenshots (if appropriate):
Context

Your Environment

Version used:
Browser Name and version:
Operating System and version:
Link to your project or codepen:

Hi @renatofmiguel, thanks for creating this issue!
The donut chart renders slides ordered by sizes of the slices. You could do the same for the legend in order to get the same effect.
In practice, it would be something like:
d3Selection.select('.other-css-selector')
    .datum(dataset.map(orderBySize))
    .call(legendBox);

Hi @Golodhros thanks for the quick response. I'll test and I'll give feedback later.

Closing due to lack of activity


The application crashes when clicking the image being Encrypting

Expected behavior
Supposedly, when I click on the image being encrypted the application will not crash.
Actual behavior
Initially, when I send a picture via "Choose from Library" and still in Encrypting process, I click on the image to ensure it, the application suddenly crashes and exits by itself.
How to reproduce

Install apps and lists
Next go to the team menu, and do "Create team" or "Join the team".
Next go to the chat page
Next do image sending via "Choose from Library"
While the image is in the process of Encrypting, click on the image, then the application will crash.

Device: Xiaomi Redmi 4X
Operating system: Marshmallow, 6.0.1 mmb29m (CPU: Octa-core Max 1.9 GHz, RAM: 2 GB)
Application Version:

Recording Of The Bug
https://www.youtube.com/watch?v=0Pf_zIqPdbk
Logcat
05-23 01:31:43.529 32016 32072 E AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
05-23 01:31:43.529 32016 32072 E AndroidRuntime: Process: io.keybase.ossifrage, PID: 32016
05-23 01:31:43.529 32016 32072 E AndroidRuntime: java.lang.RuntimeException: Cannot add a child that doesn't have a YogaNode to a parent without a measure function! (Trying to add a 'ReactRawTextShadowNode' to a 'LayoutShadowNode')
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at com.facebook.react.uimanager.ReactShadowNodeImpl.addChildAt(ReactShadowNodeImpl.java:199)
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at com.facebook.react.uimanager.ReactShadowNodeImpl.addChildAt(ReactShadowNodeImpl.java:54)
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at com.facebook.react.uimanager.UIImplementation.setChildren(UIImplementation.java:482)
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at com.facebook.react.uimanager.UIManagerModule.setChildren(UIManagerModule.java:439)
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:374)
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:162)
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:742)
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:95)
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:194)
05-23 01:31:43.529 32016 32072 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:818)
05-23 01:31:43.576 32016 32072 E MQSEventManagerDelegate: failed to get MQSService.

I'm just going to hop on the back of this, I'm not sure if my issue is related or not but I often have trouble uploading a photo in a similar scenario. Either taking a photo or upload from library, during the encryption phase it'll do one of the following. Fall over, fail to encrypt and send the image and the recipient will either see a blank square where the image should be, or never receive the message at all.
I've noticed on Android this happens more frequently when I sleep the device by tapping the power button. This suggests to me that the encryption / sending process is being run in the foreground and so any interaction with the message, or tombstoning of the application, seems to break the entire process.
If this seems unrelated then I'll happily open a new ticket, but I have a feeling it may be related.


[FEATURE]: Support react-native-quick-sqlite

Describe want to want
React Native has a really good SQLite library https://github.com/margelo/react-native-quick-sqlite authored by @ospfranco and now maintained by @margelo.
TypeORM supports RN but this is currently broken, it would be awesome if drizzle had an adapter for quick-sqlite!

I'd be amazing!. I'm trying to find a solution to easily sync server and an offline react native app. I've been trying using watermelondb and quick-sqlite to implement this feature but I'd be way more easy if I could use the same ORM both in the server and backend.
Currently I'm using Prisma in the backend but it seems they are not interested on supporting React Native.

@elevyg If you need proper sync, you might be better off using https://rxdb.info/ or https://github.com/craftzdog/pouchdb-react-native
But I think both would require your backend be based on couchdb.

PouchDb looks like is not having support anymore and RxDb despite being open source has a premium package that I don't like.
I think there is space for something more similar to watermelon db but written in a more declarative way.

This would be great 👍🏼

this would be awesome! Would be nice if it supported expo sqlite as well.

this would be awesome! Would be nice if it supported expo sqlite as well.

You can use the sqlite-proxy pretty easily.
Heres a quick and dirty example:
import { drizzle } from "drizzle-orm/sqlite-proxy";
import * as SQLite from 'expo-sqlite';
import * as schema from "./schema";

export const expoSql = SQLite.openDatabase('mydb.db');

export const db = drizzle(async (sql, params, method) => {
    try {
        const results = await expoSql.execAsync([{ sql, args: params }], false);
        const rows = (results[0] as SQLite.ResultSet).rows;
        if (method === 'get') {
            if (rows.length === 0) return { rows: null as any };
            // The typescript apis wants an array, but it seems more likely that get methods want a single item
            return { rows: rows[0] as any };
        }

        return { rows: rows };
    } catch (e) {
        error('Error in db.ts:', e);
        return { rows: [] };
    }
}, {
    schema: schema,
    logger: {
        logQuery: function (query: string, params: unknown[]): void {
            log('[DRIZZLE] Query', { query, params });
        }
    }
});

I created a new package, based on quick-sqlite. It's much more faster and I also implemented the update_hook, which I guess is needed by drizzle.
https://github.com/OP-Engineering/op-sqlite


small bug fix

random.randint is inclusive

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


syncer/binlogstream (dm): split this package from syncer

What problem does this PR solve?

Issue Number: ref #4287
What is changed and how it works?
as title. Split the package so the logic is more clear and easier to test
// Package binlogstream is used by syncer to read binlog.
// All information related to upstream binlog stream should be kept in this package,
// such as reset binlog to a location, maintain properties of the binlog event
// and stream, inject or delete binlog events with binlog stream, etc.

Check List
Tests

pass original tests

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`.

Codecov Report

Merging #5704 (d78cb13) into master (fcea4d5) will increase coverage by 0.4632%.
The diff coverage is 60.8327%.

Flag
Coverage Δ

cdc
61.8634% <62.3994%> (+0.7153%)
:arrow_up:

dm
51.9260% <18.0000%> (-0.1167%)
:arrow_down:

engine
58.5557% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #5704        +/-   ##
================================================
+ Coverage   56.0768%   56.5401%   +0.4632%
================================================
  Files           535        678       +143
  Lines         70143      79066      +8923
================================================
+ Hits          39334      44704      +5370
- Misses        27078      30155      +3077
- Partials       3731       4207       +476

/merge

/run-leak-test

/run-dm-integration-test

/run-dm-integration-test

/run-all-tests

/run-dm-integration-test

/run-dm-integration-test

/run-dm-integration-test

/merge

/run-dm-integration-test
/run-verify

/run-dm-integration-test
/run-verify


Processing Kraken output with gb_taxonomy_tools

Kraken output
Kraken classifies reads against sequence databases producing the following output (see this link for a larger dataset):
C	M02286:29:000000000-AA53D:1:1105:19680:16914	1	483	Q:1
C	M02286:29:000000000-AA53D:1:1114:23595:17370	48479	477	Q:1

here, the second column (e.g., M02286:29:000000000-AA53D:1:1105:19680:16914) contains sequencing read names, the third (e.g., 1 and 48479) are NCBI taxonomy ids, and the fourth (483 and 477) are alignment lengths.
What is the problem?
The current version of the taxonomy-reader ingests input datasets consisting of three columns including gid, taxid, and count triplets. It will not work on the Kraken dataset shown above (or here) even if trimmed using cut -f2,3,4  as it has some kind of a problem with the read ids.
How should it work?
Ideally I would like to use three columns containing read id, NCBI TaxId, and align length to taxonomy-reader and have it output the read id, NCBI TaxId, and align length followed by full 22 field taxonomy list. That's it.
Actually,
even more generically, given any value, taxId pair output value, taxId followed by 22 taxonomy fields.

Hi Anton,
Try the latest commit (I'll test and tag it off as a version). I have modified taxonomy-reader to take the third optional argument, which is the 0-based index of the field in the input stream lines where taxid lives. The default behavior now is to read the entire input line (can be more than 3 fields), split into tabs, and echo the entire input line to the output followed by the 22-field taxonomy dump.

Sergei

perfect, thanks!

Hi Anton,
Please use release 1.0.0
Sergei


Added process: warp_projection

I'm not sure which of the existing categories is suitable, I tentatively added a category 'spatial'.
Closes #22

Great, thank you. I made some tweaks, but are also not sure about the categories yet. I put it into cubes and aggregate (to be combined with related operations such as resample and aggregate), but the category aggregate needs probably another name as warping is not really an aggregation method. Anybody ware of a better name?

looks good, about the description:
Warps the projection of a data cube to the target one
I would say:
Warps the data cube to the target projection

Warps the data cube to the target projection
I agree, much better than what I wrote.

Thanks, changed. Also improved the definition of the projection parameter.

Just a small comment from my side: In my opinion it would be convenient to specify a generic function warp(raster_cube_source, raster_cube_target, resampling_method). As you have mentioned in the meeting today, the datacube object should have all spatial related properties (e.g. extent, projection, pixel spacing...). If the extent is different, you will get the same result as with filter_bbox, if you you want to resample the data (e.g. downsampling 10m->500m), then you change the spatial resolution of the target datacube and if you want to reproject, then you change the projection system of the target datacube. Then we would have only one function instead of multiple. Moreover, a function clone_raster_cube (i.e. copying all properties from a raster cube and creating an empty one) could be helpful in case a user only has to change one property instead of specifying all spatial attributes.

Do we need to better define what kind of datacube is returned? I guess it will have new geospatial axes, while all other axes will remain the same. Do we need to prescribe the coordinates (offset, spacing, extent) of the new axes, or do we allow backend to determine those in a proprietary way?

We better discuss this in a non-closed issue/PR such as #14.


feat: e2e testing cases

Description
added more e2e testing for thank you page components.

Can we add an assertion for the robots noindex, too? It's a security measure and would be a key assertion here in my opinion.
Reference: https://docs.cypress.io/faq/questions/using-cypress-faq#Can-I-test-the-HTML-head-element


Consider using Algolia for search

Hey, I work for Algolia and saw this project. It would be nice for features like typo-tolerance to simply add a script to push to Algolia and use for example React InstantSearch to display and filter the results.
This will most probably fit under our free plan, and if it wouldn't, then it'd fit under the open source plan.
Happy to help setting it up!

Hey, thanks for reaching out! I'm absolutely interested in using Algolia, I've seen some of what it offers. What would the setup process entail?

on a build step, you would get all flow definitions, push them to Algolia (maybe deduplicate first by getting the data from Algolia before pushing). Then you can decide some settings (maybe track them in a file here too and apply them on build), and you can make an interface with the api client, or with a library like react-instantsearch
Does that make sense,

Yeah that makes sense, I'll probably do it through react-instantsearch. I've got some time at the end of the week, so I'll probably do it around them.
Since definitions change many times a day, how often am I able to push those changes to Algolia? Like anytime a definition changes VS once a day VS when I deploy this project.

It would be best to have some watcher for the definitions, update them when needed. that way you don't need to do a complete batch.

Alright, I've got a PR open and a test app at flow-algolia.surge.sh. Everything looks nice and snappy. 👌  I won't publish this until I figure out the best way to update the index, but after the work done here I'm hopeful. Thanks again for the suggestion and the guidance!

looks lovely! Since you already had a process in place to keep things in sync with the definitions, it should be straightforward

Some feedback from @seafoox: you can use the <Highlight /> component in the hits for having more knowledge why a certain item is picked 💡

Since you already had a process in place to keep things in sync with the definitions, it should be straightforward

Yeah, about that... My method was fetching all the definitions and parsing them client-side when a user loads the app. 😅  I'll need to talk with the flow team about setting up a webhook to update on deploy, but I don't expect that to be too difficult.

A GitHub web hook should do the trick


[site24x7_amazon_monitor] Attributes are documented incorrectly

Without the attribute aws_discover_services the Site24x7 Amazon Monitor cannot be created and fails with an unrelated error message.
╷
│ Error: External ID has been expired, kindly refresh the page and try again
│
│   with module.site24x7_amazon_monitor.site24x7_amazon_monitor.this,
│   on .terraform/modules/site24x7_amazon_monitor/main.tf line 11, in resource "site24x7_amazon_monitor" "this":
│   11: resource "site24x7_amazon_monitor" "this" {
│
╵

I already create a pull request to fix the documentation. https://github.com/site24x7/terraform-provider-site24x7/pull/304

We have updated the Amazon Monitor documentation to make the discovery service field mandatory.
Please feel free to use Terraform with our product and share your feedback.
Thanks,
Vinoth.


Add podspec :heavy_check_mark:

Fix few unused lint errors.

Please, check and merge to master if everything okay.
Also, there's some minor fixes to avoid lint warnings.
So please, tag this commit as 1.0.0 for pods or tag it with something different and notify me to update podspec. Thank you for attention.

 $ pod spec lint

 -> ReactiveObjC (1.0.0)
    - WARN  | xcodebuild:  ReactiveObjC/ReactiveObjC/RACCompoundDisposable.m:85:12: warning: unused variable 'result' [-Wunused-variable]
    - WARN  | xcodebuild:  ReactiveObjC/ReactiveObjC/RACCompoundDisposable.m:132:12: warning: unused variable 'result' [-Wunused-variable]
    - WARN  | xcodebuild:  ReactiveObjC/ReactiveObjC/RACSerialDisposable.m:63:12: warning: unused variable 'result' [-Wunused-variable]
    - WARN  | xcodebuild:  ReactiveObjC/ReactiveObjC/RACSerialDisposable.m:79:12: warning: unused variable 'result' [-Wunused-variable]

Analyzed 1 podspec.

[!] The spec did not pass validation, due to 4 warnings (but you can use `--allow-warnings` to ignore them).

@mdiep done, please, check https://github.com/ReactiveCocoa/ReactiveObjC/pull/11/commits/b4ad8ce34b6b158db3064de1bf9399d9d54884ec.

Thanks!

I've released 1.0.1 with the build warning fixes and push the podspec to CocoaPods trunk. 🚀


Add shuffle argument to the multiprocessiterator.

Allow for non shuffled multi-process iterator, similar to Sequential/ShuffledIterator.

Sorry, I overlooked this PR and implemented shuffle argument independently.

@beam2d no problem, don't miss #1372 :-), thanks


ssh-style job launcher?

I have a few tests which need to run on particular nodes (not compute nodes) which are inaccessible by Slurm but are accessible by SSH. Would it be feasible to add something like an ssh launcher which SSH-es to a particular node and then runs a 'local' test?
An obvious workaround for this feature is to manually SSH to the relevant nodes and then run the tests there using the 'local' launcher. However that behavior requires significant manual intervention, whereas I would like to be able to automate this so that all tests can be run from a single place.

Hi @bcfriesen, I guess you want sth like the following to be generated:
ssh [options] user@host command

I would see this as local+ssh scheduler/launcher combination. I think this is possible to do, but we will need to change how we manage the configuration options internally, in order to allow options to be passed to the scheduler/launcher always. Also, in a straightforward implementation, any variables modifying the environment of the test (e.g., self.modules, self.variables, current environment etc.) will not have an effect to the remote machine. Is this sth you want? Can you provide an example of what you would like to run?

Hi @vkarak,

Is this sth you want? Can you provide an example of what you would like to run?

There are a few use cases that are being considered:

Running tests on certain eLogin nodes which are dedicated 'workflow' nodes (high memory, outside the SSH load balancer, etc.).
Running tests on other types of service nodes which are not accessible from eLogins, and/or would require at least 1 SSH hop to access (e.g., SMW nodes, boot nodes, mom nodes).

I suspect that the types of tests we would like to run on those nodes would not require modules at all, so the inability to carry environment modifications to the remote machine I think would not be a big problem.


Please add Request scope for the Injectable items

Hi Team,
Thanks for the great work again. Could you please give provision for Request scope as that can be really necessary in various use cases. For example if we would need to change the soap url per request based on locale. This is an urgent need and would love to know if it can be done really soon and may be the ETA if you find this a valid request, @lehh .

@Bishal18,
Sorry for the delay.
You mean do requests for different URLs? Like, change the soap module URL on runtime? I don't think this is possible with the current architecture of the lib.
What you can do is create multiple imports of the SoapModule and then you can switch them based on the locale.
Something like that maybe?
@Module({
  imports: [
    SoapModule.register(
      { clientName: 'EN_CLIENT', uri: 'http://yourserver/yourservice-en.wso?wsdl' },
    ),
    SoapModule.register(
      { clientName: 'PT_CLIENT', uri: 'http://yourserver/yourservice-pt.wso?wsdl' },
    ),
  ],
})

Then
export class ExampleService {
  constructor(
    @Inject('EN_CLIENT') private readonly enClient: Client,
    @Inject('PT_CLIENT') private readonly ptClient: Client
  ) {}

  async exampleFunction() {
    if (locale == "en") {
      this.enClient.YourClientFunctionAsync()
    }

    if (locale == "pt") {
      this.ptClient.YourClientFunctionAsync()
    }
  }
}

Hi @lehh, what i wanted is the injection scope to be available while defining the module, so that if i make the injection scope as request, ideally a new instance of the module would be handed out during every request, which would also mean reinstatiation.
Creating multiple imports is something which i really wanted to avoid as that is already used in our setup for endpoints corresponding to different services. Here the use case is the same service is exposed through different baseUrls in different locales, so those baseURls are factory injected to the soap configuration module i have created. The missing link now is the injection scope to be available in the forRootAsync and we will set it as request so that a new instance is always instantiated for each request, where it will also take the correct baseURL, from the injected config. Hope this adds some insights.

Hi @Bishal18
I think I understand what you mean now. What you need is a scope property when creating async modules, right? Like this:
@Module({
  imports: [
    SoapModule.forRootAsync(
        clientName: 'CLIENT_TEST',
        useExisting: TestProvider,
        imports: [TestModule],
        scope: Scope.REQUEST
    ),
  ],
})

And this scope will be applied to the useExisting provider, in that example. Is that it?

Yes that is exactly what i am looking for! Only, in my case, we have the usefactory to return the config for creating the module, and the locale based config is injected for this factory and the scope should be applicable for that injection. Basically something like this:
export const SoapService = SoapModule.forRootAsync({
clientName: 'client1',
inject: [localeConfig],
useFactory: (localeConfig: any) => getOptions(localeConfig),
scope: Scope.REQUEST
});
And this scope should indicate that my injected localeconfig reinstantiates per request.

All right. I believe this can be done pretty fast. I will start working on it as soon as I can. Thanks for the improvement suggestion!

Glad to help in improving this in any way possible. Cheers! 🙂


All devices are listed in AllUnknownIPs

Hello,
All devices are listed in AllUnknownIPs.
Even though listed in radar config.
Tested at Rasbian and Ubuntu 16.04.
Radar Version 0.7.3
regards
ThomasD

Thanks to bring this up. It seems that some devices are even there multiple times. Need to check if the returned data of some modules changed and I need to update most probably the noble and arp-scan part.

I checked in latest version and could not find issue anymore


adding getting started and custom expressions to Python3/Qgis3

Hi Ian - Thanks for your help. I updated the tutorial with some animated GIFs. Do check out and let me know your feedback. I also moved your name to http://www.qgistutorials.com/en/docs/introduction.html along with other contributors. Cheers!