aMule Forum

English => en_Bugs => Topic started by: bubla on September 03, 2009, 12:03:24 PM

Title: impossible to add new cathegories using the remote GUI
Post by: bubla on September 03, 2009, 12:03:24 PM
Hello,
I am running aMule on a server.
However, when I try to add a new cathegory, I encounter a problem.
No matter what I write to its "Incoming dir" field, I get an error that the path is not valid.
This is an invalid error because it occurs even when I try to change a cathegory that already works fine.
I was able to find out that it actually checks the local filesystem instead of the one that matters.

I think that this touches the whole, but small aspect of remote administration - how to specify remote paths (like incoming, temp, shared directories etc.). The current way is broken (I hope you agree), so maybe it is not a bad idea to use some other approach than wxWidgets controls that don't support this kind of stuff (I mean remote browsing).
Perhaps just a dynamic array of edits (in case of shared dirs specification) that would allow to specify paths and that would just check whether they are valid and have good permissions on the remote machine would do the trick?

Regards,
Matej
Title: Re: impossible to add new cathegories using the remote GUI
Post by: Morse on September 03, 2009, 12:30:24 PM
http://forum.amule.org/index.php?topic=15709.0

I wrote this one year ago. I think nothing will change the coming year either.
Title: Re: impossible to add new cathegories using the remote GUI
Post by: Stu Redman on September 04, 2009, 09:28:01 PM
Problem is that the wxDirSelector used for path selection has no plugin for providing remote paths (using the OS's dir picker dialog). So there is no easy way to fix this. It would require creating an all new selection dialog, with online data exchange about existing folders. (Which raises all kinds of security problems in the process...)
May we can just replace the dirpicker with a simple text field for the remote gui.
We already discussed it and agreed on it. There are some other things to be done first, and I can't tell you when that's the case.

I think nothing will change the coming year either.
While I would not rule this out (sigh) I would be a bit more optimistic though. :)
Title: Re: impossible to add new cathegories using the remote GUI
Post by: lfroen on September 05, 2009, 07:12:54 AM
http://forum.amule.org/index.php?topic=15709.0

I wrote this one year ago. I think nothing will change the coming year either.
So, what prevent you from investing some of your time to writing patch? The whole "remote administration" thing is well ... not very useful for majority of people who use "remote" features at all.
I don't need to remotely administer box under my desk. ssh is good enough. You really need GUI for remote path selection - do it.
Title: Re: impossible to add new cathegories using the remote GUI
Post by: Stu Redman on September 05, 2009, 11:05:23 AM
The GUI is locked at the moment, so creating a patch is pretty much pointless.
And it's not a big thing. It's already on my todo list.
Title: Re: impossible to add new cathegories using the remote GUI
Post by: lfroen on September 05, 2009, 12:34:20 PM
And it's not a big thing. It's already on my todo list.
What is "it" in this phrase?
Title: Re: impossible to add new cathegories using the remote GUI
Post by: bubla on September 05, 2009, 03:14:36 PM
So, what prevent you from investing some of your time to writing patch? The whole "remote administration" thing is well ... not very useful for majority of people who use "remote" features at all.
With all the respect, I don't agree.
Quite a lot of linux fans will have a server at home in the near future since nettops are cheap and economical. It would be nice to have aMule ready for those who would like to have amuled running on that server.

Please also notice that it would be too soon on a patch anyway - first of all the problem has to be acknowledged and the solution has to be agreed upon, isn't it like that?

I don't need to remotely administer box under my desk. ssh is good enough. You really need GUI for remote path selection - do it.
I don't understand, could you please clarify?
I have solved it by using SSH and editing the config file amule.conf. Too bad that I can't choose the cathegory colors, though  :)
The server is operating without any output or input devices, it is a pain every time when I realize that I want to change something in the BIOS settings.

The GUI is locked at the moment, so creating a patch is pretty much pointless.
And it's not a big thing. It's already on my todo list.

