RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.1k stars 890 forks source link

Loading Forever #549

Closed MrKeiKun closed 9 years ago

MrKeiKun commented 9 years ago

Information: For some reason, after successfully logging your email account. It shows the loading page, but it loads forever. I'm currently using 16d2f46a310d10e529482fdce187c7e239e39347.

ScreenShot: image

RainLoop commented 9 years ago

Do you use github version?

MrKeiKun commented 9 years ago

@RainLoop yes? like I said im using 16d2f46a310d10e529482fdce187c7e239e39347

RainLoop commented 9 years ago

Did you rebuild static files?

#npm install
#gulp
MrKeiKun commented 9 years ago

@RainLoop

yeah

[root@server1 rainloop]$ gulp
[08:20:38] Using gulpfile /var/www/rainloop/gulpfile.js
[08:20:38] Starting 'js:libs'...
[08:20:38] Starting 'js:boot'...
[08:20:38] Starting 'js:openpgp'...
[08:20:38] Starting 'js:webpack:clear'...
[08:20:38] Starting 'less:main'...
[08:20:38] Starting 'ckeditor:clear'...
[08:20:38] Starting 'fontastic-fonts:clear'...
[08:20:38] Finished 'js:webpack:clear' after 98 ms
[08:20:38] Starting 'js:webpack'...
[08:20:38] Finished 'fontastic-fonts:clear' after 186 ms
[08:20:38] Starting 'fontastic-fonts:copy'...
[08:20:38] Finished 'js:openpgp' after 625 ms
[08:20:38] Finished 'less:main' after 629 ms
[08:20:38] Starting 'css:main-begin'...
[08:20:39] Finished 'ckeditor:clear' after 997 ms
[08:20:39] Starting 'ckeditor:copy'...
[08:20:39] Finished 'js:boot' after 1.1 s
[08:20:40] Finished 'fontastic-fonts:copy' after 1.78 s
[08:20:40] Starting 'fontastic'...
[08:20:40] Finished 'fontastic' after 7.53 μs
[08:20:40] [webpack] Hash: 1fd070bfab3fc1e700a3
Version: webpack 1.7.3
Time: 2029ms
   Asset    Size  Chunks             Chunk Names
  app.js  737 kB       0  [emitted]  app
