Quantcast
Channel: GSAK Forum
Viewing all 76122 articles
Browse latest View live

Is it safe to add records to the PublishLogs table by Kai Team - 2025-02-24

$
0
0
QUOTE (Gill & Tony @ February 23, 2025 07:19 pm)
It didn't like me omitting the pPublished field as it defaulted to null, rather than zero.  It also defaulted pZone to null, so I thought I'd better get that from the database,  pIsOwner defaulted to null and I assumed that you wouldn't log NM or NA on your own cache, so I defaulted that to zero.

You may consider this semantics but FYI GSAK did not default these values to 'null' - it just doesn't have default values for those fields. GSAK does not allow null values and I'm sure Clyde would not have use null for default values. wink.gif

Is it safe to add records to the PublishLogs table by Gill & Tony - 2025-02-24

$
0
0
By "it" I meant SQL, but I get your point.

DBBrowser showed the values as a faded word Null.

How to save spoiler photo by lignumaqua - 2025-02-24

$
0
0
QUOTE (Gill & Tony @ February 23, 2025 07:36 pm)
The delay is in the IgnoreLinks subroutine.  The call to Sysinfo() takes about 1.5 seconds each time it is called.  This is where gsak.ini is referenced.

I'll try to exclude the whole GSAK app data folder and see if that makes a difference

The SysInfo call is exactly what I suggested was the problem. However as I recall the macro only calls it once, not ten times, so that 1.5 seconds doesn’t explain the 15 seconds delay you are seeing.

How to save spoiler photo by Gill & Tony - 2025-02-24

$
0
0
True

I've restarted the machine after excluding the whole appdata/roaming/gsak folder, with no change.

I'm beginning to think that this is something I'm just going to have to live with.

How to save spoiler photo by lignumaqua - 2025-02-24

$
0
0
You should be able to find the source of the delay using debug as you mentioned before.

Edit: Actually, if you don't have excluded domains in your image capture, then you could just comment out the call to IgnoreLinks.

How to save spoiler photo by Gill & Tony - 2025-02-24

$
0
0
The macro calls the subroutine once, but the subroutine calls SysInfo inside a while loop.
GSK
BEGINSUB name=GetIgnoreLinks
  $linkcount = Val(SysInfo("gsakini;GrabbedImages.memLinks.Lines;Count")) - 1
  $ignorelinks = ""
  WHILE $linkcount >= 0
     $linkstring = "gsakini;GrabbedImages.memLinks.Lines;Item" + "$linkcount"
     $ignorelinks = $ignorelinks + SysInfo($linkstring)
     IF $linkcount <> 0
        $ignorelinks = $ignorelinks + ";"
     ENDIF
     $linkcount = $linkcount - 1
  ENDWHILE
ENDSUB


Maybe there is something weird about my setup where I have more of whatever $linkcount is counting than other folk.

How to save spoiler photo by Gill & Tony - 2025-02-24

$
0
0
I've just checked and my value of $LinkCount is 13. Plus the call to sysinfo to get $Linkcount, that gives 14 calls to sysInfo.

How to save spoiler photo by lignumaqua - 2025-02-24

$
0
0
Ah! That makes sense now. I have no entries in the domain exclusions for grab images. Sounds like you have 10.

Are you 100% sure you disabled live scanning with Microsoft Defender as well as any other anti-virus scanners you might have installed? I'm pretty certain that's the problem with SysInfo and gsak.ini.

Still nothing to stop you commenting out that subroutine call. It's only used if you 'Grab Images' from the macro itself when the excluded domains are passed to the internal GSAK Grab Images routine. If you only Grab Images through GSAK itself then this call isn't needed.

How to save spoiler photo by Gill & Tony - 2025-02-24

$
0
0
QUOTE (lignumaqua @ February 24, 2025 10:48 am)

Edit: Actually, if you don't have excluded domains in your image capture, then you could just comment out the call to IgnoreLinks.

So, $LinkCount is connected to the things to ignore in the Database>grab images dialogue.

That explains it. I have a lot of stuff to exclude there.

I've just done a test.

Deleting that list of files to exclude cuts the time down to just a second or two.

Problem solved.

How to save spoiler photo by Gill & Tony - 2025-02-24

$
0
0
Cross posted with your last post.

I can comment out that subroutine call. Then, if I do grab images from within the macro, the exclusion list won't be applied fot just that call.

