Coder Social home page Coder Social logo

Comments (8)

inmysocks avatar inmysocks commented on July 17, 2024

This is a problem caused by differences in the sed versions on different systems, I have updated the script to be more explicit, try pulling again and see if it works.

from plugindevelopment.

kookma avatar kookma commented on July 17, 2024

Thanks @inmysocks
I will give a try and let you know the results

from plugindevelopment.

kookma avatar kookma commented on July 17, 2024

@inmysocks
It seems this part in Setub.sh does not work

if [ ! -f ./TiddlyWikiVersion.txt ]; then
  echo "Checking out latest release of tiddlywiki5"
  cd TiddlyWiki5
  TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
  git checkout $TAG
  cd ..
  echo "Finished checking out latest release"
  echo $TAG > ./TiddlyWikiVersion.txt
fi

from plugindevelopment.

inmysocks avatar inmysocks commented on July 17, 2024

I need more information than that. What happens when it doesn't work?

That not happening shouldn't prevent anything else from working, it just tries to make sure you are on the latest stable release instead of the head of the master branch.

from plugindevelopment.

kookma avatar kookma commented on July 17, 2024

@inmysocks
The repo I downloaded has an empty Tiddlywiki5 folder. When I reun setup it seems the

TAG=$(git describe --tags `git rev-list --tags --max-count=1`)

is the source of error as it run in an empty folder.

I got Tiddlywiki 5 by adding the below command

git clone https://github.com/Jermolene/TiddlyWiki5.git

before if [ ! -f ./TiddlyWikiVersion.txt ]; then

and now Setup works fine.

One more question

I was successful to create a plugin and Plugin Library and everything works fine except

When create a test wiki to test the new plugin I get the below warning

Mohammad@N550JK  /c/Temp/JDPluginLibrary
$ ./start.sh hirad-server
/c/Temp/JDPluginLibrary/Plugins
Warning: Cannot find plugin 'mohammad/hirad'
Serving on http://127.0.0.1:8080
(press ctrl-C to exit)
Warning: Plugins required for client-server operation ("tiddlywiki/filesystem" and "tiddlywiki/tiddlyweb") are missing from tiddlywiki.info file

It seems the TIDDLYWIKI_PLUGIN_PATH does not work!

from plugindevelopment.

inmysocks avatar inmysocks commented on July 17, 2024

That isn't an error in setup.sh, in the instructions it says to get the repo using

git clone --recurse-submodules https://github.com/inmysocks/PluginDevelopment.git

otherwise you can get strange git behaviour when it comes to the submodule part.

from plugindevelopment.

inmysocks avatar inmysocks commented on July 17, 2024

The tiddlywiki plugin path not working error is from tiddlywiki, not what I am doing with this repo, I am not sure what is going on there unless somehow the environment variable isn't getting set correctly.

from plugindevelopment.

kookma avatar kookma commented on July 17, 2024

git clone --recurse-submodules https://github.com/inmysocks/PluginDevelopment.git

Oh my bad! I repeated everything again and followed the instruction, no error on setup!

from plugindevelopment.

Related Issues (7)

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.