Re: [Evolution] Signatures are not saved

2019-01-28 Thread Paulo Cesar G. Costa

Milan,

Problem solved! Thanks!
The issue was not the use of symlinks, but the fact that the drive they 
were
pointing to was formatted as NTSF. My entry in /etc/fstab was:

LABEL=Mail /mnt/Mail ntfs-3g uid=1000,gid=1000,umask=0022,x-gvfs-show 0 0

Which works well in other places I use NTFS partitions in Linux. However,
the NTFS formatting seems to mess with the attributes and/or the 
permissions. I moved all mail to an ext4 partition, redirected the 
symbolic links and now the signatures work as expected.

All the best,
Paulo


On Mon, 2019-01-28 at 10:39 +0100, Milan Crha via evolution-list wrote:
> On Fri, 2019-01-25 at 09:21 -0500, Paulo Cesar G. Costa wrote:
> > lrwxrwxrwx  1 root root   38 Jan 20 21:20 evolution -> /mnt
> 
>   Hi,having the file owned by root:root, instead of pc:pc, looks a
> bitsuspicious, despite the "everyone can do everything" attributes.
> > Thus, given that:1) I cannot find anything that would indicate an issue in
> > the filesystem2) The signature files are being properly saved by evolution
> > in thecorrect folder and the fact that the error messages point to a NULL
> > symlink, my bestguess is that something internal to Evolution may be causing
> > it tonot follow the symlink.
> 
> Okay, that you symlink the files into a mounted partition is kind ofimportant
> detail, because it's not the standard way of runningEvolution.
> It seems that the code thinks that your signature is a script.
> That'srecognized by file attributes. Does the file in /mnt/ have
> theexecutable attribute set? What is the partition type of the /mnt/Mail?Some
> can "garbage" file attributes used by Linux systems.  Bye,Milan
> ___evolution-list mailing 
> listevolution-l...@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list
> 
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Signatures are not saved

2019-01-28 Thread Milan Crha via evolution-list
On Fri, 2019-01-25 at 09:21 -0500, Paulo Cesar G. Costa wrote:
> lrwxrwxrwx  1 root root   38 Jan 20 21:20 evolution -> /mnt

Hi,
having the file owned by root:root, instead of pc:pc, looks a bit
suspicious, despite the "everyone can do everything" attributes.

> Thus, given that:
> 1) I cannot find anything that would indicate an issue in the file
> system
> 2) The signature files are being properly saved by evolution in the
> correct folder 
> and the fact that the error messages point to a NULL symlink, my best
> guess is that something internal to Evolution may be causing it to
> not follow the symlink.

Okay, that you symlink the files into a mounted partition is kind of
important detail, because it's not the standard way of running
Evolution.

It seems that the code thinks that your signature is a script. That's
recognized by file attributes. Does the file in /mnt/ have the
executable attribute set? What is the partition type of the /mnt/Mail?
Some can "garbage" file attributes used by Linux systems.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Signatures are not saved

2019-01-25 Thread Paulo Cesar G. Costa
> 
> On Thu, 2019-01-24 at 07:28 +0100, Milan Crha via evolution-list wrote:
> > On Wed, 2019-01-23 at 15:14 -0500, Paulo Cesar G. Costa wrote:
> > > Any ideas?
> > 
> > Hi,I would try to run evolution from a terminal, maybe it shows some
> > errormessage there. You can also try to create a file in
> > that/home/pc/.config/evolution/signaturesjust to see whether the files can
> > be really created there.

Hi Milan,

Per your suggestion, I run Evolution from terminal, and tried to create two
signatures (titled "test1" and "test2"). 
Listed below are the steps I followed, with a description of what I saw, as well
as the associated terminal window output.

STEPS

1) Initial setup - evolution opened from in terminal, no error messages

