Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
26554 มุมมอง

I wanted to follow the Creating a Module tutorial and in Windows 10 cmd, I run the following command:

"C:\...\Python37-32\python.exe" "D:\...\Odoo 10.0\server\odoo-bin.exe" scaffold openacademy "D:\...\Odoo 10.0\server\odoo\addons"

I got the following error:

File "D:\...\Odoo 10.0\server\odoo-bin.exe", line 1 
SyntaxError: Non-UTF-8 code starting with '\x90' in file D:\...\Odoo 10.0\server\odoo-bin.exe on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Python Version: 3.7.3

Odoo Version: 10.0-20190524

How can i fix this?

Edit/Answer: After a bit of trial and error I found out that the part with the python was unnecessary:

"path-to-odoo-bin.exe scaffold openacademy path-to-addons" were enough. 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Report not encoded in UTF-8 แก้ไขแล้ว
3
ก.ย. 24
7596
Export database UTF8 with command line แก้ไขแล้ว
1
ก.ค. 19
3388
1
ก.ย. 16
8346
2
มี.ค. 25
3673
1
ม.ค. 23
5012