Re: CafePorts

2009-12-26 Thread Chris Janton
On 2009-12-25 , at 13:22 , Panayotis Katsaloulis wrote: ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory Permission denied

Re: CafePorts

2009-12-25 Thread Panayotis Katsaloulis
...@localhost sudo java -Xms128m -Xmx256m -jar /Users/shared-f/CafePorts.app/Contents/Resources/Java/CafePorts.jar It only works if I use sudo java, but it does work I have uploaded a new version of CafePorts, just to support what you suggested. (version 0.1.1) I hope it works for you, since I

Re: CafePorts

2009-12-25 Thread Panayotis Katsaloulis
On 25 Δεκ 2009, at 7:26 μ.μ., Chris Janton wrote: On 2009-12-25 , at 10:08 , Panayotis Katsaloulis wrote: I have uploaded a new version of CafePorts, just to support what you suggested. (version 0.1.1) I hope it works for you, since I can't test it. Just go to preferences and type

Re: CafePorts

2009-12-25 Thread Chris Janton
On 2009-12-25 , at 11:00 , Panayotis Katsaloulis wrote: I get prompted for a passowrd (my ssh command does not require it, my sudo command does not require it) I type in the admin password - Wrong password! I type in my password - Wrong password! I'm not sure which password it wants.

Re: CafePorts

2009-12-25 Thread Ryan Schmidt
On Dec 25, 2009, at 15:33, Bradley Giesbrecht wrote: I like that you are writing a frontend to MacPorts because there are a fair number of people that are new to Macs, install macports and then struggle when there is no double clickable gui to work with. This is great for them. I

Re: CafePorts

2009-12-25 Thread Panayotis Katsaloulis
it's outside the macports file hierarchy. As I said, this is *NOT* required for a proper use of CafePorts. This is just a special case and it deals only a specific issue with Chris Janton, which we are working with. :) For proper CafePorts usage, the default settings should be sufficient

Re: CafePorts

2009-12-25 Thread Altoine Barker
On 12/25/09 12:00 PM, Panayotis Katsaloulis wrote: On 25 Δεκ 2009, at 7:26 μ.μ., Chris Janton wrote: On 2009-12-25 , at 10:08 , Panayotis Katsaloulis wrote: I have uploaded a new version of CafePorts, just to support what you suggested. (version 0.1.1) I hope it works for you

Re: CafePorts

2009-12-25 Thread Altoine Barker
On 12/25/09 12:04 PM, Panayotis Katsaloulis wrote: On 25 Δεκ 2009, at 7:26 μ.μ., Chris Janton wrote: ssh ad...@localhost sudo Oops, now I see it. So you *do* need the sudo command In any case, untick the sudo requirement in preferences, if no password is required at all.

Re: CafePorts

2009-12-25 Thread Altoine Barker
On 12/16/09 9:35 AM, Chris Janton wrote: On 2009-12-16 , at 06:13 , Panayotis Katsaloulis wrote: You could try this, then (in one line): ssh ad...@localhost java -Xms128m -Xmx256m -jar LOCATION_OF_CAFEPORTS/CafePorts.app/Contents/Resources/Java/CafePorts.jar ssh ad...@localhost

Re: CafePorts

2009-12-25 Thread Panayotis Katsaloulis
On 26 Δεκ 2009, at 2:04 π.μ., Altoine Barker wrote: Additional note: Your program looks and runs beautifully with the exception of the CaféPorts 0.1.0.1 not showing me any other options in Preferences other than MacPorts index. Great job! yes, version 0.1.0.1 doesn't have the other options.

Re: CafePorts

2009-12-25 Thread Altoine Barker
On 12/25/09 6:36 PM, Panayotis Katsaloulis wrote: On 26 Δεκ 2009, at 2:04 π.μ., Altoine Barker wrote: Additional note: Your program looks and runs beautifully with the exception of the CaféPorts 0.1.0.1 not showing me any other options in Preferences other than MacPorts index. Great job!

Re: CafePorts

2009-12-17 Thread Panayotis Katsaloulis
On 17 Δεκ 2009, at 8:52 π.μ., Scott Haneda wrote: On Dec 16, 2009, at 10:36 PM, Panayotis Katsaloulis wrote: Did you go to the preferences menu to select the /opt/local directory? Yes, sorry that I did not mention that, it is already set to /opt/local, but I set it again, still no

Re: CafePorts

2009-12-17 Thread Scott Haneda
On Dec 17, 2009, at 1:33 AM, Panayotis Katsaloulis wrote: On 17 Δεκ 2009, at 8:52 π.μ., Scott Haneda wrote: On Dec 16, 2009, at 10:36 PM, Panayotis Katsaloulis wrote: Did you go to the preferences menu to select the /opt/local directory? Yes, sorry that I did not mention that, it is

Re: CafePorts

2009-12-16 Thread Chris Janton
On 2009-12-15 , at 09:12 , Panayotis Katsaloulis wrote: I think now it has started to look like a proper Mac application. Although some things need to be worked on again, I'd really like to hear what do you think of this effort. Now it's usable I think and I need your feedback to go on.

Re: CafePorts

2009-12-16 Thread Chris Janton
On 2009-12-15 , at 09:12 , Panayotis Katsaloulis wrote: Now it's usable I think and I need your feedback to go on. administrator privileges required to use 1. Login as non-admin user 2. Attempt to install anything Prompted for password, but that's not going to work. In my case we need both a

Re: CafePorts

