Non writable directory prevents opening
I'm storing the template patterns in OneNote.
The current development version cannot open the file from the application any more.
It would be nice to be able to open pattern from application.
Error message attached
Comments (18)
-
repo owner -
reporter Hi
This is the tested one.
—Timo
-
reporter - attached Male trousers block.val
-
reporter Hi
Maybe it didn’t get through. I attached it in the ticket page
—Timo
-
repo owner Yes, i see it now. :) I did not see it because you attached it in the second message and i replied to first.
-
repo owner Can i use this template for unit testing?
-
reporter Yes of course. Do you need more complicated one?
-
repo owner Do you need more complicated one?
Unit test only test fact that Valentina can open the file. But more files that use different tools will be welcome. I will more faster to know about an issue.
-
repo owner - changed status to open
Took in work.
-
repo owner - assigned issue to
- changed component to File Format, Export
-
Hey, I thought that templates were supposed to be write-protected. You open it, and save it to another file name that is writable, then make changes to the new file. Templates in other software are write-protected.
-
I downloaded the trouser pattern, double-clicked on it, and it opened in Valentina without an error message. Then I changed a point name and saved, and did not get an error message. I'm using the latest Windows test build downloaded from the Valentina webpage on Jan 30 2017, v0.5.0.1883a.
-
reporter I have the pattern included in OneNote page, because I can have the instructions and other additional information in same place. I try open the pattern by double clicking it. So far it has opened and I can save it with other name in writeable location.
-
repo owner - changed status to resolved
Resolved issue
#619. Non writable directory prevents opening.→ <<cset 4ed649af70ee>>
-
reporter It works like a charm. Thanks again a lot.
-
repo owner Great. Little bit about changes:
- Valentina now checks if a file is writable on level of a file system. If not then file marked as read only.
- Valentina now can try change permissions for file before saving.
- I recommend make all template read only by setting special option. This will help prevent accidental modifying a file on level of application.
- From now one just opening file doesn't convert it to new format version. Such a conversion will be done only after first save.
-
reporter Good to know. This is a good enhancement:
- From now one just opening file doesn't convert it to new format version. Such a conversion will be done only after first save.
-
repo owner Yes, i also like it. :) All thanks to you. When i searched a way to open not writable file i came to idea how we can use it everywhere.
- Log in to comment
Please, send me an example of such template.