ColinRobbins / scm-helper

Helper tool to manage data in Swim Club Manager
MIT License
3 stars 0 forks source link

First run analyse '>' not supported between instances of 'str' and 'int' #15

Closed MarkMGlanville closed 4 years ago

MarkMGlanville commented 4 years ago

Hi Colin, During first run of analyse, this error has been displayed. Appreciate that you have put a lot of time into this with the features which are very interesting.

Hopefully you can assist with this issue.

Best regards Mark Glanville 2020-07-05 21_36_31-Slough Dolphin Swimming Club and 1 more page - Personal - Microsoft​ Edge

ColinRobbins commented 4 years ago

Hello,

That seems odd. Can you please edit the config file, and change the line

Debug: 0

To

Debug: 1

And it should give some more clues as to what is going on.

Thanks.

Colin.

MarkMGlanville commented 4 years ago

Good Morning Colin,

Have attached debug results.

Searched SCM for active and inactive members for “XXX" or “XXX” or any combination of three characters from these names with no positive results. Searched SCM for active and inactive members for “XXX" and there are 20 results. Closer inspection of every name did not find any reference to these attributes “XXX" or “XXX”

Best regards Mark Glanville

From: Colin Robbins notifications@github.com Sent: 06 July 2020 07:51 To: ColinRobbins/scm-helper scm-helper@noreply.github.com Cc: MarkMGlanville markmglanville@msn.com; Author author@noreply.github.com Subject: Re: [ColinRobbins/scm-helper] First run analyse '>' not supported between instances of 'str' and 'int' (#15)

Hello,

That seems odd. Can you please edit the config file, and change the line

Debug: 0

To

Debug: 1

And it should give some more clues as to what is going on.

Thanks.

Colin.

On Sun, 5 Jul 2020 at 22:04, MarkMGlanville notifications@github.com<mailto:notifications@github.com> wrote:

Hi Colin, During first run of analyse, this error has been displayed. Appreciate that you have put a lot of time into this with the features which are very interesting.

Hopefully you can assist with this issue.

Best regards Mark Glanville [image: 2020-07-05 21_36_31-Slough Dolphin Swimming Club and 1 more page - Personal - Microsoft​ Edge] https://user-images.githubusercontent.com/67877503/86542193-72376580-bf0b-11ea-8d2c-994f732e38c2.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ColinRobbins/scm-helper/issues/15, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGXZ6KIHXWGEKH4JTUWR43R2DTF7ANCNFSM4ORBLJWQ .

-- Colin Robbins (from mobile)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FColinRobbins%2Fscm-helper%2Fissues%2F15%23issuecomment-654048493&data=02%7C01%7C%7Ce9449343ee6e4f11bc0008d82178e43f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637296150386995924&sdata=qX1pFUquIEle22XXbHM1I0KOnTUcPREsuTE9jJWziB0%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQF3U7YLFPD35ANK42GQH2TR2FX35ANCNFSM4ORBLJWQ&data=02%7C01%7C%7Ce9449343ee6e4f11bc0008d82178e43f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637296150386995924&sdata=OalARPIiruKwougLqoLKCbCuQPoI6%2Bd7ljLGyfWu81c%3D&reserved=0.

Reading Data... (version: 1.3) Sessions... 44 Groups... 30 Lists... 2 Roles... 23 Conduct... 1 2 3 4 5 Members... 100 200 Traceback (most recent call last): File "scm_helper\gui.py", line 940, in wrap File "scm_helper\api.py", line 216, in get_data File "scm_helper\entity.py", line 57, in get_data File "scm_helper\members.py", line 79, in create_entities File "scm_helper\members.py", line 71, in check_duplicate File "scm_helper\issue.py", line 425, in issue TypeError: '>' not supported between instances of 'str' and 'int'

self: Thread-1 self: Thread-1 self: Thread-1 aclass: Members self: Members self: Members data: XXXX self: Members xobject: XXXx

ColinRobbins commented 4 years ago

I have hopefully fixed this in the development tree.

Please try this download: https://github.com/ColinRobbins/scm-helper/raw/dev/download/scm.zip

MarkMGlanville commented 4 years ago

Hello Colin, Success. Thank you for your prompt action. Best regards Mark Glanville

From: Colin Robbins notifications@github.com Sent: Tuesday, July 7, 2020 8:01 PM To: ColinRobbins/scm-helper scm-helper@noreply.github.com Cc: MarkMGlanville markmglanville@msn.com; Author author@noreply.github.com Subject: Re: [ColinRobbins/scm-helper] First run analyse '>' not supported between instances of 'str' and 'int' (#15)

I have hopefully fixed this in the development tree.

Please try this download: https://github.com/ColinRobbins/scm-helper/raw/dev/download/scm.ziphttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FColinRobbins%2Fscm-helper%2Fraw%2Fdev%2Fdownload%2Fscm.zip&data=02%7C01%7C%7C3ff7f912c5ec4e6c0fd908d822a80727%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637297452347959239&sdata=Mx2KYd0xWbA82Un3PVfVcmqewIwppZ1OQjxLmPGEMhg%3D&reserved=0

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FColinRobbins%2Fscm-helper%2Fissues%2F15%23issuecomment-655059902&data=02%7C01%7C%7C3ff7f912c5ec4e6c0fd908d822a80727%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637297452347969234&sdata=NfO7r1gZGHb%2FbnTs7eJygSaPLu%2B3UG7Iwo8uiTOel%2B8%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQF3U74IXALBP62C7CY5FL3R2NWFDANCNFSM4ORBLJWQ&data=02%7C01%7C%7C3ff7f912c5ec4e6c0fd908d822a80727%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637297452347979230&sdata=R6pCntQvrmRLGGU1V1rSi84GP%2BnbTBGPjhPvWeUc4%2Bk%3D&reserved=0.

ColinRobbins commented 4 years ago

Fixed in 1.3.1