Giter Club home page Giter Club logo

acronis-tib's People

Contributors

dennisss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

acronis-tib's Issues

Rewrite comment in .tib (description)

Hi,
I use 11.7 Acronis, and copied the archives to a new vault.
Some archive and backup doesnt have a comment, so I export it to .tib, edit the xml file, and then import it to the new vault. Surprisingly only the newly set archive comment is changed, the backup comment remained as original. It seems that this comment is "hidden" somewhere in the .tib file, so the editing .xml file is uneffective. Exporting mechanism can recreate the xml with the original comments. If your program also can read thease infos from .tib, I wonder could it be possible to midify it in the .tib file somehow? Or does anybody know a solution to change backup comment?
Thanks in advance.
Joe

How to use this tool?

Hello,

first of all: thanks for providing this tool. Can you please describe how to use it?

On Ubuntu Linux i cloned the repo; installed libfuse-dev; installed the node-dependencies with npm install and i did a npm run build -> i get compile error in compression.ts

npm run build

> [email protected] build home/blah/acronis-tib/acronis-tib
> tsc --project .

src/compression.ts:43:3 - error TS2322: Type 'Promise<unknown>' is not assignable to type 'Promise<{}>'.
  Type 'unknown' is not assignable to type '{}'.

43      promise: p,
        ~~~~~~~

  src/compression.ts:11:77
    11 function getInflaterErrorHandler(inflater: zlib.Inflate|zlib.InflateRaw): { promise: Promise<{}>; cleanup: () => void } {
                                                                                   ~~~~~~~
    The expected type comes from property 'promise' which is declared here on type '{ promise: Promise<{}>; cleanup: () => void; }'


Found 1 error.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `tsc --project .`
npm ERR! Exit status 2

When i try to only run tsc --project . i get even more compile errors.

tsc --project .
src/compression.ts:27:4 - error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?

27    res();
      ~~~~~

  ../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts:33:34
    33     new <T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>;
                                        ~~~~~~~~~~~~~~~~~~~~~~~~~
    An argument for 'value' was not provided.

src/compression.ts:43:3 - error TS2322: Type 'Promise<unknown>' is not assignable to type 'Promise<{}>'.
  Type 'unknown' is not assignable to type '{}'.

43   promise: p,
     ~~~~~~~

  src/compression.ts:11:77
    11 function getInflaterErrorHandler(inflater: zlib.Inflate|zlib.InflateRaw): { promise: Promise<{}>; cleanup: () => void } {
                                                                                   ~~~~~~~
    The expected type comes from property 'promise' which is declared here on type '{ promise: Promise<{}>; cleanup: () => void; }'

src/compression.ts:110:51 - error TS2345: Argument of type '(value: unknown) => void' is not assignable to parameter of type '() => void'.

110       inflater.flush(zlib.constants.Z_FULL_FLUSH, res);
                                                      ~~~

src/compression.ts:126:18 - error TS2345: Argument of type '(value: unknown) => void' is not assignable to parameter of type '() => void'.

126   inflater.close(res);
                     ~~~


Found 4 errors.

I tried Node v4.2.6 or 10.19.0 (Ubuntu 16.04 or 20.04)

Any help would be good. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.