2009-12-16 Thread Panayotis Katsaloulis
/MacOS/ JavaApplicationStub this should do the trick. To allow zero-length passwords in sudo, you need to download version 0.0.9.1 http://cafeports.googlecode.com/files/CafePorts-0.0.9.1.zip which I just prepared!___ macports-users mailing list

Re: CafePorts

2009-12-16 Thread Chris Janton
://cafeports.googlecode.com/files/CafePorts-0.0.9.1.zip which I just prepared! Don't quite know how you are invoking the shell for port commands, but ssh localhost command or ssh u...@localhost command should work. If the user doesn't have keys setup it requires 2 passwords - user password, sudo

Re: CafePorts

2009-12-16 Thread Panayotis Katsaloulis
On 16 Δεκ 2009, at 2:04 ΜΜ, Chris Janton wrote: Try to do something like ssh ad...@localhost LOCATION_OF_CAFEPORTS/CafePorts.app/Contents/ MacOS/JavaApplicationStub this should do the trick. Nope - Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.

Re: CafePorts

2009-12-16 Thread Chris Janton
On 2009-12-16 , at 06:13 , Panayotis Katsaloulis wrote: You could try this, then (in one line): ssh ad...@localhost java -Xms128m -Xmx256m -jar LOCATION_OF_CAFEPORTS/CafePorts.app/Contents/Resources/Java/CafePorts.jar ssh ad...@localhost sudo java -Xms128m -Xmx256m -jar

Re: CafePorts

2009-12-16 Thread Panayotis Katsaloulis
On 16 Δεκ 2009, at 5:35 ΜΜ, Chris Janton wrote: On 2009-12-16 , at 06:13 , Panayotis Katsaloulis wrote: You could try this, then (in one line): ssh ad...@localhost java -Xms128m -Xmx256m -jar LOCATION_OF_CAFEPORTS/CafePorts.app/Contents/Resources/Java/ CafePorts.jar ssh

Re: CafePorts

2009-12-16 Thread Panayotis Katsaloulis
Hello again. Most of the required features are there now :) Especially the ability to parse the sources.conf file and use the information therein to build the available port list :) The version is 0.1.0 (hurray!) and any feedback is welcome! ___

Re: CafePorts

2009-12-16 Thread Scott Haneda
Here is what I get when I launch the app: http://dl.getdropbox.com/u/340087/Drops/12.16.09/cafeports-9987d4aa-200356.jpg I deleted the portindex and portindex.quick files, tried without, and also remade them, still no luck. Here is my sources.conf file in case that helps: http

Re: CafePorts

2009-12-16 Thread Panayotis Katsaloulis
On 17 Δεκ 2009, at 6:10 π.μ., Scott Haneda wrote: Here is what I get when I launch the app: http://dl.getdropbox.com/u/340087/Drops/12.16.09/cafeports-9987d4aa-200356.jpg I deleted the portindex and portindex.quick files, tried without, and also remade them, still no luck. Here is my

Re: CafePorts

2009-12-16 Thread Scott Haneda
On Dec 16, 2009, at 10:36 PM, Panayotis Katsaloulis wrote: On 17 Δεκ 2009, at 6:10 π.μ., Scott Haneda wrote: Here is what I get when I launch the app: http://dl.getdropbox.com/u/340087/Drops/12.16.09/cafeports-9987d4aa-200356.jpg I deleted the portindex and portindex.quick files, tried

CafePorts

2009-12-15 Thread Panayotis Katsaloulis
of the project: http://code.google.com/p/cafeports/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Re: CafePorts

2009-12-15 Thread Ryan Schmidt
On Dec 15, 2009, at 10:12, Panayotis Katsaloulis wrote: I think now it has started to look like a proper Mac application. Although some things need to be worked on again, I'd really like to hear what do you think of this effort. Now it's usable I think and I need your feedback to go on. It

Re: CafePorts

2009-12-15 Thread Bradley Giesbrecht
on. I added 3 issues to http://code.google.com/p/cafeports/issues/list. // Brad___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Re: CafePorts

2009-12-15 Thread Bradley Giesbrecht
with the default tree. I tend to agree because the target audience for CafePorts is probably not people modifying sources.conf. But then again it would be nice to have a warning if sources.conf has been modified. Most users will have rsync://rsync.macports.org/release/ports/ [default

Re: CafePorts

2009-12-15 Thread Ryan Schmidt
because the target audience for CafePorts is probably not people modifying sources.conf. But then again it would be nice to have a warning if sources.conf has been modified. I didn't mean you only need to deal with unmodified sources.conf files. I meant in a sources.conf file where

Re: CafePorts

2009-12-15 Thread Bradley Giesbrecht
yourself with the default tree. I tend to agree because the target audience for CafePorts is probably not people modifying sources.conf. But then again it would be nice to have a warning if sources.conf has been modified. I didn't mean you only need to deal with unmodified sources.conf files. I

Re: CafePorts

2009-12-15 Thread Ryan Schmidt
On Dec 15, 2009, at 17:17, Bradley Giesbrecht wrote: On Dec 15, 2009, at 2:17 PM, Ryan Schmidt wrote: I meant in a sources.conf file where there are multiple entries, you only need to deal with the one marked [default]. What happens if there is second source dir and someone try's to

Re: CafePorts

2009-12-15 Thread Panayotis Katsaloulis
I have started working on parsing the sources.conf file, and I have a couple of questions. 1) When there are more than one port with the same name, which one is taken into account first? If I read the documentation correctly, the higher the entry is, the higher priority it gets. So, if a port