Modify ↓
Opened 12 years ago
Last modified 9 years ago
#9935 new defect
Doesn't refresh PNG which substitutes the expanded macro
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | DiaVisViewPlugin |
Severity: | critical | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
Scenario:
- Put
[[DiaVisView(a.dia)]]
to the wiki page. - Attach a diagram a.dia.
- Autogenerated raster file a.png is created and displayed on the page.
- Attach an updated diagram a.dia, replacing the old one.
- Autogenerated raster a.png is updated in filesystem but the page shows the old one.
Attachments (0)
Change History (5)
comment:2 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 11 years ago by
--- DiaVisView.py 2010-06-08 16:53:20.000000000 +0200 +++ DiaVisView.py 2013-06-28 11:57:00.000000000 +0200 @@ -14,6 +14,7 @@
import re import subprocess import Image
+import time
from genshi.builder import Element, tag
@@ -171,6 +172,7 @@
raise Exception('Dia execution failed.')
(png_file_size, png_file_time) = os.stat(png_path)[6:8]
+ png_file_time = int(time.time()*1000000)
# Based on attachment.py, insert db = self.env.get_db_cnx() cursor = db.cursor()
Version 0, edited 11 years ago
by
(next)
comment:4 Changed 11 years ago by
Summary: | Doesn't refresh PNG whitch substitutes the expanded macro → Doesn't refresh PNG which substitutes the expanded macro |
---|
comment:5 Changed 9 years ago by
Owner: | robert_martin deleted |
---|
Note: See
TracTickets for help on using
tickets.
0.11/DiaVisView/DiaVisView.py
+ "?format=raw", **attr)