Re: [MlMt] Visualize bundle

2015-08-06 Thread Benny Kjær Nielsen

On 6 Aug 2015, at 14:13, Benny Kjær Nielsen wrote:


Known “issues”:

* MailMate cannot not include children of collapsed items when calling 
a command.
* For large selections of emails then the “Emails by Sender” 
command needs some way to limit the number of “categories”. A 
histogram with thousands of bars is not readable (but hovering with 
the mouse still works quite well).


I just found two more items:

* It only works with the current beta (because of the use of 
`#date.#local` which is needed to convert all dates to local time).

* If Safari is not running then the script fails (my fault).

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-07 Thread Bill Cole

On 6 Aug 2015, at 8:13, Benny Kjær Nielsen wrote:


Hi MailMate users,

if you haven't already noticed it then there is a new bundle available 
in the Bundles preferences pane. Its name is “Visualize” and its 
main purpose is to make cool visualizations of email history and 
trends. After enabling it in the Bundles preferences pane then you 
should have two new menu items in the Command menu.


Umm, nope.

Running r5107 on Yosemite, but selecting that bundle does not add 
anything to the Commands menu, even after restarting.

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-07 Thread Benny Kjær Nielsen

On 7 Aug 2015, at 23:12, Bill Cole wrote:


On 6 Aug 2015, at 8:13, Benny Kjær Nielsen wrote:

if you haven't already noticed it then there is a new bundle 
available in the Bundles preferences pane. Its name is 
“Visualize” and its main purpose is to make cool visualizations 
of email history and trends. After enabling it in the Bundles 
preferences pane then you should have two new menu items in the 
Command menu.


Umm, nope.

Running r5107 on Yosemite, but selecting that bundle does not add 
anything to the Commands menu, even after restarting.


Maybe MailMate is unable to fetch the bundle for some reason. It should 
be here when it has been fetched:


~/Library/Application\ Support/MailMate/Managed/Bundles/

Do you see the bundle here?

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-07 Thread John Cooper
I'm running 5107 on OS X 10.10.4, and I don't see the bundle in that 
location (nor in the menu bar).


Benny Kjær Nielsen wrote (at 14:16 on 7 Aug 2015):


On 7 Aug 2015, at 23:12, Bill Cole wrote:


On 6 Aug 2015, at 8:13, Benny Kjær Nielsen wrote:

if you haven't already noticed it then there is a new bundle 
available in the Bundles preferences pane. Its name is 
“Visualize” and its main purpose is to make cool visualizations 
of email history and trends. After enabling it in the Bundles 
preferences pane then you should have two new menu items in the 
Command menu.


Umm, nope.

Running r5107 on Yosemite, but selecting that bundle does not add 
anything to the Commands menu, even after restarting.


Maybe MailMate is unable to fetch the bundle for some reason. It 
should be here when it has been fetched:


~/Library/Application\ Support/MailMate/Managed/Bundles/

Do you see the bundle here?

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-07 Thread Benny Kjær Nielsen

On 7 Aug 2015, at 23:36, John Cooper wrote:

I'm running 5107 on OS X 10.10.4, and I don't see the bundle in that 
location (nor in the menu bar).


And you also enabled it in the Bundles preferences pane?

Just to make sure this is not a general issue I disabled the bundle and 
enabled it again. As expected it disappeared from the folder and 
reappeared when enabled.


Do all bundles fail to be fetched when enabled?

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-07 Thread John Cooper
Hmm, I have my preferences so set in stone that it's been a long time 
since I visited Preferences, and I'd forgotten about Bundles. 
Nevertheless, the new bundle is still missing from the Command menu 
after enabling it in Preferences, and restarting MailMate.


I see BBEdit, Calendar, Evernote, and Visualize bundles (all .mmbundle 
files) in App Support/MailMate/Managed/Bundles, and 
Visualizations.mmBundle in App Support/MailMate/Bundles.


Benny Kjær Nielsen wrote (at 14:43 on 7 Aug 2015):


On 7 Aug 2015, at 23:36, John Cooper wrote:

I'm running 5107 on OS X 10.10.4, and I don't see the bundle in that 
location (nor in the menu bar).


And you also enabled it in the Bundles preferences pane?

Just to make sure this is not a general issue I disabled the bundle 
and enabled it again. As expected it disappeared from the folder and 
reappeared when enabled.


