Could not save a text part: Internal error in get_stream

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Could not save a text part: Internal error in get_stream

JohnJackDoe
Could not save a text part: Internal error in get_stream

Dear list members,

Yesterday night I compiled and installed Balsa 2.5.3a-76-ga1b1465 from  
GIT. Compilation and installation passed without failure messages. The  
maildir problem is handled in a different mail.

Balsa was started in debug mode with 'G_MESSAGES_DEBUG=all  
/usr/local/bin/balsa'. The log did not show failures. I sent a test  
message to an outside mailbox and retrieved retrieved it later. So far  
so good. The downloaded and stored email showed no subject and a size  
of 0 (zero) bytes. Double clicking on the mail produced the message  
'Could not save a text part: Internal error in get_stream'. The debug  
window produced the report below. I checked the file in the maildir  
inbox - it was empty! Any ideas?
--
Best regards,

John Jack Doe

me@Netbook-11:~$ G_MESSAGES_DEBUG=all /usr/local/bin/balsa
(balsa:1979): Gtk-DEBUG: Connecting to session manager
(balsa:1979): Gtk-DEBUG: Registering client 'balsa' ''

(balsa:1979): Gtk-WARNING **: Failed to register client:  
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name  
org.gnome.SessionManager was not provided by any .service files
** Message: init gpgme version 1.6.0
** Message: protocol OpenPGP: engine /usr/bin/gpg2 (home (null),  
version 2.1.11)
** Message: protocol CMS: engine /usr/bin/gpgsm (home (null), version  
2.1.11)
** Message: protocol GPGCONF: engine /usr/bin/gpgconf (home (null),  
version 2.1.11)
** Message: protocol Assuan: engine /home/me/.gnupg/S.gpg-agent (home  
!GPG_AGENT, version 1.0)
** Message: protocol UIServer: engine /home/me/.gnupg/S.uiserver (home  
(null), version 1.0)
** Message: protocol Spawn: engine /nonexistent (home (null), version  
1.0)
** Message: gpg-agent found: /home/me/.gnupg/S.gpg-agent:0:1
** Message: OpenPGP protocol supported
** Message: CMS (aka S/MIME) protocol supported
Network is available   (Mo 24 Apr 2017 13:59:28 CEST)

** (balsa:1979): CRITICAL **: g_mime_part_check_rfc2440: assertion  
'wrapper' failed

** (balsa:1979): CRITICAL **: g_mime_part_check_rfc2440: assertion  
'wrapper' failed

(balsa:1979): gmime-CRITICAL **: internet_address_list_to_string:  
assertion 'IS_INTERNET_ADDRESS_LIST (list)' failed
_______________________________________________
balsa-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/balsa-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Could not save a text part: Internal error in get_stream

Albrecht Dreß
Hi John Jack Doe:

Thanks for the report.

I think the "Could not save a text part: Internal error in get_stream" message, is the important one, the 'CRITICAL' messages might be aftereffects.

Unfortunately, this does not really help in tracking down the cause - all I can say that I cannot reproduce any issue with either maildir or mbox...  Maybe it's linkd to your other report ("Maildir deleted")?

Best,
Albrecht.

Am 24.04.17 14:08 schrieb(en) [hidden email]:

> Could not save a text part: Internal error in get_stream
>
> Dear list members,
>
> Yesterday night I compiled and installed Balsa 2.5.3a-76-ga1b1465 from GIT. Compilation and installation passed without failure messages. The maildir problem is handled in a different mail.
>
> Balsa was started in debug mode with 'G_MESSAGES_DEBUG=all /usr/local/bin/balsa'. The log did not show failures. I sent a test message to an outside mailbox and retrieved retrieved it later. So far so good. The downloaded and stored email showed no subject and a size of 0 (zero) bytes. Double clicking on the mail produced the message 'Could not save a text part: Internal error in get_stream'. The debug window produced the report below. I checked the file in the maildir inbox - it was empty! Any ideas?
> --
> Best regards,
>
> John Jack Doe
>
> me@Netbook-11:~$ G_MESSAGES_DEBUG=all /usr/local/bin/balsa
> (balsa:1979): Gtk-DEBUG: Connecting to session manager
> (balsa:1979): Gtk-DEBUG: Registering client 'balsa' ''
>
> (balsa:1979): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
> ** Message: init gpgme version 1.6.0
> ** Message: protocol OpenPGP: engine /usr/bin/gpg2 (home (null), version 2.1.11)
> ** Message: protocol CMS: engine /usr/bin/gpgsm (home (null), version 2.1.11)
> ** Message: protocol GPGCONF: engine /usr/bin/gpgconf (home (null), version 2.1.11)
> ** Message: protocol Assuan: engine /home/me/.gnupg/S.gpg-agent (home !GPG_AGENT, version 1.0)
> ** Message: protocol UIServer: engine /home/me/.gnupg/S.uiserver (home (null), version 1.0)
> ** Message: protocol Spawn: engine /nonexistent (home (null), version 1.0)
> ** Message: gpg-agent found: /home/me/.gnupg/S.gpg-agent:0:1
> ** Message: OpenPGP protocol supported
> ** Message: CMS (aka S/MIME) protocol supported
> Network is available   (Mo 24 Apr 2017 13:59:28 CEST)
>
> ** (balsa:1979): CRITICAL **: g_mime_part_check_rfc2440: assertion 'wrapper' failed
>
> ** (balsa:1979): CRITICAL **: g_mime_part_check_rfc2440: assertion 'wrapper' failed
>
> (balsa:1979): gmime-CRITICAL **: internet_address_list_to_string: assertion 'IS_INTERNET_ADDRESS_LIST (list)' failed
> _______________________________________________
> balsa-list mailing list
> [hidden email]
> https://mail.gnome.org/mailman/listinfo/balsa-list
>
_______________________________________________
balsa-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/balsa-list

attachment0 (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Could not save a text part: Internal error in get_stream

JohnJackDoe
This mail has been automatically rejected by the list owner because of  
the attachment size. Here it is again but compressed attachment.

-------------------
Dear Albrecht,
Dear list members,

I still have the trouble. However, to exclude failures that I might  
have done I started the Balsa compilation/installation from scratch and  
wrote the terminal outputs to a logfile by using 'script'. The logfile  
is attached. I have no idea what might have caused the trouble.  
Currently Balsa 2.5.3a-81-g705c456 is not usable for me.

The terminal messages are partially in German because the 'test  
computer' was intended to be used by my wife.

I use Xubuntu 16.04 LTS 32 bit. The system is up to date.

Any help would be appreciated very much.
--
Best regards,
John Jack Doe

On 25 Apr 2017 19:39:07, Albrecht Dreß wrote:

> Hi John Jack Doe:
>
> Thanks for the report.
>
> I think the "Could not save a text part: Internal error in  
> get_stream" message, is the important one, the 'CRITICAL' messages  
> might be aftereffects.
>
> Unfortunately, this does not really help in tracking down the cause -  
> all I can say that I cannot reproduce any issue with either maildir  
> or mbox...  Maybe it's linkd to your other report ("Maildir deleted")?
>
> Best,
> Albrecht.
>
> Am 24.04.17 14:08 schrieb(en) [hidden email]:
>> Could not save a text part: Internal error in get_stream
>>
>> Dear list members,
>>
>> Yesterday night I compiled and installed Balsa 2.5.3a-76-ga1b1465  
>> from GIT. Compilation and installation passed without failure  
>> messages. The maildir problem is handled in a different mail.
>>
>> Balsa was started in debug mode with 'G_MESSAGES_DEBUG=all  
>> /usr/local/bin/balsa'. The log did not show failures. I sent a test  
>> message to an outside mailbox and retrieved retrieved it later. So  
>> far so good. The downloaded and stored email showed no subject and a  
>> size of 0 (zero) bytes. Double clicking on the mail produced the  
>> message 'Could not save a text part: Internal error in get_stream'.  
>> The debug window produced the report below. I checked the file in  
>> the maildir inbox - it was empty! Any ideas?
>> --
>> Best regards,
>>
>> John Jack Doe
>>
>> me@Netbook-11:~$ G_MESSAGES_DEBUG=all /usr/local/bin/balsa
>> (balsa:1979): Gtk-DEBUG: Connecting to session manager
>> (balsa:1979): Gtk-DEBUG: Registering client 'balsa' ''
>>
>> (balsa:1979): Gtk-WARNING **: Failed to register client:  
>> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name  
>> org.gnome.SessionManager was not provided by any .service files
>> ** Message: init gpgme version 1.6.0
>> ** Message: protocol OpenPGP: engine /usr/bin/gpg2 (home (null),  
>> version 2.1.11)
>> ** Message: protocol CMS: engine /usr/bin/gpgsm (home (null),  
>> version 2.1.11)
>> ** Message: protocol GPGCONF: engine /usr/bin/gpgconf (home (null),  
>> version 2.1.11)
>> ** Message: protocol Assuan: engine /home/me/.gnupg/S.gpg-agent  
>> (home !GPG_AGENT, version 1.0)
>> ** Message: protocol UIServer: engine /home/me/.gnupg/S.uiserver  
>> (home (null), version 1.0)
>> ** Message: protocol Spawn: engine /nonexistent (home (null),  
>> version 1.0)
>> ** Message: gpg-agent found: /home/me/.gnupg/S.gpg-agent:0:1
>> ** Message: OpenPGP protocol supported
>> ** Message: CMS (aka S/MIME) protocol supported
>> Network is available   (Mo 24 Apr 2017 13:59:28 CEST)
>>
>> ** (balsa:1979): CRITICAL **: g_mime_part_check_rfc2440: assertion  
>> 'wrapper' failed
>>
>> ** (balsa:1979): CRITICAL **: g_mime_part_check_rfc2440: assertion  
>> 'wrapper' failed
>>
>> (balsa:1979): gmime-CRITICAL **: internet_address_list_to_string:  
>> assertion 'IS_INTERNET_ADDRESS_LIST (list)' failed
_______________________________________________
balsa-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/balsa-list

balsa_log.txt.zip (18K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Could not save a text part: Internal error in get_stream

JohnJackDoe
Dear list members,

It looks like as nobody can help me. I build balsa again on my  
'operational computer' that i used to build my working version of  
balsa. This build produced exactly the same behaviour as on the 'test  
computer': For retrieved mail the file is generated but it is empty  
(file size is zero bytes).

Unfortunately I did not save the version from git I used to build Balsa  
2.5.3a.32-g98a0d88 on 5 Apr 2017. My idea now is to pull/retrieve this  
specific version from git and to build it again with one new commit  
after the other in order to find out where the problem is originating  
from. Please, can somebody help me to do this?
--
Best regards,
John Jack Doe

On 28 Apr 2017 18:01:51, [hidden email] wrote:

> This mail has been automatically rejected by the list owner because  
> of the attachment size. Here it is again but compressed attachment.
>
> -------------------
> Dear Albrecht,
> Dear list members,
>
> I still have the trouble. However, to exclude failures that I might  
> have done I started the Balsa compilation/installation from scratch  
> and wrote the terminal outputs to a logfile by using 'script'. The  
> logfile is attached. I have no idea what might have caused the  
> trouble. Currently Balsa 2.5.3a-81-g705c456 is not usable for me.
>
> The terminal messages are partially in German because the 'test  
> computer' was intended to be used by my wife.
>
> I use Xubuntu 16.04 LTS 32 bit. The system is up to date.
>
> Any help would be appreciated very much.
> --
> Best regards,
> John Jack Doe
>
> On 25 Apr 2017 19:39:07, Albrecht Dreß wrote:
>> Hi John Jack Doe:
>>
>> Thanks for the report.
>>
>> I think the "Could not save a text part: Internal error in  
>> get_stream" message, is the important one, the 'CRITICAL' messages  
>> might be aftereffects.
>>
>> Unfortunately, this does not really help in tracking down the cause  
>> - all I can say that I cannot reproduce any issue with either  
>> maildir or mbox...  Maybe it's linkd to your other report ("Maildir  
>> deleted")?
>>
>> Best,
>> Albrecht.
>>
>> Am 24.04.17 14:08 schrieb(en) [hidden email]:
>>> Could not save a text part: Internal error in get_stream
>>>
>>> Dear list members,
>>>
>>> Yesterday night I compiled and installed Balsa 2.5.3a-76-ga1b1465  
>>> from GIT. Compilation and installation passed without failure  
>>> messages. The maildir problem is handled in a different mail.
>>>
>>> Balsa was started in debug mode with 'G_MESSAGES_DEBUG=all  
>>> /usr/local/bin/balsa'. The log did not show failures. I sent a test  
>>> message to an outside mailbox and retrieved retrieved it later. So  
>>> far so good. The downloaded and stored email showed no subject and  
>>> a size of 0 (zero) bytes. Double clicking on the mail produced the  
>>> message 'Could not save a text part: Internal error in get_stream'.  
>>> The debug window produced the report below. I checked the file in  
>>> the maildir inbox - it was empty! Any ideas?
>>> --
>>> Best regards,
>>>
>>> John Jack Doe
>>>
>>> me@Netbook-11:~$ G_MESSAGES_DEBUG=all /usr/local/bin/balsa
>>> (balsa:1979): Gtk-DEBUG: Connecting to session manager
>>> (balsa:1979): Gtk-DEBUG: Registering client 'balsa' ''
>>>
>>> (balsa:1979): Gtk-WARNING **: Failed to register client:  
>>> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name  
>>> org.gnome.SessionManager was not provided by any .service files
>>> ** Message: init gpgme version 1.6.0
>>> ** Message: protocol OpenPGP: engine /usr/bin/gpg2 (home (null),  
>>> version 2.1.11)
>>> ** Message: protocol CMS: engine /usr/bin/gpgsm (home (null),  
>>> version 2.1.11)
>>> ** Message: protocol GPGCONF: engine /usr/bin/gpgconf (home (null),  
>>> version 2.1.11)
>>> ** Message: protocol Assuan: engine /home/me/.gnupg/S.gpg-agent  
>>> (home !GPG_AGENT, version 1.0)
>>> ** Message: protocol UIServer: engine /home/me/.gnupg/S.uiserver  
>>> (home (null), version 1.0)
>>> ** Message: protocol Spawn: engine /nonexistent (home (null),  
>>> version 1.0)
>>> ** Message: gpg-agent found: /home/me/.gnupg/S.gpg-agent:0:1
>>> ** Message: OpenPGP protocol supported
>>> ** Message: CMS (aka S/MIME) protocol supported
>>> Network is available   (Mo 24 Apr 2017 13:59:28 CEST)
>>>
>>> ** (balsa:1979): CRITICAL **: g_mime_part_check_rfc2440: assertion  
>>> 'wrapper' failed
>>>
>>> ** (balsa:1979): CRITICAL **: g_mime_part_check_rfc2440: assertion  
>>> 'wrapper' failed
>>>
>>> (balsa:1979): gmime-CRITICAL **: internet_address_list_to_string:  
>>> assertion 'IS_INTERNET_ADDRESS_LIST (list)' failed
_______________________________________________
balsa-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/balsa-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Could not save a text part: Internal error in get_stream

Jack
On 2017.05.01 13:22, [hidden email] wrote:

> Dear list members,
>
> It looks like as nobody can help me. I build balsa again on my  
> 'operational computer' that i used to build my working version of  
> balsa. This build produced exactly the same behaviour as on the 'test  
> computer': For retrieved mail the file is generated but it is empty  
> (file size is zero bytes).
>
> Unfortunately I did not save the version from git I used to build  
> Balsa 2.5.3a.32-g98a0d88 on 5 Apr 2017. My idea now is to  
> pull/retrieve this specific version from git and to build it again  
> with one new commit after the other in order to find out where the  
> problem is originating from. Please, can somebody help me to do this?

I'm no git expert, but if you know the current git head does not work  
for you, and you can find some earlier version which does work, then  
"git bisect" might be the way to most easily find the commit which  
introduced your problem.  Unfortunately, anything I tell you about how  
to use it would simply be copied from the manual - so that (or a good  
book on git) is probably the best place to start.  What I can say, is  
that instead of adding one more commit each time you try, it goes  
halfway between the last know good and earliest know bad commits - so  
overall it will take fewer compiles to find the problem.

Jack

> Best regards,
> John Jack Doe
>
> On 28 Apr 2017 18:01:51, [hidden email] wrote:
>> This mail has been automatically rejected by the list owner because  
>> of the attachment size. Here it is again but compressed attachment.
>>
>> -------------------
>> Dear Albrecht,
>> Dear list members,
>>
>> I still have the trouble. However, to exclude failures that I might  
>> have done I started the Balsa compilation/installation from scratch  
>> and wrote the terminal outputs to a logfile by using 'script'. The  
>> logfile is attached. I have no idea what might have caused the  
>> trouble. Currently Balsa 2.5.3a-81-g705c456 is not usable for me.
>>
>> The terminal messages are partially in German because the 'test  
>> computer' was intended to be used by my wife.
>>
>> I use Xubuntu 16.04 LTS 32 bit. The system is up to date.
>>
>> Any help would be appreciated very much.
>> --
>> Best regards,
>> John Jack Doe
>>
>> On 25 Apr 2017 19:39:07, Albrecht Dreß wrote:
>>> Hi John Jack Doe:
>>>
>>> Thanks for the report.
>>>
>>> I think the "Could not save a text part: Internal error in  
>>> get_stream" message, is the important one, the 'CRITICAL' messages  
>>> might be aftereffects.
>>>
>>> Unfortunately, this does not really help in tracking down the cause  
>>> - all I can say that I cannot reproduce any issue with either  
>>> maildir or mbox...  Maybe it's linkd to your other report ("Maildir  
>>> deleted")?
>>>
>>> Best,
>>> Albrecht.
>>>
>>> Am 24.04.17 14:08 schrieb(en) [hidden email]:
>>>> Could not save a text part: Internal error in get_stream
>>>>
>>>> Dear list members,
>>>>
>>>> Yesterday night I compiled and installed Balsa 2.5.3a-76-ga1b1465  
>>>> from GIT. Compilation and installation passed without failure  
>>>> messages. The maildir problem is handled in a different mail.
>>>>
>>>> Balsa was started in debug mode with 'G_MESSAGES_DEBUG=all  
>>>> /usr/local/bin/balsa'. The log did not show failures. I sent a  
>>>> test message to an outside mailbox and retrieved retrieved it  
>>>> later. So far so good. The downloaded and stored email showed no  
>>>> subject and a size of 0 (zero) bytes. Double clicking on the mail  
>>>> produced the message 'Could not save a text part: Internal error  
>>>> in get_stream'. The debug window produced the report below. I  
>>>> checked the file in the maildir inbox - it was empty! Any ideas?
>>>> --
>>>> Best regards,
>>>>
>>>> John Jack Doe
>>>>
>>>> me@Netbook-11:~$ G_MESSAGES_DEBUG=all /usr/local/bin/balsa
>>>> (balsa:1979): Gtk-DEBUG: Connecting to session manager
>>>> (balsa:1979): Gtk-DEBUG: Registering client 'balsa' ''
>>>>
>>>> (balsa:1979): Gtk-WARNING **: Failed to register client:  
>>>> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name  
>>>> org.gnome.SessionManager was not provided by any .service files
>>>> ** Message: init gpgme version 1.6.0
>>>> ** Message: protocol OpenPGP: engine /usr/bin/gpg2 (home (null),  
>>>> version 2.1.11)
>>>> ** Message: protocol CMS: engine /usr/bin/gpgsm (home (null),  
>>>> version 2.1.11)
>>>> ** Message: protocol GPGCONF: engine /usr/bin/gpgconf (home  
>>>> (null), version 2.1.11)
>>>> ** Message: protocol Assuan: engine /home/me/.gnupg/S.gpg-agent  
>>>> (home !GPG_AGENT, version 1.0)
>>>> ** Message: protocol UIServer: engine /home/me/.gnupg/S.uiserver  
>>>> (home (null), version 1.0)
>>>> ** Message: protocol Spawn: engine /nonexistent (home (null),  
>>>> version 1.0)
>>>> ** Message: gpg-agent found: /home/me/.gnupg/S.gpg-agent:0:1
>>>> ** Message: OpenPGP protocol supported
>>>> ** Message: CMS (aka S/MIME) protocol supported
>>>> Network is available   (Mo 24 Apr 2017 13:59:28 CEST)
>>>>
>>>> ** (balsa:1979): CRITICAL **: g_mime_part_check_rfc2440: assertion  
>>>> 'wrapper' failed
>>>>
>>>> ** (balsa:1979): CRITICAL **: g_mime_part_check_rfc2440: assertion  
>>>> 'wrapper' failed
>>>>
>>>> (balsa:1979): gmime-CRITICAL **: internet_address_list_to_string:  
>>>> assertion 'IS_INTERNET_ADDRESS_LIST (list)' failed
> _______________________________________________
> balsa-list mailing list
> [hidden email]
> https://mail.gnome.org/mailman/listinfo/balsa-list
_______________________________________________
balsa-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/balsa-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Could not save a text part: Internal error in get_stream

JohnJackDoe
Dear list members,
Dear Jack,

Many thanks for the support.
I think I learned a lot about
- building balsa. Thanks to Albrecht.
- git. Thanks to Jack.

Balsa 2.5.3a-50-gb1d9b4c is working and saving retrieved mail. All  
versions above don't compile with POP3 failures or don't save retrieved  
mails. Is this helpful now to isolate the failure?
--
Best regards,
Joh Jack Doe

On 01 May 2017 23:16:23, Jack wrote:

> On 2017.05.01 13:22, [hidden email] wrote:
>> Dear list members,
>>
>> It looks like as nobody can help me. I build balsa again on my  
>> 'operational computer' that i used to build my working version of  
>> balsa. This build produced exactly the same behaviour as on the  
>> 'test computer': For retrieved mail the file is generated but it is  
>> empty (file size is zero bytes).
>>
>> Unfortunately I did not save the version from git I used to build  
>> Balsa 2.5.3a.32-g98a0d88 on 5 Apr 2017. My idea now is to  
>> pull/retrieve this specific version from git and to build it again  
>> with one new commit after the other in order to find out where the  
>> problem is originating from. Please, can somebody help me to do this?
>
> I'm no git expert, but if you know the current git head does not work  
> for you, and you can find some earlier version which does work, then  
> "git bisect" might be the way to most easily find the commit which  
> introduced your problem.  Unfortunately, anything I tell you about  
> how to use it would simply be copied from the manual - so that (or a  
> good book on git) is probably the best place to start.  What I can  
> say, is that instead of adding one more commit each time you try, it  
> goes halfway between the last know good and earliest know bad commits  
> - so overall it will take fewer compiles to find the problem.
>
> Jack
>
>> Best regards,
>> John Jack Doe
>>
>> On 28 Apr 2017 18:01:51, [hidden email] wrote:
>>> This mail has been automatically rejected by the list owner because  
>>> of the attachment size. Here it is again but compressed attachment.
>>>
>>> -------------------
>>> Dear Albrecht,
>>> Dear list members,
>>>
>>> I still have the trouble. However, to exclude failures that I might  
>>> have done I started the Balsa compilation/installation from scratch  
>>> and wrote the terminal outputs to a logfile by using 'script'. The  
>>> logfile is attached. I have no idea what might have caused the  
>>> trouble. Currently Balsa 2.5.3a-81-g705c456 is not usable for me.
>>>
>>> The terminal messages are partially in German because the 'test  
>>> computer' was intended to be used by my wife.
>>>
>>> I use Xubuntu 16.04 LTS 32 bit. The system is up to date.
>>>
>>> Any help would be appreciated very much.
>>> --
>>> Best regards,
>>> John Jack Doe
>>>
>>> On 25 Apr 2017 19:39:07, Albrecht Dreß wrote:
>>>> Hi John Jack Doe:
>>>>
>>>> Thanks for the report.
>>>>
>>>> I think the "Could not save a text part: Internal error in  
>>>> get_stream" message, is the important one, the 'CRITICAL' messages  
>>>> might be aftereffects.
>>>>
>>>> Unfortunately, this does not really help in tracking down the  
>>>> cause - all I can say that I cannot reproduce any issue with  
>>>> either maildir or mbox...  Maybe it's linkd to your other report  
>>>> ("Maildir deleted")?
>>>>
>>>> Best,
>>>> Albrecht.
>>>>
>>>> Am 24.04.17 14:08 schrieb(en) [hidden email]:
>>>>> Could not save a text part: Internal error in get_stream
>>>>>
>>>>> Dear list members,
>>>>>
>>>>> Yesterday night I compiled and installed Balsa 2.5.3a-76-ga1b1465  
>>>>> from GIT. Compilation and installation passed without failure  
>>>>> messages. The maildir problem is handled in a different mail.
>>>>>
>>>>> Balsa was started in debug mode with 'G_MESSAGES_DEBUG=all  
>>>>> /usr/local/bin/balsa'. The log did not show failures. I sent a  
>>>>> test message to an outside mailbox and retrieved retrieved it  
>>>>> later. So far so good. The downloaded and stored email showed no  
>>>>> subject and a size of 0 (zero) bytes. Double clicking on the mail  
>>>>> produced the message 'Could not save a text part: Internal error  
>>>>> in get_stream'. The debug window produced the report below. I  
>>>>> checked the file in the maildir inbox - it was empty! Any ideas?
>>>>> --
>>>>> Best regards,
>>>>>
>>>>> John Jack Doe
>>>>>
>>>>> me@Netbook-11:~$ G_MESSAGES_DEBUG=all /usr/local/bin/balsa
>>>>> (balsa:1979): Gtk-DEBUG: Connecting to session manager
>>>>> (balsa:1979): Gtk-DEBUG: Registering client 'balsa' ''
>>>>>
>>>>> (balsa:1979): Gtk-WARNING **: Failed to register client:  
>>>>> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name  
>>>>> org.gnome.SessionManager was not provided by any .service files
>>>>> ** Message: init gpgme version 1.6.0
>>>>> ** Message: protocol OpenPGP: engine /usr/bin/gpg2 (home (null),  
>>>>> version 2.1.11)
>>>>> ** Message: protocol CMS: engine /usr/bin/gpgsm (home (null),  
>>>>> version 2.1.11)
>>>>> ** Message: protocol GPGCONF: engine /usr/bin/gpgconf (home  
>>>>> (null), version 2.1.11)
>>>>> ** Message: protocol Assuan: engine /home/me/.gnupg/S.gpg-agent  
>>>>> (home !GPG_AGENT, version 1.0)
>>>>> ** Message: protocol UIServer: engine /home/me/.gnupg/S.uiserver  
>>>>> (home (null), version 1.0)
>>>>> ** Message: protocol Spawn: engine /nonexistent (home (null),  
>>>>> version 1.0)
>>>>> ** Message: gpg-agent found: /home/me/.gnupg/S.gpg-agent:0:1
>>>>> ** Message: OpenPGP protocol supported
>>>>> ** Message: CMS (aka S/MIME) protocol supported
>>>>> Network is available   (Mo 24 Apr 2017 13:59:28 CEST)
>>>>>
>>>>> ** (balsa:1979): CRITICAL **: g_mime_part_check_rfc2440:  
>>>>> assertion 'wrapper' failed
>>>>>
>>>>> ** (balsa:1979): CRITICAL **: g_mime_part_check_rfc2440:  
>>>>> assertion 'wrapper' failed
>>>>>
>>>>> (balsa:1979): gmime-CRITICAL **: internet_address_list_to_string:  
>>>>> assertion 'IS_INTERNET_ADDRESS_LIST (list)' failed
>> _______________________________________________
>> balsa-list mailing list
>> [hidden email]
>> https://mail.gnome.org/mailman/listinfo/balsa-list
> _______________________________________________
> balsa-list mailing list
> [hidden email]
> https://mail.gnome.org/mailman/listinfo/balsa-list
_______________________________________________
balsa-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/balsa-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Could not save a text part: Internal error in get_stream

Albrecht Dreß
Am 03.05.17 18:00 schrieb(en) [hidden email]:
> Balsa 2.5.3a-50-gb1d9b4c is working and saving retrieved mail.

O.k., this is rather old (commit b1d9b4c0cb7b553f1a36fb1d10b68e5dfcb3cc36 as of 02 April 2017)...

> All versions above don't compile with POP3 failures or don't save retrieved mails. Is this helpful now to isolate the failure?

Well, it is somehow related to my big POP3 backend change.  Can you tell me which provider you use where the connection fails?  I would like to look into the connection...

As an alternative, it would be helpful if you could do the following:

1. quit Balsa
2. start Balsa (the latest GIT version which doesn't work, if possible) with debugging, saving the output, i.e. enter:
    G_MESSAGES_DEBUG=all /path/to/balsa > balsa.log 2>&1
3. try to load messages from the server which is not working (it would be helpful if there is a message which gets downloaded, but not stored)
4. immediately quit Balsa afterwards
5. open the file balsa.log in an editor, and remove your account credentials:  find lines reading
** (balsa:<number>): DEBUG: emit 'auth' signal for client <hex number>
    Below are lines reading e.g.
** (balsa:20205): DEBUG: W 'AUTH PLAIN'
** (balsa:20205): DEBUG: R '+ '
** (balsa:20205): DEBUG: W 'VGhpcyBpcyB0aGUgYmFzZTY0LWVuY29kZWQgbG9naW4gaW5mb3JtYXRpb24='
** (balsa:20205): DEBUG: R '+OK Logged in.'
    Note the "DEBUG: W" lines containing "cryptic" data (in the example above, the 3rd line).  Depending upon the authentication method to your provider, this is at least one, but may be more.  Please overwrite the data (in the example "VGh....Rpb24=", of course *not* my account information if anyone wants to try), as it contains your login information.
6. save the file, and send it to me (you can sent it off-list, if you don't want to disclose it to the list).

Thanks
Albrecht.
_______________________________________________
balsa-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/balsa-list

attachment0 (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Could not save a text part: Internal error in get_stream

Peter Bloomfield
In reply to this post by JohnJackDoe
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi John Jack:

On 05/03/2017 12:00:13 PM Wed, [hidden email] wrote:

> Dear list members,
> Dear Jack,
>
> Many thanks for the support.
> I think I learned a lot about
> - building balsa. Thanks to Albrecht.
> - git. Thanks to Jack.
>
> Balsa 2.5.3a-50-gb1d9b4c is working and saving retrieved mail. All versions above don't compile with POP3 failures or don't save retrieved mails. Is this helpful now to isolate the failure?
> --
> Best regards,
> Joh Jack Doe

I hadn't picked up that you use a Maildir as your Inbox. I set one up, and immediately reproduced the bug.

It was a failure to reset (= rewind) a stream before adding the incoming message to the Inbox. The mbox backend happens to reset the stream anyway, so it didn't show up with when Inbox is an mbox.

I've pushed a one-line fix--please test it. (Albrecht: is that the correct place for the reset?).

Best,

Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlkLNoQACgkQH1/UtbkqdPWA3ACbB8Cwm1663RTkghj7XOPpXwFY
Ze0AoKUKixZ5huCjuqnqr+HmXr94bSL0
=GaDM
-----END PGP SIGNATURE-----
_______________________________________________
balsa-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/balsa-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Could not save a text part: Internal error in get_stream

Albrecht Dreß
Hi Peter:

Am 04.05.17 16:11 schrieb(en) Peter Bloomfield:
> I hadn't picked up that you use a Maildir as your Inbox. I set one up, and immediately reproduced the bug.
>
> It was a failure to reset (= rewind) a stream before adding the incoming message to the Inbox. The mbox backend happens to reset the stream anyway, so it didn't show up with when Inbox is an mbox.
>
> I've pushed a one-line fix--please test it. (Albrecht: is that the correct place for the reset?).

This looks correct to me...  The alternative would be adding it to libbalsa_mailbox_add_message(), but it might have other side effects...

Good catch!

Cheers,
Albrecht.
_______________________________________________
balsa-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/balsa-list

attachment0 (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Could not save a text part: Internal error in get_stream

JohnJackDoe
Dear list members,
Dear Albrecht,
Dear Peter,

The good news first: I build Balsa from GIT (2.5.3a-93-g9df15e6)  
yesterday and it is working!
Thanks a million to all of you for your support.

Peter, I should have pointed to the fact again that I'm using maildir  
only. So don't worry. In the past I used thunderbird as mail client and  
thunderbird uses the mbox file format. Because I didn't like this I  
then swapped to evolution which can import mbox and pst file format.  
The native file format used by evolution is maildir+. But I was not  
happy with the encryption capabilities of evolution and with text  
formatting because it has fixed line lengths or not formatting at all.  
I was looking for a mail client that has a formatting behaviour as I  
know it from outlook - flowed. So I stumbled over Balsa and I thought I  
should give it a try because it has all the capabilities I was looking  
for and it uses maildir. For me then it was very easy to copy my  
maildir+ files into a maildir structured directory. This is in short  
how I came to Balsa and maildir.
--
Best regards,
John Jack Doe

On 04 May 2017 19:09:24, Albrecht Dreß wrote:

> Hi Peter:
>
> Am 04.05.17 16:11 schrieb(en) Peter Bloomfield:
>> I hadn't picked up that you use a Maildir as your Inbox. I set one  
>> up, and immediately reproduced the bug.
>>
>> It was a failure to reset (= rewind) a stream before adding the  
>> incoming message to the Inbox. The mbox backend happens to reset the  
>> stream anyway, so it didn't show up with when Inbox is an mbox.
>>
>> I've pushed a one-line fix--please test it. (Albrecht: is that the  
>> correct place for the reset?).
>
> This looks correct to me...  The alternative would be adding it to  
> libbalsa_mailbox_add_message(), but it might have other side  
> effects...
>
> Good catch!
>
> Cheers,
> Albrecht.
_______________________________________________
balsa-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/balsa-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Could not save a text part: Internal error in get_stream

Peter Bloomfield
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi John Jack,

On 05/06/2017 01:45:40 PM Sat, [hidden email] wrote:
> Dear list members,
> Dear Albrecht,
> Dear Peter,
>
> The good news first: I build Balsa from GIT (2.5.3a-93-g9df15e6) yesterday and it is working!
> Thanks a million to all of you for your support.

Good to hear! We'll do our best to keep it running smoothly…

> Peter, I should have pointed to the fact again that I'm using maildir only. So don't worry. In the past I used thunderbird as mail client and thunderbird uses the mbox file format. Because I didn't like this I then swapped to evolution which can import mbox and pst file format. The native file format used by evolution is maildir+. But I was not happy with the encryption capabilities of evolution and with text formatting because it has fixed line lengths or not formatting at all. I was looking for a mail client that has a formatting behaviour as I know it from outlook - flowed. So I stumbled over Balsa and I thought I should give it a try because it has all the capabilities I was looking for and it uses maildir. For me then it was very easy to copy my maildir+ files into a maildir structured directory. This is in short how I came to Balsa and maildir.

I guess we just never tested it with a Maildir Inbox!

Each of us probably came to Balsa in our own way--nice to read about yours!

Best,

Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlkPGXYACgkQH1/UtbkqdPVpTgCdE3OR8ArWoThe8fvBNPPL9uZt
mr0An15SBJq8z8GVqupAnFQG7k8/rObO
=WsnX
-----END PGP SIGNATURE-----
_______________________________________________
balsa-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/balsa-list
Loading...