Xyrio / RSSOwlnix

RSSOwlnix is a fork of RSSOwl a powerful application to organize, search and read your RSS, RDF & Atom news feeds in a comfortable way. Highlights are saved searches, notifications, filters, fast fulltext search and a flexible, clean user interface.
Eclipse Public License 1.0
237 stars 22 forks source link

macosx cocoa binaries bundled wrong by default eclipse build #4

Open Xyrio opened 6 years ago

Xyrio commented 6 years ago

macosx.cocoa.x86_64.zip (original made by eclipse build)

does not seem to work: https://sourceforge.net/p/rssowl/discussion/296909/thread/ba367704/

macosx.cocoa.x86_64_bundled_b.zip

bundled like old 2.2.1 one should work

macosx.cocoa.x86_64_bundled_c.zip

experiement to have only one folder (see 2.4.0)

apstanley commented 6 years ago

I've never been able to get RSSOwlnix running on my Mac. I've tried all of the releases and bundles.

With the 2.5.5-beta release, the original build fails saying "The application “RSSOwlnix” can’t be opened." With bundled_b it says "The RSSOwlnix executable launcher was unable to locate its companion shared library."

java version "1.8.0_181" MacOS HighSierra Version 10.13.6 on a early 2016 MacBook.

Xyrio commented 6 years ago

does the 32bit 2.2.1 zip work for you? how about the dmg 2.2.1?

apstanley commented 6 years ago

I've been using RSSOwl 2.2.1 since I got my mac in April 2016 with minimal problems. But I never gotten a version of RSSowlnix to run.

Xyrio commented 6 years ago

did you use the mac zip or mac dmg file? try the 2.2.1 zip and tell me if it works too.

https://github.com/rssowl/RSSOwl/releases/download/2.2.1/RSSOwl.2.2.1.Mac.zip

apstanley commented 6 years ago

The zipped version of 2.2.1 didn't work. Two errors:

Does this help? I can keep trying things for you.

Xyrio commented 6 years ago

yes it helps. i dont have a mac and never used one.

the files and folder structure of the successfully running 2.2.1 could maybe help. googling for "macos 10.13 show app folder content" shows stuff about a ~/Library folder so maybe you need to put stuff manually into the library folder? i have no idea how mac does things.

so unless i find a way to make a dmg file on windows or linux, this is gonna be for advanced mac users only. i will keep providing the default zip for those who know how to get it working.

apstanley commented 6 years ago

I did a little bit more research on "launcher was unable to locate its companion shared library" and found this article: https://stackoverflow.com/questions/7070968/eclipse-executable-launcher-error-unable-to-locate-companion-shared-library

Buried in there was

I have seen this in MacOS Sierra. Sometimes unzipping the app leaves extended attributes that seem to prevent the startup. The following command line removes extended attributes and seems to fix the problem:

xattr -c Eclipse.app

It also works for other applications that are built on the eclipse framework.

So I tried that on RSSOwlnix.app and it worked. Not sure how to get that into your build but there's other stuff about the zipping/unzipping process that may be useful to you.

Finally I can start testing. Thanks for help. I don't necessarily this that this issue should be closed, but it's probably worth writing a wiki page about.

Xyrio commented 6 years ago

thanks, i have added it to the wiki

https://github.com/Xyrio/RSSOwlnix/wiki/FAQ#item_macxattrc

there is a way to run it on mac now so i close this for now.

wongfeihung1984 commented 5 years ago

Hi, I've downloaded RSSOwlnix on my macbook pro and entered the command xattr -c RSSOwlnix.app on my terminal but it says that "no such file exists".

Am I doing something wrong?

Xyrio commented 5 years ago

you have to be in the right folder that contains the RSSOwlnix.app folder, or use absolute path. see the cd command for mac. https://www.youtube.com/watch?v=IGmfU6QU5dI

Ma35 commented 5 years ago

