Comments (7)
From what I can deduce by the filename, you are trying to import a folder?
The program doesn't support importing folders (yet?), I should probably add guards against trying to import folders for the time being.
Try zipping the folder and import that instead.
from osu-pack-importer.
Hmm, ty for the reply, seems to go further now than access denied but still stuck on other error message. I would assume it means beatmap pack is too big ?
E:\Downloads\xd>OsuPackImporter.exe "E:\Downloads\xd\nomod consistency pack.7z"
INFO: Importing archive E:\Downloads\xd\nomod consistency pack.7z
.
Unhandled exception. System.IO.IOException: Stream was too long.
at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Stream.CopyTo(Stream destination, Int32 bufferSize)
at System.IO.Strategies.BufferedFileStreamStrategy.CopyTo(Stream destination, Int32 bufferSize)
at System.IO.FileStream.CopyTo(Stream destination, Int32 bufferSize)
at System.IO.Stream.CopyTo(Stream destination)
at OsuPackImporter.Collections.ExtendedCollection.GetArchive(Stream stream)
at OsuPackImporter.Collections.ExtendedCollection.Parse(ProgressContext context)
at OsuPackImporter.Collections.ExtendedCollection..ctor(Stream stream, String name, ProgressContext context)
at OsuPackImporter.Collections.ExtendedCollection..ctor(String path, ProgressContext context)
at OsuPackImporter.Program.<>c__DisplayClass6_0.<Run>b__0(ProgressContext ctx)
at Spectre.Console.Progress.<>c__DisplayClass25_0.<Start>b__0(ProgressContext ctx) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 65
at Spectre.Console.Progress.<>c__DisplayClass27_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 98
--- End of stack trace from previous location ---
at Spectre.Console.Progress.<>c__DisplayClass28_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 133
--- End of stack trace from previous location ---
at Spectre.Console.Internal.DefaultExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console/Internal/DefaultExclusivityMode.cs:line 40
at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 116 at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 96
at Spectre.Console.Progress.Start(Action`1 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 69
at OsuPackImporter.Program.Progress(Action`1 action)
at OsuPackImporter.Program.Run(Options options)
at OsuPackImporter.Program.<>c.<Main>b__4_0(Options o)
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
at OsuPackImporter.Program.Main(String[] args)
from osu-pack-importer.
For the record, how big the file is?
from osu-pack-importer.
2.87GB uncompressed
from osu-pack-importer.
Yup, that might be it. MemoryStream
doesn't seem, to support buffers more than 2 GB by default.
I might need to find an alternative to that.
I don't have access to a Windows box as of right now but it could be useful if you could attach your compressed pack (if you can, I don't know GitHub's limitations on file size), so that I could check against it later.
from osu-pack-importer.
https://drive.google.com/file/d/1BHuxOgakjm9iTLro21zJpWE8Oq4mw4Ce/view?usp=sharing
This should work. As for current issue i'm just gonna split the pack in 2 and then merge collections
from osu-pack-importer.
I think the original issue is solved I guess, I'll open a new issue for the file size.
from osu-pack-importer.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osu-pack-importer.