admin.js  297 kB       1  [emitted]  admin
chunk    {0} app.js (app) 665 kB [rendered]
    [0] ./dev/app.js 42 bytes {0} [built]
    [1] ./dev/Common/Utils.js 35.5 kB {0} {1} [built]
    [2] external "window._" 42 bytes {0} {1} [not cacheable]
    [3] ./dev/External/ko.js 23 kB {0} {1} [built]
    [4] ./dev/Common/Enums.js 6.94 kB {0} {1} [built]
    [5] ./dev/Knoin/Knoin.js 12.5 kB {0} {1} [built]
    [6] ./dev/App/User.js 38.1 kB {0} [built]
    [7] ./dev/Common/Globals.js 5.78 kB {0} {1} [built]
    [8] ./dev/Common/Translator.js 10.4 kB {0} {1} [built]
    [9] ./dev/Storage/Settings.js 997 bytes {0} {1} [built]
   [10] external "window" 42 bytes {0} {1} [not cacheable]
   [11] ./dev/Knoin/AbstractView.js 2.53 kB {0} {1} [built]
   [12] external "window.jQuery" 42 bytes {0} {1} [not cacheable]
   [13] ./dev/Common/Links.js 8.74 kB {0} {1} [built]
   [14] ./dev/Remote/User/Ajax.js 23.6 kB {0} [built]
   [15] ./dev/Common/Consts.js 4.76 kB {0} {1} [built]
   [16] external "window.key" 42 bytes {0} {1} [not cacheable]
   [18] ./dev/Common/Cache.js 9.82 kB {0} [built]
   [20] ./dev/Stores/User/Folder.js 7.2 kB {0} [built]
   [21] ./dev/Common/Momentor.js 3.52 kB {0} {1} [built]
   [22] ./dev/Common/Plugins.js 3.17 kB {0} {1} [built]
   [23] ./dev/Knoin/AbstractModel.js 718 bytes {0} [built]
   [24] ./dev/Stores/User/Pgp.js 2.28 kB {0} [built]
   [25] ./dev/Stores/User/Settings.js 2.88 kB {0} [built]
   [26] ./dev/Model/Email.js 8.16 kB {0} {1} [built]
   [27] ./dev/View/Popup/Compose.js 53.3 kB {0} [built]
   [28] ./dev/Common/Events.js 1.19 kB {0} {1} [built]
   [29] ./dev/Stores/User/App.js 1.12 kB {0} [built]
   [30] ./dev/Stores/User/Message.js 23.3 kB {0} [built]
   [31] ./dev/Component/Abstract.js 1.26 kB {0} {1} [built]
   [32] ./dev/Stores/User/Account.js 1.1 kB {0} [built]
   [33] ./dev/Stores/Language.js 780 bytes {0} {1} [built]
   [34] ./dev/Component/AbstractInput.js 2.09 kB {0} {1} [built]
   [35] ./dev/Knoin/AbstractScreen.js 1.46 kB {0} {1} [built]
   [36] ./dev/Stores/Social.js 3.45 kB {0} {1} [built]
   [38] ./dev/Component/AbstracCheckbox.js 1.54 kB {0} {1} [built]
   [39] ./dev/Storage/Client.js 980 bytes {0} [built]
   [40] ./dev/Stores/Theme.js 799 bytes {0} {1} [built]
   [41] ./dev/View/Popup/Ask.js 2.75 kB {0} {1} [built]
   [42] external "window.crossroads" 42 bytes {0} {1} [not cacheable]
   [43] ./dev/Promises/User/Ajax.js 3.76 kB {0} [built]
   [45] ./dev/Stores/User/Contact.js 1.29 kB {0} [built]
   [46] ./dev/View/Popup/FolderSystem.js 4.34 kB {0} [built]
   [47] ./dev/View/Popup/Languages.js 2.37 kB {0} {1} [built]
   [48] external "window.moment" 42 bytes {0} {1} [not cacheable]
   [49] ./dev/App/Abstract.js 8.24 kB {0} {1} [built]
   [50] ./dev/Common/HtmlEditor.js 7.53 kB {0} [built]
   [51] ./dev/Common/Mime.js 4.59 kB {0} {1} [built]
   [52] ./dev/Component/AbstracRadio.js 1.2 kB {0} {1} [built]
   [53] ./dev/Component/Checkbox.js 470 bytes {0} {1} [built]
   [54] ./dev/Component/Input.js 446 bytes {0} {1} [built]
   [55] ./dev/Component/MaterialDesign/Checkbox.js 1.49 kB {0} {1} [built]
   [56] ./dev/Component/Radio.js 440 bytes {0} {1} [built]
   [57] ./dev/Component/SaveTrigger.js 1.93 kB {0} {1} [built]
   [58] ./dev/Component/Select.js 697 bytes {0} {1} [built]
   [59] ./dev/Component/TextArea.js 612 bytes {0} {1} [built]
   [60] ./dev/Helper/Message.js 2.26 kB {0} [built]
   [61] ./dev/Knoin/AbstractBoot.js 188 bytes {0} {1} [built]
   [62] ./dev/Remote/AbstractAjax.js 7.59 kB {0} {1} [built]
   [63] ./dev/Screen/AbstractSettings.js 5.77 kB {0} {1} [built]
   [68] ./dev/Stores/App.js 1.01 kB {0} {1} [built]
   [69] ./dev/Stores/User/Identity.js 487 bytes {0} [built]
   [70] ./dev/Stores/User/Notification.js 5.42 kB {0} [built]
   [71] ./dev/View/Popup/Account.js 2.95 kB {0} [built]
   [72] ./dev/View/Popup/Contacts.js 19.5 kB {0} [built]
   [73] ./dev/bootstrap.js 1.96 kB {0} {1} [built]
   [74] (webpack)/buildin/module.js 251 bytes {0} {1} [built]
   [75] external "window.Autolinker" 42 bytes {0} {1} [not cacheable]
   [76] external "window.JSEncrypt" 42 bytes {0} {1} [not cacheable]
   [77] external "window.JSON" 42 bytes {0} [not cacheable]
   [78] external "window.Jua" 42 bytes {0} [not cacheable]
   [79] external "window.SimplePace" 42 bytes {0} {1} [not cacheable]
   [80] external "window.hasher" 42 bytes {0} {1} [not cacheable]
   [81] external "window.ssm" 42 bytes {0} {1} [not cacheable]
   [82] ./dev/Common/Selector.js 15.6 kB {0} [built]
   [83] ./dev/Model/Attachment.js 9.48 kB {0} [built]
   [84] ./dev/Model/Filter.js 7.44 kB {0} [built]
   [85] ./dev/Promises/AbstractBasic.js 910 bytes {0} [built]
   [87] ./dev/Stores/User/Filter.js 463 bytes {0} [built]
   [88] ./dev/Stores/User/Quota.js 658 bytes {0} [built]
   [89] ./dev/Stores/User/Template.js 997 bytes {0} [built]
   [92] ./dev/View/Popup/Filter.js 4.88 kB {0} [built]
   [93] ./dev/View/Popup/FolderCreate.js 3.09 kB {0} [built]
   [94] ./dev/View/Popup/Identity.js 5.01 kB {0} [built]
   [95] ./dev/View/Popup/KeyboardShortcutsHelp.js 1.47 kB {0} [built]
   [96] ./dev/View/Popup/Template.js 4.16 kB {0} [built]
   [97] ./dev/View/User/AbstractSystemDropDown.js 2.61 kB {0} [built]
   [98] external "window.Q" 42 bytes {0} [not cacheable]
   [99] ./dev/Common/Base64.js 3.43 kB {0} [built]
  [100] ./dev/Common/ClientStorageDriver/Cookie.js 1.49 kB {0} [built]
  [101] ./dev/Common/ClientStorageDriver/LocalStorage.js 1.52 kB {0} [built]
  [102] ./dev/Model/Account.js 958 bytes {0} [built]
  [103] ./dev/Model/ComposeAttachment.js 3.35 kB {0} [built]
  [104] ./dev/Model/Contact.js 2.75 kB {0} [built]
  [105] ./dev/Model/ContactProperty.js 1.44 kB {0} [built]
  [106] ./dev/Model/FilterCondition.js 1.71 kB {0} [built]
  [107] ./dev/Model/Folder.js 9.19 kB {0} [built]
  [108] ./dev/Model/Identity.js 985 bytes {0} [built]
  [109] ./dev/Model/Message.js 29.5 kB {0} [built]
  [110] ./dev/Model/MessageSimple.js 3.73 kB {0} [built]
  [111] ./dev/Model/OpenPgpKey.js 1.08 kB {0} [built]
  [112] ./dev/Model/Template.js 1.26 kB {0} [built]
  [113] ./dev/Promises/AbstractAjax.js 3.71 kB {0} [built]
  [114] ./dev/Promises/User/Populator.js 5.72 kB {0} [built]
  [117] ./dev/Screen/User/About.js 491 bytes {0} [built]
  [118] ./dev/Screen/User/Login.js 483 bytes {0} [built]
  [119] ./dev/Screen/User/MailBox.js 4.57 kB {0} [built]
  [120] ./dev/Screen/User/Settings.js 3.65 kB {0} [built]
  [132] ./dev/Settings/User/Accounts.js 3.69 kB {0} [built]
  [133] ./dev/Settings/User/ChangePassword.js 3.21 kB {0} [built]
  [134] ./dev/Settings/User/Contacts.js 1.31 kB {0} [built]
  [135] ./dev/Settings/User/Filters.js 5.3 kB {0} [built]
  [136] ./dev/Settings/User/Folders.js 3.9 kB {0} [built]
  [137] ./dev/Settings/User/General.js 6.1 kB {0} [built]
  [138] ./dev/Settings/User/OpenPgp.js 1.76 kB {0} [built]
  [139] ./dev/Settings/User/Security.js 5.85 kB {0} [built]
  [140] ./dev/Settings/User/Social.js 2.12 kB {0} [built]
  [141] ./dev/Settings/User/Templates.js 2.15 kB {0} [built]
  [142] ./dev/Settings/User/Themes.js 4.16 kB {0} [built]
  [146] ./dev/View/Popup/AddOpenPgpKey.js 2.33 kB {0} [built]
  [147] ./dev/View/Popup/AdvancedSearch.js 3.06 kB {0} [built]
  [148] ./dev/View/Popup/ComposeOpenPgp.js 5.24 kB {0} [built]
  [149] ./dev/View/Popup/FolderClear.js 2.84 kB {0} [built]
  [150] ./dev/View/Popup/NewOpenPgpKey.js 2.43 kB {0} [built]
  [152] ./dev/View/Popup/TwoFactorTest.js 1.88 kB {0} [built]
  [153] ./dev/View/Popup/ViewOpenPgpKey.js 1.07 kB {0} [built]
  [154] ./dev/View/User/About.js 627 bytes {0} [built]
  [155] ./dev/View/User/Login.js 10.9 kB {0} [built]
  [156] ./dev/View/User/MailBox/FolderList.js 6.91 kB {0} [built]
  [157] ./dev/View/User/MailBox/MessageList.js 23.2 kB {0} [built]
  [158] ./dev/View/User/MailBox/MessageView.js 29.7 kB {0} [built]
  [159] ./dev/View/User/MailBox/SystemDropDown.js 681 bytes {0} [built]
  [160] ./dev/View/User/Settings/Menu.js 1.81 kB {0} [built]
  [161] ./dev/View/User/Settings/Pane.js 830 bytes {0} [built]
  [162] ./dev/View/User/Settings/SystemDropDown.js 683 bytes {0} [built]
  [163] external "window.$LAB" 42 bytes {0} [not cacheable]
  [164] external "window.PhotoSwipe" 42 bytes {0} [not cacheable]
  [165] external "window.PhotoSwipeUI_Default" 42 bytes {0} [not cacheable]
  [166] external "window.Tinycon" 42 bytes {0} [not cacheable]
  [167] external "window.buzz" 42 bytes {0} [not cacheable]
  [168] external "window.ifvisible" 42 bytes {0} [not cacheable]
