cybre/budgie-haste-applet

Thanks & Config File

Logic-gate opened this issue · 18 comments

Hey, just dropping in to say thanks for this. I added it to the clients list here(https://github.com/seejohnrun/haste-server/wiki/Clients).

Is there by any chance a config file file for specifying the server? or is L25 the only way to define a new server?

cybre commented

You can change the server in raven (the budgie-desktop sidebar). Select the applet in the applet list and click the cog button. It uses gsettings to store the data.

Hey,

Thanks for the config inst. However, for some reason I am getting a Error. Connection to server failed. mind you I added https://. I am not sure what I did, but reverting back to hastebin.com raises the same error. Is there a cache of some sorts that needs to be cleared??

cybre commented

Hmm. I'll investigate when I get home from school.

On Thu, 15 Sep 2016 04:19 Amer Almadani, notifications@github.com wrote:

Hey,

Thanks for the config inst. However, for some reason I am getting a Error.
Connection to server failed. mind you I added https://. I am not sure
what I did, but reverting back to hastebin.com raises the same error. Is
there a cache of some sorts that needs to be cleared??


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#7 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC9TQaXqYY_u6f4VQVQ-l34oUnsyKHKjks5qqKsjgaJpZM4J8Kyd
.

cybre commented

Fixed! I'll wait for you to try it out to close the issue. I used your server for testing so sorry for the spam xD.

Hey,

Thanks for going through with this.

Unfortunately it's not working for me. I keep getting this error.

(budgie-panel:1497): GLib-GIO-ERROR **: Settings schema 'com.github.cybre.haste-applet' does not contain a key named 'protocol'
Trace/breakpoint trap (core dumped)

So, I added

<key type="s" name="protocol">
      <default>'https'</default>
      <summary>protocol</summary>
      <description>protocol</description>
</key>

But, I still get the same error. Keep in mind, budgie panel in its entirety fails to load due to the error.

Could you please try it on https://ma.tc

I am sure it's a misunderstanding from my part.

cheers, and thanks.

cybre commented

Ah, completely my fault. I have somehow managed to not include that key in the commit. It's now there. Rebuild please.

EDIT: That URL works.

Interesting...how did you get it to work??

This is the out put I get

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://ma.tc/documents">here</a>.</p>
</body></html>

Status Code: 301

EDIT: I am still getting a connection error.
I followed the build instructions stated. I only changed the the address and protocol in NewHasteView and gschema

cybre commented

Did you include the protocol?

Yup

cybre commented

This is so weird.

cybre commented

Don't change it in the files. Leave it as it is and change in the settings.

aha...wait, let me try it your way.

Should I change it pre or post build?

Ohhhhhhh.....My bad. Just disregard everything I said.

cybre commented

What was it?

i kept changing the address and protocol in gschema manually...didn't realize that there was a settings option in raven. This is so embarrassing. Sorry for being the idiot of the day. Drat and double drat.

Thanks for everything...I probably wasted your valuable time. It's working flawlessly now.

cybre commented

Haha, I even explained it in my first response :P. Well, at least I've finally added https support. Cheers!