That sounds perfect.

Thanks for guiding me through this.

EDIT: Just tried it. Works perfectly.

How to save spoiler photo by lignumaqua - 2025-02-24

$
0
0
Glad that resolved it. I still think you need to find the core problem, which is 99.9% likely some kind of AV protection. You saw the problem in this macro because of the 10x multiplier, but this will be slowing down GSAK itself as well as every other macro that uses SysInfo. 1.5 seconds every time...

Garmin Drive Assist Export Support Thread. by hynr - 2025-02-24

$
0
0
I just started using the macro with a Smartdrive 61.

I noticed that the POI exported files from a previous run are then still there, each with a ~ in the name. In looking at the code, I see that that is by design. My preferred mode would be to not have old files in the GPS since it clutters things up. But I am not suggesting to change your design philosophy for me.

So I just delete the entire POI folder. Simple, quick solution, but with one issue. When there is no POI folder, the macro generates an error message that "you cannot write a file here". So perhaps you can trap that error and create an empty POI folder before trying to export to it. Just a suggestion.

Thanks for still supporting this macro.

Garmin Drive Assist Export Support Thread. by ian-and-penny - 2025-02-24

$
0
0
QUOTE (hynr @ February 24, 2025 09:46 am)
I just started using the macro with a Smartdrive 61.

I noticed that the POI exported files from a previous run are then still there, each with a ~ in the name. In looking at the code, I see that that is by design. My preferred mode would be to not have old files in the GPS since it clutters things up.

Hi there,
The macro should/will clear out all of the old poi’s.
It will take some time in MTP mode, but is very fast in file transfer mode.

BadgeGen_V4.0 feed back by taybee - 2025-02-24

$
0
0
QUOTE (JuergB @ February 24, 2025 10:43 am)
With the new V60 something strange happened:
After running it once unchanged, it showed a max. limit for photos of 100. Because my databese for trackabels is called "MyTrackables" (without space) the macro didn't find the database and showed " trackable moved/discovered(max. 25 pts )  ( 0  trackables0 pt)"
After editing the macro to change the name of the database I got the previous error back:
0.05 points per trackable moved/discovered(max. 125 pts )  ( 2402  trackables120.1 pt)
0.1 points per Photo uploaded(max. 125 pts )  ( 1730  Photos125 pt)


Badegen_V4 using the Database call "My Trackables" for coins and trackables you may want to change your Data base to "My Trackables". so you dont have to change BadgeGen_v4 next time you upload a new copy

looking at your Profile page generated on 12-02-2025
you have 1177.48 points

therefore the max level is 5 on the points you got see pic below

user posted image

so
0.1 points per Photo uploaded(max.(250 uploads x 5 =) 125 pts ) ( 1730 Photos125 pt)

when the belts total points get to 1200 or more this will change the max level to 6




Generate Badges Based On Finds by taybee - 2025-02-24

$
0
0
BadgeGen_v4 Update V4.0.61

sorry All left one line of test code in that remove same diamond levels

BadgeGen_V4.0 feed back by taybee - 2025-02-24

$
0
0
BadgeGen_v4 Update V4.0.61

sorry All left one line of test code in that remove same diamond levels
the line to remove the following Line

GSK
$Htmlcode=replace("D1","D",$htmlcode)


Upload Link

The CW_FoundAdventureLabs macro, Support Thread by [JJDP] - 2025-02-24

$
0
0
I need a little help trying to figure out why one lab out of hundreds is not imported into my database. The process runs to completion with no errors displayed.

Here are the entries from labfinds.csv. Let me know if you need any more information.

304,2219ddeb-5383-41c5-b384-1db7443cafd4,501c2959-9b2d-4201-807e-7dbbe9dfb959,10,98969bf9-c125-4654-acfc-a9ce4eda2131,2/13/2025,115040001,~quote~SIGNS~comma~ SIGNS~comma~ EVERYWHERE THE SIGNS~quote~,~quote~25 Years Locationless Cache Photo Opportunity!~quote~
304,2219ddeb-5383-41c5-b384-1db7443cafd4,501c2959-9b2d-4201-807e-7dbbe9dfb959,9,35628824-aa6e-4007-bf93-b06de877af25,2/13/2025,115039704,~quote~SIGNS~comma~ SIGNS~comma~ EVERYWHERE THE SIGNS~quote~,~quote~You Got To Have A Membership Card To Get Inside~quote~
304,2219ddeb-5383-41c5-b384-1db7443cafd4,501c2959-9b2d-4201-807e-7dbbe9dfb959,8,1ec0f59a-aaf6-4af9-a3f2-418b954b8237,2/13/2025,115039680,~quote~SIGNS~comma~ SIGNS~comma~ EVERYWHERE THE SIGNS~quote~,~quote~Long Hair Freaky People Need Not Apply~quote~
304,2219ddeb-5383-41c5-b384-1db7443cafd4,501c2959-9b2d-4201-807e-7dbbe9dfb959,7,051df8a5-c276-43cf-92c4-0480ddc901c4,2/13/2025,115039648,~quote~SIGNS~comma~ SIGNS~comma~ EVERYWHERE THE SIGNS~quote~,~quote~Anybody Caught Trespassing Will Be Shot On Sight~quote~
304,2219ddeb-5383-41c5-b384-1db7443cafd4,501c2959-9b2d-4201-807e-7dbbe9dfb959,6,93267b4e-d50d-4d36-8a0c-1a44df366177,2/13/2025,115039583,~quote~SIGNS~comma~ SIGNS~comma~ EVERYWHERE THE SIGNS~quote~,~quote~Everybody Welcome Come In Kneel Down And Pray~quote~
304,2219ddeb-5383-41c5-b384-1db7443cafd4,501c2959-9b2d-4201-807e-7dbbe9dfb959,5,~quote~No-Image-The Copper Kettle~quote~,2/18/2023,51547680,~quote~SIGNS~comma~ SIGNS~comma~ EVERYWHERE THE SIGNS~quote~,~quote~The Copper Kettle~quote~
304,2219ddeb-5383-41c5-b384-1db7443cafd4,501c2959-9b2d-4201-807e-7dbbe9dfb959,4,~quote~No-Image-Hippies Love Coffee~quote~,2/18/2023,51547585,~quote~SIGNS~comma~ SIGNS~comma~ EVERYWHERE THE SIGNS~quote~,~quote~Hippies Love Coffee~quote~
304,2219ddeb-5383-41c5-b384-1db7443cafd4,501c2959-9b2d-4201-807e-7dbbe9dfb959,3,~quote~No-Image-Mocha Madness~quote~,2/18/2023,51547324,~quote~SIGNS~comma~ SIGNS~comma~ EVERYWHERE THE SIGNS~quote~,~quote~Mocha Madness~quote~
304,2219ddeb-5383-41c5-b384-1db7443cafd4,501c2959-9b2d-4201-807e-7dbbe9dfb959,2,~quote~No-Image-The Drowsy Poet~quote~,2/18/2023,51547065,~quote~SIGNS~comma~ SIGNS~comma~ EVERYWHERE THE SIGNS~quote~,~quote~The Drowsy Poet~quote~
304,2219ddeb-5383-41c5-b384-1db7443cafd4,501c2959-9b2d-4201-807e-7dbbe9dfb959,1,~quote~No-Image-Cottage Of Love~quote~,2/18/2023,51547038,~quote~SIGNS~comma~ SIGNS~comma~ EVERYWHERE THE SIGNS~quote~,~quote~Cottage Of Love~quote~

Feld FindNum aus Groundspeak füllen by peter55 - 2025-02-24

$
0
0
Good evening,
I have loaded a current "My Finds Pocket Query".
Then set FindNum = 0
Called macro "FillFinds.gsk".
Not even 3 seconds later the macro is finished, but there is no change in the FindNum field. The 6956 records cannot have been processed that quickly.

Any idea where else I could look for something?
Thanks.

Feld FindNum aus Groundspeak füllen by Kai Team - 2025-02-24

$
0
0
Please specifically confirm that:

1) all of your found caches are marked as found in GSAK,

2) each of your found caches in GSAK conatins a found log by you,

3) you have gone to Database>Global Replace and Replaced the FindNun field with nothing (the "With" fied is blank):

user posted image

Then run the FillFinds macro on the database that contains your finds.

Feld FindNum aus Groundspeak füllen by Kai Team - 2025-02-24

$
0
0
PS - if that doesn't work, please show us a screen shot of your settings for FillFinds - i.e. a screen shot of this dialog that appears when you run the macro:

user posted image
Viewing all 76122 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>