Jump to content

[1.11.2] FruitKocktail - A Collection Of Mini Life Improvement Mods With Fruit-Based Acronyms As Names - Full Release


Recommended Posts

 

On 7/26/2024 at 3:06 PM, catonthekbd said:

attempting to load latest pear via ckan, and it does not like the zip file :unsure:

CKAN.InvalidModuleFileKraken: PEAR 1:1.0.2.1: C:\Users\caton\AppData\Local\CKAN\downloads\downloading\9254AB50-PEAR-1-1.0.2.1.zip has length 10968, should be 10914
   at CKAN.NetModuleCache.Store(CkanModule module, String path, IProgress`1 progress, String description, Boolean move, CancellationToken cancelToken)
   at CKAN.NetAsyncModulesDownloader.ModuleDownloadComplete(Uri url, String filename, Exception error, String etag)

 

 

16 hours ago, Zaxxon said:

I'm seeing that same file size error installing or updating for the new 7/24 version on all the fruitkocktail mods when installing/updating via CKAN.


Also getting the same error, but only with PLUM and ORANGE. All the others updated just fine. 

Specifically, the error message I'm getting is:

CKAN.InvalidModuleFileKraken: ORANGE 1:1.0.3.2: C:\Users\user\AppData\Local\CKAN\downloads\downloading\2C410850-ORANGE-1-1.0.3.2.zip has length 13842, should be 13788
   at CKAN.NetModuleCache.Store(CkanModule module, String path, IProgress`1 progress, String description, Boolean move, CancellationToken cancelToken)
   at CKAN.NetAsyncModulesDownloader.ModuleDownloadComplete(Uri url, String filename, Exception error, String etag)

CKAN.InvalidModuleFileKraken: PLUM 1:1.1.3: C:\Users\user\AppData\Local\CKAN\downloads\downloading\3B8F3093-PLUM-1-1.1.3.zip has length 37417, should be 37360
   at CKAN.NetModuleCache.Store(CkanModule module, String path, IProgress`1 progress, String description, Boolean move, CancellationToken cancelToken)
   at CKAN.NetAsyncModulesDownloader.ModuleDownloadComplete(Uri url, String filename, Exception error, String etag)

Edited by Grenartia
Link to comment
Share on other sites

May I suggest a way to do away with the need for a blacklist in PEAR ?

The issue is that both static and animated solar panels use ModuleDeployableSolarPanel, so there's a NRE when "deploying" static panels, hence the original dev adding a blacklist to prevent this explicitly for parts in the blacklist, right ?

But considering static panels can usually1 be distinguished from animated ones by the lack of an animationName key, that could be easily achieved automatically by a small change in the pear4solarpanels.cfg patch; instead of :

@PART[*]:HAS[@MODULE[ModuleDeployableSolarPanel]]
{
	MODULE
	{
		name = PearPowerController
	}
	MODULE
	{
		name = PearModule
	}
	@MODULE[ModuleDeployableSolarPanel]
	{
		@retractable = true
	}
}

using

@PART[*]:HAS[@MODULE[ModuleDeployableSolarPanel]:HAS[#animationName]]
{
	MODULE
	{
		name = PearPowerController
	}
	MODULE
	{
		name = PearModule
	}
	@MODULE[ModuleDeployableSolarPanel]
	{
		@retractable = true
	}
}

should only add PEAR to parts with animated solar panels.

This could allow for removing the blacklist and related code entirely, making it slightly easier to maintain for both you and the end users who won't have to add to the blacklist any more.

 

1: I have so far found only one exception to this, the hexagonal static panel in SXT (SXTsolarPanelhex), but having only one part being problematic due to not being properly configured is somewhat better than the current situation.

Link to comment
Share on other sites

On 7/28/2024 at 1:32 AM, Grenartia said:

 

 


Also getting the same error, but only with PLUM and ORANGE. All the others updated just fine. 

Specifically, the error message I'm getting is:

CKAN.InvalidModuleFileKraken: ORANGE 1:1.0.3.2: C:\Users\user\AppData\Local\CKAN\downloads\downloading\2C410850-ORANGE-1-1.0.3.2.zip has length 13842, should be 13788
   at CKAN.NetModuleCache.Store(CkanModule module, String path, IProgress`1 progress, String description, Boolean move, CancellationToken cancelToken)
   at CKAN.NetAsyncModulesDownloader.ModuleDownloadComplete(Uri url, String filename, Exception error, String etag)

CKAN.InvalidModuleFileKraken: PLUM 1:1.1.3: C:\Users\user\AppData\Local\CKAN\downloads\downloading\3B8F3093-PLUM-1-1.1.3.zip has length 37417, should be 37360
   at CKAN.NetModuleCache.Store(CkanModule module, String path, IProgress`1 progress, String description, Boolean move, CancellationToken cancelToken)
   at CKAN.NetAsyncModulesDownloader.ModuleDownloadComplete(Uri url, String filename, Exception error, String etag)

Update: after needing to clear and reinstall for unrelated reasons, PLUM seems to be working, but now ORANGE, PRUNE, and PEAR are borked. 
 

Quote

CKAN.InvalidModuleFileKraken: ORANGE 1:1.0.3.2: C:\Users\user\AppData\Local\CKAN\downloads\downloading\2C410850-ORANGE-1-1.0.3.2.zip has length 13842, should be 13788
   at CKAN.NetModuleCache.Store(CkanModule module, String path, IProgress`1 progress, String description, Boolean move, CancellationToken cancelToken)
   at CKAN.NetAsyncModulesDownloader.ModuleDownloadComplete(Uri url, String filename, Exception error, String etag)

CKAN.InvalidModuleFileKraken: PRUNES 1:1.0.1.1: C:\Users\userAppData\Local\CKAN\downloads\downloading\7F430EFA-PRUNES-1-1.0.1.1.zip has length 7633, should be 7200
   at CKAN.NetModuleCache.Store(CkanModule module, String path, IProgress`1 progress, String description, Boolean move, CancellationToken cancelToken)
   at CKAN.NetAsyncModulesDownloader.ModuleDownloadComplete(Uri url, String filename, Exception error, String etag)

CKAN.InvalidModuleFileKraken: PEAR 1:1.0.2.1: C:\Users\user\AppData\Local\CKAN\downloads\downloading\9254AB50-PEAR-1-1.0.2.1.zip has length 10968, should be 10914
   at CKAN.NetModuleCache.Store(CkanModule module, String path, IProgress`1 progress, String description, Boolean move, CancellationToken cancelToken)
   at CKAN.NetAsyncModulesDownloader.ModuleDownloadComplete(Uri url, String filename, Exception error, String etag)


 

Link to comment
Share on other sites

  • 2 weeks later...
On 8/9/2024 at 9:22 PM, Grenartia said:

Update: after needing to clear and reinstall for unrelated reasons, PLUM seems to be working, but now ORANGE, PRUNE, and PEAR are borked. 
 


 

Update2: The error messages have changed. Now I'm getting:

 

Quote

 

CKAN.InvalidModuleFileKraken: ORANGE 1:1.0.3.2: C:\Users\user\AppData\Local\CKAN\downloads\downloading\2C410850-ORANGE-1-1.0.3.2.zip has SHA1 472A648A1B34852B5A8D3DA70CF35BE0A40FDC34, should be 1EA2DFD3C1001F46CAA4047DEBC9D4A104764D52
   at CKAN.NetModuleCache.Store(CkanModule module, String path, IProgress`1 progress, String description, Boolean move, CancellationToken cancelToken)
   at CKAN.NetAsyncModulesDownloader.ModuleDownloadComplete(Uri url, String filename, Exception error, String etag)

CKAN.InvalidModuleFileKraken: PRUNES 1:1.0.1.1: C:\Users\user\AppData\Local\CKAN\downloads\downloading\7F430EFA-PRUNES-1-1.0.1.1.zip has SHA1 D0AF059160D23585D8E4A672FA168A764B1DEC75, should be 4D01BBC0EC12D30E40DE500302C23ED72077C70B
   at CKAN.NetModuleCache.Store(CkanModule module, String path, IProgress`1 progress, String description, Boolean move, CancellationToken cancelToken)
   at CKAN.NetAsyncModulesDownloader.ModuleDownloadComplete(Uri url, String filename, Exception error, String etag)

CKAN.InvalidModuleFileKraken: PEAR 1:1.0.2.1: C:\Users\user\AppData\Local\CKAN\downloads\downloading\9254AB50-PEAR-1-1.0.2.1.zip has SHA1 D43A633673EE2468EAFB89B2993F1DF95D690914, should be 8B97B001CEA0D109EE8AADB205079A0A33D0344B
   at CKAN.NetModuleCache.Store(CkanModule module, String path, IProgress`1 progress, String description, Boolean move, CancellationToken cancelToken)
   at CKAN.NetAsyncModulesDownloader.ModuleDownloadComplete(Uri url, String filename, Exception error, String etag)

 

 

Link to comment
Share on other sites

  • 2 weeks later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...