Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

354
Views
El archivo de verificación xmlhttprequest existe, no se encontró el archivo al compilar la aplicación web FLASK con Pyinstaller

Estoy creando una aplicación web con Flask y Pyinstaller para crear un solo ejecutable y tengo el siguiente problema:

  • Ejecute simplemente ejecutando "Python app.py" todo funciona bien. Pero después de compilar el archivo .exe con Pyinstaller, el código javascript en el archivo html que tiene la función de verificar si el archivo creado existe o no, no se puede enrutar a esa ruta de archivo a pesar de que el archivo existe, intenté ingresar manualmente el ruta al archivo en la barra de URL pero no se puede encontrar la ruta de error,
  • ¿La construcción del ejecutable de python con Pyinstaller no enruta el archivo recién creado? ¿Y hay alguna solución para solucionarlo?
     var http = new XMLHttpRequest(); http.open('HEAD', "/static/" + name_file_rc + ".avi", false); http.send(); if (http.status === 200){ allow_download = true; $('#remove_download').show(); $('#download').show(); $('#frame_record,#second,#size_file,#title_size_file,#title_second').show(); Flag_stop_record_by_err = false; clearInterval(allow_download_inter); clearTimeout(timeout_download); } else{ allow_download = false; // console.log("Load file fail"); }
  • Gracias a todos por ver mi problema y espero su ayuda.
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!