Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4483 Lượt xem

I've migrated OpenERP database to another server. Import was completed successfully. But now menu web icons aren't displaying, and i can't open downloaded attachments from knowledge module. I launched debugger with some breakpoints on local machine and found out, that corresponding values (ir_ui_menu.web_icon_data) was returned as base64 encoded string, but on server they was returned just as binary data. so i tried to select values of this field in psql and saw the same binary data on my old server and current server, but when i run a simple python script using psycopg2 which did the same action, on my old server i get base64 encoded string, but on my current server i got just binary data. so, please explane me, what's matter with psycopg2 or what configuration is missing in postgres server.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 22
4498
2
thg 3 24
29339
1
thg 10 21
5590
1
thg 5 21
9053
2
thg 6 16
10024