aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule runs only as root with kubuntu 6.06  (Read 2366 times)

metalelf0

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
aMule runs only as root with kubuntu 6.06
« on: September 26, 2006, 01:54:03 PM »

Hi, after I updated my system with dist-upgrade I can't run amule as normal user anymore. When I start it I get the following output:
Code: [Select]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
        aMule Version: aMule 2.1.3 using wxGTK2 v2.6.3 (Unicoded)

Terminated after throwing an instance of 'CInvalidStateEx'
        what(): CRunTimeException::CInvalidStateException: CFile: Cannot get length of closed file.
        backtrace:
[2] wxObject::ReservedObjectFunc9() in amule [0x80758ad]
[3] wxEntry(int&, wchar_t**) in /usr/local/lib/libwx_baseu-2.6.so.0[0xb7af4200]
[4] wxEntry(int&, char**) in /usr/local/lib/libwx_baseu-2.6.so.0[0xb7af426a]
[5] wxTopLevelWindowGTK::IsGrabbed() const in amule [0x817b524]
[6] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0xb7868ea2]
[7] __gxx_personality_v0 in amule[0x8068fe1]

Does anybody know a solution to this? And is running amule as root dangerous in any way?

Thanks everybody!

Metalelf0
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule runs only as root with kubuntu 6.06
« Reply #1 on: September 26, 2006, 02:54:03 PM »

Hi metalelf0!

Please rename your ~/.aMule directory to something like e.g. ~/.aMule-old.
Then start aMule. It should run without problems now and create a new config-dir.
First you should try to copy your credit files (cryptkey.dat and preferences.dat) and start aMule again.
Setup aMule with your desired settings and import the content of the old temp folder.  When nothing is missing you can now safely delete the .aMule-old directory.

I hope this helps you a bit. If you should still encounter the error, please create a real backtrace
Logged

metalelf0

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: aMule runs only as root with kubuntu 6.06
« Reply #2 on: September 28, 2006, 11:50:22 AM »

Hi wuischke!
Thanks a lot for your reply, I tried it and it worked perfectly! Really thanks, I was getting mad with that error... :)
Logged