Giter Site home page Giter Site logo

Comments (4)

MiliAxe avatar MiliAxe commented on August 17, 2024 1

Thanks for the reply @WillNilges
Here is the error I get after copying the file to /usr/lib/lua/5.4:
image
Sorry if this is a dumb question but... I don't have any directory called /usr/lib/lua5.4.

from inkpath.

nimaaskarian avatar nimaaskarian commented on August 17, 2024

Having the exact same issue. I also confirm that permissions of './ipcvobj.so' looks fine:
2022-10-24_12-52
Also ran xournalpp with root privilages, still having the same issue.

from inkpath.

WillNilges avatar WillNilges commented on August 17, 2024

Hey guys, thanks for the bug report! Let me investigate today and get back to you on this. Honestly, of all the weird stuff I've had to learn to make this extension, this part has been the most contesting.

Questions:
@nimaaskarian : What version of Linux are you using? How did you install Xournalpp?
@MiliAxe :

I've tried to copy the extension to the .config directory and also I've tried copying the module itself to /usr/lib/lua/5.4/ but I also encountered an error from that.
Curious to know what error that was? I suspect... that my README is lying to you 🤦🏻 (so sorry). The API changes I made are in master, but I don't think they're going to be released until 1.2, which is still a ways out.

What I've done in the past is install to /usr/lib/lua5.4 after using Arch's PKGBUILD for Xournalpp based off of the latest master. I don't use that "in production," though.

from inkpath.

WillNilges avatar WillNilges commented on August 17, 2024

OK, part of the issue could be that I kept switching from Lua 5.4 to Lua 5.3, and forgot to update the docs. I'm pretty sure I want to stick to Lua 5.3 since that's what Xournalpp uses. I'd suggest trying to move the plugin files (ipcvobj.so) to /usr/lib/lua/5.3 (or /usr/lib/lua/5.4, whichever you have installed). I definitely need to figure this out and validate that it works on all distros, but that part is really hard so I'm not surprised I messed it up 😅 This project is the first time in like 10 years that I've worked with Lua and I'm trying to make it do a lot of things that it really doesn't want to do.

from inkpath.

Related Issues (17)

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.