exile-diary icon indicating copy to clipboard operation
exile-diary copied to clipboard

Linux Use

Open AaronBeisaw opened this issue 3 years ago • 15 comments

Hi, I'm trying to use on Manjaro and using wine the app starts but none of the text boxes for Account, POSESSID, etc are allowing me to type. I am able to browse for client.txt but I'm not sure if that is saving the location either as I can not see it. EDiary

This was my absolute favorite tool on windows, it's sad that I can't use it on Linux but either way, thank you for your work :)

AaronBeisaw avatar Mar 13 '21 23:03 AaronBeisaw

Hmm, Linux not officially supported as I don't use it myself, many things may be broken... but let's give it a try

You can create the settings file manually - fill up this samplesettings.txt with your account info, then save it to settings.json in the app's data directory (%appdata%\exile-diary\ for me, not sure about yours)

Also, can you press Ctrl+Shift+1? A developer console should pop up on the right side of the screen, can you send me any errors that appear there?

briansd9 avatar Mar 14 '21 01:03 briansd9

Ill try manually saving the settings.json file, though the developer console seems to freeze when opened. I'll update on that if I manage to get it working. Thank you!

AaronBeisaw avatar Mar 14 '21 02:03 AaronBeisaw

Manually saving the settings.json worked to get it reading my character but it cant seem to see the client.txt, and I can not use any of the buttons on the left hand side (e.g. trying to manually get to the settings page), and the dev console still completely freezes up - can't even hit the close button on it.

Edit: It displayed some things the first time I tried including one error but I was unable to view the error, and from that try on it displays nothing at all.

Edit 2: Changed path to include Z: at the start (As it is within wine, vs no Z: with my local file viewer) and now that seems to work, the only thing now is that the sidebar does not work. I will test the tracking in a map now and update.

Edit 3: Upon entering a map it says "Unable to track area changes. Please check if local chat is enabled"

As I'm running the map it has randomly added 2 runs from january into the log (Actually as I'm typing this it seems to be filling with everything I have done from then, perhaps I shouldve tried this with a new client.txt)

AaronBeisaw avatar Mar 14 '21 02:03 AaronBeisaw

This error just popped upon exiting a map EDiaryError1

AaronBeisaw avatar Mar 14 '21 02:03 AaronBeisaw

Hmm, did you edit or delete your Client.txt file while the app was open? That might have caused the error.

Can you send me your log file (log.txt located in the app data directory)? Will take a look.

briansd9 avatar Mar 14 '21 06:03 briansd9

I May have cleared client.txt while it was open, though this persists even after restarting. Here is log.txt and log1.txt, wasnt sure if you needed both.

log.txt log1.txt

AaronBeisaw avatar Mar 14 '21 06:03 AaronBeisaw

Does the "bad file descriptor" error window pop up consistently?

From reading the log file, it looks like Exile Diary is temporarily banned from connecting to the PoE servers (when it tried putting in all your old map runs, it also attempted to check your character's inventory several hundred times)... not sure how long until the ban expires, but try again later.

briansd9 avatar Mar 14 '21 06:03 briansd9

Yes that error started popping up consistently before, though I did not see it until after the chat error. Either way, I'll try again later and update back here again. Thanks!

AaronBeisaw avatar Mar 14 '21 06:03 AaronBeisaw

12 hours later, same JavaScript and area change errors.

The JS error pops up numerous times even just from a single area change; I have to close the error ~10 times before it stops showing

AaronBeisaw avatar Mar 14 '21 19:03 AaronBeisaw

Hmm, I must admit I'm out of ideas, sorry... I've filed a bug report for the module I'm using, hopefully the developer will be able to help.

briansd9 avatar Mar 15 '21 05:03 briansd9

No worries! I know linux is not officially supported, and I appreciate your help. If theres anything else I can do to help just let me know.

AaronBeisaw avatar Mar 15 '21 22:03 AaronBeisaw

Hey,

Sorry for posting on an old issue, but I just realized that "Exile-Diary" compiles quite nicely for linux, and by using the app as a native application, I was able to bypass quite a lot of the issues mentioned by the initial issue poster. Since this issue has been kept open and the topic is for linux use, I thought I might as well post here.

The app seems to be working nicely in my initial testing. I compiled an app-image for my personal use as that is what I prefer for such apps. @briansd9, if you don't mind, you can look into posting "unsupported" instructions for making a linux build for people like Aaron, so that at least they won't have to finagle with Wine. Interestingly enough I found this app because I was unable to cleanly build Exilence. Let me know if you need additional info or logs too.

Anupalabdhi avatar May 12 '21 08:05 Anupalabdhi

@Anupalabdhi Any chance you could comment on how to compile an AppImage for exile-diary? I'm familiar with linux but still rather new, this is something I haven't had to do yet

AaronBeisaw avatar May 16 '21 04:05 AaronBeisaw

Sure @AaronBeisaw , For posterity's sake, I'll list out the steps that I used (adapted from this. Also make sure you have git and Nodejs installed) :-

  1. Use git clone https://github.com/briansd9/exile-diary.git to create a copy of the source code in a folder named "exile-diary" in the place where you executed the above command, usually your home directory.
  2. cd exile-diary to move to the directory
  3. Use a text editor of your preference to edit the package.json file. Specifically line 25 of that file which states "target": "deb" Replace the deb with AppImage. Save the file.
  4. npm install
  5. npm run dist
  6. It will create a folder named Dist which should contain your appimage file. You can just use that to run the program which will create it's config and cache in ~/.config/exile-diary.

Hope this helps. Feel free to comment if you get stuck at any point.

Anupalabdhi avatar May 19 '21 08:05 Anupalabdhi

@Anupalabdhi worked like a charm, thanks so much!

Edit: Seems to be all good now, thanks again!

AaronBeisaw avatar May 19 '21 09:05 AaronBeisaw