Closed Bug 1332940 Opened 7 years ago Closed 2 years ago

Upload via file link to Box.com fails in Thunderbird 45.5.1 on linux

Categories

(Thunderbird :: FileLink, defect)

45 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bool, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161209095719

Steps to reproduce:

1. Attach
2. FileLink
3. Box
4. Chose a file (picture, 225 kB)


Actual results:

After processing for some seconds came a message, 'Unable to upload xxxx.jpg to Box'. (See attached screenshot).


Expected results:

Successful upload.
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Børge, thanks for filing! Sorry it took me a few days to get to this, been a busy week!

Can you do the following:
1. Open the error console (Tools > Error console).
2. Type clear() and press enter.
3. Try to attach a file and upload to Box again.
4. Copy an errors you find and report them here (note that it might include email addresses or account names: you can email it directly to me if you feel more comfortable doing that).

Also, what version of Thunderbird are you on? I see you're on 45.x.x, are you on the newest version of 45?

Thanks!
Thanks Patrick,
Now I have cleared the error console, and tried another upload which again failed. However, the error console is as empty now as it was before the failed upload.
As to the version it reads 45.5.1 and I suppose it is the newest since I have made all available updates from ElementaryOS Loki. Below I will paste the content of the technical information sheet under the Help menu.
I hope it is useful.
Børge



  Programinfo

    Navn: Thunderbird
    Version: 45.5.1
    User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
    Profilmappe: Åbn mappe

              (Lokalt drev)
    Programmets Build ID: 20161130104158
    Aktive plugins: about:plugins
    Byggekonfiguration: about:buildconfig
    Hukommelsesforbrug: about:memory

  Konti for mail og nyhedsgrupper
    account1:
      INCOMING: account1, , (none) Local Folders, plain, passwordCleartext

    account2:
      INCOMING: account2, , (pop3) pop3.mail.dk:995, SSL, passwordCleartext
      OUTGOING: , asmtp.mail.dk:465, SSL, passwordCleartext, true

    account3:
      INCOMING: account3, , (pop3) pop.gmail.com:995, SSL, passwordCleartext
      OUTGOING: , asmtp.mail.dk:465, SSL, passwordCleartext, true

    account4:
      INCOMING: account4, , (rss) Feeds, plain, passwordCleartext

  Fejlrapporter

  Udvidelser
    Lightning, 4.7.4, true, {e2fda1a4-762b-4020-b5ad-a41df1933103}
    Messaging Menu and Unity Launcher integration, 1.3.1, true, messagingmenu@mozilla.com

  Vigtige ændrede indstillinger

    Navn: Værdi

      browser.cache.disk.capacity: 358400
      browser.cache.disk.filesystem_reported: 1
      browser.cache.disk.smart_size_cached_value: 358400
      browser.cache.disk.smart_size.first_run: false
      browser.cache.disk.smart_size.use_old_max: false
      dom.apps.reset-permissions: true
      extensions.lastAppVersion: 45.5.1
      font.name.monospace.el: Consolas
      font.name.monospace.tr: Consolas
      font.name.monospace.x-baltic: Consolas
      font.name.monospace.x-central-euro: Consolas
      font.name.monospace.x-cyrillic: Consolas
      font.name.monospace.x-unicode: Consolas
      font.name.monospace.x-western: Consolas
      font.name.sans-serif.el: Calibri
      font.name.sans-serif.tr: Calibri
      font.name.sans-serif.x-baltic: Calibri
      font.name.sans-serif.x-central-euro: Calibri
      font.name.sans-serif.x-cyrillic: Calibri
      font.name.sans-serif.x-unicode: Calibri
      font.name.sans-serif.x-western: Calibri
      font.name.serif.el: Cambria
      font.name.serif.tr: Cambria
      font.name.serif.x-baltic: Cambria
      font.name.serif.x-central-euro: Cambria
      font.name.serif.x-cyrillic: Cambria
      font.name.serif.x-unicode: Cambria
      font.name.serif.x-western: Cambria
      font.size.fixed.el: 14
      font.size.fixed.tr: 14
      font.size.fixed.x-baltic: 14
      font.size.fixed.x-central-euro: 14
      font.size.fixed.x-cyrillic: 14
      font.size.fixed.x-unicode: 14
      font.size.fixed.x-western: 14
      font.size.variable.el: 17
      font.size.variable.tr: 17
      font.size.variable.x-baltic: 17
      font.size.variable.x-central-euro: 17
      font.size.variable.x-cyrillic: 17
      font.size.variable.x-unicode: 17
      font.size.variable.x-western: 17
      mail.openMessageBehavior.version: 1
      mail.winsearch.firstRunDone: true
      mailnews.database.global.datastore.id: 75a193c2-c755-4ec6-b861-e2c542c8804
      mailnews.database.global.views.conversation.columns: {"threadCol":{"visible":true,"ordinal":"1"},"flaggedCol":{"visible":true,"ordinal":"3"},"attachmentCol":{"visible":false…
      network.cookie.cookieBehavior: 3
      network.cookie.prefsMigrated: true
      network.predictor.cleaned-up: true
      places.database.lastMaintenance: 1484939119
      places.history.expiration.transient_current_max_pages: 104858
      plugin.importedState: true
      print.print_bgcolor: false
      print.print_bgimages: false
      print.print_colorspace: default
      print.print_downloadfonts: false
      print.print_duplex: 0
      print.print_evenpages: true
      print.print_in_color: true
      print.print_margin_bottom: 0.500000012107193
      print.print_margin_left: 0.500000012107193
      print.print_margin_right: 0.500000012107193
      print.print_margin_top: 0.500000012107193
      print.print_oddpages: true
      print.print_orientation: 0
      print.print_page_delay: 50
      print.print_paper_data: 0
      print.print_paper_height: 297,00
      print.print_paper_name: iso_a4
      print.print_paper_size_type: 1
      print.print_paper_size_unit: 1
      print.print_paper_width: 210,00
      print.print_plex_name: default
      print.print_printer: \\kursist04\hp LaserJet 1010 (kopi 1)
      print.print_resolution_name: default
      print.print_scaling: 1,00
      print.print_shrink_to_fit: true
      print.print_to_file: false
      print.print_unwriteable_margin_bottom: 17
      print.print_unwriteable_margin_left: 17
      print.print_unwriteable_margin_right: 17
      print.print_unwriteable_margin_top: 17
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_bgcolor: false
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_bgimages: false
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_command:
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_downloadfonts: false
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_evenpages: true
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_footercenter:
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_footerleft: &PT
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_footerright: &D
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_headercenter:
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_headerleft: &T
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_headerright: &U
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_in_color: true
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_margin_bottom: 0.5
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_margin_left: 0.5
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_margin_right: 0.5
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_margin_top: 0.5
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_oddpages: true
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_orientation: 0
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_pagedelay: 500
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_paper_data: 9
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_paper_height: 11,00
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_paper_size: 52216584
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_paper_size_type: 0
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_paper_size_unit: 1
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_paper_width: 8,50
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_reversed: false
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_scaling: 1,00
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_shrink_to_fit: true
      print.printer_\\kursist04\hp_LaserJet_1010_(kopi_1).print_to_file: false

  Grafik

      Adapter-beskrivelse: Intel Open Source Technology Center -- Mesa DRI Intel(R) Haswell Mobile
      Producentidentifikation: Intel Open Source Technology Center
      Enhedsidentifikation: Mesa DRI Intel(R) Haswell Mobile
      Driver-version: 3.0 Mesa 11.2.0
      WebGL Rendering: Intel Open Source Technology Center -- Mesa DRI Intel(R) Haswell Mobile  -- 3.0 Mesa 11.2.0
      Vinduer med GPU-grafikacceleration: 0

      AzureCanvasBackend: cairo
      AzureSkiaAccelerated: 0
      AzureFallbackCanvasBackend: none
      AzureContentBackend: cairo
      CairoUseXRender: 1

  JavaScript

  Incremental GC: 1

  Tilgængelighed

    Aktiveret: 0
    Slå tilgængelighed fra: 0

  Biblioteksversioner

      Forventet minimumsversion
      Version i brug

      NSPR
      4.12
      4.12

      NSS
      3.21.3 Basic ECC
      3.21.3 Basic ECC

      NSS Util
      3.21.3
      3.21.3

      NSS SSL
      3.21.3 Basic ECC
      3.21.3 Basic ECC

      NSS S/MIME
      3.21.3 Basic ECC
      3.21.3 Basic ECC
Just updated to TB ver. 45.7.0 but still unable to upload files to Box via filelink.
I've a similar (though not exactly the same problem).

The upload to Box.com just hangs infinitely without any actual upload going on (TB 52.0 on Win 10).

I've tried deleting the Thunderbird folder from box.com, removing the box.com association in TB and setting up a completely new one. Here's console log from one unsuccessful attachment upload session. Please note that the Thunderbird folder was successfully created on the online account.


2017-04-12 00:47:41	BoxService	ERROR	Failed to parse account info response: TypeError: File.createFromNsIFile(...).then is not a function
  log4moz.js:691
2017-04-12 00:47:41	BoxService	ERROR	Failed to parse account info response: TypeError: File.createFromNsIFile(...).then is not a function

2017-04-12 00:47:41	BoxService	ERROR	Account info response: {"type":"user","id":"188568174","name":"xxx","login":"xxx","created_at":"2012-12-23T15:37:35-08:00","modified_at":"2017-04-11T15:40:19-07:00","language":"en","timezone":"America\/Los_Angeles","space_amount":26843545600,"space_used":1287376327,"max_upload_size":262144000,"status":"active","job_title":"","phone":"","address":"","avatar_url":"https:\/\/app.box.com\/api\/avatar\/large\/188568174"}
  log4moz.js:691
2017-04-12 00:47:41	BoxService	ERROR	Account info response: {"type":"user","id":"188568174","name":"xxx","login":"xxx","created_at":"2012-12-23T15:37:35-08:00","modified_at":"2017-04-11T15:40:19-07:00","language":"en","timezone":"America\/Los_Angeles","space_amount":26843545600,"space_used":1287376327,"max_upload_size":262144000,"status":"active","job_title":"","phone":"","address":"","avatar_url":"https:\/\/app.box.com\/api\/avatar\/large\/188568174"}

2017-04-12 00:47:41	BoxService	ERROR	user info failed, status = 200
  log4moz.js:691
2017-04-12 00:47:41	BoxService	ERROR	user info failed, status = 200

2017-04-12 00:47:41	BoxService	ERROR	response text = {"type":"user","id":"188568174","name":"xxx","login":"xxx","created_at":"2012-12-23T15:37:35-08:00","modified_at":"2017-04-11T15:40:19-07:00","language":"en","timezone":"America\/Los_Angeles","space_amount":26843545600,"space_used":1287376327,"max_upload_size":262144000,"status":"active","job_title":"","phone":"","address":"","avatar_url":"https:\/\/app.box.com\/api\/avatar\/large\/188568174"}
  log4moz.js:691
2017-04-12 00:47:41	BoxService	ERROR	response text = {"type":"user","id":"188568174","name":"xxx","login":"xxx","created_at":"2012-12-23T15:37:35-08:00","modified_at":"2017-04-11T15:40:19-07:00","language":"en","timezone":"America\/Los_Angeles","space_amount":26843545600,"space_used":1287376327,"max_upload_size":262144000,"status":"active","job_title":"","phone":"","address":"","avatar_url":"https:\/\/app.box.com\/api\/avatar\/large\/188568174"}

2017-04-12 00:47:41	BoxService	ERROR	exception = TypeError: this._urlListener is undefined
  log4moz.js:691
2017-04-12 00:47:41	BoxService	ERROR	exception = TypeError: this._urlListener is undefined

TypeError: this._urlListener is undefined[Zjistit více]  nsBox.js:216:7
OT: Wouldn't it make sense to distribute the Box.com filelink implementation as a preinstalled addon, the same way as you distribute Lightning? Then it'd be both easier to debug it and the release cycle could be way faster...

Nowadays, something gets changed on the box.com side, and the poor user has to wait about a year to get it fixed. And no, I'm really not into using pre-relaease TB with my mailboxes...
I am recently upgraded to 52.0 and have the same issue where it hangs indefinitely on upload with no actual upload.

I also tried EarlyBird 54.0a2 because I have had success with using EarlyBird for a period of time before going back to ThunderBird but this version does the exact same thing.

I use this for work all the time. Does anyone have an alternative?
On Ubuntu Trusty, FileLink with box.com works correctly in TB 45.8 (the version from official repositories).
Fails with "Unable to upload Test.pdf to Box" when the file exists on box.com. If the file does not exist yet on box.com, then FileLink works like a charm. 
Something in the upload logic is probably wrong. TB 45.8.0, Ubuntu 16.10 64bit.
(In reply to script from comment #8)
> Fails with "Unable to upload Test.pdf to Box" when the file exists on
> box.com. If the file does not exist yet on box.com, then FileLink works like
> a charm. 
> Something in the upload logic is probably wrong. TB 45.8.0, Ubuntu 16.10
> 64bit.

I think this is unrelated to the reports in this bug -- I think the Box upload code doesn't attempt to overwrite files, it unfortunately doesn't try to give files unique names either.

This could be solved either on the BOX side of the API, or on the add-on side by trying a different name after the first attempt failed.

But this cannot be fixed by Thunderbird.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: