aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: impossible to add new cathegories using the remote GUI  (Read 7965 times)

bubla

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
impossible to add new cathegories using the remote GUI
« 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
Logged

Morse

  • Full Member
  • ***
  • Karma: 6
  • Offline Offline
  • Posts: 105
Re: impossible to add new cathegories using the remote GUI
« Reply #1 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.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: impossible to add new cathegories using the remote GUI
« Reply #2 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. :)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

lfroen

  • Guest
Re: impossible to add new cathegories using the remote GUI
« Reply #3 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.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: impossible to add new cathegories using the remote GUI
« Reply #4 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.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

lfroen

  • Guest
Re: impossible to add new cathegories using the remote GUI
« Reply #5 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?
Logged

bubla

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: impossible to add new cathegories using the remote GUI
« Reply #6 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.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: impossible to add new cathegories using the remote GUI
« Reply #7 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.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: impossible to add new cathegories using the remote GUI
« Reply #8 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.  :)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

lfroen

  • Guest
Re: impossible to add new cathegories using the remote GUI
« Reply #9 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.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: impossible to add new cathegories using the remote GUI
« Reply #10 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? ;)
Logged
concordia cum veritate

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: impossible to add new cathegories using the remote GUI
« Reply #11 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.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Morse

  • Full Member
  • ***
  • Karma: 6
  • Offline Offline
  • Posts: 105
Re: impossible to add new cathegories using the remote GUI
« Reply #12 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...
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: impossible to add new cathegories using the remote GUI
« Reply #13 on: September 08, 2009, 11:35:14 PM »

Cat administration fixed in 9793.  :)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: impossible to add new cathegories using the remote GUI
« Reply #14 on: September 09, 2009, 01:26:22 AM »



?

EDIT: Changed to stop fucking Stephen Bailey over with the bandwith usage.
« Last Edit: September 10, 2009, 08:27:41 PM by Kry »
Logged
Pages: [1] 2