Do all bundles fail to be fetched when enabled?

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-07 Thread Benny Kjær Nielsen

On 7 Aug 2015, at 23:57, John Cooper wrote:

I see BBEdit, Calendar, Evernote, and Visualize bundles (all .mmbundle 
files) in App Support/MailMate/Managed/Bundles, and 
Visualizations.mmBundle in App Support/MailMate/Bundles.


Ah, that's it. Get rid of the Visualizations.mmBundle. I forgot I shared 
a variant of this bundle a long time ago.


	rm -r "~/Library/Application 
Support/MailMate/Bundles/Visualizations.mmBundle"


Sorry about that.

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-07 Thread Bill Cole

On 7 Aug 2015, at 17:16, Benny Kjær Nielsen wrote:


On 7 Aug 2015, at 23:12, Bill Cole wrote:


On 6 Aug 2015, at 8:13, Benny Kjær Nielsen wrote:

if you haven't already noticed it then there is a new bundle 
available in the Bundles preferences pane. Its name is 
“Visualize” and its main purpose is to make cool visualizations 
of email history and trends. After enabling it in the Bundles 
preferences pane then you should have two new menu items in the 
Command menu.


Umm, nope.

Running r5107 on Yosemite, but selecting that bundle does not add 
anything to the Commands menu, even after restarting.


Maybe MailMate is unable to fetch the bundle for some reason. It 
should be here when it has been fetched:


~/Library/Application\ Support/MailMate/Managed/Bundles/

Do you see the bundle here?


Yes. Oddly, the menu item appeared just fine on my secondary machine. It 
is odd that it fails very quietly: watching "syslog -w" while I toggle 
the bundle on and off shows no complaints by anything and I have ASL set 
to pass everything. The bundle directory appears and disappears, but the 
menu command does not. I suspect something broken in my user session on 
the primary, breaking whatever gadgetry does the bundle activation 
(PluginKit?). I've been putting off a reboot for a few days anyway...


It's most annoying because the primary is where I have a ~300k-message 
archive in the form of an offline account, and I want to provide the 
tool a big challenge.

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-07 Thread Muster Hans

On 8 Aug 2015, at 0:00, Benny Kjær Nielsen wrote:


On 7 Aug 2015, at 23:57, John Cooper wrote:

I see BBEdit, Calendar, Evernote, and Visualize bundles (all 
.mmbundle files) in App Support/MailMate/Managed/Bundles, and 
Visualizations.mmBundle in App Support/MailMate/Bundles.


Ah, that's it. Get rid of the Visualizations.mmBundle. I forgot I 
shared a variant of this bundle a long time ago.


	rm -r "~/Library/Application 
Support/MailMate/Bundles/Visualizations.mmBundle"


Sorry about that.


The folder MailMate/Bundles doesn't exist here.  The bundles are in the 
Managed subfolder:


~/Library/Application Support/MailMate/Managed/Bundles
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-07 Thread Benny Kjær Nielsen

On 8 Aug 2015, at 0:08, Bill Cole wrote:


On 7 Aug 2015, at 17:16, Benny Kjær Nielsen wrote:

Maybe MailMate is unable to fetch the bundle for some reason. It 
should be here when it has been fetched:


~/Library/Application\ Support/MailMate/Managed/Bundles/

Do you see the bundle here?


Yes. Oddly, the menu item appeared just fine on my secondary machine. 
It is odd that it fails very quietly: watching "syslog -w" while I 
toggle the bundle on and off shows no complaints by anything and I 
have ASL set to pass everything. The bundle directory appears and 
disappears, but the menu command does not. I suspect something broken 
in my user session on the primary, breaking whatever gadgetry does the 
bundle activation (PluginKit?). I've been putting off a reboot for a 
few days anyway...


I believe it's my fault (see my other message in this thread). Try this:

	rm -r "~/Library/Application 
Support/MailMate/Bundles/Visualizations.mmBundle"


It's most annoying because the primary is where I have a ~300k-message 
archive in the form of an offline account, and I want to provide the 
tool a big challenge.


I suspect a performance request soon :-)

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-07 Thread Benny Kjær Nielsen

On 8 Aug 2015, at 0:10, Muster Hans wrote:


On 8 Aug 2015, at 0:00, Benny Kjær Nielsen wrote:

	rm -r "~/Library/Application 