2) Create 1st signature
   -  > Preferences | Composer Preferences | Signatures tab > "Add" button 
 * [Add dialog opens]
   - Entered:
 * Title: test1
 * Signature text: "test1 - HTML was chosen"
   - Pressed Save and Close button
 * [No messages in terminal]
 * [file appears in signature folder:
028566452f2702bbc64f7892cf15a03d54692be6]
   - highlighted "test1" in signatures window. 
 * ["Edit" button becomes available]
 * [error message appears in terminal:
/home/pc/.config/evolution/signatures/028566452f2702bbc64f7892cf15a03d54692be6:
1:
/home/pc/.config/evolution/signatures/028566452f2702bbc64f7892cf15a03d54692be6:
Syntax error: redirection unexpected]
   - Clicked on the edit button. The following events happened: 
 * ["Edit Signature Script" windows shows up]
 * [error message in terminal: (evolution:18851): evolution-util-CRITICAL
**: 19:18:53.289: e_mail_signature_script_dialog_set_symlink_target: assertion
'symlink_target != NULL' failed]
   - Clicked "Cancel" button in the "Edit Signature Window"
 * ["Edit Signature Window" closes]
 * [no messages in terminal]
 * [folder still has 028566452f2702bbc64f7892cf15a03d54692be6 file in it]
3) Create 2nd signature
   - Clicked "Add" button 
 * [Add dialog opens]
   - Entered:
 * Title: test2
 * selected plain text on the drop-down button
 * Signature text: "test2 - Plain Text was chosen"
   - Pressed Save and Close button
 * [Add Signature window closes]
 * [test1 in Signatures window is highlighted]
 * [New error message in terminal:
/home/pc/.config/evolution/signatures/028566452f2702bbc64f7892cf15a03d54692be6:
1:
/home/pc/.config/evolution/signatures/028566452f2702bbc64f7892cf15a03d54692be6:
Syntax error: redirection unexpected]
 * [New file in signature folder: 009503da0422d0e77e09bcb77814e33cf360d32e]
   - Highlighted "text2" signature title from the list
 * [New error message in terminal:
/home/pc/.config/evolution/signatures/009503da0422d0e77e09bcb77814e33cf360d32e:
1:
/home/pc/.config/evolution/signatures/009503da0422d0e77e09bcb77814e33cf360d32e:
Syntax error: redirection unexpected]
   - Clicked on the edit button. The following events happened: 
 * ["Edit Signature Script" windows shows up]
 * [New error message in terminal: (evolution:18851): evolution-util-
CRITICAL **: 19:30:25.844: e_mail_signature_script_dialog_set_symlink_target:
assertion 'symlink_target != NULL' failed]
   - Clicked "Cancel" button in the "Edit Signature Script" window
 * ["Edit Signature Window" closes]
 * [no messages in terminal]
 * [Signature folder still has two files]

4) Exit Evolution
 * [25 identical error messages appear in terminal: (evolution:18851): Gtk-
CRITICAL **: 19:33:11.856: gtk_notebook_get_tab_label: assertion 'list != NULL'
failed]
 * [26th error message is slightly different: (evolution:18851): GLib-
CRITICAL **: 19:33:12.039: g_source_set_ready_time: assertion 'source->priv !=
NULL' failed]
 * [terminal returns to prompt]
 * [signature folder still has two files]

5) Open and exit evolution again
 * Same 25 identical messages appear when leaving, but the 26th don't. 
 * Signature folder still has two files

Note1: when either of the signatures created is selected, no text appears in the
text window below the "Signatures" window
Note2: later, I tried to use the signatures in dummy email messages. It came
empty.  

ANALYSIS

It looks to me that the file is not being saved properly due to some malformed
redirection. Yet, the files are being saved correctly and when I do file
operations outside Evolution. For instance, I was able to move and copy files to
and from the signatures folder, using both the actual path
(/mnt/Mail/evolution/.config/evolution/signatures) as well as the associated
symlink (/home/pc/.config/evolution/signatures and
~/.config/evolution/signatures)
My file structure is:

SSD1:
> Home
 - pc
   - .config

SSD2:
> Mail
  -  .evolution
   - .config
-  evolution
 - signatures

A ls -acFlh command in /Home/pc (SSD1) will give you (among other things) the
symlink:

drwx--  2 pc   pc   4.0K Jan 17 21:05 eog/
lrwxrwxrwx  1 root 

[Evolution] Signatures are not saved

2019-01-24 Thread Paulo Cesar G. Costa
Recovering the message thread on the subject. Original message is at the end.

