x2rider / OMISS-Awards

Excel and LibreOffice template to calculate OMISS award standings based on imported contact logs
GNU General Public License v3.0
4 stars 1 forks source link

Error processing all awards #13

Closed MikeWills closed 2 years ago

MikeWills commented 2 years ago

I am getting an error running the awards on the new version. I am attaching my adi file and a screenshot of the debugger. I am wondering if it's better if you use the power field rather than try to parse the text field, you might have better luck. Then it's on the person to log their power. netlogger.txt Rename to adi

Screen Shot 2022-05-08 at 11 56 37 PM
x2rider commented 2 years ago

Can you change QRP/10 to QRP10?

On Mon, May 9, 2022 at 12:09 AM Mike Wills @.***> wrote:

I am getting an error running the awards on the new version. I am attaching my adi file and a screenshot of the debugger. I am wondering if it's better if you use the power field rather than try to parse the text field, you might have better luck. Then it's on the person to log their power. netlogger.txt https://github.com/x2rider/OMISS-Awards/files/8648868/netlogger.txt Rename to adi [image: Screen Shot 2022-05-08 at 11 56 37 PM] https://user-images.githubusercontent.com/139305/167344121-4ff862a1-6c04-48aa-b912-d1a68ce50bfc.png

— Reply to this email directly, view it on GitHub https://github.com/x2rider/OMISS-Awards/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWHR7QS2QRTDXXBR62D75TVJCMXZANCNFSM5VNBZXOQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

MikeWills commented 2 years ago

It's still breaking there. "NEW QRP10 12823/13690"

Isn't the QRP WAS for when you are operating QRP, not when you work QRP stations? What you are reading would be if the station worked is QRP.

The rules are "Work stations in all 50 states of the USA QRP using 10 watts of power or less." Unless I'm confused.

x2rider commented 2 years ago

Ah, you are correct. I'll remove that sheet for now, maybe it's one that could be requested, although a tough one to accomplish.

The power routine is still needed for QRP endorsements on other awards, so if you still have issues there, I'll need to know the format of the string it's trying to parse.

MikeWills commented 2 years ago

Yeah string parsing is hard especially when the input has no control or consistency. I thought I'd share that before too many people report issues.

x2rider commented 2 years ago

Looks like the issue is the new members member numbers being on the same line.

x2rider commented 2 years ago

I think I have the parser working for this type of string Mike, please try the latest.

MikeWills commented 2 years ago

I think it's working now. No errors after the latest update. Thanks!