Bug 3330 - RSSyl plugin makes Claws-Mail unusable until deactivated
Summary: RSSyl plugin makes Claws-Mail unusable until deactivated
Status: RESOLVED WONTFIX
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Plugins/RSSyl (show other bugs)
Version: 3.11.1
Hardware: PC FreeBSD
: P3 major
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2014-11-14 17:28 UTC by Lars Schotte
Modified: 2014-11-14 23:41 UTC (History)
0 users

See Also:


Attachments

Description Lars Schotte 2014-11-14 17:28:09 UTC
When I start claws-mail with RSSyl plugin enabled, this comes on the console and claws-mail stops (looks like an infinite loop):

/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//Planet Claws Mail: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//Fefes Blog: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//flassbeck-economics: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//Pro-Linux News: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//OpenBSD Journal: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//OpenBSD Errata: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//NetBSD.org News: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//NetBSD Code Changes: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//NetBSD.org Security Advisories: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//NetBSD - Fresh Packages: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//FreeBSD News Flash: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//FreeBSD Foundation: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//NetBSD Blog: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//FreeBSD VuXML: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//DragonFly BSD Digest: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//Planet Claws Mail: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//Fefes Blog: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//flassbeck-economics: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//Pro-Linux News: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//OpenBSD Journal: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//OpenBSD Errata: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//NetBSD.org News: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//NetBSD Code Changes: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//NetBSD.org Security Advisories: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//NetBSD - Fresh Packages: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//FreeBSD News Flash: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//FreeBSD Foundation: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//NetBSD Blog: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//FreeBSD VuXML: mkdir: File exists
/home/vanessa/.claws-mail/RSSyl/My Feeds (RSSyl)//DragonFly BSD Digest: mkdir: File exists
Comment 1 Lars Schotte 2014-11-14 17:30:03 UTC
btw. claws-mail throws after that a core dump, but I did not upload it, because it is 70MB big and looks like it contains credentials, it matches grep password.
Comment 2 Andrej Kacian 2014-11-14 21:16:42 UTC
I'm afraid the migration to new storage format did not go as planned there.