Paulo

On Thu, 2019-01-24 at 07:28 +0100, Milan Crha via evolution-list wrote:
> On Wed, 2019-01-23 at 15:14 -0500, Paulo Cesar G. Costa wrote:
> > Any ideas?
> 
>   Hi,I would try to run evolution from a terminal, maybe it shows some
> errormessage there. You can also try to create a file in
> that/home/pc/.config/evolution/signaturesjust to see whether the files can be
> really created there.
> By the way, you just hijacked a thread. Do not start new conversationby
> replying to an existing (and totally unrelated) message and changethe subject,
> it's not enough. Rather click the address of the mailinglist to really start a
> new thread.   Bye,Milan
> ___evolution-list mailing 
> listevolution-l...@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list



On Wed, 2019-01-23 at 15:14 -0500, Paulo Cesar G. Costa wrote:
> John,
> Thanks for your feedback.
> Yes, I am using the "Signature" tab under "Composer Preferences", and
> whenclicking on the "Add" button I get the "Edit Signature" window. After
> enteringthe field "Signature Name" and the signature itself in the edit
> window, I clickon "Save and Close" (or select the associated menu option) and
> the windowcloses. However, although the title of the saved signature appears
> in the"Signature" window, when I select the title nothing appears in the edit
> window.If I try to click on the "Edit" button when the signature title is
> selected, Iget the "Add Script" window instead.
> I went to the folder home/pc/.config/evolution/signatures and, sure enough,
> itwas empty. When trying to save the signature following the above method,
> nothingis added to that folder.The folder permissions are pc:pc so I don't
> thing this is what is preventingevolution from saving in that folder.
> Any ideas?
> Thanks,Paulo
> 
> 
> On Wed, 2019-01-23 at 13:10 -0500, Dr. John H. Lauterbach wrote:
> > On Wed, 2019-01-23 at 12:14 -0500, Paulo Cesar G. Costa wrote:
> > > Hi,
> > > 
> > > I cannot make signatures to work. They do not get saved at all.
> > > > Edit > Preferences > Signature Tab > Add
> > > 
> > > - Opens the Edit Signature window and let me create a signature- I wrote
> > > "test" as "Signature Name" and "signature goes here" as a dummytextin the
> > > signature window.- Clicked on the Arrow button to save and close (also
> > > tried the menu option)- "test" appears listed in the "Signatures" window,
> > > but selecting it doesnotshow the dummy text, just a blank window - Added
> > > the signature to an account and wrote a message. The
> > > signature'snameappears as an option, but adding it does nothing.- Send the
> > > message to myself and double checked nothing was included assignature.
> > > If I try to click "Edit" on the Signatures tab when "test" is selected
> > > (oranyother signature), instead of an edit window I get the "Edit
> > > SignatureScript"window asking me to input a file...I repeated the above
> > > many times, with plain text, with HTML text, etc. Alltonoavail.
> > > I am either missing something very obvious or have a broken
> > > permissionssystem(unlikely since everything else works).
> > > Please, let me know what am I missing and/or how to repair it.
> > > 
> > > Paulo
> > > Configuration:Evolution 3.30.1-1build1Ubuntu 18.10 - kernel 4.18.0-13-
> > > genericinstall source: ubuntu-cosmic-universe 
> > > ___evolution-list mailing 
> > > listevolution-l...@gnome.org
> > > 
> > > To change your list options or unsubscribe, visit ...
> > > https://mail.gnome.org/mailman/listinfo/evolution-list
> > > 
> > > 
> > I am using same configuration you are using except that I use
> > Unitydesktop.  Onmine, the add signature is under composer preferences.  No
> > problem editing oradding signatures.
> > ___evolution-list mailing 
> > listevolution-l...@gnome.org
> > To change your list options or unsubscribe, visit ...
> > https://mail.gnome.org/mailman/listinfo/evolution-list
> 
> ___evolution-list mailing 
> listevolution-l...@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list





