Opened 12 years ago
Closed 12 years ago
#2006 closed defect (invalid)
Omedit cannot load a file (r14547)
Reported by: | massimo ceraolo | Owned by: | Jens Frenkel |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Backend | Version: | trunk |
Keywords: | Cc: | Willi Braun, Lennart Ochel |
Description
Consider the file TestPkg.mo enclosed. If you run inside it "TestLoadCycle2" within OMEdit, it says:
assert | assert | Cannot open File Sort1.txt
even though file Sort1.txt is present in the current directory.
Attachments (3)
Change History (8)
by , 12 years ago
Attachment: | TestPkg.mo added |
---|
by , 12 years ago
comment:1 by , 12 years ago
Status: | new → accepted |
---|
by , 12 years ago
Attachment: | Sort1.2.txt added |
---|
comment:2 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | accepted → assigned |
comment:3 by , 12 years ago
Component: | OMEdit → Backend |
---|
comment:4 by , 12 years ago
Cc: | added |
---|
comment:5 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Use absolute paths or Files.loadResource
Note:
See TracTickets
for help on using tickets.
You need to put the file in OMEdit's working directory which is,
I fixed some errors in the file so use the new file attached Sort1.2.txt (rename it to Sort1.txt). I get this error now,