chunk    {1} admin.js (admin) 262 kB [rendered]
    [0] ./dev/admin.js 43 bytes {1} [built]
    [1] ./dev/Common/Utils.js 35.5 kB {0} {1} [built]
    [2] external "window._" 42 bytes {0} {1} [not cacheable]
    [3] ./dev/External/ko.js 23 kB {0} {1} [built]
    [4] ./dev/Common/Enums.js 6.94 kB {0} {1} [built]
    [5] ./dev/Knoin/Knoin.js 12.5 kB {0} {1} [built]
    [7] ./dev/Common/Globals.js 5.78 kB {0} {1} [built]
    [8] ./dev/Common/Translator.js 10.4 kB {0} {1} [built]
    [9] ./dev/Storage/Settings.js 997 bytes {0} {1} [built]
   [10] external "window" 42 bytes {0} {1} [not cacheable]
   [11] ./dev/Knoin/AbstractView.js 2.53 kB {0} {1} [built]
   [12] external "window.jQuery" 42 bytes {0} {1} [not cacheable]
   [13] ./dev/Common/Links.js 8.74 kB {0} {1} [built]
   [15] ./dev/Common/Consts.js 4.76 kB {0} {1} [built]
   [16] external "window.key" 42 bytes {0} {1} [not cacheable]
   [17] ./dev/App/Admin.js 6.83 kB {1} [built]
   [19] ./dev/Remote/Admin/Ajax.js 6.77 kB {1} [built]
   [21] ./dev/Common/Momentor.js 3.52 kB {0} {1} [built]
   [22] ./dev/Common/Plugins.js 3.17 kB {0} {1} [built]
   [26] ./dev/Model/Email.js 8.16 kB {0} {1} [built]
   [28] ./dev/Common/Events.js 1.19 kB {0} {1} [built]
   [31] ./dev/Component/Abstract.js 1.26 kB {0} {1} [built]
   [33] ./dev/Stores/Language.js 780 bytes {0} {1} [built]
   [34] ./dev/Component/AbstractInput.js 2.09 kB {0} {1} [built]
   [35] ./dev/Knoin/AbstractScreen.js 1.46 kB {0} {1} [built]
   [36] ./dev/Stores/Social.js 3.45 kB {0} {1} [built]
   [37] ./dev/Stores/Admin/App.js 895 bytes {1} [built]
   [38] ./dev/Component/AbstracCheckbox.js 1.54 kB {0} {1} [built]
   [40] ./dev/Stores/Theme.js 799 bytes {0} {1} [built]
   [41] ./dev/View/Popup/Ask.js 2.75 kB {0} {1} [built]
   [42] external "window.crossroads" 42 bytes {0} {1} [not cacheable]
   [44] ./dev/Stores/Admin/Capa.js 1.31 kB {1} [built]
   [47] ./dev/View/Popup/Languages.js 2.37 kB {0} {1} [built]
   [48] external "window.moment" 42 bytes {0} {1} [not cacheable]
   [49] ./dev/App/Abstract.js 8.24 kB {0} {1} [built]
   [51] ./dev/Common/Mime.js 4.59 kB {0} {1} [built]
   [52] ./dev/Component/AbstracRadio.js 1.2 kB {0} {1} [built]
   [53] ./dev/Component/Checkbox.js 470 bytes {0} {1} [built]
   [54] ./dev/Component/Input.js 446 bytes {0} {1} [built]
   [55] ./dev/Component/MaterialDesign/Checkbox.js 1.49 kB {0} {1} [built]
   [56] ./dev/Component/Radio.js 440 bytes {0} {1} [built]
   [57] ./dev/Component/SaveTrigger.js 1.93 kB {0} {1} [built]
   [58] ./dev/Component/Select.js 697 bytes {0} {1} [built]
   [59] ./dev/Component/TextArea.js 612 bytes {0} {1} [built]
   [61] ./dev/Knoin/AbstractBoot.js 188 bytes {0} {1} [built]
   [62] ./dev/Remote/AbstractAjax.js 7.59 kB {0} {1} [built]
   [63] ./dev/Screen/AbstractSettings.js 5.77 kB {0} {1} [built]
   [64] ./dev/Stores/Admin/Domain.js 289 bytes {1} [built]
   [65] ./dev/Stores/Admin/License.js 440 bytes {1} [built]
   [66] ./dev/Stores/Admin/Package.js 389 bytes {1} [built]
   [67] ./dev/Stores/Admin/Plugin.js 331 bytes {1} [built]
   [68] ./dev/Stores/App.js 1.01 kB {0} {1} [built]
   [73] ./dev/bootstrap.js 1.96 kB {0} {1} [built]
   [74] (webpack)/buildin/module.js 251 bytes {0} {1} [built]
   [75] external "window.Autolinker" 42 bytes {0} {1} [not cacheable]
   [76] external "window.JSEncrypt" 42 bytes {0} {1} [not cacheable]
   [79] external "window.SimplePace" 42 bytes {0} {1} [not cacheable]
   [80] external "window.hasher" 42 bytes {0} {1} [not cacheable]
   [81] external "window.ssm" 42 bytes {0} {1} [not cacheable]
   [86] ./dev/Stores/Admin/Core.js 746 bytes {1} [built]
   [90] ./dev/View/Popup/Activate.js 3.57 kB {1} [built]
   [91] ./dev/View/Popup/Domain.js 11.1 kB {1} [built]
  [115] ./dev/Screen/Admin/Login.js 489 bytes {1} [built]
  [116] ./dev/Screen/Admin/Settings.js 2.08 kB {1} [built]
  [121] ./dev/Settings/Admin/About.js 1.91 kB {1} [built]
  [122] ./dev/Settings/Admin/Branding.js 3.79 kB {1} [built]
  [123] ./dev/Settings/Admin/Contacts.js 6.01 kB {1} [built]
  [124] ./dev/Settings/Admin/Domains.js 1.85 kB {1} [built]
  [125] ./dev/Settings/Admin/General.js 4.46 kB {1} [built]
  [126] ./dev/Settings/Admin/Licensing.js 1.95 kB {1} [built]
  [127] ./dev/Settings/Admin/Login.js 1.62 kB {1} [built]
  [128] ./dev/Settings/Admin/Packages.js 2.7 kB {1} [built]
  [129] ./dev/Settings/Admin/Plugins.js 2.75 kB {1} [built]
  [130] ./dev/Settings/Admin/Security.js 4.22 kB {1} [built]
  [131] ./dev/Settings/Admin/Social.js 5.19 kB {1} [built]
  [143] ./dev/View/Admin/Login.js 2.63 kB {1} [built]
  [144] ./dev/View/Admin/Settings/Menu.js 1.38 kB {1} [built]
  [145] ./dev/View/Admin/Settings/Pane.js 1.45 kB {1} [built]
  [151] ./dev/View/Popup/Plugin.js 3.65 kB {1} [built]
