Opened 12 years ago

Closed 12 years ago

#34635 closed defect (wontfix)

Skrooge will not run in MacPorts

Reported by: ron@… Owned by: mkae (Marko Käning)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: pixilla (Bradley Giesbrecht), guillaume.debure@…
Port: skrooge

Description

MacPorts 2.1.1, Mac OSx 10.7.4, Skrooge 1.3 I tried last year and I again tried a few days ago. Skrooge will NOT run in MacPorts, no matter what, it will not load. I am suspicious that it has never been successfully installed and loaded by anyone using MacPorts.

I need help to get it running on my machine as the Skrooge development team do not seem to have access to a Mac machine.

Attachments (10)

Screen Shot 2012-05-26 at 14.31.32.png (1.1 MB) - added by ron@… 12 years ago.
Screenshots of errors loading Skrooge
Screen Shot 2012-05-25 at 10.26.14.png (108.3 KB) - added by ron@… 12 years ago.
Skrooge Screenshot2
Screen Shot 2012-05-25 at 14.09.51.png (177.6 KB) - added by ron@… 12 years ago.
Skrooge Screenshot3
Screen Shot 2012-05-25 at 10.31.11.png (182.7 KB) - added by ron@… 12 years ago.
Skrooge Screenshot3
Skrooge Screen Shot 2012-06-05 at 18.51.39.png (169.1 KB) - added by ron@… 12 years ago.
Skrooge Screen Shot 2012-06-06 at 09.21.21.png (66.9 KB) - added by ron@… 12 years ago.
Screen Shot 06/06/2012
$PATH Screen Shot 2012-06-06 at 09.31.01.png (33.4 KB) - added by ron@… 12 years ago.
Skrooge Screen Shot 2012-06-06 at 10.37.54.png (1.1 MB) - added by ron@… 12 years ago.
skrooge-1.3.0.jpg (118.9 KB) - added by mkae (Marko Käning) 12 years ago.
screenshot of empty program window after start on SL
Skrooge Screen Shot 2012-06-07 at 16.01.23.png (586.3 KB) - added by ron@… 12 years ago.

Change History (37)

Changed 12 years ago by ron@…

Screenshots of errors loading Skrooge

comment:1 Changed 12 years ago by mkae (Marko Käning)

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

Hi Ron,

please remember to always enter the port maintainer in the "Owned by" field! I've found your ticket just by accident. ;-)

---

It did install and run in the past but ran into problems with the main menu again and again.

Yesterday I checked whether there's perhaps an update needed, but skrooge.org wasn't accessible at all.

Right now skrooge 1.3.0 was again installing for me just fine...

The error messages you're seeing are nothing really to worry about, I do see the same with the kmymoney4(-devel) port(s).

Critical on Mac OSX is with skrooge that the main menu disappears again and again. And, actually, right now, skrooge's main menu AND window is empty when I start it now. So, I am actually in a worse condition than you. Please let me know whether you can see skrooge's full menu structure.

Greets, Marko

comment:2 Changed 12 years ago by mkae (Marko Käning)

Keywords: Skrooge removed
Port: skrooge added; Skrooge removed

comment:3 Changed 12 years ago by mkae (Marko Käning)

I guess the reason for my empty skrooge window is this:

skrooge(17654)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "SKG GUI/Plugin"  not found

I'll send notice to the developers.

Changed 12 years ago by ron@…

Skrooge Screenshot2

Changed 12 years ago by ron@…

Skrooge Screenshot3

Changed 12 years ago by ron@…

Skrooge Screenshot3

comment:4 Changed 12 years ago by ron@…

Thanks Marko, Sorry about the "Owned By" blunder, I'll remember next time. Skrooge downloads and installs for me every time flawlessly (no errors, no broken files) but, no matter what, always refuses to load, on a couple of occasions I've managed to get it (bare bones) on screen but as soon as I move to any menu it disappears from the desktop.. The best I can now get is a momentary viewing of the startup "Skrooge 1.3" Flash Screen.. Just to satisfy myself that it's not my system I have installed KmyMoney4 which runs perfectly OK.

I shall be away between the 28th May and 1st June just in case any contacts are not responded to between those dates............. Best Regards, Ron.

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

Oh, I thought that you could get it to work. If that's not the case something else must be stopping you.

I am still on Snow Leopard here. I don't have Lion and am not planning to update soon.

So, I guess we have to go through this step by step as soon as you're back. I'll be more or less off for the next two weeks, especially the week after next.

comment:6 Changed 12 years ago by guillaume.debure@…

Cc: guillaume.debure@… added

