Well, red is already used for the "real" warning.hlloyge wrote:Could you change font color for unpack memory warning from yellow to something more readable, like red? I don't see anything
But sure, I can make both colors configurable.
Moderators: Hacker, petermad, Stefan2, white
Well, red is already used for the "real" warning.hlloyge wrote:Could you change font color for unpack memory warning from yellow to something more readable, like red? I don't see anything
Only a TC restart solved the problem for me.milo1012 wrote:I can't reproduce it in the exact order that you described it,Horst.Epp wrote:The following scenario:
1. Don't set "Show all archive versions"
2. Add modified file to an existing archive by selecting "Overwrite all older" in the TC dialog which comes up updating the archive.
3. Set "Show all archive versions" and try to view a file
It gives you an "Disk read error" and no archive versions are shown in the root of the archive.
4. Removing the option "Show all archive versions" allows to read the files without errors but still doesn't show archive versions in the root.
but I guess you opened/viewed the archive before changing the option in step 3.
That's typical TC behavior.
Explanation: TC caches the content of an archive in memory,
and doesn't tell the plug-in to read it again when you would re-open it with Return/Ctrl+PgDown.
Now TC can't know that the archive changed it's internal structure.
Therefore opening it again will show the cached "old" paths, and trying to extract files,
which are not accessible by that old path any more, will trigger an error message.
One solution:
Opening any different archive, no matter if internals like zip/tar, or external plug-in ones, then leaving it immediately,
and opening your zpaq archive again, should trigger a re-read correctly, because TC's archive cache is overridden now.
I tested it to sometimes not work though.
I'm not sure what else you could do do empty that cache, besides TC restart of course.
Maybe Christian could give a hint.
(is there some ini option for that?)
Anyway, please try that and tell me if the issue is still there.
I don't think I can add some logic to detect it somehow,
because I couldn't distinct normal read errors from that "path problem".
But thanks for reminding me of that issue.
I'll add it to the readme for the next version.
Yes, this is by design.krasusczak wrote:Hi I have found one problem/error when you change language to Deutsch the changed & supported variable in pkplugin.ini is not "Deutsch" but "?Deutsch" & works only with this second one, exactly thesame is happens when you try to use other language like "?Spanish" etc.
this "?" may be invisible in some text editors
TC doesn't send any more requests to the plug-in, once the content of the archive is loaded.batchman61 wrote:Is it possible to implement an equivalent of cm_DirBranchSel (Shift+Ctrl+B) to list marked files and folders including sub-folders and -files only ?
The archive content is cached by TC, not by any plug-in, so it doesn't help.batchman61 wrote:regarding archive content cache it could be worth a try to:
close zpaq archive, run cm_UnloadPlugins, reopen archive.
I'm not exactly sure what you mean.kulmegil wrote:Looks like atm it doesn't handle extracting ZPAQ archives separated into multiple files (? or * syntax), does it?
What do you mean?kulmegil wrote:I does support creating ones.
This looks like a bad idea. I would probably end up overwriting some files with their older versions and ended up with some previously deleted ones.You can extract of course part001, part002, ... individually, if they don't rely on data from different parts, which should be fair enough for now.
But when trying to extract from the index (part000), it will fail.
And of course, trying to add to part001, part002, ... will not update the index, but at least it doesn't destroy any data.
You can parse archive filename looking for number-like strings (incl. leading zeros). Preferably backwards since the part number is likely last number in naming scheme. Replace all digits with zeros and check same dir for filename. If exist assume it's multipart archive and replace digits with "?".I could try to detect multi-part archives and replace the numbers with wildcards internally,
so that opening the index will at least try to load part1, etc.,
but the problem is that the user may use any arbitrary number scheme, e.g.
001part, p01art, part0000001, ...
I'm not sure if it's possible to detect all cases.
What are you talking about? I mean extraction, not writing to it.kulmegil wrote:This looks like a bad idea. I would probably end up overwriting some files with their older versions and ended up with some previously deleted ones.You can extract of course part001, part002, ... individually, if they don't rely on data from different parts, which should be fair enough for now.
But when trying to extract from the index (part000), it will fail.
(opening index would give me actual state of archive but won't let me extract anything. Parts contains only new/changed files added in given update)
Sadly not, and that's why I stated that I don't like that concept as it is for now.kulmegil wrote:But maybe ZPAQ lib includes some method to call to verify if the files belong to the same archive?
First of all: congratulations, you (indirectly) just found a bugbatchman61 wrote:how did you implement Option "Force add identical file version" ?
It's a perfect fit for some of my automated backup requirements. As far as tested the plugin logically stores all Data with each version, physically only differences are stored.
Wasn't able to implement this behaviour using the standalone program. As of the docs, option
-force attempt to add files even if the last-modified date has not changed. Files are added only if they really are different, based on comparing the computed and stored SHA-1 hashes.
"added only if they really are different" is what I`ve seen in my tests.
How do you logically store all Data with each version ?
BTW, this means that a change can also be skipped if a timestamp changes only slightly (<0.5 s), because the base time resolution of the format is one second, but e.g. NTFS has 100 ns.A change is an addition, update, or deletion of any file or directory in files or any of its subdirectories to any depth. A file or directory is considered changed if its size or last-modified date (with 1 second resolution), or Windows attributes or Unix/Linux permissions (if saved) and differ between the internal and external versions. File contents are not compared. If the attributes but not the date has changed, then the attributes are updated in the archive with the assumption that the file contents have not changed.
First of all I can't recreate it with your command line.batchman61 wrote:zpaq64 add TARGET.zpaq SRCDIR -to "" -all 8 executed 3 times.