[08:20:40] Finished 'js:webpack' after 2.15 s
[08:20:40] Starting 'js:app'...
[08:20:40] Starting 'js:admin'...
[08:20:40] Starting 'js:chunks'...
[08:20:40] Finished 'js:chunks' after 2.6 ms
[08:20:40] Finished 'js:admin' after 157 ms
[08:20:40] Finished 'js:app' after 159 ms
[08:20:40] Starting 'js:min'...
[08:20:40] Finished 'css:main-begin' after 1.76 s
[08:20:40] Starting 'css:clear-less'...
[08:20:41] Finished 'css:clear-less' after 1.13 s
[08:20:41] Starting 'css:main'...
[08:20:41] Finished 'css:main' after 7.89 μs
[08:20:41] Starting 'css:main:min'...
[08:20:44] Finished 'js:min' after 4.04 s
[08:20:44] Finished 'css:main:min' after 2.9 s
[08:20:44] Finished 'js:libs' after 6.49 s
[08:20:44] Finished 'ckeditor:copy' after 5.47 s
[08:20:44] Starting 'ckeditor:copy-plugins'...
[08:20:44] Finished 'ckeditor:copy-plugins' after 6.72 ms
[08:20:44] Starting 'ckeditor'...
[08:20:44] gulp-stripbom: build-config.js ✔
[08:20:44] gulp-stripbom: ckeditor.js ✔
[08:20:44] gulp-stripbom: ckeditor.orig.js ✔
[08:20:44] gulp-stripbom: config.js ✔
[08:20:44] gulp-stripbom: styles.js ✔
[08:20:44] Finished 'ckeditor' after 37 ms
[08:20:44] Starting 'default'...
[08:20:44] Finished 'default' after 5.19 μs

