Open fred777 opened 2 years ago
Thanks. I ran into that issue, but think it should not occur with recent versions of editcp, but I could be wrong. What version of editcp are you using?
It happens on both - Linux and Windows - with version 1.0.28
I tried also with dmrconfig: https://github.com/OpenRTX/dmrconfig
It seems the radio drops connection and reboots when initiating the upload. (I'm using a stripped down database with only 14000 contacts but it also happens with full database (which is too big for the memory)).
Side note: In the device, the ContactsCSV list was always showing garbage - right from the start after the firmware update and before any attempt to upload the db. There where 65536 items in the list with random non-asci characters.
I finally got the db transferred with the original tool from Retevis on Windows.
Since then, it has become possible to upload the db with editcp without any issues.
So I guess it's an issue with the internal memory state of the radio.
I'm pretty sure it's a bug in editcp. It occurs when one of the user database files it downloads has a zero length. I'll look into it. Thanks for the report. BTW, the maximum number of user contacts that the MD-UV380 can hold is 122197 users.
Please try editcp v1.0.29
Thanks.
Dale NO7K
On Fri, Feb 4, 2022 at 11:19 AM fred777 @.***> wrote:
When I hit "Write MD-UV380 user database to radio", editcp will just crash. After restart it will show the following error:
panic: runtime error: slice bounds out of range [1:0]
goroutine 24 [running]:github.com/dalefarnsworth-dmr/userdb.downloadReflectorUsers(0x0, 0x0, 0x0, 0x0, 0x0) @./userdb.go:1112 +0x373github.com/dalefarnsworth-dmr/userdb.do(0x2, 0x195885c, 0x14c3a200) @./userdb.go:1189 +0x30 created by github.com/dalefarnsworth-dmr/userdb.(*UsersDB).getUsers @.***/userdb.go:1199 +0x8a
My RT3S/MD-UV380 has latest firmware RT3S(CSV-GPS)-P18.16.bin
Not sure if I am supposed to download the user database somehow first... I'm a DMR newbee...
— Reply to this email directly, view it on GitHub https://github.com/DaleFarnsworth-DMR/editcp/issues/20, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNFCV52B6J5JM5M7YQ2VS3UZQKCVANCNFSM5NSPHG6Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
When I hit "Write MD-UV380 user database to radio", editcp will just crash. After restart it will show the following error:
My RT3S/MD-UV380 has latest firmware RT3S(CSV-GPS)-P18.16.bin
Not sure if I am supposed to download the user database somehow first... I'm a DMR newbee...