you have to be in the right folder that contains the RSSOwlnix.app folder, or use absolute path. see the cd command for mac. https://www.youtube.com/watch?v=IGmfU6QU5dI

Thank you for everything you do. I can not run RSSOwlnix on the mac. And I tried everything. Tell me - did you have a positive feedback from other Mac users?

Xyrio commented 5 years ago

i dont know anything else since i have never used mac.

alesants commented 4 years ago

Hi! Thanks for all your help! I find all these comments super helpful. The problem is I have no idea of coding and I was unable to do this:

_I have seen this in MacOS Sierra. Sometimes unzipping the app leaves extended attributes that seem to prevent the startup. The following command line removes extended attributes and seems to fix the problem:

xattr -c Eclipse.app

It also works for other applications that are built on the eclipse framework._

Is there a way to attach the zip without those unnecessary attributes? Or what is my best shot here? I really love RSSOWL. I really hope I can still use it on my new computer.

Thanks so much again!

Xyrio commented 4 years ago

first i would need to know what attribute is the problem. the -c switch removes all extended attributes on mac (as ive read online). so i dont know where those attributes come from. is it really from creating the files on my windows system or are they added on extraction on mac systems?

hajo62 commented 4 years ago

You might want to try to add the +x attribut to the executable.

chmod +x RSSOwlnix.app/Contents/MacOS/RSSOwlnix

Thanks for the fork!!!

Xyrio commented 4 years ago

well im creating it on windows so i dont have a chmod command. but when opening the zip with 7zip it shows in the attribute column D drwxr-xr-x not sure what all mean but execute seems to be set. the zipping is done by the eclipse builder and should be right. someone with this problem needs to test this and see if the extended attributes are added when unpacking or how the attributes are when repacking. also finding out which extended attribute is the actual problem by removing each one separately and testing as xattr -c removes all.

hajo62 commented 4 years ago

If it shows a d at the beginning of the attributes, it's a directory. Did you check the RSSOwlnix or the RSSOwlnix.app? I downloaded again and checked the original attribute of the file RSSOwlnix, and that did not have the x attribute (for execute) set.

ls -l /tmp/RSSOwlnix.app/Contents/MacOS/RSSOwlnix
-rw-r--r--@ 1 user  staff  27156 Aug  8 21:25 /tmp/RSSOwlnix.app/Contents/MacOS/RSSOwlnix
Xyrio commented 4 years ago

RSSOwlnix.app. however all folders inside the zip have those attributes D drwxr-xr-x shown by 7zip. when i compress a folder in windows with 7z to zip then 7z shows only attribute D.

since xattr -c RSSOwlnix.app fixes the problem for ppl it seems to not matter if the RSSOwlnix file has execute attribute or not.

are you using macos or linux?

hajo62 commented 4 years ago

Every folder in linux or OSX has the d attribute. The extension .app is typical for OSX applications.

I'm NOT talking about folders. I'm talking about the executable and setting the x on that FILE solved the problem for me on my macos.

Xyrio commented 4 years ago

weird that it is not set by the build tool. so i have to figure out how to set it then with the build tool.

hajo62 commented 4 years ago

how to set it then with the build tool

Meanwhile, I could try to create a zip-archive from my installation with the x set and attach it here.

Xyrio commented 4 years ago

no i try to find a way to do it myself. until then ill add some information to the release page. just tell me the right command: xattr -w -x RSSOwlnix.app/Contents/MacOS/RSSOwlnix

hajo62 commented 4 years ago

Goto your download directory and than fire that command: chmod +x RSSOwlnix.app/Contents/MacOS/RSSOwlnix

chmod: Change file mode bit (set file permission) +x: Set execute bit for current user (works for me. If not, try chmod a+x, to set for all users) RSSOwlnix.app/Contents/MacOS/RSSOwlnix: Path to executable

Xyrio commented 4 years ago

ok thanks, i added it to release page for now. https://github.com/Xyrio/RSSOwlnix/releases/tag/2.7.1