GNOME Bugzilla – Bug 104716
Articles copied to folder are not readable
Last modified: 2004-12-22 21:47:04 UTC
1) copy an article to a local folder 2) switch to Folders 3) select folder where article was stored (manual listing of real directory confirms article file) 4) nothing shows up in the article window at all, something shows up but only articles also in the cache are readable
Works For Me (tm). I copied a random file from ~/.pan/messagages/cache to ~/.pan/messages/folders/pan.sent, fired up pan, looked at pan.sent, and the message was there. Did you copy the file during the pan session, then? Pan scans the directory at startup, rather than each time you visit the folder.
Here is what is in one of the "folders". When I select Folders/<foldername> in Pan, none of the 'articles' show up. pwd;ll /home/xxxx/.pan/data/messages/folders total 14 drwx------ 2 xxxx staff 512 Feb 12 05:18 DUMMY drwx------ 2 xxxx staff 512 Feb 12 05:22 pan.sendlater drwx------ 2 xxxx staff 512 Feb 12 05:09 pan.sent drwx------ 2 xxxx staff 4096 Feb 14 22:32 saved_comp.unix.bsd.freebsd.misc drwx------ 2 xxxx staff 512 Jan 20 03:12 saved_comp.windows.x.kde pwd;ll /home/xxxx/.pan/data/messages/folders/saved_comp.unix.bsd.freebsd.misc total 168 -rw-rw-r-- 1 xxxx staff 4042 Feb 14 22:31 1044446151.170867@sestra.vokar.com.msg -rw-rw-r-- 1 xxxx staff 2137 Jan 7 07:27 20030106023236.56231c86.linux@marcrenearns.de.msg -rw-rw-r-- 1 xxxx staff 1843 Jan 7 07:16 20030106210339.433f92eb.steveo@eircom.net.msg -rw-rw-r-- 1 xxxx staff 3275 Jan 11 04:35 20030110224502.53b4b266.altea@attbi.com.msg -rw-rw-r-- 1 xxxx staff 1686 Jan 11 04:32 20030111093217.6be725aa.steveo@eircom.net.msg -rw-rw-r-- 1 xxxx staff 2709 Jan 13 01:02 20030112212955.7a08b003.papaindia@earthlink.net.msg -rw-rw-r-- 1 xxxx staff 1963 Jan 16 18:42 20030116063447.70e9e8cb.lute@cableone.net.msg -rw-rw-r-- 1 xxxx staff 1495 Jan 22 19:14 20030121090052.05f3ff7a.abuse@localhost.msg -rw-rw-r-- 1 xxxx staff 900 Jan 12 12:41 2377693.1042353023@dbforums.com.msg-rw-rw-r-- 1 xxxx staff 1506 Jan 2 19:51 3E146ADF.73AACEB7@privacy.net.msg -rw-rw-r-- 1 xxxx staff 1814 Jan 3 15:45 3E155326.BAD703B5@spamfrustrator.invalid.tla.msg -rw-rw-r-- 1 xxxx staff 1368 Jan 16 18:16 3E26F3ED.1885687A@ChironComputing.Com.msg -rw-rw-r-- 1 xxxx staff 2014 Jan 22 18:58 3E2F3093.7050300@nospam.pacbell.invalid.net.msg -rw-rw-r-- 1 xxxx staff 2187 Jan 25 01:40 3E31C32F.196F036B@mcw.edu.msg -rw-rw-r-- 1 xxxx staff 1162 Jan 2 19:51 3e143a7b0165303b214f66@aconews.univie.ac.at.msg -rw-rw-r-- 1 xxxx staff 2164 Jan 26 04:01 3e311349_d0_d5361_d9b4e6d93@newsread4.arcor-online.net.msg -rw-rw-r-- 1 xxxx staff 1617 Jan 29 04:52 5428859.ak1idBE1i5@citronmannen.fruitsalad.org.msg -rw-rw-r-- 1 xxxx staff 1194 Jan 28 03:07 868yx66494.fsf@cail.esc.pike.il.us.msg -rw-rw-r-- 1 xxxx staff 2151 Feb 12 04:52 86lm0mb6zi.fsf@number6.magda.ca.msg-rw-rw-r-- 1 xxxx staff 1709 Jan 7 07:25 86smw6hkqu.fsf@lappie.seanleblancathome.net.msg -rw-rw-r-- 1 xxxx staff 1806 Feb 6 23:54 87vfzy2dmi.fsf@imoen.local.msg -rw-rw-r-- 1 xxxx staff 1586 Jan 1 06:15 9009fc38.0212260656.2162d840@posting.google.com.msg -rw-rw-r-- 1 xxxx staff 1174 Jan 16 18:07 9044aac9.0301161029.3baa4a33@posting.google.com.msg -rw-rw-r-- 1 xxxx staff 1172 Feb 6 23:57 96edfc55.0302050614.6069bb2b@posting.google.com.msg -rw-rw-r-- 1 xxxx staff 1882 Jan 11 04:36 BPAT9.23843V7.158917860@news-text.cableinet.net.msg -rw-rw-r-- 1 xxxx staff 2231 Jan 10 00:00 F6GdnT6XYZyoi4OjXTWcqg@speedfactory.net.msg -rw-rw-r-- 1 xxxx staff 1648 Feb 6 23:56 Mjf0a.1868_dtq4.275@sccrnsc01.msg -rw-rw-r-- 1 xxxx staff 1895 Jan 26 23:01 N3KdnfBfmcg6iamjXTWc3g@speakeasy.net.msg -rw-rw-r-- 1 xxxx staff 962 Jan 25 01:35 Pine.SOL.4.33.0301241642470.22676-100000@radius.msg -rw-rw-r-- 1 xxxx staff 1111 Jan 16 18:25 Xns93045317826D9mattmills@130.133.1.4.msg -rw-rw-r-- 1 xxxx staff 1469 Feb 2 00:16 Xns93155A9B49187mattmills@130.133.1.4.msg -rw-rw-r-- 1 xxxx staff 1563 Jan 26 23:00 Y_p_pY9.65448_dlj.2501992@read1.cgocable.net.msg -rw-rw-r-- 1 xxxx staff 1167 Feb 14 22:14 __tf3a.13674_dQU2.418130@news2.west.cox.net.msg -rw-rw-r-- 1 xxxx staff 1410 Jan 1 06:14 auf8gsk501@igloo.uran.net.ua.msg -rw-rw-r-- 1 xxxx staff 1360 Jan 7 07:23 avceta1g7h1@pc-news.cogsci.ed.ac.uk.msg -rw-rw-r-- 1 xxxx staff 1809 Jan 7 07:02 avdgdktcv3@agate.berkeley.edu.msg -rw-rw-r-- 1 xxxx staff 1772 Jan 16 18:31 b076iq1h8d1@ns.felk.cvut.cz.msg -rw-rw-r-- 1 xxxx staff 3135 Jan 26 23:06 b10cek_dm4b_d1@sparta.btinternet.com.msg -rw-rw-r-- 1 xxxx staff 3360 Jan 28 03:09 b141lc_dltt_d1@shot.codefab.com.msg-rw-rw-r-- 1 xxxx staff 1450 Feb 5 01:29 b1j183_d9ef_d1@lust.ihug.co.nz.msg -rw-rw-r-- 1 xxxx staff 1297 Feb 14 22:17 b2hdh2_d1o66_d1@nntp6.u.washington.edu.msg -rw-rw-r-- 1 xxxx staff 2430 Jan 28 03:02 ijjb3vs8s5ftlhd420an3vhck4u2vi793u@4ax.com.msg -rw-rw-r-- 1 xxxx staff 1006 Jan 11 04:32 pan.2003.01.11.01.27.28.666290@home.cam.net.uk.msg -rw-rw-r-- 1 xxxx staff 3127 Jan 16 18:07 pan.2003.01.16.13.38.18.414301@somebox.somewhere.msg -rw-rw-r-- 1 xxxx staff 1126 Jan 28 03:05 pan.2003.01.27.14.33.01.97140@yahoo.com.msg -rw-rw-r-- 1 xxxx staff 1183 Feb 14 22:32 pan.2003.02.04.05.12.53.818828@privacy.net.msg -rw-rw-r-- 1 xxxx staff 1056 Feb 12 05:00 pan.2003.02.10.21.40.47.701113.54308@groundknifer.cjb.net.msg -rw-rw-r-- 1 xxxx staff 2013 Jan 4 23:32 rQNR9.235473C8.722557@nnrp1.uunet.ca.msg -rw-rw-r-- 1 xxxx staff 2239 Jan 7 07:27 rWaS9.655720NH2.45843@sccrnsc01.msg-rw-rw-r-- 1 xxxx staff 1683 Jan 1 06:08 slrnb0mqko.1hi6.erik_does_not_like_spam@brumma.swip.net.msg -rw-rw-r-- 1 xxxx staff 1669 Jan 2 04:06 slrnb1603v.ir3.wblock@w0nkity.wonkity.com.msg -rw-rw-r-- 1 xxxx staff 986 Jan 2 04:05 slrnb16246.ivh.wblock@w0nkity.wonkity.com.msg -rw-rw-r-- 1 xxxx staff 2067 Jan 16 18:12 slrnb2d2c5.2u9j.erik_does_not_like_spam@brumma.swip.net.msg -rw-rw-r-- 1 xxxx staff 1423 Jan 20 02:53 slrnb2mrc2.imu.vladimir@neumann.math.uic.edu.msg -rw-rw-r-- 1 xxxx staff 1854 Jan 21 01:17 slrnb2ohd3.u0f.VladimirV.Egorin@kot.podval.edu.msg -rw-rw-r-- 1 xxxx staff 1255 Feb 1 01:11 slrnb3l992.kgi.dave@mail.tantalum.org.uk.msg -rw-rw-r-- 1 xxxx staff 1556 Feb 14 22:18 tyV2a.9514_dV6.13025@news.indigo.ie.msg -rw-rw-r-- 1 xxxx staff 2998 Jan 20 03:04 ud6W9.17320Qr4.1609487@newsread1.prod.itd.earthlink.net.msg -rw-rw-r-- 1 xxxx staff 1332 Jan 2 04:04 v1672ul408qi0f@corp.supernews.com.msg -rw-rw-r-- 1 xxxx staff 1112 Jan 2 19:50 v18ukme6irrr53@corp.supernews.com.msg -rw-rw-r-- 1 xxxx staff 2188 Jan 7 20:02 v1mrshh48c0f95@corp.supernews.com.msg -rw-rw-r-- 1 xxxx staff 1281 Jan 13 01:03 v2442mfo4e4a4b@news.supernews.com.msg -rw-rw-r-- 1 xxxx staff 2191 Jan 16 18:32 v29ekjh3572i5a@corp.supernews.com.msg -rw-rw-r-- 1 xxxx staff 1259 Jan 22 19:00 v2tif5cshcf04a@news.supernews.com.msg -rw-rw-r-- 1 xxxx staff 2132 Jan 22 19:02 v2ucmbtf2nfnba@corp.supernews.com.msg -rw-rw-r-- 1 xxxx staff 1402 Jan 22 19:01 xDtX9.28881_dLM3.1449113@news0.telusplanet.net.msg
1) Pan-0.13.3 reports the following when started via command line and switching to the FreeBSD.misc folder, every time: pan (pan:545): Gtk-WARNING **: Error loading menu image: Image header corrupt ** (pan:545): WARNING **: file article.c: line 827 func article_set_header_impl: should not be reached, please report bug to pan@rebelbase.com ** (pan:545): WARNING **: file article.c: line 827 func article_set_header_impl: should not be reached, please report bug to pan@rebelbase.com ** (pan:545): WARNING **: file article.c: line 827 func article_set_header_impl: should not be reached, please report bug to pan@rebelbase.com ** (pan:545): WARNING **: file article.c: line 827 func article_set_header_impl: should not be reached, please report bug to pan@rebelbase.com ** (pan:545): WARNING **: file article.c: line 827 func article_set_header_impl: should not be reached, please report bug to pan@rebelbase.com ** (pan:545): WARNING **: file article.c: line 827 func article_set_header_impl: should not be reached, please report bug to pan@rebelbase.com ** (pan:545): WARNING **: file article.c: line 827 func article_set_header_impl: should not be reached, please report bug to pan@rebelbase.com ** (pan:545): WARNING **: file article.c: line 827 func article_set_header_impl: should not be reached, please report bug to pan@rebelbase.com ** (pan:545): WARNING **: file article.c: line 827 func article_set_header_impl: should not be reached, please report bug to pan@rebelbase.com ** (pan:545): WARNING **: file article.c: line 827 func article_set_header_impl: should not be reached, please report bug to pan@rebelbase.com ** (pan:545): WARNING **: file article.c: line 827 func article_set_header_impl: should not be reached, please report bug to pan@rebelbase.com 2) Deleting TWO files from the reported local FreeBSD.misc folder appears to have "fixed" the problem reported about NO articles showing up. The two files were named similar to: slrnb2d2c5.2u9j.erik_does_not_like_spam@brumma.swip.net.msg
Another aspect of the overall "no articles" problem is the display of articles in the local folder where some are "not available" (ie; no "cache/disk" icon), yet the respective files DO exist. Clicking on one of the supposed non-existant files results in a task starting up for a "mock server" and log entries such as: Sun, 23 Feb 2003 00:35:39 - Loaded 69 articles for group "comp.unix.FreeBSD.misc" in 0.0 seconds (2305 art/sec) Sun, 23 Feb 2003 00:36:03 - Can't resolve Mock Server for Folders: Sun, 23 Feb 2003 00:36:03 - Unable to connect to server Mock Server for Folders:25 Sun, 23 Feb 2003 00:36:03 - Connect Failure Sun, 23 Feb 2003 00:36:03 - Can't resolve Mock Server for Folders: Sun, 23 Feb 2003 00:36:03 - Unable to connect to server Mock Server for Folders:25 Sun, 23 Feb 2003 00:36:03 - Connect Failure It would appear that there is some kind of parsing problem with Pan. The following is one sample article that shows up in the Subject list, but is not "cached/on disk", and causes Pan to try to connect to a 'mock server' (as noted above). --------------------------------------------------------------------- Path: saluki-news!vixen.cso.uiuc.edu!news.uchicago.edu!newsfeed.stanford.edu!cycl one.bc.net!news.uunet.ca!nnrp1.uunet.ca.POSTED!not-for-mail From: "Mykroft Holmes IV" <mykroft@explosive.mail.net> Newsgroups: comp.unix.bsd.freebsd.misc References: <att7kj$t9c$1@news.orst.edu> Subject: Re: cygwin<->FreeBSD tar Lines: 44 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <rQNR9.235473$C8.722557@nnrp1.uunet.ca> Date: Sat, 4 Jan 2003 22:42:14 -0500 NNTP-Posting-Host: 205.205.25.116 X-Trace: nnrp1.uunet.ca 1041738135 205.205.25.116 (Sat, 04 Jan 2003 22:42:15 EST) NNTP-Posting-Date: Sat, 04 Jan 2003 22:42:15 EST Organization: WorldCom Canada Ltd. News Reader Service Xref: saluki-news comp.unix.bsd.freebsd.misc:226602 MIME-Version: 1.0 Content-Type: text/plain BSD Tar is not GNU Tar. Cygwin uses GNU Tar. Man Tar for the GNU version should tell you how to get it to read BSD Tar files. -Adam "Jeff D. Hamann" <jeff_hamann@hamanndonald.com> wrote in message news:att7kj$t9c$1@news.orst.edu... > I've got a FreeBSD machine at home with a 4mm tape drive that I have tar'd > files as follows: > > tar cvf /dev/sa0 /usr/home/me/project > > and it works just fine as you might expect. I also have an Win2k machine at > work that I perform the same operation on, > > tar cvf /dev/st0 /usr/home/me/project > > and it works just fine. The problem occurs when I try to use a tape tht was > tar'd on one machine the other. I get the following messages on both > machines when trying to read a tape produced in the other machine. > > C:\>tar tvf /dev/st0 > tar: /dev/st0: Cannot read: Bad file descriptor > tar: At beginning of tape, quitting now > tar: Error is not recoverable: exiting now > > The NT tar is the cygwin tar and the FreeBSD tar is the standard one that > come with FreeBSD 4.4 > > What settings do I need to provide to make the tapes readable on the other > system? > > Jeff. > > ---------------------------------------------------------------------
Created attachment 14541 [details] Screenshow showing supposedly missing articles which do exist in folder
Since 0.13.4 is already out, perhaps I should bump this milestone. :)
Created attachment 14779 [details] Snapshot of local folder in question displayed; note 2nd to last entry
Even with Pan-0.14, there appears to be a note/article scanning problem. Note the second to the last entry in the snapshot with a Subject of "Re: mplayer with gui". The file in question, grep 'Re: mplayer with gui' * auf8gsk501@igloo.uran.net.ua.msg:Subject: Re: mplayer with gui exists, ll "auf8gsk501@igloo.uran.net.ua.msg" -rw-rw-r-- 1 xxxx xxxx 1410 Jan 1 06:14 auf8gsk501@igloo.uran.net.ua.msg but does not have the 'on disk/cache' icon next to it, nor is it readable from within Pan. Note that there are other files/articles that have the same problem: the subject lines are displayed in Pan, but the articles themselves are not readable/viewable by Pan even though they do exist. The following is the text of this particular file: -------------------------------------------------------------- Path: saluki-news!vixen.cso.uiuc.edu!logbridge.uoregon.edu!nntp.cs.ubc.ca!nntp-re lay.ihug.net!ihug.co.nz!news-out.newsfeeds.com!propagator2-maxim!news-in.sp amkiller.net!carrier.kiev.ua!news.uran.net.ua!news.ntu-kpi.kiev.ua!not-for- mail From: "Vasyl S. Smirnov" <sv@astral.ntu-kpi.kiev.ua> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: mplayer with gui Date: Thu, 26 Dec 2002 15:50:52 +0000 (UTC) Organization: NTUU "KPI" Lines: 15 Message-ID: <auf8gs$k50$1@igloo.uran.net.ua> References: <pan.2002.12.26.14.45.01.874242.5427@REMOVETHISusa.net> NNTP-Posting-Host: if100mbit.astral.ntu-kpi.kiev.ua X-Trace: igloo.uran.net.ua 1040917852 20640 10.100.5.14 (26 Dec 2002 15:50:52 GMT) X-Complaints-To: newsmaster@news.ntu-kpi.kiev.ua NNTP-Posting-Date: Thu, 26 Dec 2002 15:50:52 +0000 (UTC) User-Agent: tin/1.5.12-20020427 ("Sugar") (UNIX) (FreeBSD/4.7-STABLE (i38Path: saluki-news!vixen.cso.uiuc.edu!logbridge.uoregon.edu!nntp.cs.ubc.ca!nntp-re lay.ihug.net!ihug.co.nz!news-out.newsfeeds.com!propagator2-maxim!news-in.sp amkiller.net!carrier.kiev.ua!news.uran.net.ua!news.ntu-kpi.kiev.ua!not-for- mail From: "Vasyl S. Smirnov" <sv@astral.ntu-kpi.kiev.ua> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: mplayer with gui Date: Thu, 26 Dec 2002 15:50:52 +0000 (UTC) Organization: NTUU "KPI" Lines: 15 Message-ID: <auf8gs$k50$1@igloo.uran.net.ua> References: <pan.2002.12.26.14.45.01.874242.5427@REMOVETHISusa.net> NNTP-Posting-Host: if100mbit.astral.ntu-kpi.kiev.ua X-Trace: igloo.uran.net.ua 1040917852 20640 10.100.5.14 (26 Dec 2002 15:50:52 GMT) X-Complaints-To: newsmaster@news.ntu-kpi.kiev.ua NNTP-Posting-Date: Thu, 26 Dec 2002 15:50:52 +0000 (UTC) User-Agent: tin/1.5.12-20020427 ("Sugar") (UNIX) (FreeBSD/4.7-STABLE (i386)) Xref: saluki-news comp.unix.bsd.freebsd.misc:225982 MIME-Version: 1.0 Content-Type: text/plain jonathan <jonathan@removethisusa.net> wrote: > hi newsgroup > > can anyone tell me how i can build mplayer with the gui? i tried really > hard but didn't get that beast to work. did you run `gmplayer' ? do you have skins installed? sv -- [LPML-2001] [KPI-PMA] [FreeBSD] [NIN] ************************************* GPG fingerprint: 7175 B841 C13D 9FE6 BDE0 C5E3 1652 7026 0A30 1CED Mail me with subject GPG-KEY to get my public key.
Created attachment 14780 [details] tar.gz archive of "problem local folder" with all articles
1) Start up Pan2, 2) create new local folder, 3) quit Pan2, 4) unarchive "FreeBSD.misc.articles.tar.gz" attachement into new local folder 5) start Pan2, 6) switch to (local) folders and select new local folder, 7) same 'missing' articles in header window though files exist.
Articles copied to folders disappear, sometimes immediately, sometimes after a while. This makes folders pretty much COMPLETELY unusable. Note, pan-native folders work, it's folders you add yourself that are this unstable. SuSE 8.1 under KDE 3.0.5 (gnome is installed though), Pan 0.13.0.
It looks like these .msg files were saved with an older version of Pan. If you want the 'non-cached' messages to show up in the folder, you'll need to tweak their filenames to match the Message-ID header given in the file.
Renamed 6 or so files to match their Message-ID and now Pan2 fails to show ANY files in the associated local folder. BTW - the most common difference between their original filenames and their Message-ID's was the lack (or presence) of dollar signs.
Pan uses transform to remove illegal characters from Message-IDs when saving them as filenames. However, I can't find any explanation for transforming '$', as it appears that the only filesystem it's illegal in is ISO9660 CD-ROM, which is an unlikely location for Pan's article cache. I've fixed this bug in CVS such that Pan only transforms characters which actually _are_ illegal on vfat/fat32. Thanks for bringing this to my attention. I have some concern about this change invalidating users' current article caches when upgrading Pan; however, this is a transient cost weighed against being able to easily share msg files with other apps. Since this change will already invalidate some articles in the cache, I took the opportunity to do something I'd intended to do: switch Pan's Message-ID encoding from its homebrew scheme to URL encoding, which is more likely to be recognized by people poking around in Pan's messages directories. http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan/base&command=DIFF_FRAMESET&file=acache.c&rev1=1.64&rev2=1.65&root=/cvs/gnome http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan&command=DIFF_FRAMESET&file=ANNOUNCE.html&rev1=1.92&rev2=1.93&root=/cvs/gnome