maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] Prey - antitheft system (https://talk.maemo.org/showthread.php?t=92829)

caprico 2014-05-28 10:48

Re: [WIP] Prey - antitheft system
 
Same problem here:

Code:

-- Looking for connection...
 -- Got network connection!

 == Registering device under account!

 -- Gathering system and hardware information...
which: no laptop-detect in (/bin:/sbin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/nemo/bin:/usr/share/prey/platform/linux/bin)
 -- Sending request to Prey Control Panel...
 -- Got response status 422.
 -- Couldn't add this device to your account. Make sure you have available slots!

-Only 1 out of 3 devices are used on my Prey account
-I verified the API key

az2111 2014-05-28 13:36

Re: [WIP] Prey - antitheft system
 
I hope you could help us. what are we doing wrong?

nieldk 2014-05-28 15:06

Re: [WIP] Prey - antitheft system
 
well, I will look at this, the culpritt is
"which: no laptop-detect in"

I am not sure why you have this issue, I just had to completely reinstall my device, and I didnt have this issue.

caprico 2014-05-28 17:19

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by nieldk (Post 1426975)
well, I will look at this, the culpritt is
"which: no laptop-detect in"

I am not sure why you have this issue, I just had to completely reinstall my device, and I didnt have this issue.

Thanks a lot - the "no laptop-detect" culprit suprised me as well. I'll try to find out more about it, but no success so far.

@az2111: What message do you get when opening prey.sh via terminal next to response status 422?

nieldk 2014-05-28 17:37

Re: [WIP] Prey - antitheft system
 
could you try to uninstall prey, and then re-install ?
I have no "laptop-detect" on my system ...

caprico 2014-05-28 18:04

Re: [WIP] Prey - antitheft system
 
Just did that (re-install) that and updated the config file with my information. Running /usr/share/prey/prey.sh --check gave back the same "no laptop-detected in..." and 422 status messages like previously.

I wonder if it has to do something with my new Prey account. I set it up just yesterday (didn't have one previously).

On Prey Help Center someone with status responce 422 connection error got following answer: "Now, the reason why Prey is having trouble registering your device is because it’s trying to call a function that, for some reason, hasn’t been loaded (full_hardware_params). "

Unfortunately I can't do anything with that answer ;)

EDIT: I'll try it out on another Sailfish device. Let's see what happens there.
EDIT2: Ok, tested it with another Sailfish device (fresh install) and got the same problem.

nieldk 2014-05-28 18:39

Re: [WIP] Prey - antitheft system
 
1 Attachment(s)
hmm seems they made a few changes serverside.
Can you try to change the device type to "tablet" (se screenshot)

caprico 2014-05-28 19:14

Re: [WIP] Prey - antitheft system
 
Thanks again for your answer. The problem is that no new device (Jolla) was added to my profile. So I can't change any configurations. I set up a computer with the official client - that worked well.

The option "Add device" just sends me to a link where I can download various clients (I was hoping to see an option there to manually set up a device).

So it indeed seems that due to some server changes, new Prey users can't register a Sailfish device anymore.

nieldk 2014-05-28 19:53

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by caprico (Post 1427060)
Thanks again for your answer. The problem is that no new device (Jolla) was added to my profile. So I can't change any configurations. I set up a computer with the official client - that worked well.

The option "Add device" just sends me to a link where I can download various clients (I was hoping to see an option there to manually set up a device).

So it indeed seems that due to some server changes, new Prey users can't register a Sailfish device anymore.

perhaps its worth a try to uninstall latest version (prey-0.6.3-1) and then try by install the previous version (prey-0.6.2-6)
Direct link to rpm package (install in terminal)
https://openrepos.net/sites/default/...-6.armv7hl.rpm

caprico 2014-05-28 20:21

Re: [WIP] Prey - antitheft system
 
Quote:

Originally Posted by nieldk (Post 1427070)
perhaps its worth a try to uninstall latest version (prey-0.6.3-1) and then try by install the previous version (prey-0.6.2-6)
Direct link to rpm package (install in terminal)
https://openrepos.net/sites/default/...-6.armv7hl.rpm

Good one :) That worked! Device is registered and shows up as Jolla on Prey profile. "No laptop-detect" still appears, but doesn't seem to influence the registration.

Code:

>> Registering device under account!

 -- Gathering system and hardware information...
which: no laptop-detect in (/bin:/sbin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/nemo/bin:/usr/share/prey/platform/linux/bin)
 -- Sending request to Control Panel...
 -- Got response status 201.
 -- Device succesfully registered! Applying configuration...
 -- All set. Assigned key is xxxxxx.
 -- Checking URL...

 == Verifying status...

...



All times are GMT. The time now is 09:56.

vBulletin® Version 3.8.8