Tesseract giving errors

This morning I tried using tesseract and I’m getting the following error messages:

 $   tesseract --list-langs Error in pixReadMemTiff: function not present Error in pixReadMem: tiff: no pix returned Error in pixaGenerateFontFromString: pix not made Error in bmfCreate: font pixa not made List of available languages (6): eng fra ita mlt osd spa 

I tried sudo apt purge tesseract* followed by a reinstall of tesseract-ocr and language files but the error message remains.

Last week I manually installed leptonica-1.7.8 and jbig2-enc libraries to use with ocrmypdf and everything was working fine.

Any clues on how to proceed to solve this issue?

custom search refreshing on submit and not giving results

The custom search refreshes on submit and also does not give any results. I am not sure what is wrong with the code but if someone could take a look at it to help me see what I am missing, I would sure appreciate it. Thank you in advance.

front-page.php

<form> <section class="" style="margin-top: 60px; padding-bottom: 0;"> <div class="concept-bar">   <div class="container">   <h2 class="title-bar">EJES ESTRATÉGICOS</h2>     <div class="row" style="padding-top: 20px;">       <div class="col-4">         <div class="number-holder"><span class="eje-number">1</span>           <h2 class="concept-item">DESAROLLO INTEGRAL DE TALENTO</h2>         </div>       </div>       <div class="col-4">         <div class="number-holder"><span class="eje-number">2</span>           <h2 class="concept-item">APOYO AL BEISBOL INFANTIL Y JUVENIL</h2>         </div>        </div>       <div class="col-4">         <div class="number-holder"><span class="eje-number">3</span>           <h2 class="concept-item">IMPULSO DE CONCEPTO "BEISBOL" EN MÉXICO</h2>         </div>       </div>     </div>   </div>   </div> </section>  <section class="s-raking">     <div class="container">          <?php             $  terms = get_terms( array(                 'taxonomy' => 'ranking',                 'hide_empty' => false,             ) );         ?>  <!-- <?php         if(isset($  _GET["position"])){             $  position=$  _GET["position"];             // echo "select position is => ".$  position;         } ?>  -->          <h2 class="title-bar" data-ranking="<?php echo $  terms[0]->slug; ?>">Ranking <span><?php echo $  terms[0]->name; ?></span>             <div class="ranking-nav-btn">               <div class="customPrevBtn4"><i class="fa fa-angle-left"></i></div>               <div class="customNextBtn4"><i class="fa fa-angle-right"></i></div>             </div>         </h2>          <div class="row no-gutters">              <div class="col-lg-8">                 <div class="slider-ranking owl-carousel">                      <?php                         foreach($  terms as $  term) { ?>                      <div class="rankig-one" style='background:url(<?php the_field('bg_image', 'term_' .$  term->term_id ); ?>) no-repeat scroll center center; background-size: cover;' data-title="<?php echo $  term->slug; ?>">                         <h3><?php the_field('title_normal', 'term_' .$  term->term_id ); ?> <?php if(get_field('title_strong', 'term_' .$  term->term_id )) { ?><span><?php the_field('title_strong', 'term_' .$  term->term_id ); ?></span><?php } ?></h3>              <!-- <ul class="ajax-content2"> -->                          <?php                          $  posts = get_field('top_players', 'term_' .$  term->term_id );                         if( $  posts ): ?>                             <ul>                             <?php $  i = '1'; foreach( $  posts as $  post): ?>                                 <?php setup_postdata($  post); ?>                                 <li><a href="<?php the_permalink(); ?>"><?php echo $  i; ?> <?php the_title(); ?></a></li>                             <?php $  i++; endforeach; ?>                             </ul>                             <?php wp_reset_postdata(); ?>                         <?php endif;  ?>                      </div>                      <?php } ?> <!-- </ul> -->                 </div>             </div>              <div class="col-lg-4">                 <div class="filters-ranking">                     <div class="filters-search">                         <input type="text" class="quicksearch" placeholder="Encuentra a un jugador" />                         <i class="fa fa-search"></i>                     </div>                     <div class="tabs d-flex">                         <span class="tab">Ranking</span>                         <span class="tab">Selecciona tu estado</span>                     </div>                     <div class="tab_content">                         <div class="tab_item">                             <div class="filters-bar">                                  <select class="filters-select" name="position" onchange="this.form.submit()">                                     <?php                                         $  field_key = "field_5c80e92663dd1";                                         $  field = get_field_object($  field_key);                                         foreach ( $  field['choices'] as $  k => $  v ) {                                             echo '<option value="' . $  k . '">' . $  v . '</option>';                                         }                                     ?>                                 </select>                              </div>                             <div class="players-results" id="ajax-content"></div>                         </div>                         <div class="tab_item">               <div class="players-state">                 <ul>                     <?php                         $  field_key = "field_5cebb7e973218";                         $  field = get_field_object($  field_key);                         foreach ( $  field['choices'] as $  k => $  v ) {                             echo '<li data-value="' . $  k . '">' . $  v . '</li>';                         }                     ?>                 </ul>                               </div>                   </div>                     </div>                 </div>             </div>               <div class="players-results" class="ajax-content2"></div>         </div>       </div> </section>   </form> 

scripts.js

/*ranking filter select*/   $  (".filters-select").on("change", function() {     ranking();   });    /*ranking filter search*/   var ts = $  (".quicksearch").val();   $  (".quicksearch").attr("data-search", ts);   $  (".quicksearch").keyup(function(e) {     var ts = $  (this).val();     $  (".quicksearch").attr("data-search", ts);     ranking();   });    $  (".filters-ranking .players-state").mCustomScrollbar({     scrollButtons: { enable: true }   });   $  (".players-state li").click(function() {     var val = $  (this).attr("data-value");     $  (".players-state").attr("data-state", val);     ranking();   });    /*for first load*/   function ranking() {     $  (".filters-ranking .players-results").mCustomScrollbar("destroy");     var position = $  (".filters-select option:selected").val();     var ranking = $  (".s-raking .title-bar").attr("data-ranking");     var search = $  (".quicksearch").attr("data-search");     var state = $  (".players-state").attr("data-state");      $  .ajax({       url: ajaxurl,       type: "post",       data: {         action: "players",         position: position,         ranking: ranking,         search: search,         state: state       },       success: function(response) {         $  ("#ajax-content").html(response);         $  (".filters-ranking .players-results").mCustomScrollbar({           scrollButtons: { enable: true }         });       }     });      $  .ajax({       url: ajaxurl,       type: "post",       data: {         action: "playersmain",         position: position,         ranking: ranking,         search: search,         state: state       },       success: function(response) {         $  (".ajax-content2").html(response);       }     });   }   ranking();    /*ranking filter select MLB*/   $  (".filters-select-MLB").on("change", function() {     ranking2();   });   function ranking2() {     $  (".ranking-wrap .players-results").mCustomScrollbar("destroy");     var position = $  (".filters-select-MLB option:selected").val();      $  .ajax({       url: ajaxurl,       type: "post",       data: {         action: "playersMLB",         position: position       },       success: function(response) {         $  ("#ajax-content-MLB").html(response);         $  (".ranking-wrap .players-results").mCustomScrollbar({           scrollButtons: { enable: true }         });       }     });   }   ranking2(); 

functions.php

add_action( 'wp_ajax_nopriv_players', 'players' ); add_action( 'wp_ajax_players', 'players' ); function players() {      $  position = $  _POST['position'];     $  ranking = $  _POST['ranking'];     $  search = $  _POST['search'];     $  state = $  _POST['state'];      $  args = array(         'post_type'  => 'players_lpm',         'posts_per_page' => -1,         's' => $  search,         'tax_query' => array(             array(                 'taxonomy' => 'ranking',                 'field'    => 'slug',                 'terms'    => $  ranking             )         ),         'meta_query' => array(         array( 'key' => 'position', 'value' => $  position, 'compare' => 'LIKE' ),         array( 'key' => 'state', 'value' => $  state, 'compare' => 'LIKE' ),         'relation' => 'AND'         )     );      $  the_query = new WP_Query( $  args ); $  i2 = '1';     echo '<ul>';     while ($  the_query -> have_posts()) : $  the_query -> the_post();     echo '<li><a href="'.get_permalink().'"><span>'.$  i2.'</span>'.get_the_title().'</a></li>';     $  i2++; endwhile; wp_reset_postdata();     echo '</ul>';     die(); }  add_action( 'wp_ajax_nopriv_playersmain', 'playersmain' ); add_action( 'wp_ajax_playersmain', 'playersmain' ); function playersmain() {      $  position = $  _POST['position'];     $  ranking = $  _POST['ranking'];     $  search = $  _POST['search'];     $  state = $  _POST['state'];      $  args = array(         'post_type'  => 'players_lpm',         'posts_per_page' => -1,         's' => $  search,         'tax_query' => array(             array(                 'taxonomy' => 'ranking',                 'field'    => 'slug',                 'terms'    => $  ranking             )         ),         'meta_query' => array(             array( 'key' => 'position', 'value' => $  position, 'compare' => 'LIKE' ),             array( 'key' => 'state', 'value' => $  state, 'compare' => 'LIKE' ),             'relation' => 'AND'         )     );      $  the_query = new WP_Query( $  args ); $  i2 = '1';     while ($  the_query -> have_posts()) : $  the_query -> the_post();     echo '<li><a href="'.get_permalink().'"><span>'.$  i2.'</span>'.get_the_title().'</a></li>';     $  i2++; endwhile; wp_reset_postdata();     die(); } 

The site is https://probeis.mx and the search box can be seen in the following image: enter image description here

PC boots STRAIGHT to windows without giving choice for Ubuntu

I installed Ubuntu from USB Drive yesterday, and its been since then i’m searching for solutions. What I tried so far :

-Check BIOS for fast boot (was disabled)

-Check Windows boot (UEFI)

-Check priorities on BIOS (Windows was always on top, no Ubuntu option)

-Execute commands to update grub (says works but problem keeps happening)

Note : I have installed Ubuntu on sda7 (the / root), swap on sda8 and boot on sda9 / Also boot repair says it needs to be on EMI (error)

Thanks for your attention !

sudo apt-get update giving errors

Whenever I try to update using sudo-apt update I get the following errors

W: The repository 'http://ppa.launchpad.net/tualatrix/personal/ubuntu xenial Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: http://archive.canonical.com/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1) E: Failed to fetch http://ppa.launchpad.net/tualatrix/personal/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. 

Please help resolving this issue.

SPService GetListItems with CAML : can’t get the example to work with status giving error

I am new to SPServices and trying start with example GetListItems. Below is my code

$  (document).ready(function() {      GetTasks(); });  function GetTasks() {      var method = "GetListItems";     var list = "Tasks";     var fieldsToRead ="<ViewFields><FieldRef Name='Title'/></ViewFields>";     var query ="<Query><Where><Eq><FieldRef Name='ID'/><Value Type='Counter'>1</Value></Eq></Where></Query>";             $  ().SPServices({             operation: method,             async: false,               listName: list,             CAMLViewFields: fieldsToRead,                completefunc: function (xData, Status) {                      debugger;                     $  (xData.responseXML).find("z\:row").each(function() {                          alert("hello");                         var name = ($  (this).attr("ows_Title"));                     });                                 }     }); } 

The debugger in the completefunc is hit but when I check the status of function(xData, status) the status returns “error”.And after this alert("hello") does not hit.

What is that I am doing wrong in this ?

What effect does giving the Rage action additional traits (e.g. “arcane and evocation”) confer?

Several of the Barbarian Instinct Abilities modify the traits of the Rage action.

For example:

Draconic Rage (Instinct Ability)

While raging, you can increase the additional damage from Rage from 2 to 4 and change its damage type to match that of your dragon’s breath weapon instead of the damage type for your weapon or unarmed attack. If you do this, your Rage action gains the arcane and evocation traits, as well as the trait matching the damage type.

As well, the arcane trait only seems to indicate the effect is magical in nature:

arcane (trait) This magic comes from the arcane tradition, which is built on logic and rationality. Anything with this trait is magical. 299

What mechanics in the game (if any) interact with this modification of the Rage action?

Rage isn’t a spell, so it can’t be dispelled. Antimagic field doesn’t seem to interact with abilities such as this. Rage mainly just modifies weapon damage, so its not like resistance is interacting with the traits of Rage, but rather its modified damage type. Other class Feats tied to the instinct that might have saves (e.g. the dragon’s breath) have the traits, and it makes sense in that context.

How would giving Hydra a Breath Weapon affect game balance and CR?

I wanted to spice up a fight I’m planning for my party by giving a Hydra a Breath Weapon, I’m flexible on the specifics but the change would effectively be described as such

Actions

Multiattack. The hydra makes as many bite or breath attacks as it has heads, but only one attack per head.

Frost Breath (Recharge 5–6). The hydra exhales an icy blast in a 30-foot cone. Each creature in that area must make a DC 12 Constitution saving throw, taking 12 (4d6) cold damage on a failed save, or half as much damage on a successful one.

I took the breath weapon statistics from the Young White Dragon, but I significantly lowered the DC and damage dice to accommodate for the Hydra being able to use it multiple times during a turn.

I am open to suggestions to make this more balanced, but as is, how would this modification effect the Hydra’s CR?