Skip to content

LV - v2.2 release - Downloading default log file is not named correctly #165

Closed

Description

@trumpy81

When viewing the default Plex Media Server.log file in Log Viewer and you click on 'download selected logfile', the file name of said log file is saved as 'Plex' with no file extension.

The same applies for any file name containing a space, only the first word is used for the file name.

WT is installed on Synology NAS. I will test the PC install later on when I have time and report back.

Activity

  1. changed the title [-]LV - Downloading default log file is not named correctly[/-] [+]LV v2.2 release - Downloading default log file is not named correctly[/+] on Apr 26, 2016
  2. changed the title [-]LV v2.2 release - Downloading default log file is not named correctly[/-] [+]LV - v2.2 release - Downloading default log file is not named correctly[/+] on Apr 26, 2016
  3. dagalufh commented on Apr 26, 2016

    @dagalufh
    Collaborator

    I have a suspision that this might be on my end, not sure but i'll check it out.

  4. self-assigned this
    on Apr 26, 2016
  5. added this to the V2.3 milestone on Apr 26, 2016
  6. ukdtom commented on May 6, 2016

    @ukdtom
    Owner

    Working fine here

  7. trumpy81 commented on May 6, 2016

    @trumpy81
    CollaboratorAuthor

    I checked this behaviour in IE, Edge and Chrome and I don't have any issues with them, but in FireFox I do, see the attached image. Same behaviour for both Synology and PC installs of PMS and WebTools.

    Could be the mime type in FireFox perhaps??

    ..
    untitled-1

  8. ukdtom commented on May 6, 2016

    @ukdtom
    Owner

    Confirmed this to be a Firefox issue only......

    Seen the same thing using that :-(

    /T

  9. dagalufh commented on May 6, 2016

    @dagalufh
    Collaborator

    Have a theory for fix, i'll see if i have time tonight to test it.
    Den 6 maj 2016 03:24 skrev "Tommy Mikkelsen" notifications@github.com:

    Confirmed this to be a Firefox issue only......

    Seen the same thing using that :-(

    /T

    —
    You are receiving this because you were assigned.
    Reply to this email directly or view it on GitHub
    #165 (comment)

  10. dagalufh commented on May 17, 2016

    @dagalufh
    Collaborator

    Fix included in next release...

  11. added a commit that references this issue on May 22, 2016
    11b00f4
  12. ukdtom commented on May 26, 2016

    @ukdtom
    Owner

    Sadly not fixed, still see this

  13. dagalufh commented on May 27, 2016

    @dagalufh
    Collaborator

    Is it only the default that is not available for download or is it any of the logfiles?

  14. ukdtom commented on May 27, 2016

    @ukdtom
    Owner

    All of them.

    And they are all avail, so maybe you are missing the point here:

    When a log to download contains a space in it's name, the proposed filename to save get's cut of at the space.

    Like "Plex Media Server.log" is saved as "Plex"

  15. dagalufh commented on May 27, 2016

    @dagalufh
    Collaborator

    Can you please right click on the element, select box, and do an inspect and show me, via screenshot or something, what it looks like in the code?

    It should look something like this:

    image

  16. ukdtom commented on May 27, 2016

    @ukdtom
    Owner

    mozilla

    Above taken in Mozilla firefox, and sadly looks okay, so guess it's the function call to save, that behaves differently in firefox

  17. dagalufh commented on May 27, 2016

    @dagalufh
    Collaborator

    Hmm. Can we use some other form of delimiter for space? That you can than
    translate to space? Any ideas? How about using + (plus sign)? That is not
    usdd in any filenames. Or perhaps / one forward slash?
    Den 27 maj 2016 8:06 em skrev "Tommy Mikkelsen" notifications@github.com:

    [image: mozilla]
    https://cloud.githubusercontent.com/assets/4699449/15616827/5976d260-2446-11e6-92ef-e23615891cae.png

    Above taken in Mozilla firefox, and sadly looks okay, so guess it's the
    function call to save, that behaves differently in firefox

    —
    You are receiving this because you were assigned.
    Reply to this email directly, view it on GitHub
    #165 (comment),
    or mute the thread
    https://github.com/notifications/unsubscribe/AIhjcLHdusPAT3I_1YoOxRORMEoWyqO-ks5qFzKcgaJpZM4IPhtN
    .

  18. added a commit that references this issue on May 27, 2016
    c20c8f2
  19. ukdtom commented on May 27, 2016

    @ukdtom
    Owner

    Heh.....It's in my end!

    Hopefully fixed in c20c8f2

    Found this:

    http://kb.mozillazine.org/Filenames_with_spaces_are_truncated_upon_download

    Updated my branch with a fix, hopefully, and did check with both Chrome, IE11, Edge and Firefox, but would like a confirmation from you @trumpy81 if possible?
    Grab my branch to test it, and maybe also FindMedia ;-)

    @dagalufh Do note that I also updated logviewer.js with additional logging ;-)

    /T

  20. trumpy81 commented on May 27, 2016

    @trumpy81
    CollaboratorAuthor

    There is also an issue of Firefox 46.0.1 downloading the file as a PDF instead of a text file, although that may be caused by my extremely slow net connection, I was barely able to load this page, so I will have to wait until 1st June when I get unlimited download and no throttling.

    Until then I am pretty much offline :(

    I do see where the issue appears to be part of the mime type definition, so that may also correct the PDF issue, I will test it as soon as I can.

  21. ukdtom commented on Jun 25, 2016

    @ukdtom
    Owner

    @trumpy81 Got better Internet Access now?

  22. trumpy81 commented on Jun 25, 2016

    @trumpy81
    CollaboratorAuthor

    Yes I have thanks. :)

    I did report my findings to you, but I completely forgot about this GHI, sorry about that.

    Using the 2.3 Dev version, I have no issues with missing/incorrect file names or incorrect filetypes when using Firefox 47.0. :)

  23. ukdtom commented on Jun 25, 2016

    @ukdtom
    Owner

    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions