Notes-up icon indicating copy to clipboard operation
Notes-up copied to clipboard

Import/export notes?

Open yerbestpal opened this issue 8 years ago • 15 comments

This would be an incredibly useful function, assuming they are in a format that can be understood by other note applications.

Really I'm asking this because I want to replace my PPA build with the latest build, but don't want to loose my current notes.

yerbestpal avatar Apr 27 '17 18:04 yerbestpal

Yeah, that's on the pipeline! I actually have that written down on the Projects section :) https://github.com/Philip-Scott/Notes-up/projects/2

Philip-Scott avatar Apr 27 '17 21:04 Philip-Scott

But you won't loose your current notes, they will be auto-imported when you first start up the app again

Philip-Scott avatar Apr 27 '17 21:04 Philip-Scott

If I were to build from scratch, would that overwrite the PPA installation and retain my notes?

yerbestpal avatar Apr 30 '17 20:04 yerbestpal

yeah, it will give you the newest available version and will import your notes :) and if something goes wrong, you can run a sudo apt-get install notes-up --reinstall to return to the PPA version

Philip-Scott avatar Apr 30 '17 22:04 Philip-Scott

Do you know what's going on here?

ross@thinky:~/Notes-up/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr ../
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for one of the modules 'webkit2gtk-4.0;webkit2gtk-3.0'
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:578 (message):
  None of the required 'webkit2gtk-4.0;webkit2gtk-3.0' found
Call Stack (most recent call first):
  CMakeLists.txt:34 (pkg_search_module)


-- Checking for modules 'granite>=0.3;gtksourceview-3.0>=3.10;gthread-2.0;gtk+-3.0>=3.9.10;sqlite3>=3.5.9'
--   
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
  CMakeLists.txt:39 (pkg_check_modules)

yerbestpal avatar Apr 30 '17 22:04 yerbestpal

yeah, it looks like you don't have all dependencies installed. You need to install:

granite>=0.3
gee-0.8
gtksourceview-3.0
gtk+-3.0
webkit2gtk-4.0
sqlite3>=3.5.9

And you can do it by running sudo apt-get install libgranite-dev libgee-0.8-dev libgtksourceview-3.0-dev libwebkit2gtk-4.0-dev libsqlite3-dev

Philip-Scott avatar Apr 30 '17 22:04 Philip-Scott

Oh right, I assumed they must be installed because Notes Up already is. Thanks though.

yerbestpal avatar Apr 30 '17 23:04 yerbestpal

Did you get into any issues? Things like not importing or the app crashing?

Philip-Scott avatar Apr 30 '17 23:04 Philip-Scott

Yeah, it doesn't actually look like the app is the latest version. It doesn't have the help section that we talked about.

yerbestpal avatar Apr 30 '17 23:04 yerbestpal

Ahh i see. That just builds the app. But you need to run sudo make install to actually install it

I'll update the README in a min

Philip-Scott avatar Apr 30 '17 23:04 Philip-Scott

Yeah I literally just realised I had used make rather than sudo make install. Thats what I get for not paying attention.

yerbestpal avatar Apr 30 '17 23:04 yerbestpal

The syntax highlighting is incredible btw, good job.

yerbestpal avatar Apr 30 '17 23:04 yerbestpal

Glad that's working out for you now :) Hope you didn't have any problems with the update

Philip-Scott avatar Apr 30 '17 23:04 Philip-Scott

Actually, syntax highlighting only seems to be working in one note I've made. The others don't work at all.

yerbestpal avatar Apr 30 '17 23:04 yerbestpal

@yerbestpal Can you make a new issue and post the markdown there?

Philip-Scott avatar May 01 '17 00:05 Philip-Scott