Well, just changing the "Wrong path" error to a warning that could be overriden would be simple enough and remove the worst pain.
Title: Re: impossible to add new cathegories using the remote GUI
Post by: Stu Redman on September 05, 2009, 03:22:07 PM
What is "it" in this phrase?
Fix cat administration in remote gui. What this thread is about.
Title: Re: impossible to add new cathegories using the remote GUI
Post by: Stu Redman on September 05, 2009, 08:15:14 PM
The GUI is locked at the moment, so creating a patch is pretty much pointless.
And it's not a big thing. It's already on my todo list.
Oh, the category (yes, category, not cathegory) dialog has no dir picker at all. So it can be fixed right away.  :)
Title: Re: impossible to add new cathegories using the remote GUI
Post by: lfroen on September 05, 2009, 09:40:29 PM
Quite a lot of linux fans will have a server at home in the near future since nettops are cheap and economical. It would be nice to have aMule ready for those who would like to have amuled running on that server.
Actually, very small %% of people have any server at home. Even smaller %% have completely headless server (without even VNC). I would expect for someone who set up headless server to know how to use ssh. Else, how did he/(she?!) set up server on a first place?!

Please also notice that it would be too soon on a patch anyway - first of all the problem has to be acknowledged and the solution has to be agreed upon, isn't it like that?
Uhhm - no. If you have a problem, you don't need my (or anyone else) acknowledgment for it. Write a patch, solve the problem and THEN argue for general usefulness of the thing.

Too bad that I can't choose the cathegory colors, though  :)
Colors are stored locally (IIRC)


The server is operating without any output or input devices, it is a pain every time when I realize that I want to change something in the BIOS settings.
Yea, life sucks, people die, world is terrible place.
Title: Re: impossible to add new cathegories using the remote GUI
Post by: GonoszTopi on September 05, 2009, 10:18:24 PM
The server is operating without any output or input devices,

Then what is the purpose of the server without any I/O devices? Using electricity, increasing entropy? ;)
Title: Re: impossible to add new cathegories using the remote GUI
Post by: Stu Redman on September 05, 2009, 11:24:46 PM
Uhhm - no. If you have a problem, you don't need my (or anyone else) acknowledgment for it. Write a patch, solve the problem and THEN argue for general usefulness of the thing.
That's a silly response to a valid bug report. Stop trolling. Your remote cat code is broken and I'm going to fix it.
Quote
Actually, very small %% of people have any server at home.
So why do we have a daemon and a remote gui at all and not just a monolith?  ::)
You have done a lot of work on EC so frankly I don't understand your attitude.
Title: Re: impossible to add new cathegories using the remote GUI
Post by: Morse on September 05, 2009, 11:31:21 PM
http://forum.amule.org/index.php?topic=15709.0

I wrote this one year ago. I think nothing will change the coming year either.
So, what prevent you from investing some of your time to writing patch? The whole "remote administration" thing is well ... not very useful for majority of people who use "remote" features at all.
I don't need to remotely administer box under my desk. ssh is good enough. You really need GUI for remote path selection - do it.

Don't get me wrong: i think amule is good enough even as it is. I use it ever since EC became sane (v 2.2.0 IIRC), and the thing i wrote a year ago - i wrote it in "feature request", not "bugs", meaning "i'd love to see it but won't expect it any priority".

About writing a patch myself... well, even if i'll write something, and even if it will work, and even if it will do what it's supposed to, i'm really doubtfull that it would be something you want to commit...
Title: Re: impossible to add new cathegories using the remote GUI
Post by: Stu Redman on September 08, 2009, 11:35:14 PM
Cat administration fixed in 9793.  :)
Title: Re: impossible to add new cathegories using the remote GUI
Post by: Kry on September 09, 2009, 01:26:22 AM
(http://img41.imageshack.us/img41/8854/catadminpriveldges3.jpg)

?

EDIT: Changed to stop fucking Stephen Bailey over with the bandwith usage.
Title: Re: impossible to add new cathegories using the remote GUI
Post by: Morse on September 09, 2009, 01:21:15 PM
It has to have illiterate caption in the bottom. Either this or i understand nothing in english internet...
Title: Re: impossible to add new cathegories using the remote GUI
Post by: Stu Redman on September 09, 2009, 09:41:53 PM
Love your cat(egory) pics.  :D
Title: Re: impossible to add new cathegories using the remote GUI
Post by: bubla on September 10, 2009, 08:07:14 PM
Cat administration fixed in 9793.  :)

Thank you very much!