Announcement

Collapse
No announcement yet.

BulkUpload causes RPC error

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • BulkUpload causes RPC error

    I have program that will run a bulkUpload.py on a button click. After the bulkUpload is complete, I cannot send an RPC. The program hangs. When I restart the program I get the following error:

    Permanent license created on 2012-02-14 14:14:45.343000 for 000020
    DEBUG:snaplib.snaplib.RpcCodec:Received RPC payload with invalid appended CRC *and* CRC validation is currently active, packet discarded

    I have found that the nvparam.dat file changes when I do a bulk upload. If I delete the nvparam.dat file from the folder and replace it with a copy from another folder, an rpc can be sent without timeouts or errors.

    How do I keep the original nvparam.dat file from changing?

    ******************************
    UPDATE:
    I started the sniffer after I did a bulk upload and the SNIFFER Info shows the rpc is now sending a CRC value with the command.

    Method: pumpOn() CRC:5809
    Method: pumpOff() CRC:8FA9

    There are no changes the to the configuration parameters that I can see when looking at the node on Portal.

    *****************************

    The nvparam.dat file looks like this before an upload:

    ccopy_reg
    _reconstructor
    p1
    (csnapconnect.AutoPickler
    AutoSaver
    p2
    c__builtin__
    object
    p3
    NtRp4
    (dp5
    S'_auto_save_file_path'
    p6
    S'C:\\Users\\Cathy\\Documents\\snapconnect-3.4.5-examples\\manual\\nvparams.dat'
    p7
    sS'params'
    p8
    (dp9
    I2
    S'\x00\x1c,\x00\x00\x00\x00 '
    p10
    sI3
    I0
    sI4
    I0
    sI5
    I1
    sI6
    I1
    sI11
    I0
    sI78
    I1
    sI50
    I0
    sI19
    I8
    sI20
    I60000
    sI21
    I1000
    sI22
    I5000
    sI23
    I5000
    sI24
    I10000
    sI25
    I3
    sI26
    I500
    sI27
    I2
    sI28
    I5
    sI29
    I1
    sI30
    I0
    sI52
    I0
    ssS'version'
    p11
    I1
    sb.

    This is the after upload file:

    ccopy_reg
    _reconstructor
    p1
    (csnapconnect.AutoPickler
    AutoSaver
    p2
    c__builtin__
    object
    p3
    NtRp4
    (dp5
    S'_auto_save_file_path'
    p6
    S'C:\\Users\\Cathy\\Documents\\snapconnect-3.4.5-examples\\Pump for Grow Pod\\nvparams.dat'
    p7
    sS'params'
    p8
    (dp9
    I2
    S'\x00\x1c,\x00\x00\x00\x00 '
    p10
    sI3
    I0
    sI4
    I0
    sI5
    I1
    sI6
    I1
    sI11
    I256
    sI19
    I8
    sI20
    I0
    sI21
    I1000
    sI22
    I5000
    sI23
    I5000
    sI24
    I10000
    sI25
    I3
    sI26
    I500
    sI27
    I3
    sI28
    I6
    sI29
    I63
    sI30
    I1
    sI50
    I0
    sI51
    S''
    sI52
    I2
    sI78
    I1
    ssS'version'
    p11
    I1
    sb.

    I am using RF200P81 nodes and an RF266PC1 bridge.

    Please let me know if you need to see my entire program or if I am even on the right track. Thank you.
    Last edited by Cathy_Hanna; 11-14-2017, 08:57 AM. Reason: Added more information
Working...
X