> On Wed, 2019-01-23 at 12:14 -0500, Paulo Cesar G. Costa wrote:
> > Hi,
> 
> I cannot make signatures to work. They do not get saved at all.
> > Edit > Preferences > Signature Tab > Add
> - Opens the Edit Signature window and let me create a signature- I wrote
> "test" as "Signature Name" and "signature goes here" as a dummy textin the
> signature window.- Clicked on the Arrow button to save and close (also tried
> the menu option)- "test" appears listed in the "Signatures" window, but
> selecting it does notshow the dummy text, just a blank window - Added the
> signature to 

Re: [Evolution] Signatures are not saved

2019-01-24 Thread Patrick O'Callaghan
On Thu, 2019-01-24 at 12:53 -0500, Paulo Cesar G Costa wrote:
> > On Jan 24, 2019, at 1:28 AM, Milan Crha via evolution-list 
> >  wrote:
> > 
> > By the way, you just hijacked a thread. Do not start new conversation
> > by replying to an existing (and totally unrelated) message and change
> > the subject, it's not enough. Rather click the address of the mailing
> > list to really start a new thread.
> > Bye,
> > Milan
> 
> Oops. I’m sorry. I thought that changing the title would create a new threat. 
> My apologies.
> I’ll initiate a new threat and include the tests I will do tonight using the 
> terminal.

No, changing the subject line does not create a new thread (or threat,
which something completely different!). Threads are tied together
mainly through the In-Reply-To: header.

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Signatures are not saved

2019-01-24 Thread Paulo Cesar G Costa

> On Jan 24, 2019, at 1:28 AM, Milan Crha via evolution-list 
>  wrote:
> 
> By the way, you just hijacked a thread. Do not start new conversation
> by replying to an existing (and totally unrelated) message and change
> the subject, it's not enough. Rather click the address of the mailing
> list to really start a new thread.
>   Bye,
>   Milan

Oops. I’m sorry. I thought that changing the title would create a new threat. 
My apologies.
I’ll initiate a new threat and include the tests I will do tonight using the 
terminal.

Thanks,
Paulo
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Signatures are not saved

2019-01-23 Thread Milan Crha via evolution-list
On Wed, 2019-01-23 at 15:14 -0500, Paulo Cesar G. Costa wrote:
> Any ideas?

Hi,
I would try to run evolution from a terminal, maybe it shows some error
message there. You can also try to create a file in that
/home/pc/.config/evolution/signatures
just to see whether the files can be really created there.

By the way, you just hijacked a thread. Do not start new conversation
by replying to an existing (and totally unrelated) message and change
the subject, it's not enough. Rather click the address of the mailing
list to really start a new thread.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Signatures are not saved

2019-01-23 Thread Paulo Cesar G. Costa
John,

Thanks for your feedback.

Yes, I am using the "Signature" tab under "Composer Preferences", and when
clicking on the "Add" button I get the "Edit Signature" window. After entering
the field "Signature Name" and the signature itself in the edit window, I click
on "Save and Close" (or select the associated menu option) and the window
closes. However, although the title of the saved signature appears in the
"Signature" window, when I select the title nothing appears in the edit window.
If I try to click on the "Edit" button when the signature title is selected, I
get the "Add Script" window instead.

I went to the folder home/pc/.config/evolution/signatures and, sure enough, it
was empty. When trying to save the signature following the above method, nothing
is added to that folder.
The folder permissions are pc:pc so I don't thing this is what is preventing
evolution from saving in that folder.

Any ideas?

Thanks,
Paulo