even after that

image

RainLoop commented 9 years ago

Clear the cache (./data/..../cache) and try again.

MrKeiKun commented 9 years ago

@RainLoop

nothing happen still loads forever~

RainLoop commented 9 years ago

Ok, then I need to see installation to understand what's happen. If it posible you can send me (support@rainloop.net) the URL.

MrKeiKun commented 9 years ago

@RainLoop hold i'm going to find out why it doesn't work... I have a feeling it's by some commit pushed since I tried to run git reset --hard origin/master~20 then run npm install && gulp and configure our domain there i was able to login normally..

MrKeiKun commented 9 years ago

@RainLoop

Hi! i just where the problem starts whenever i use commit bab64a7cea8618a7b5985def3b61d345a76e7ced

[root@server1 rainloop]$ git reset --hard origin/master~15
HEAD is now at bab64a7 Code refactoring (promises for folders management)

it breaks my mail, unable to login after configuring domains.

but whenever i use 9bec1d0a8f5e99e60c3502a0f4829328279dfd38

[root@server1 rainloop]$ git reset --hard origin/master~16
HEAD is now at 9bec1d0 Language popup otimizations

i am able to login my mail without problem

RainLoop commented 9 years ago

JS errors?

MrKeiKun commented 9 years ago

@RainLoop

i think so

RainLoop commented 9 years ago

I would like to look them :).

MrKeiKun commented 9 years ago

@RainLoop

mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create libs.js:103:196
TypeError: n is undefined app.js:10:15835
RainLoop commented 9 years ago

Ok, thanks.

RainLoop commented 9 years ago

Browser version?

MrKeiKun commented 9 years ago

Firefox Developer Edition 38.0a2 (2015-03-25) Google Chrome 41.0.2272.101 m

RainLoop commented 9 years ago

Try next:

file: ./gulpfile.js

'vendors/Q/q.min.js',

->

'vendors/Q/q.js',

and

#gulp
MrKeiKun commented 9 years ago

@RainLoop

well that worked.. but this happen

image

MrKeiKun commented 9 years ago

also this

image

RainLoop commented 9 years ago

Clear the cache (./data/.../cache).

RainLoop commented 9 years ago

OK, try to get a HEAD commit

MrKeiKun commented 9 years ago

Awesome :+1: