JSON::ParserError in DevicesController#update

Richard Verbrugge richard.verbrugge at myhighspeed.ca
Thu Nov 5 17:48:29 EST 2015


I tried the rake assets:precompile in the genieacs-gui directory, restarted
the service but made no difference.

/RV


-----Original Message-----
From: Users [mailto:users-bounces at lists.genieacs.com] On Behalf Of
users-request at lists.genieacs.com
Sent: Wednesday, November 4, 2015 12:00 PM
To: users at lists.genieacs.com
Subject: Users Digest, Vol 12, Issue 3

Send Users mailing list submissions to
	users at lists.genieacs.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.genieacs.com/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
	users-request at lists.genieacs.com

You can reach the person managing the list at
	users-owner at lists.genieacs.com

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Users digest..."


Today's Topics:

   1. Re: Create nested WAN object in preset (Agust?n Bertamoni)
   2. Re: JSON::ParserError in DevicesController#update (Zaid Abdulla)
   3. Re: how to execute the command after change ppp user&pass ?
      (Zaid Abdulla)
   4. Re: JSON::ParserError in DevicesController#update (Dan Morphis)
   5. Re: JSON::ParserError in DevicesController#update (Zaid Abdulla)
   6. ?????: how to execute the command after change ppp user&pass
      ? (?mahmoud helmy? ?)


----------------------------------------------------------------------

Message: 1
Date: Tue, 3 Nov 2015 14:58:15 -0300
From: Agust?n Bertamoni <abertamoni at stechs.com.ar>
To: Community support for GenieACS users <users at lists.genieacs.com>
Subject: Re: Create nested WAN object in preset
Message-ID:
	<CAJtDY1BGiwMt-jPE_9dQ-ta88Ev-XX1BzYVWZy9A+drZvb1NKg at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Thanks!

STECHS - Ing. Agustin Bertamoni
M?vil: (+54911) 62183226
Av. Boyac? 372 Piso 4? Oficina 401 (C1406BHF) Buenos Aires, Argentina

On Sun, Nov 1, 2015 at 5:53 AM, Zaid Abdulla <zaid at genieacs.com> wrote:

> On Thu, Oct 29, 2015, at 03:54 PM, Agust?n Bertamoni wrote:
>
> Zaid
> Thanks in advance for your response!
> Until you can fix this I will use the API to create nested objects, 
> the question is, can be used from the API predefined objects as they 
> are created from presets?
> Thanks again!
>
>
> If you're referring to the object templates in "objects" tab, they're 
> not used in the API. You need to use "addObject" task followed by a 
> "setParameterValues" task. Check the API reference on github for examples.
>
> Zaid
>
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.genieacs.com/pipermail/users/attachments/20151103/519d6b28/att
achment-0001.html>

------------------------------

Message: 2
Date: Wed, 04 Nov 2015 04:15:01 +0300
From: Zaid Abdulla <zaid at genieacs.com>
To: users at lists.genieacs.com
Subject: Re: JSON::ParserError in DevicesController#update
Message-ID:
	<1446599701.4120059.428438849.74C8DB30 at webmail.messagingengine.com>
Content-Type: text/plain

On Mon, Nov 2, 2015, at 08:30 PM, Richard Verbrugge wrote:
> This is using v1.0.0
>
> Any idea as to why?
>

Hi Richard. Just guessing here, but I think you may have updated the GUI but
didn't precompile the assets (i.e. rake asserts:precompile). Can you verify
that?

Zaid


------------------------------

Message: 3
Date: Wed, 04 Nov 2015 04:31:36 +0300
From: Zaid Abdulla <zaid at genieacs.com>
To: users at lists.genieacs.com
Subject: Re: how to execute the command after change ppp user&pass ?
Message-ID:
	<1446600696.4123966.428442497.42C48F8F at webmail.messagingengine.com>
Content-Type: text/plain; charset="utf-8"

On Tue, Nov 3, 2015, at 02:41 AM, ?mahmoud helmy? ? wrote:
> the problem : it lost the connection after change ?ppp user name, 
> (before change ppp password ) , so I want to execute the command after
change ppp (user&pass) together ,?

That should already be the case. All value changes should happen in a single
SetParameterValues request whether or not they're defined in single preset.
You could do a packet capture to double check that (or enable DEBUG flag and
look at the dump data in debug directory).

Zaid


------------------------------

Message: 4
Date: Tue, 3 Nov 2015 16:31:43 -0900
From: Dan Morphis <dan at milkcarton.com>
To: Community support for GenieACS users <users at lists.genieacs.com>
Subject: Re: JSON::ParserError in DevicesController#update
Message-ID: <BC40C4FC-F77B-49A9-9B08-A0BDA6F028D3 at milkcarton.com>
Content-Type: text/plain;	charset=us-ascii

Shouldn't that be:
rake assets:precompile
(assets instead of asserts)
-dan

> On Nov 3, 2015, at 4:15 PM, Zaid Abdulla <zaid at genieacs.com> wrote:
> 
>> On Mon, Nov 2, 2015, at 08:30 PM, Richard Verbrugge wrote:
>> This is using v1.0.0
>> 
>> Any idea as to why?
>> 
> 
> Hi Richard. Just guessing here, but I think you may have updated the 
> GUI but didn't precompile the assets (i.e. rake asserts:precompile). 
> Can you verify that?
> 
> Zaid
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users


------------------------------

Message: 5
Date: Wed, 04 Nov 2015 04:35:43 +0300
From: Zaid Abdulla <zaid at genieacs.com>
To: users at lists.genieacs.com
Subject: Re: JSON::ParserError in DevicesController#update
Message-ID:
	<1446600943.4124450.428452953.499A86C8 at webmail.messagingengine.com>
Content-Type: text/plain

On Wed, Nov 4, 2015, at 04:31 AM, Dan Morphis wrote:
> Shouldn't that be:
> rake assets:precompile
> (assets instead of asserts)
> -dan

Yep, sorry. Good eye though :)

Zaid


------------------------------

Message: 6
Date: Wed, 4 Nov 2015 14:39:38 +0000 (UTC)
From: ?mahmoud helmy? ?  <mahmoudhelmy901 at yahoo.com>
To: Community support for GenieACS users <users at lists.genieacs.com>
Subject: ?????: how to execute the command after change ppp user&pass
	?
Message-ID:
	<362789860.3339326.1446647978608.JavaMail.yahoo at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

thank you for replythis problem happend despite the command insingle preset
but 2 lines ,?how could I write the command to change ppp username&pass
together in asingle SetParameterValues request ???I tried , ?& ? but failed?
      ??: Zaid Abdulla <zaid at genieacs.com>
 ???: users at lists.genieacs.com
 ????? ???????: ???????? 4 ??????? 2015? 3:31 ?
 ???????: Re: how to execute the command after change ppp user&pass ?
   
On Tue, Nov 3, 2015, at 02:41 AM, ?mahmoud helmy? ? wrote:


> the problem : it lost the connection after change ?ppp user name, 
> (before change ppp password ) , so I want to execute the command after
change ppp (user&pass) together ,?

That should already be the case. All value changes should happen in a single
SetParameterValues request whether or not they're defined in single preset.
You could do a packet capture to double check that (or enable DEBUG flag and
look at the dump data in debug directory).

Zaid
_______________________________________________
Users mailing list
Users at lists.genieacs.com
http://lists.genieacs.com/mailman/listinfo/users


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.genieacs.com/pipermail/users/attachments/20151104/0776a417/att
achment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Users mailing list
Users at lists.genieacs.com
http://lists.genieacs.com/mailman/listinfo/users


------------------------------

End of Users Digest, Vol 12, Issue 3
************************************





More information about the Users mailing list