GithubHelp home page GithubHelp logo

Runtime errors on Linux about morelenses HOT 3 CLOSED

astog avatar astog commented on June 10, 2024
Runtime errors on Linux

from morelenses.

Comments (3)

feelotraveller avatar feelotraveller commented on June 10, 2024

Was also having problems on Linux.

The changes in the linked commit fixed the issues for me. :)

Thanks.

from morelenses.

anders-larsson avatar anders-larsson commented on June 10, 2024

Hi,

I'm also having problems with More Lenses. When I load it (no other workshop mods enabled) everything in the lower left corner disappears. That is, the map and all available options.

This is with Rise and Fall and Gathering Storm. In Lua.log I see the following error if it helps:

Error opening/reading where=C:\Emu\AppAssets\DLC\expansion2\UI\Replacements\MinimapPanel_Expansion1.lua:6: , file=\home\user\.local\share\Steam\steamapps\workshop\content\289070\871712879\Base\Assets\UI\minimappanel.lua
Error opening/reading where=C:\Emu\AppAssets\DLC\expansion2\UI\Replacements\ModalLensPanel_Expansion1.lua:6: , file=\home\user\.local\share\Steam\steamapps\workshop\content\289070\871712879\Base\Assets\UI\Panels\modallenspanel.lua
MapPinPopup: initializing MapTacks.IconOptions(0)
MapPinPopup: Selected 13 columns
InGame: Loading InGame UI - ../../../DLC/expansion2/UI/Additions/DedicationPopup
InGame: Loading InGame UI - ../../../DLC/expansion2/UI/Additions/DisloyalCityChooser
InGame: Loading InGame UI - ../../../DLC/expansion2/UI/Additions/EraProgressPanel
InGame: Loading InGame UI - ../../../DLC/expansion2/UI/Additions/EraReviewPopup
InGame: Loading InGame UI - ../../../DLC/expansion2/UI/Additions/ExpansionIntro
InGame: Loading InGame UI - ../../../DLC/expansion2/UI/Additions/GovernorAssignmentChooser
InGame: Loading InGame UI - ../../../DLC/expansion2/UI/Additions/GovernorPanel
InGame: Loading InGame UI - ../../../DLC/expansion2/UI/Additions/HistoricMoments
InGame: Loading InGame UI - ../../../DLC/expansion2/UI/Additions/WorldCrisisPopup
InGame: Loading InGame UI - /home/user/.local/share/Steam/steamapps/workshop/content/289070/871712879/Lenses/ModLens_CityOverlap
ModLens_CityOverlap: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ModLens_CityOverlap:           City Overlap Panel
ModLens_CityOverlap: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Runtime Error: \home\user\.local\share\Steam\steamapps\workshop\content\289070\871712879\Lenses\ModLens_CityOverlap.lua:182: operator + is not supported for nil + number
stack traceback:
        \home\user\.local\share\Steam\steamapps\workshop\content\289070\871712879\Lenses\ModLens_CityOverlap.lua:182: in function 'OnReoffsetPanel'
        \home\user\.local\share\Steam\steamapps\workshop\content\289070\871712879\Lenses\ModLens_CityOverlap.lua:279: in function 'Initialize'
        \home\user\.local\share\Steam\steamapps\workshop\content\289070\871712879\Lenses\ModLens_CityOverlap.lua:306: in function '(main chunk)'
        [C]: in function '(anonymous)'
Lua callstack:
Error loading file where=, file=\home\user\.local\share\Steam\steamapps\workshop\content\289070\871712879\Lenses\ModLens_CityOverlap.lua
InGame: Loading InGame UI - /home/user/.local/share/Steam/steamapps/workshop/content/289070/871712879/Lenses/ModLens_Resource
ModLens_Resource: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ModLens_Resource:            Resource Panel
ModLens_Resource: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Runtime Error: \home\user\.local\share\Steam\steamapps\workshop\content\289070\871712879\Lenses\ModLens_Resource.lua:355: operator + is not supported for nil + number
stack traceback:
        \home\user\.local\share\Steam\steamapps\workshop\content\289070\871712879\Lenses\ModLens_Resource.lua:355: in function 'OnReoffsetPanel'
        \home\user\.local\share\Steam\steamapps\workshop\content\289070\871712879\Lenses\ModLens_Resource.lua:424: in function 'Initialize'
        \home\user\.local\share\Steam\steamapps\workshop\content\289070\871712879\Lenses\ModLens_Resource.lua:448: in function '(main chunk)'
        [C]: in function '(anonymous)'
Lua callstack:
Error loading file where=, file=\home\user\.local\share\Steam\steamapps\workshop\content\289070\871712879\Lenses\ModLens_Resource.lua

Oh nvm. I though the patch had been applied to the main project. Sorry!

from morelenses.

astog avatar astog commented on June 10, 2024

Merged the changes #35 .
Thanks again @krzyk for linux issue fix.

from morelenses.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.