- Posts: 8
- Thank you received: 0
YACReaderLibraryServer in Raspberry Pi
- JOCELYN
- Offline
- New Member
-
But it's not blocking. The library is functional at all.
May be some files it doesn't like...
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Platinum Member
-
- Posts: 639
- Thank you received: 136
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Platinum Member
-
- Posts: 639
- Thank you received: 136
Instructions:
Please Log in or Create an account to join the conversation.
- dhernan3
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
It has not ~/.local/share/systemd/user, so I put your .service in /etc/systemd/system
When launching YACReaderLibrary from cli or from crontab, it's launched from root user, so it uses ~/.local/share/YACReader/YACReaderLibrary/ for log and configuration .ini file
When launching with systemctl, it uses /.local/share/YACReader/YACReaderLibrary/ directly from / (root folder), so no library configured. After I have copied my original .ini to this new location, it works fine and I have again my library accesbible, but using service rather than crontab.
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Platinum Member
-
- Posts: 639
- Thank you received: 136
Otherwise I'm happy to hear that this works for you
Please Log in or Create an account to join the conversation.
- hmdrmch
- Offline
- New Member
-
- Posts: 4
- Thank you received: 0
When i try to run the command: "hg clone bitbucket.org/luisangelsm/yacreader ." i get the following error.
Any idea as to what could cause this?
I'm using a Raspberry Pi 3 running the latest Stretch.
** unknown exception encountered, please report by visiting
** mercurial-scm.org/wiki/BugTracker
** Python 2.7.13 (default, Nov 24 2017, 17:33:09) [GCC 6.3.0 20170516]
** Mercurial Distributed SCM (version 4.0)
** Extensions loaded:
Traceback (most recent call last):
File "/usr/bin/hg", line 45, in <module>
mercurial.dispatch.run()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 60, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 126, in dispatch
ret = _runcatch(req)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 247, in _runcatch
return callcatch(ui, _runcatchfunc)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 256, in callcatch
return func()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 236, in _runcatchfunc
return _dispatch(req)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 932, in _dispatch
cmdpats, cmdoptions)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 681, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 940, in _runcommand
return cmdfunc()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 929, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1039, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 1559, in clone
shareopts=opts.get('shareopts'))
File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 447, in clone
srcpeer = peer(ui, peeropts, source)
File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 175, in peer
return _peerorrepo(rui, path, create).peer()
File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 152, in _peerorrepo
obj = _peerlookup(path).instance(ui, path, create)
File "/usr/lib/python2.7/dist-packages/mercurial/httppeer.py", line 292, in instance
inst = httpspeer(ui, path)
File "/usr/lib/python2.7/dist-packages/mercurial/httppeer.py", line 282, in __init__
if not url.has_https:
File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 152, in __getattribute__
self._load()
File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 100, in _load
mod = _hgextimport(_import, head, globals, locals, None, level)
File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 53, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/mercurial/url.py", line 155, in <module>
class httpconnection(keepalive.HTTPConnection):
File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 152, in __getattribute__
self._load()
File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 100, in _load
mod = _hgextimport(_import, head, globals, locals, None, level)
File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 53, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/mercurial/keepalive.py", line 366, in <module>
class HTTPResponse(httplib.HTTPResponse):
File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 152, in __getattribute__
self._load()
File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 100, in _load
mod = _hgextimport(_import, head, globals, locals, None, level)
File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 53, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
ValueError: bad marshal data (unknown type code)
Please Log in or Create an account to join the conversation.
- hmdrmch
- Offline
- New Member
-
- Posts: 4
- Thank you received: 0
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DSERVER_RELEASE -DNOMINMAX -DYACREADER_LIBRARY -DQT_NO_DEBUG_OUTPUT -DNO_OPENGL -DLIBDIR=\"/usr/lib\" -DDATADIR=\"/usr/share\" -DBINDIR=\"/usr/bin\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../YACReaderLibrary -I../common -I../YACReaderLibrary/server -I../YACReaderLibrary/db -I../YACReaderLibrary/server -I../YACReaderLibrary/server/lib/bfLogging -I../YACReaderLibrary/server/lib/bfHttpServer -I../YACReaderLibrary/server/lib/bfTemplateEngine -I../compressed_archive/unarr -I../QsLog -isystem /usr/include/poppler/qt5 -isystem /usr/include/poppler -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtSql -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -o library_creator.o ../YACReaderLibrary/library_creator.cpp
In file included from ../YACReaderLibrary/library_creator.cpp:15:0:
../compressed_archive/unarr/compressed_archive.h:7:19: fatal error: unarr.h: No such file or directory
^
compilation terminated.
Makefile:916: recipe for target 'library_creator.o' failed
make: *** [library_creator.o] Error 1
Any ideas how to get past this?
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Platinum Member
-
- Posts: 639
- Thank you received: 136
Please Log in or Create an account to join the conversation.
- hmdrmch
- Offline
- New Member
-
- Posts: 4
- Thank you received: 0
I am simply following the guide from this site.
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Platinum Member
-
- Posts: 639
- Thank you received: 136
Open compressed_archive/unarr/unarr-wrapper.pri and replace this:
With this:
Save it, run "make distclean" to clean the old build files and restart the build at the point where you run qmake. If everything went right qmake should display a message that it found unarr.
Please Log in or Create an account to join the conversation.