Can you please try starting claws-mail with --debug from console, and paste the output (or attach as file if too long)?
Comment 3 Lars Schotte 2014-11-14 21:53:25 UTC
plugin.c:451:trying to load `/usr/local/lib/claws-mail/plugins/rssyl.so'
plugin.c:370:plugin licence check passed: GPL2+ found
folder.c:123:registering folder class rssyl
rssyl.c:241:RSSyl: new_folder:  ()
prefs_gtk.c:86:Reading configuration...
prefs_gtk.c:148:Finished reading configuration.
prefs_gtk.c:86:Reading configuration...
prefs_gtk.c:148:Finished reading configuration.
prefs_gtk.c:86:Reading configuration...
prefs_gtk.c:148:Finished reading configuration.
prefs_gtk.c:86:Reading configuration...
prefs_gtk.c:148:Finished reading configuration.
prefs_gtk.c:86:Reading configuration...
prefs_gtk.c:148:Finished reading configuration.
prefs_gtk.c:86:Reading configuration...
prefs_gtk.c:148:Finished reading configuration.
prefs_gtk.c:86:Reading configuration...
prefs_gtk.c:148:Finished reading configuration.
prefs_gtk.c:86:Reading configuration...
prefs_gtk.c:148:Finished reading configuration.
prefs_gtk.c:86:Reading configuration...
prefs_gtk.c:148:Finished reading configuration.
prefs_gtk.c:86:Reading configuration...
prefs_gtk.c:148:Finished reading configuration.
prefs_gtk.c:86:Reading configuration...
prefs_gtk.c:148:Finished reading configuration.
prefs_gtk.c:86:Reading configuration...
prefs_gtk.c:148:Finished reading configuration.
prefs_gtk.c:86:Reading configuration...
....
prefs_gtk.c:86:Reading configuration...
prefs_gtk.c:123:Found [#rssyl/My Feeds//DragonFly BSD Digest]
prefs_gtk.c:148:Finished reading configuration.
folderview.c:758:called inc_lock (lock count 2)
folderview.c:759:Setting folder info...
msgcache.c:275:TIMING : 0s000ms
msgcache.c:275:TIMING : 0s000ms
folderview.c:785:called inc_unlock (lock count 1)
rssyl.c:241:RSSyl: new_folder:  ()
folderview.c:758:called inc_lock (lock count 2)
folderview.c:759:Setting folder info...
msgcache.c:275:TIMING : 0s000ms
msgcache.c:275:TIMING : 0s000ms
folderview.c:785:called inc_unlock (lock count 1)
rssyl.c:241:RSSyl: new_folder:  ()
folderview.c:758:called inc_lock (lock count 2)
folderview.c:759:Setting folder info...
msgcache.c:275:TIMING : 0s000ms
msgcache.c:275:TIMING : 0s000ms
folderview.c:785:called inc_unlock (lock count 1)
rssyl.c:241:RSSyl: new_folder:  ()
folderview.c:758:called inc_lock (lock count 2)
folderview.c:759:Setting folder info...
msgcache.c:275:TIMING : 0s000ms
msgcache.c:275:TIMING : 0s000ms
folderview.c:785:called inc_unlock (lock count 1)
rssyl.c:241:RSSyl: new_folder:  ()
folderview.c:758:called inc_lock (lock count 2)
folderview.c:759:Setting folder info...
msgcache.c:275:TIMING : 0s000ms
msgcache.c:275:TIMING : 0s000ms
folderview.c:785:called inc_unlock (lock count 1)
rssyl.c:241:RSSyl: new_folder:  ()
folderview.c:758:called inc_lock (lock count 2)
folderview.c:759:Setting folder info...
msgcache.c:275:TIMING : 0s000ms
msgcache.c:275:TIMING : 0s000ms
folderview.c:785:called inc_unlock (lock count 1)
rssyl.c:241:RSSyl: new_folder:  ()
folderview.c:758:called inc_lock (lock count 2)
folderview.c:759:Setting folder info...
msgcache.c:275:TIMING : 0s000ms
msgcache.c:275:TIMING : 0s000ms
folderview.c:785:called inc_unlock (lock count 1)
rssyl.c:241:RSSyl: new_folder:  ()
...
folderview.c:785:called inc_unlock (lock count 1)
rssyl_update_format.c:85:RSSyl: (FORMAT) item 'My Feeds'
rssyl_update_format.c:93:RSSyl: (FORMAT) adding new root folder 'My Feeds'
rssyl.c:241:RSSyl: new_folder: My Feeds ((null))
folderview.c:758:called inc_lock (lock count 2)
folderview.c:759:Setting folder info...
msgcache.c:275:TIMING : 0s000ms
msgcache.c:275:TIMING : 0s000ms
folderview.c:785:called inc_unlock (lock count 1)
rssyl_update_format.c:85:RSSyl: (FORMAT) item 'My Feeds'
rssyl_update_format.c:93:RSSyl: (FORMAT) adding new root folder 'My Feeds'
rssyl.c:241:RSSyl: new_folder: My Feeds ((null))
folderview.c:758:called inc_lock (lock count 2)
folderview.c:759:Setting folder info...
msgcache.c:275:TIMING : 0s000ms
msgcache.c:275:TIMING : 0s000ms
folderview.c:785:called inc_unlock (lock count 1)
rssyl_update_format.c:85:RSSyl: (FORMAT) item 'My Feeds'
rssyl_update_format.c:93:RSSyl: (FORMAT) adding new root folder 'My Feeds'
rssyl.c:241:RSSyl: new_folder: My Feeds ((null))
folderview.c:758:called inc_lock (lock count 2)
folderview.c:759:Setting folder info...
msgcache.c:275:TIMING : 0s000ms
msgcache.c:275:TIMING : 0s000ms
Comment 4 Andrej Kacian 2014-11-14 22:09:54 UTC
Hm, I have no idea why, but it seems like it's stuck in endless loop even during the storage format conversion. I have to admit I did not test the process on FreeBSD, maybe there is something specific that causes it to break. Sorry about that.

If you still have ~/.claws-mail/RSSyl/rssyl-feedlist.opml file that is not empty and contains meaningful data (your feed folder structure), I believe you can get through this by simply recreating the structure in new RSSyl:

1. Back rssyl-feedlist.opml somewhere
2. Move away or delete entire ~/.claws-mail/RSSyl directory
3. Start Claws Mail and load the RSSyl plugin. The "My Feeds (RSSyl)" folder tree should be there, but should be empty. Remove it via right-click menu.
4. Add a new RSSyl folder tree (menu File->Add mailbox...)
5. Import the .opml file to the new folder tree (via right-click menu).
Comment 5 Lars Schotte 2014-11-14 22:38:36 UTC
Does not help at all. Even with no RSSyl directory whatsoever, he still has that information about the files backed up somewhere, I am supposing that it may be the cache.
Comment 6 Lars Schotte 2014-11-14 22:53:59 UTC
OK, removing folderlist.xml folderitemrc fixed that, but that is like configuring that claws-mail from scratch now. So I do not think it was such a good idea to hardcode that folder lists into every configuration file around.
Comment 7 Lars Schotte 2014-11-14 23:41:12 UTC
Best way is to remove .claws-mail completely and start over, because there are just too many issues with bringing back broken configuration files.

Note You need to log in before you can comment on or make changes to this bug.