On Wed, 2019-01-23 at 13:10 -0500, Dr. John H. Lauterbach wrote:
> On Wed, 2019-01-23 at 12:14 -0500, Paulo Cesar G. Costa wrote:
> > Hi,
> > 
> > 
> > I cannot make signatures to work. They do not get saved at all.
> > 
> > > Edit > Preferences > Signature Tab > Add
> > 
> > - Opens the Edit Signature window and let me create a signature
> > - I wrote "test" as "Signature Name" and "signature goes here" as a dummy
> > text
> > in the signature window.
> > - Clicked on the Arrow button to save and close (also tried the menu option)
> > - "test" appears listed in the "Signatures" window, but selecting it does
> > not
> > show the dummy text, just a blank window 
> > - Added the signature to an account and wrote a message. The signature's
> > name
> > appears as an option, but adding it does nothing.
> > - Send the message to myself and double checked nothing was included as
> > signature.
> > 
> > If I try to click "Edit" on the Signatures tab when "test" is selected (or
> > any
> > other signature), instead of an edit window I get the "Edit Signature
> > Script"
> > window asking me to input a file...
> > I repeated the above many times, with plain text, with HTML text, etc. All
> > to
> > no
> > avail.
> > 
> > I am either missing something very obvious or have a broken permissions
> > system
> > (unlikely since everything else works).
> > 
> > Please, let me know what am I missing and/or how to repair it.
> > 
> > 
> > Paulo
> > 
> > Configuration:
> > Evolution 3.30.1-1build1
> > Ubuntu 18.10 - kernel 4.18.0-13-generic
> > install source: ubuntu-cosmic-universe 
> > 
> > ___
> > evolution-list mailing list
> > evolution-list@gnome.org
> > 
> > To change your list options or unsubscribe, visit ...
> > https://mail.gnome.org/mailman/listinfo/evolution-list
> > 
> > 
> I am using same configuration you are using except that I use Unity
> desktop.  On
> mine, the add signature is under composer preferences.  No problem editing or
> adding signatures.
> 
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Signatures are not saved

2019-01-23 Thread Dr. John H. Lauterbach
On Wed, 2019-01-23 at 12:14 -0500, Paulo Cesar G. Costa wrote:
> Hi,
> 
> 
> I cannot make signatures to work. They do not get saved at all.
> 
> > Edit > Preferences > Signature Tab > Add
> 
> - Opens the Edit Signature window and let me create a signature
> - I wrote "test" as "Signature Name" and "signature goes here" as a dummy text
> in the signature window.
> - Clicked on the Arrow button to save and close (also tried the menu option)
> - "test" appears listed in the "Signatures" window, but selecting it does not
> show the dummy text, just a blank window 
> - Added the signature to an account and wrote a message. The signature's name
> appears as an option, but adding it does nothing.
> - Send the message to myself and double checked nothing was included as
> signature.
> 
> If I try to click "Edit" on the Signatures tab when "test" is selected (or any
> other signature), instead of an edit window I get the "Edit Signature Script"
> window asking me to input a file...
> I repeated the above many times, with plain text, with HTML text, etc. All to
> no
> avail.
> 
> I am either missing something very obvious or have a broken permissions system
> (unlikely since everything else works).
> 
> Please, let me know what am I missing and/or how to repair it.
> 
> 
> Paulo
> 
> Configuration:
> Evolution 3.30.1-1build1
> Ubuntu 18.10 - kernel 4.18.0-13-generic
> install source: ubuntu-cosmic-universe 
> 
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> 
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list
> 
> 
I am using same configuration you are using except that I use Unity desktop.  On
mine, the add signature is under composer preferences.  No problem editing or
adding signatures.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Signatures are not saved

2019-01-23 Thread Paulo Cesar G. Costa
Hi,


I cannot make signatures to work. They do not get saved at all.

> Edit > Preferences > Signature Tab > Add
- Opens the Edit Signature window and let me create a signature
- I wrote "test" as "Signature Name" and "signature goes here" as a dummy text
in the signature window.
- Clicked on the Arrow button to save and close (also tried the menu option)
- "test" appears listed in the "Signatures" window, but selecting it does not
show the dummy text, just a blank window 
- Added the signature to an account and wrote a message. The signature's name
appears as an option, but adding it does nothing.
- Send the message to myself and double checked nothing was included as
signature.

If I try to click "Edit" on the Signatures tab when "test" is selected (or any
other signature), instead of an edit window I get the "Edit Signature Script"
window asking me to input a file...
I repeated the above many times, with plain text, with HTML text, etc. All to no
avail.

I am either missing something very obvious or have a broken permissions system
(unlikely since everything else works).

Please, let me know what am I missing and/or how to repair it.


Paulo

Configuration:
Evolution 3.30.1-1build1
Ubuntu 18.10 - kernel 4.18.0-13-generic
install source: ubuntu-cosmic-universe 

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list