Support/MailMate/Bundles/Visualizations.mmBundle"


The folder MailMate/Bundles doesn't exist here.


That's fine. It's only for manually installed bundle which was the 
problem for John (and probably also Bill).



The bundles are in the Managed subfolder:

~/Library/Application Support/MailMate/Managed/Bundles


You have the Visualize bundle here, but it still does not show up in the 
Command menu?


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-07 Thread Muster Hans

On 8 Aug 2015, at 0:13, Benny Kjær Nielsen wrote:


On 8 Aug 2015, at 0:10, Muster Hans wrote:


On 8 Aug 2015, at 0:00, Benny Kjær Nielsen wrote:

	rm -r "~/Library/Application 
Support/MailMate/Bundles/Visualizations.mmBundle"


The folder MailMate/Bundles doesn't exist here.


That's fine. It's only for manually installed bundle which was the 
problem for John (and probably also Bill).


Understood.


The bundles are in the Managed subfolder:

~/Library/Application Support/MailMate/Managed/Bundles


You have the Visualize bundle here, but it still does not show up in 
the Command menu?


It is showing fine thanks, and works.
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-07 Thread Bill Cole

On 7 Aug 2015, at 18:12, Benny Kjær Nielsen wrote:


On 8 Aug 2015, at 0:08, Bill Cole wrote:


On 7 Aug 2015, at 17:16, Benny Kjær Nielsen wrote:

Maybe MailMate is unable to fetch the bundle for some reason. It 
should be here when it has been fetched:


~/Library/Application\ Support/MailMate/Managed/Bundles/

Do you see the bundle here?


Yes. Oddly, the menu item appeared just fine on my secondary machine. 
It is odd that it fails very quietly: watching "syslog -w" while I 
toggle the bundle on and off shows no complaints by anything and I 
have ASL set to pass everything. The bundle directory appears and 
disappears, but the menu command does not. I suspect something broken 
in my user session on the primary, breaking whatever gadgetry does 
the bundle activation (PluginKit?). I've been putting off a reboot 
for a few days anyway...


I believe it's my fault (see my other message in this thread). Try 
this:


	rm -r "~/Library/Application 
Support/MailMate/Bundles/Visualizations.mmBundle"


Nope. There is no  ~/Library/Application Support/MailMate/Bundles/

Something is broken specific to this machine. I'll raise the issue again 
if it persists across a reboot.

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-07 Thread John Cooper

Yes, that took care of the problem.

Benny Kjær Nielsen wrote (at 15:00 on 7 Aug 2015):


On 7 Aug 2015, at 23:57, John Cooper wrote:

I see BBEdit, Calendar, Evernote, and Visualize bundles (all 
.mmbundle files) in App Support/MailMate/Managed/Bundles, and 
Visualizations.mmBundle in App Support/MailMate/Bundles.


Ah, that's it. Get rid of the Visualizations.mmBundle. I forgot I 
shared a variant of this bundle a long time ago.


	rm -r "~/Library/Application 
Support/MailMate/Bundles/Visualizations.mmBundle"


Sorry about that.

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-28 Thread Christopher LILJENSTOLPE

Greetings,

On 6 Aug 2015, at 5:13, Benny Kjær Nielsen wrote:


Hi MailMate users,

if you haven't already noticed it then there is a new bundle available 
in the Bundles preferences pane. Its name is “Visualize” and its 
main purpose is to make cool visualizations of email history and 
trends. After enabling it in the Bundles preferences pane then you 
should have two new menu items in the Command menu. Select a (large) 
set of emails (⌘A) and then try them out. Don't forget to hover the 
mouse over various parts of the images to get more info.


