กดแปลงไฟล์ Rml เป็น Pdf แล้วขึ้น error แบบนี้อะครับ บนเครื่อง ubuntu

แนะนำ สอบถาม ภาษา C สำหรับผู้เริ่มต้น ภาษา Java ภาษา Python

Moderator: mindphp, ผู้ดูแลกระดาน

ภาพประจำตัวสมาชิก
chatee supasand
PHP VIP Members
PHP VIP Members
โพสต์: 1666
ลงทะเบียนเมื่อ: 04/06/2019 10:06 am

กดแปลงไฟล์ Rml เป็น Pdf แล้วขึ้น error แบบนี้อะครับ บนเครื่อง ubuntu

โพสต์ที่ยังไม่ได้อ่าน โดย chatee supasand »

กดแปลงไฟล์ Rml เป็น Pdf แล้วขึ้น error แบบนี้อะครับ บนเครื่อง ubuntu

ลองใช้ใน windows ได้ไม่มีปัญหาอะไร

error ตามรูปด้านล่าง
รูปภาพ

รูปภาพ
TypeError
TypeError: The view function did not return a valid response. The function either returned None or ended without a return statement.

Traceback (most recent call last)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2328, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2314, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1760, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2311, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1835, in full_dispatch_request
return self.finalize_request(rv)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1850, in finalize_request
response = self.make_response(rv)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1976, in make_response
'The view function did not return a valid response. The'
TypeError: The view function did not return a valid response. The function either returned None or ended without a return statement.
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.

You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:

dump() shows all variables in the frame
dump(obj) dumps all that's known about the object
Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.
รูปภาพ
ภาพประจำตัวสมาชิก
thatsawan
PHP VIP Members
PHP VIP Members
โพสต์: 28508
ลงทะเบียนเมื่อ: 31/03/2014 10:02 am
ติดต่อ:

Re: กดแปลงไฟล์ Rml เป็น Pdf แล้วขึ้น error แบบนี้อะครับ บนเครื่อง ubuntu

โพสต์ที่ยังไม่ได้อ่าน โดย thatsawan »

ตอนทำงานได้ค่าอะไรกับมา response

return น่าจะมีปัญหา
https://stackoverflow.com/questions/250 ... a-response
ภาพประจำตัวสมาชิก
chatee supasand
PHP VIP Members
PHP VIP Members
โพสต์: 1666
ลงทะเบียนเมื่อ: 04/06/2019 10:06 am

Re: กดแปลงไฟล์ Rml เป็น Pdf แล้วขึ้น error แบบนี้อะครับ บนเครื่อง ubuntu

โพสต์ที่ยังไม่ได้อ่าน โดย chatee supasand »

แก้ได้แล้วนะครับ
ปัญหาเกิดขึ้นจากตัวขงตารางที่สร้างในฐานข้อมูล
รูปภาพ
ตอบกลับโพส
  • Similar Topics
    ตอบกลับ
    แสดง
    โพสต์ล่าสุด

ผู้ใช้งานขณะนี้

สมาชิกกำลังดูบอร์ดนี้: eange08 และบุคลทั่วไป 100