Cc Me!

comment:7 Changed 12 years ago by ron@…

Hi Marko, Something strikes me as a little peculiar, thought this might be helpful, Basically, the Application is looking in the $PATH for /opt/local/var/macports/software/skrooge-devel/0.8.0-1215845_0

When in the Finder it is actually /opt/local/var/macports/software/skrooge/skrooge-1.3.0_0.darwin_11.x86_64.tbz2

See attached Terminal screen shot end of line 2 and beginning of line 3 Please tell me it's relevant information..........

Regards, Ron.

comment:8 Changed 12 years ago by mkae (Marko Käning)

This is indeed VERY PECULIAR and should not happen.

The software is installed under /Applications/MacPorts/KDE4/skrooge.app !

It doesn't make any sense to me that skrooge-devel is in the PATH variable. Did you previously install the old devel version of this port? Very odd, indeed.

Anyway, please try to run this command once more

kbuildsycoca4

then restart the application from the console using

/Applications/MacPorts/KDE4/skrooge.app/Contents/MacOS/skrooge

and then see what you get.

comment:9 Changed 12 years ago by mkae (Marko Käning)

BTW, I'd be interested to see what you'd see on your console when executing

echo $PATH

to tell you the truth.

Changed 12 years ago by ron@…

Screen Shot 06/06/2012

Changed 12 years ago by ron@…

comment:10 Changed 12 years ago by ron@…

Have attached two more extra Screenshots, Skrooge Screen shot 2012-06-06 at 09.21.21 and another $PATH Screen Shot 2012-06-06 at 09.31.01 taken immediately executing your instructions.

comment:11 Changed 12 years ago by mkae (Marko Käning)

9.21.21.png:

In that directory you would have to issue ./skrooge to get skrooge to run!

9.31.01.png:

bash's error message is due to the fact that one or more of the paths in PATH is/are INVALID, which is surely the skrooge-devel path. (But that all is not affecting skrooge's program execution.)

Also, notice that there are so many paths multiply defined. It looks as if your ~/.bash_profile or ~/.profile is a little messed up.

comment:12 Changed 12 years ago by ron@…

Skrooge Screen Shot 2012-06-06 10.37.54 shows the Terminal output after issuing the ./skrooge command.

a) The problem is, although Skrooge has been (bare bones) launched, no matter which part of the Skrooge screen I try to navigate to (e.g Create New) the whole Skrooge Screen disappears. b) I agree about the "messy" $PATH, but which is the best way of "cleaning it up" ?

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

WRT PNG: Ok, I am not getting that far myself. My skrooge's program window stays practically empty. I'll also attach a screenshot of it.

I guess we'll have to wait for the developer's input at this point.

WRT PATH: Please check mentioned profile files for multiply occurring PATH=$PATH lines.

Changed 12 years ago by mkae (Marko Käning)

Attachment: skrooge-1.3.0.jpg added

screenshot of empty program window after start on SL

comment:14 Changed 12 years ago by ron@…

The "messy" PATH seems to be a creation of the installation of MacPorts, seems to me that every time I've installed MacPorts (trying to get things like Skrooge to work) the PATH has been modified and backed-up. (I have about 10 Backed up .profiles.macports so far) On the other hand why should MacPorts put "skrooge" in the PATH when KmyMoney4 is not and works just fine from the launch icon ?? I can edit the PATH in my .profile.macports but I don't believe that will have any beneficial affect.

This Skrooge problem was raised as far back as Jan 2011. I think the problem maybe that the developers do not have access to Mac OSx (either Leopard or Lion) and maybe they are relying on people with Mac OSx to come up with some sort of solution !! Just wish we could have more input from them..............

comment:15 Changed 12 years ago by mkae (Marko Käning)

WRT PATH: It's really odd that those skrooge paths were in there. Perhaps you've manually added them at some stage. They make no sense at all (since those paths normally do not contain the executables) and it is safe to remove them from your profile. But, I'm also afraid that there won't be any effect.

The dev himself does not have access to a Mac and he's always happy to get input from Mac users. I contacted him, but I can't promise anything.

I am sorry that I'm myself cannot help you any further for now.

comment:16 Changed 12 years ago by guillaume.debure@…

Guys, I'm watching this, but I'm completely clueless as what is happening here... Just a shoot in the dark :

Skrooge is fully written as plugins : even file operations (open / save / close) is a plugin, for linus' sake... this plugin is called in skg_file, and issuing a locate skg_file returns: /usr/lib/kde4/skg_file.so /usr/local/share/apps/skg_file /usr/share/apps/skg_file /usr/share/apps/skg_file/skg_file.rc

The difference with other apps working on OSX, such as KMyMoney4, is that they do not rely that heavily on plugins. This is a strong indicator that someting is flawed on OSX with regards to plugins, but I don't know if this needs to be corrected on our side or MacPorts'...

Another app that relies quite heavily on plugins is ktorrent : do you have it on MacPorts ? If yes, can you check whether it is fully functional ? For example, do you get a similar view when clicking on the modules button ?

http://imagebin.org/215409

comment:17 Changed 12 years ago by mkae (Marko Käning)

Actually I had an issue with another plugin a while ago... Perhaps you're right, since ktorrent installed through MacPorts doesn't show a single plugin in my case. The view is completely empty.

KMyMoney, however, also uses plugins, but they can be found and are usable.

comment:18 Changed 12 years ago by ron@…

Forgive my ignorance but something is very strange here........ None of the Plugin's mentioned in guillaumes post are in the location they should be in, however, if I expand the file "skrooge-1.3.0_0.darwin_11.x86_64.tbz2 in /opt/local/var/macports/software/skrooge/ it expands into the "Download" folder and all of the plugins are present there......

comment:19 Changed 12 years ago by mkae (Marko Käning)

Checking this for my installation I get this:

$ port contents skrooge
 .
 .
 .
  /opt/clean-slate/lib/kde4/skg_advice.so
  /opt/clean-slate/lib/kde4/skg_bookmark.so
  /opt/clean-slate/lib/kde4/skg_dashboard.so
  /opt/clean-slate/lib/kde4/skg_debug.so
  /opt/clean-slate/lib/kde4/skg_delete.so
  /opt/clean-slate/lib/kde4/skg_file.so
  /opt/clean-slate/lib/kde4/skg_highlight.so
  /opt/clean-slate/lib/kde4/skg_monthly.so
  /opt/clean-slate/lib/kde4/skg_print.so
  /opt/clean-slate/lib/kde4/skg_properties.so
  /opt/clean-slate/lib/kde4/skg_selectall.so
  /opt/clean-slate/lib/kde4/skg_undoredo.so
 .
 .
 .
$

On your end you would probably see "local" instead of "clean-slate" though.

But it looks like that skrooge doesn't check the path $PREFIX/lib/kde4 to find its plugins.

You could try this

PATH=$PATH:/opt/local/lib/kde4 skrooge

although I admit that this didn't change the symptoms I see here.

I guess one needs to do something differently at build or install time...

comment:20 Changed 12 years ago by mkae (Marko Käning)

BTW, regarding plugins not loaded in my case, I had written about the SKG-Plugin not loaded further up: #34635#comment:3

comment:21 Changed 12 years ago by ron@…

Don't know if this is of any help to DEV I did a pretty desperate thing, I copied all of the files from the "unzipped" file now located in the downloads folder and pasted them to the relevant path in the /opt/var...... in MacPorts tree. Tried to run Skrooge, absolutely no difference, just got the Splash Screen as usual, then tried another "install" and got the following output to the Terminal (see Skrooge Screen Shot 2012-06-07 attached.

comment:22 Changed 12 years ago by ron@…

Don't try above, messed up my whole MacPorts installation. luckily I have my KmyMoney data files stored in a remote Mac directory. However, I completely removed (as per MacPorts instructions) MacPorts and then clean re-installed it, then let skrooge find it's dependancies and let it install as the only software on MacPorts, it installed without a single hitch..... but still won't run.. I'm giving up as it's way above my head, hopefully one day the DEV will come up with a solution..........

comment:23 Changed 12 years ago by mkae (Marko Käning)

Hi Ron,

well, indeed, that wasn't a good idea! :-)

I think you'll have to be patient and wait for the developer's input.

Greets, Marko

P.S.: BTW, I remembered that it was the grantlee plugin which caused problems in the past for me.

comment:24 Changed 12 years ago by jmroot (Joshua Root)

Cc: pixilla@… added

comment:25 Changed 12 years ago by mkae (Marko Käning)

Hi, Ron, can you please try and run

kbuildsycoca4

on your system and check whether skrooge would run afterwards?

See this discussion for reference: http://lists.macosforge.org/pipermail/macports-users/2012-September/030544.html

Greets, Marko

comment:26 Changed 12 years ago by mkae (Marko Käning)

Is this still an issue or can it be closed?

comment:27 Changed 12 years ago by mkae (Marko Käning)

Resolution: wontfix
Status: newclosed

new skrooge version 1.4.0 available

Note: See TracTickets for help on using tickets.