The bundle was created by Sherif Soliman (thanks!) with a bit of my 
help and it's **work-in-progress**. If you have feature requests or 
any issues to report then use the [Github 
issues](https://github.com/sheriferson/Visualize.mmBundle/issues) 
page. General remarks can be sent to this list where Sherif is also 
available. [Github](https://github.com/sheriferson/Visualize.mmBundle) 
is also where the main repository resides in case you want to 
contribute to the bundle or you want to check out a cutting-edge 
version (the bundle available via the Bundles preferences pane is my 
fork of the bundle).


Currently the bundle uses Safari to display an HTML page. This page 
uses the [D3.js](http://d3js.org) JavaScript library to do the 
visualizations. Sherif also added some buttons to save the results as 
image files. You can see some examples on the [Github 
page](https://github.com/sheriferson/Visualize.mmBundle). I was 
actually a bit surprised to see that “View ▸ Distortion Mode” 
works, but I guess that's quite convenient :-)


I had a lot of fun analyzing the mailing list and my sent messages. I 
used MailMate to create smart mailboxes with various subsets of emails 
and then I used the bundle to visualise the results. The following two 
images are based on my Sent Messages mailbox (emails since I got my 
own server as part of working on MailMate). The first one shows I 
write almost half of my emails on Tuesday+Wednesday. The other one 
shows that I don't like to write emails in the night unless I'm on 
vacation in Thailand (February, 2013). You can even see that I rarely 
write emails 18.00-20.00 (family time). It's also quite obvious that 
the email “burden” has gotten worse over the years, but it appears 
to have been at its “worst” late 2013 which is exactly when I did 
the crowd funding campaign.


Note that the quality of the images has been reduced to allow 
inclusion on the mailing list. It looks much better when using the 
bundle.



This wasn't working for me.  It turns out that it doesn't work when 
using Chrome.  Since Chrome is my default browser, that's what gets 
called to show the graphs.  If I then paste the URL into safari, it 
works.


Christopher




Have fun!

Known “issues”:

* MailMate cannot not include children of collapsed items when calling 
a command.
* For large selections of emails then the “Emails by Sender” 
command needs some way to limit the number of “categories”. A 
histogram with thousands of bars is not readable (but hovering with 
the mouse still works quite well).


![](cid:B1C78C8F-8062-4014-B953-EA1FF76EFC17@freron.com "day.png")

![](cid:23852023-D109-4275-B6C7-84C407B0829A@freron.com "time.png")

--
Benny

[day.png]

[time.png]
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate



--
李柯睿
Avt tace, avt loqvere meliora silentio
Check my PGP key here: http://www.asgaard.org/cdl/cdl.asc
Current vCard here: http://www.asgaard.org/cdl/cdl.vcf
keybase: https://keybase.io/liljenstolpe
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize bundle

2015-08-31 Thread Benny Kjær Nielsen

On 29 Aug 2015, at 4:29, Christopher LILJENSTOLPE wrote:

This wasn't working for me.  It turns out that it doesn't work when 
using Chrome.  Since Chrome is my default browser, that's what gets 
called to show the graphs.  If I then paste the URL into safari, it 
works.


Hmm, I had changed the script to force the use of Safari. Are you sure 
you are using the bundle available via the Bundles preferences pane?


If you have a custom bundle then it's located here:

~/Library/Application Support/MailMate/Bundles/

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize Bundle - not working?

2018-07-03 Thread Sherif Soliman

Hi Ben,

On 3 Jul 2018, at 8:21, Ben Hyde wrote:

Maybe I just need a poke withe the clue stick, but I think this bundle 
isn’t

working today.

I installed it a half hour ago, for the first time.

And when I select a group of messages and hit cntl-t it
opens a page in Safari; but I don’t see a chart.



I'm the author of the plugin. You're not missing anything. 
Unfortunately, the plugin stopped working somewhat recently due to a 
change in the security models in browsers (all major ones, as far as I 
know) where loading an external file in the way MailMate enabled the 
plugin to do was considered insecure and no longer allowed. The problem 
is explained by Benny [in this GitHub 
issue](https://github.com/sheriferson/Visualize.mmBundle/issues/6#issuecomment-334471941).


It seems that for this to work, MailMate (or the plugin) would need to 
spin up a simple http server to be able to read the file generated by 
MailMate.


I am happy to put in some time/effort to make it work if Benny has an 
idea — and needed bandwidth — to find an alternative and guide me to 
an extent :)


Sherif___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize Bundle - not working?

2018-07-04 Thread Max Andersen
if it can help the absolute simplest way I can think of bringing up a local
server is running `cd folderwithcontent; python -m SimpleHTTPServer 3456`

this will give you http://localhost:3456/

and the nice plus that if a server is already running on port 3456 it will
just exit so for a crude but working script for the visualizer it will
"always" work.

On Wed, Jul 4, 2018 at 6:49 AM, Sherif Soliman  wrote:

> Hi Ben,
>
> On 3 Jul 2018, at 8:21, Ben Hyde wrote:
>
> Maybe I just need a poke withe the clue stick, but I think this bundle
> isn’t
> working today.
>
> I installed it a half hour ago, for the first time.
>
> And when I select a group of messages and hit cntl-t it
> opens a page in Safari; but I don’t see a chart.
>
> I'm the author of the plugin. You're not missing anything. Unfortunately,
> the plugin stopped working somewhat recently due to a change in the
> security models in browsers (all major ones, as far as I know) where
> loading an external file in the way MailMate enabled the plugin to do was
> considered insecure and no longer allowed. The problem is explained by
> Benny in this GitHub issue
> 
> .
>
> It seems that for this to work, MailMate (or the plugin) would need to
> spin up a simple http server to be able to read the file generated by
> MailMate.
>
> I am happy to put in some time/effort to make it work if Benny has an idea
> — and needed bandwidth — to find an alternative and guide me to an extent :)
>
> Sherif
>
> ___
> mailmate mailing list
> mailmate@lists.freron.com
> https://lists.freron.com/listinfo/mailmate
>
>


-- 
/max
http://about.me/maxandersen
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize Bundle - not working?

2018-07-04 Thread Stephan van Maris
Starting a local webserver just to serve a CSV file for a bundle seems a 
bit like overkill to me. Wouldn’t it be easier to just generate a 
Javascript file with the data instead of a CSV and include it in the 
page using a 

Re: [MlMt] Visualize Bundle - not working?

2018-07-04 Thread Benny Kjær Nielsen

On 4 Jul 2018, at 9:46, Stephan van Maris wrote:

Starting a local webserver just to serve a CSV file for a bundle seems 
a bit like overkill to me. Wouldn’t it be easier to just generate a 
Javascript file with the data instead of a CSV and include it in the 
page using a 

Re: [MlMt] Visualize Bundle - not working?

2018-07-04 Thread Stephan van Maris
Sure, I’ll have a go at it and submit a pull request in a couple of
days.
On Wed, Jul 4, 2018, at 12:00, Benny Kjær Nielsen wrote:
> On 4 Jul 2018, at 9:46, Stephan van Maris wrote:


>> Starting a local webserver just to serve a CSV file for a bundle
>> seems a bit like overkill to me. Wouldn’t it be easier to just
>> generate a Javascript file with the data instead of a CSV and include
>> it in the page using a 

Re: [MlMt] Visualize Bundle - not working?

2018-07-04 Thread Bill Cole

On 4 Jul 2018, at 0:49 (-0400), Sherif Soliman wrote:


Hi Ben,

On 3 Jul 2018, at 8:21, Ben Hyde wrote:

Maybe I just need a poke withe the clue stick, but I think this 
bundle isn’t

working today.

I installed it a half hour ago, for the first time.

And when I select a group of messages and hit cntl-t it
opens a page in Safari; but I don’t see a chart.



I'm the author of the plugin. You're not missing anything. 
Unfortunately, the plugin stopped working somewhat recently due to a 
change in the security models in browsers (all major ones, as far as I 
know) where loading an external file in the way MailMate enabled the 
plugin to do was considered insecure and no longer allowed. The 
problem is explained by Benny [in this GitHub 
issue](https://github.com/sheriferson/Visualize.mmBundle/issues/6#issuecomment-334471941).


It seems that for this to work, MailMate (or the plugin) would need to 
spin up a simple http server to be able to read the file generated by 
MailMate.


Have you looked at switching to the current version of the D3 framework? 
It seems to have switched how it retrieves external data (no more 
XMLHttpRequest) which MAY solve the issue.



--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Currently Seeking Steadier Work: https://linkedin.com/in/billcole
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Visualize Bundle - not working?

2018-08-13 Thread Sherif Soliman



On 4 Jul 2018, at 14:03, Bill Cole wrote:


On 4 Jul 2018, at 0:49 (-0400), Sherif Soliman wrote:


Hi Ben,

On 3 Jul 2018, at 8:21, Ben Hyde wrote:

Maybe I just need a poke withe the clue stick, but I think this 
bundle isn’t

working today.

I installed it a half hour ago, for the first time.

And when I select a group of messages and hit cntl-t it
opens a page in Safari; but I don’t see a chart.



I'm the author of the plugin. You're not missing anything. 
Unfortunately, the plugin stopped working somewhat recently due to a 
change in the security models in browsers (all major ones, as far as 
I know) where loading an external file in the way MailMate enabled 
the plugin to do was considered insecure and no longer allowed. The 
problem is explained by Benny [in this GitHub 
issue](https://github.com/sheriferson/Visualize.mmBundle/issues/6#issuecomment-334471941).


It seems that for this to work, MailMate (or the plugin) would need 
to spin up a simple http server to be able to read the file generated 
by MailMate.


Have you looked at switching to the current version of the D3 
framework? It seems to have switched how it retrieves external data 
(no more XMLHttpRequest) which MAY solve the issue.




I've finally had some time to look at this, and posted a [response to 
the 
issue](https://github.com/sheriferson/Visualize.mmBundle/issues/6#issuecomment-412742671) 
with results of investigation and some options.


I did try using the latest d3 framework but it didn't solve the problem 
(at least not without other code changes). I may be missing something 
though — if you've seen a recent example of D3 successfully reading an 
external data file locally without a local server running, I'd 
appreciate a link.


Sherif___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] visualize bundle still have issues with my mail ;)

2015-10-06 Thread Sherif Soliman

On 2 Oct 2015, at 6:13, Max Rydahl Andersen wrote:


Hey,

so I wanted to try the visualise bundle again and I still have issues.

It works well when I choose like a handful of mails things work, but 
if I select *all* my unread or just my github notification emails the 
browser never opens.


Anything I can do to debug it ?



I can't think of much, but I do have a couple of questions:

- When you try all your unread or all your github notifications emails, 
approximately how many are they? For reference , I just tried with  
11,000 messages and it worked fine, but I'm curious if you're trying 
with a number that's an order of magnitude larger or something, in which 
case I will try to test that too.


- After you attempt to display the visualization and nothing happens, if 
you open the Temp directory from terminal with this command:


```
open ${TMPDIR}
```

Can you find a `com.freron.MailMate.Visualize.csv` file in there?

If you do, is it populated? If you can examine it with your 
data-manipulating tool of choice, does it have the number of rows that 
you'd expect? Are there any visible missing chunks or other obvious 
problems?


I think if you don't find the file in there then something is failing 
before the step of trying to launch Safari. Maybe there are some 
problematic emails that stop MailMate. I mostly wrote the 
visualization/plot code, so maybe Benny will have an insights depending 
on what you find.


S
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] visualize bundle still have issues with my mail ;)

2015-10-07 Thread Max Rydahl Andersen

On 6 Oct 2015, at 22:54, Sherif Soliman wrote:


On 2 Oct 2015, at 6:13, Max Rydahl Andersen wrote:


Hey,

so I wanted to try the visualise bundle again and I still have 
issues.


It works well when I choose like a handful of mails things work, but 
if I select *all* my unread or just my github notification emails the 
browser never opens.


Anything I can do to debug it ?



I can't think of much, but I do have a couple of questions:

- When you try all your unread or all your github notifications 
emails, approximately how many are they?


This morning 36 and today it works.

The other day probably a few hundred.

For reference , I just tried with  11,000 messages and it worked fine, 
but I'm curious if you're trying with a number that's an order of 
magnitude larger or something, in which case I will try to test that 
too.


My total unread for *today* is 164 and that fails.

My "all unread" is 845 and that works.

Now I took my All Messages of 28.000+ and that worked too.

Wen back to *today* with 164 and now that works fine.

so I can't find a pattern ;/

Only explanation I have is that I updated to latest mailmate build and 
El Capitain since last mail...
so maybe something I had installed via brew was rewired to now work with 
the visualiser.


- After you attempt to display the visualization and nothing happens, 
if you open the Temp directory from terminal with this command:


```
open ${TMPDIR}
```

Can you find a `com.freron.MailMate.Visualize.csv` file in there?

If you do, is it populated? If you can examine it with your 
data-manipulating tool of choice, does it have the number of rows that 
you'd expect? Are there any visible missing chunks or other obvious 
problems?


I think if you don't find the file in there then something is failing 
before the step of trying to launch Safari. Maybe there are some 
problematic emails that stop MailMate. I mostly wrote the 
visualization/plot code, so maybe Benny will have an insights 
depending on what you find.


I'll keep an eye out on that file if it happens again.

Thanks,
/max
http://about.me/maxandersen
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate