Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    March 2015
    Location
    RUssia
    Posts
    68

    pack addons to zip on linux and libquazip

    bad acrhive: https://github.com/VJean-dev/ts3clie...s3_translation

    on install via package_inst. error to console:
    QZip: .ZIP specification version 788 implementationis needed to extract the data.
    strace:
    Code:
    open("/tmp/ts3import/ts3client_ru_v3/translations/lagos_ru.qm", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 7
    fcntl(7, F_SETFD, FD_CLOEXEC)           = 0
    open("/dev/tty", O_RDONLY|O_CLOEXEC)    = 8
    fcntl(8, F_SETFD, FD_CLOEXEC)           = 0
    close(8)                                = 0
    write(2, "QZip: .ZIP specification version"..., 82) = 82
    fstat(7, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
    close(7)                                = 0
    lagos_ru.qm extracted with zero size and copied to client install folder.

    Which version of ZIP supports in libquazip?



    sorry. libquazip not used.

    ldd: libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fe8d9015000)

    apt-file find libz.so:
    zlib1g: /lib/x86_64-linux-gnu/libz.so.1
    zlib1g: /lib/x86_64-linux-gnu/libz.so.1.2.8

    apt-cache show zlib1g
    Package: zlib1g
    Priority: required
    Section: libs
    Installed-Size: 157
    Maintainer: Ubuntu Developers <[email protected]>
    Original-Maintainer: Mark Brown <[email protected]>
    Architecture: amd64
    Source: zlib
    Version: 1:1.2.8.dfsg-2ubuntu4
    Provides: libz1
    Depends: libc6 (>= 2.14)
    Conflicts: zlib1 (<= 1:1.0.4-7)
    Breaks: libxml2 (<< 2.7.6.dfsg-2), texlive-binaries (<< 2009-12)
    Filename: pool/main/z/zlib/zlib1g_1.2.8.dfsg-2ubuntu4_amd64.deb
    Size: 51328
    MD5sum: be8783c5c077aacbb1711fb7101b376f
    SHA1: 06a05808f4f6e08eb71cef83154285c7efa4eca8
    SHA256: b8be56e2589fec7d914801f85089e2f6f690044a072b53c095 2ea562d9d7496e
    Description-ru: библиотека сжатия
    zlib - это библиотека, реализующая метод сжатия deflate, который
    используется в gzip и PKZIP. Данный пакет содержит динамически
    подключаемые библиотеки.
    Description-md5: 567f396aeeb2b2b63295099aed237057
    Multi-Arch: same
    Homepage: http://zlib.net/
    Bugs: https://bugs.launchpad.net/ubuntu/+filebug
    Origin: Ubuntu
    Supported: 5y
    Task: minimal
    Last edited by VJean; September 5th, 2016 at 04:29 PM.

  2. #2
    Join Date
    June 2008
    Posts
    18,513
    I can't complain here, your package does extract without any problems on Ubuntu.
    Which OS and which client and which command do oyu use to extract the package? you missed some details about it.


    But i had to use a start script to start the package_inst binary. I need to talk to a developer about that problem.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  3. #3
    Join Date
    March 2015
    Location
    RUssia
    Posts
    68
    the problem is observed and on windows.
    tested clients: all versions, include latest 3.1beta2.
    tested OS: win7 all, winXP x86, Ubuntu 16.04.1 LTS amd64, debian 7 x86.

    in fact, because of it, and I found a bug: a user complained about the duplication of files in the archive.
    file structure is as follows: /lagos_ru.qm, /translations/lagos_ru.qm

    from the archive file was deleted /lagos_ru.qm and replaced /translations/lagos_ru.qm on actual at date.
    then he complained that lagos_ru.qm - unpacked with zero size.
    Last edited by VJean; September 6th, 2016 at 09:30 AM.

  4. #4
    Join Date
    June 2008
    Posts
    18,513
    But your package ts3client_ru_v3.1-beta2_bug.ts3_translation extracts without problems and in right folder.
    \translations in client 3.0.19.4 and %appdata%\TS3Client\translations for client 3.1 beta2
    I can't reproduce what you report here.

    The only duplicates i have are in client 3.1, because our original files are stored under \translations while client 3.1 now extracts all addons into the config folder.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  5. #5
    Join Date
    March 2015
    Location
    RUssia
    Posts
    68
    on ubuntu 16.04.1 (client 3.1beta2) and win7 x86 (client 3.0.19.4)

    The only duplicates i have are in client 3.1, because our original files are stored under \translations while client 3.1 now extracts all addons into the config folder.
    i'm know, as work package_inst and unpack files by filter.
    please, see strace out and files listing in %tmp%\ts3import\ts3client_ru_v3\translations
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Выделение_090.png 
Views:	134 
Size:	23.7 KB 
ID:	14268   Click image for larger version. 

Name:	Выделение_089.png 
Views:	95 
Size:	105.0 KB 
ID:	14267  

  6. #6
    Join Date
    June 2008
    Posts
    18,513
    Ok, you are right.
    I need to test a bit more why only this file is broken.

    //Edit
    I need to ask a developer which zip version 788 could be.

    Works when i repack it with Winrar. I don't get any errors and all files do have the right file size after extraction.
    Which zip version or program have you used? And does it work, when you also re-pack the whole thing with same program/command?

    I don't see a reason yet why only one of the file is broken and not all content.
    I would understand when all files are broken or when the package could not be extracted or opened at all.

    I wrote all of this down as a note for a developer meeting
    Last edited by dante696; September 6th, 2016 at 10:41 AM.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Icon Pack/Theme] Carl's Icon Pack - for a modern, clean and simple Client
    By Hirnluecke in forum Skins / Icon & Sound Packs
    Replies: 0
    Last Post: August 25th, 2015, 11:29 PM
  2. [Addons Page] Login on Addons Page gives 404
    By SilentStorm in forum Suggestions and Feedback
    Replies: 2
    Last Post: May 31st, 2012, 11:53 AM
  3. Suggestion for the Addons Page: Link to the own addons profile
    By Stefan1200 in forum Suggestions and Feedback
    Replies: 6
    Last Post: October 26th, 2011, 08:25 AM
  4. [Sound Pack] Polish Sound Pack Beta
    By Lesny321 in forum Client Plugins / Lua Scripts
    Replies: 0
    Last Post: June 3rd, 2011, 07:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •