Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBash memory error #280

Closed
Kvelja opened this issue Mar 15, 2016 · 5 comments
Closed

CBash memory error #280

Kvelja opened this issue Mar 15, 2016 · 5 comments
Labels
A-cbash Area: CBash (historical, has been removed - cint.py, see the CBash repo as well) R-works-for-me Rejection: Bug report could not be reproduced

Comments

@Kvelja
Copy link

Kvelja commented Mar 15, 2016

(My first time reporting a bug for anything like this, so bare with me. I posted on the Bethesda forum thread and was told to post here for the CBash developers to see.)

On a 200+ Oblivion mod setup, after adding TWMP, CBash will not run to build patch due to some kind of memory error, for me specific to the heightmap Tamriel.esp as it consistently runs after disabling this specific esp. (As a user and non-developer, my guess is this is to do with the massive amount of data it's handling from a 154 MB esp.) After selecting build patch, the progress window closes in an instant and an error is returned.

ModFile: Error - Unable to open "Oblivion.esm" as read only via memory mapping.
LoadCollection: Error - Unknown exception


CBash encountered an error LoadCollection Check the log.
Traceback (most recent call last):
  File "bash\balt.py", line 414, in <lambda>
  File "bash\balt.py", line 1574, in _conversation_wrapper
  File "bash\basher\patcher_dialog.py", line 193, in PatchExecute
  File "bash\patcher\patch_files.py", line 471, in buildPatch
  File "bash\cint.py", line 15416, in load
  File "bash\cint.py", line 145, in NegativeIsErrorCheck
bash.cint.CBashError: 'Function returned error code -1.'

I receive this after testing on both Wrye Bash 306 and on 307 development, on both Python 2.7.8 and 2.7.10. Running Windows 7 64-bit. If anymore info is necessary, I'd be happy to provide.

@Utumno Utumno added C-bug Category: Bug, an acknowledged defect in the program A-patchers Area: Patchers (Everything in the patcher package) labels Mar 15, 2016
@Sharlikran
Copy link
Contributor

Sharlikran commented Mar 19, 2016

In regards to the version of Python: Although in theory 2.7.10 may work with Wrye Bash the code has not been checked against change logs. There may be issues that don't appear during run time.

In regards to CBash: Not sure this can't be addressed any time soon due to lack of volunteers and specifically those familiar enough with C++ to look at the CBash python code and C++ code to see where the error comes from. The only thing I can suggest for now is that you use the python dependencies outlined in the documentation in the Wrye Bash Advanced Readme section 2.b and make sure they are the 32 bit versions. This is a 32 bit app and Windows will run it properly with its internal code.

@CaiqueSell
Copy link

Do u got fix this?

@Sharlikran
Copy link
Contributor

Sharlikran commented Aug 5, 2018

Kvelja never gave enough information and those versions are old. If proper information isn't provided it will never get fixed and then there is no point asking for an update on the issue.

If you actually have the error then follow the bug reporting form. Also make sure you are using 307.Beta3

@CaiqueSell
Copy link

307.Beta3 working, tnx, Sharlikran. :)

@Utumno Utumno added R-works-for-me Rejection: Bug report could not be reproduced M-need-info Misc: Not enough info (yet) to determine if valid issue labels Aug 7, 2018
@Utumno Utumno closed this as completed Aug 7, 2018
@Infernio Infernio removed C-bug Category: Bug, an acknowledged defect in the program M-need-info Misc: Not enough info (yet) to determine if valid issue labels Dec 18, 2019
@Infernio Infernio added A-cbash Area: CBash (historical, has been removed - cint.py, see the CBash repo as well) and removed A-patchers Area: Patchers (Everything in the patcher package) labels Mar 1, 2020
@Infernio
Copy link
Member

Infernio commented Jul 1, 2022

CBash is gone since #530, so obsolete.

@Infernio Infernio closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cbash Area: CBash (historical, has been removed - cint.py, see the CBash repo as well) R-works-for-me Rejection: Bug report could not be reproduced
Projects
None yet
Development

No branches or pull requests

5 participants