After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 99218 - cannot save article text
cannot save article text
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
0.13.2
Other Linux
: Normal major
: 0.13.3
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2002-11-21 19:35 UTC by scowles
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description scowles 2002-11-21 19:35:24 UTC
After selecting an article from a newsgroup, I right-click to save-as the
article text.  Permissions on the receiving directories are 770.  No saved
article appears.  Same problem occurred in 13.1 on the same platforms. 
Saving attachments works fine on all combos of release and platform.
Comment 1 scowles 2002-11-25 21:18:30 UTC
Same thing happens with 0.13.2.90 under redhat 8.0, but _not_ redhat
7.3.  -021125
Comment 2 Charles Kerr 2002-11-29 18:38:35 UTC
I can't reproduce this; perhaps there are only some
messages not saved?

Could you provide group + message-id of a recent message
whose text you can't save?
Comment 3 scowles 2002-11-29 20:24:30 UTC
Happens with every article I select, regardless of newsgroup.  I used
the following invocation for debugging output:

/usr/local/bin/pan --debug --debug-cache --debug-sockets --debug-queue
--debug-decode --debug-newsrc --debug-gnksa --debug-trace --debug-lock
--debug-object &

The following is an example of "save as" failure.

Pan attempts to save article text 4 times and fails each time.  The
applicable debug output line is:

(    queue.c:944:    queue_run_thread)(thread 0x81a7af0)(time
19:35:48) QUEUE: queue task[0x8472880] (Saving "Re: file sharing")
returned: -1


The specific article in this case was:

(  sockets.c:345:  pan_socket_getline)(thread 0x81a6840)(time
19:35:37) SOCKET INPUT: socket [0x8489808] received [Subject: Re: file
sharing
]
(  sockets.c:345:  pan_socket_getline)(thread 0x81a6840)(time
19:35:37) SOCKET INPUT: socket [0x8489808] received [Message-ID:
<uiGFhzklCHA.2000@tkmsftngp04>
]
(  sockets.c:345:  pan_socket_getline)(thread 0x81a6840)(time
19:35:37) SOCKET INPUT: socket [0x8489808] received [Newsgroups:
microsoft.public.windowsxp.security_admin
Comment 4 Charles Kerr 2002-12-03 22:08:45 UTC
odd.  There are a couple of places where this could be
failing, so let me shoot out a couple of questions:

1. Is the log icon in the lower right of the main window
   changing from `info' to `error', or do you get at
   "Unable to save \"%s\": the article(s) couldn't be downloaded."
   message?

2. Can you repeat this behavior for articles that are cached;
   ie, they've already been downloaded and have the little green
   disk icon in the header pane?



Comment 5 Charles Kerr 2002-12-03 22:25:26 UTC
I think I've got it: I'm able to reproduce this if I check both
the `save attachments' and `save text' and there are no attachments.
The `save attachments' piece fails, and the task aborts with -1
before getting saving the article text.

Fixed in cvs head for the next release:
http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=task-save.c&rev1=1.28&rev2=1.29&root=/cvs/gnome
http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan&command=DIFF_FRAMESET&file=ChangeLog&rev1=1.1603&rev2=1.1604&root=/cvs/gnome
Comment 6 scowles 2002-12-04 02:04:06 UTC
agreed.  thank you very much.  works beautifully.

scowles at earthlink dot net