Opened 13 years ago

Closed 13 years ago

#32993 closed defect (fixed)

kmymoney4-devel @4.6-20120119_1 no ofx import

Reported by: gregory.verret@… Owned by: mkae (Marko Käning)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: gregory.verret@…
Port: kmymoney4

Description

I don't have the ofx import option in the file->import menu. And the plugin is not listed in preferences->plugins.

I'm using Lion with xcode 4.2

Change History (7)

comment:1 Changed 13 years ago by gregory.verret@…

Cc: gregory.verret@… added

Cc Me!

comment:2 Changed 13 years ago by gregory.verret@…

Message from the console when I startup kMymoney

12-01-23 18:03:10,560 [0x0-0x1ea1ea].kmymoney: kmymoney(32756)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
12-01-23 18:03:10,560 [0x0-0x1ea1ea].kmymoney: kmymoney(32756)/KSharedDataCache: Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :( 
12-01-23 18:03:10,560 [0x0-0x1ea1ea].kmymoney: kmymoney(32756)/KSharedDataCache: Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise. 
12-01-23 18:03:10,560 [0x0-0x1ea1ea].kmymoney: kmymoney(32756)/KSharedDataCache: Unable to unmap shared memory segment 0x109873000 
12-01-23 18:03:11,869 [0x0-0x1ea1ea].kmymoney: kmymoney(32756)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
12-01-23 18:03:11,869 [0x0-0x1ea1ea].kmymoney: kmymoney(32756)/KSharedDataCache: Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :( 
12-01-23 18:03:11,869 [0x0-0x1ea1ea].kmymoney: kmymoney(32756)/KSharedDataCache: Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise. 
12-01-23 18:03:11,869 [0x0-0x1ea1ea].kmymoney: kmymoney(32756)/KSharedDataCache: Unable to unmap shared memory segment 0x10a24d000 
12-01-23 18:03:13,469 [0x0-0x1ea1ea].kmymoney: kmymoney(32756)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "The name org.kde.kded was not provided by any .service files" 
12-01-23 18:03:13,470 [0x0-0x1ea1ea].kmymoney: kmymoney(32756)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 
12-01-23 18:03:14,640 [0x0-0x1ea1ea].kmymoney: kmymoney(32756)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "KMyMoneyPlugin"  not found 

'Unable to perform initial setup' I wonder if this is where the plugins are supposed to be loading.

comment:3 Changed 13 years ago by gregory.verret@…

After reading, learning and trying a few things, I finally got the plugins to works! I manually called 'kbuildsycoca4' and all the plugins (AqBanking importer, OFX and CSV) appear in the import menu now. None was there before.

For what I found, this should be added to the portfile :

post-activate {
    ui_msg "Calling kbuildsycoca4 in case KDE hasn't called it yet to make sure that plugins are loaded."
    system "${prefix}/bin/kbuildsycoca4"
}

The KDE framework should call it but seems like it does not.

comment:4 Changed 13 years ago by mkae (Marko Käning)

Owner: changed from macports-tickets@… to mk@…

comment:5 Changed 13 years ago by mkae (Marko Käning)

Thanks for reporting this Gregory. Sorry, since I, as KMM's maintainer, should be entered as the owner of the ticket when creating it. (Only today I accidentally found it.) I'll upgrade KMM's portfiles accordingly.

BTW, I never ran into this problem so far, but I know it from skrooge where I also had to introduce it into the portfile as a note, back then. But you are right, it's better to do it automatically in post-activate.

comment:6 Changed 13 years ago by mkae (Marko Käning)

Inserted your post-activate into kmymoney4(-devel) and skrooge (r92583, r92585, r92586).

Thanks again!

comment:7 Changed 13 years ago by mkae (Marko Käning)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.