Comments (9)
Thank you for the info. If the problem persists I will make the compiling tx pusher optional, as this uses the monero's boost archiving library. I havent tested on ubunut server, but you are right, it should not matter.
btw. I relaunch the onion version of the onion explorer, if anyone interested to see the latest version or test the tx pusher or other things. The onion address is: http://3ccmeg4dunrl7h3i.onion/
from onion-monero-blockchain-explorer.
Just tried on fresh 16.04 desktop (you use server?) and it worked for me. Usually when I compile new monero, or any other project, I just download fresh copy of the source and compile everything from scratch.
I would suggest removing entire monero source code folder, and get current source.
Once Monero is compiled from scratch, delete old /opt/monero-dev
folder (or rename it if you rely on old version, just to have a backup in case the suggestion wont work) and setup headers and files from scratch as indicated here:
Note: the rsync
command has changed a bit recently to account for new serialisation file headers in monero. Your error seem to be due to problems with serialization files: portable_binary_iarchive.hpp
from monero. Maybe they didnt get updated properly?
Then get fresh copy of source of the explorer and trying compiling it.
Just to complete, I tested the compilation on ubuntu in vm of these details: http://i.imgur.com/d3STqFg.png
If there will be still problems, I can make compilation of parts of the explorer that relay on monero's serialization files optional. This will eliminate tx pusher from the explorer, but should make it compile.
Please let me know how it will go and I will try to help.
from onion-monero-blockchain-explorer.
Need latest monero. Since 0.10.1 got release, there were changes to boost archiving done in monero to fix some issues with archives. Blockchain explorer was adapted to these changes, thus you need to have latest development version of monero.
from onion-monero-blockchain-explorer.
Still can't compile. On latest head of Monero.
[ 94%] Building CXX object CMakeFiles/xmrblocks.dir/main.cpp.o
In file included from /usr/include/boost/serialization/serialization.hpp:44:0,
from /opt/monero-dev/headers/src/cryptonote_core/blockchain.h:32,
from /home/monerosupport/onion-monero-blockchain-explorer/src/monero_headers.h:25,
from /home/monerosupport/onion-monero-blockchain-explorer/src/MicroCore.h:10,
from /home/monerosupport/onion-monero-blockchain-explorer/main.cpp:6:
/usr/include/boost/serialization/access.hpp: In instantiation of ‘static void boost::serialization::access::serialize(Archive&, T&, unsigned int) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::unsigned_tx_set]’:
/usr/include/boost/serialization/serialization.hpp:69:22: required from ‘void boost::serialization::serialize(Archive&, T&, unsigned int) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::unsigned_tx_set]’
/usr/include/boost/serialization/serialization.hpp:128:18: required from ‘void boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::unsigned_tx_set]’
/usr/include/boost/archive/detail/iserializer.hpp:184:40: required from ‘void boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::unsigned_tx_set]’
/usr/include/boost/archive/detail/iserializer.hpp:116:1: required from ‘class boost::archive::detail::iserializer<boost::archive::portable_binary_iarchive, tools::wallet2::unsigned_tx_set>’
/usr/include/boost/archive/detail/iserializer.hpp:410:13: required from ‘static void boost::archive::detail::load_non_pointer_type::load_standard::invoke(Archive&, const T&) [with T = tools::wallet2::unsigned_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/usr/include/boost/archive/detail/iserializer.hpp:462:22: required from ‘static void boost::archive::detail::load_non_pointer_type::invoke(Archive&, T&) [with T = tools::wallet2::unsigned_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/usr/include/boost/archive/detail/iserializer.hpp:618:18: required from ‘void boost::archive::load(Archive&, T&) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::unsigned_tx_set]’
/usr/include/boost/archive/detail/common_iarchive.hpp:66:22: required from ‘void boost::archive::detail::common_iarchive::load_override(T&, int) [with T = tools::wallet2::unsigned_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/opt/monero-dev/headers/external/boost/archive/portable_binary_iarchive.hpp:168:9: required from ‘void boost::archive::portable_binary_iarchive::load_override(T&, int) [with T = tools::wallet2::unsigned_tx_set]’
/usr/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive& boost::archive::detail::interface_iarchive::operator>>(T&) [with T = tools::wallet2::unsigned_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/home/monerosupport/onion-monero-blockchain-explorer/src/page.h:1610:23: required from here
/usr/include/boost/serialization/access.hpp:118:9: error: ‘struct tools::wallet2::unsigned_tx_set’ has no member named ‘serialize’
t.serialize(ar, file_version);
^
/usr/include/boost/serialization/access.hpp: In instantiation of ‘static void boost::serialization::access::serialize(Archive&, T&, unsigned int) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::signed_tx_set]’:
/usr/include/boost/serialization/serialization.hpp:69:22: required from ‘void boost::serialization::serialize(Archive&, T&, unsigned int) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::signed_tx_set]’
/usr/include/boost/serialization/serialization.hpp:128:18: required from ‘void boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::signed_tx_set]’
/usr/include/boost/archive/detail/iserializer.hpp:184:40: required from ‘void boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::signed_tx_set]’
/usr/include/boost/archive/detail/iserializer.hpp:116:1: required from ‘class boost::archive::detail::iserializer<boost::archive::portable_binary_iarchive, tools::wallet2::signed_tx_set>’
/usr/include/boost/archive/detail/iserializer.hpp:410:13: required from ‘static void boost::archive::detail::load_non_pointer_type::load_standard::invoke(Archive&, const T&) [with T = tools::wallet2::signed_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/usr/include/boost/archive/detail/iserializer.hpp:462:22: required from ‘static void boost::archive::detail::load_non_pointer_type::invoke(Archive&, T&) [with T = tools::wallet2::signed_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/usr/include/boost/archive/detail/iserializer.hpp:618:18: required from ‘void boost::archive::load(Archive&, T&) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::signed_tx_set]’
/usr/include/boost/archive/detail/common_iarchive.hpp:66:22: required from ‘void boost::archive::detail::common_iarchive::load_override(T&, int) [with T = tools::wallet2::signed_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/opt/monero-dev/headers/external/boost/archive/portable_binary_iarchive.hpp:168:9: required from ‘void boost::archive::portable_binary_iarchive::load_override(T&, int) [with T = tools::wallet2::signed_tx_set]’
/usr/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive& boost::archive::detail::interface_iarchive::operator>>(T&) [with T = tools::wallet2::signed_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/home/monerosupport/onion-monero-blockchain-explorer/src/page.h:1879:23: required from here
/usr/include/boost/serialization/access.hpp:118:9: error: ‘struct tools::wallet2::signed_tx_set’ has no member named ‘serialize’
CMakeFiles/xmrblocks.dir/build.make:62: recipe for target 'CMakeFiles/xmrblocks.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/xmrblocks.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:69: recipe for target 'CMakeFiles/xmrblocks.dir/all' failed
make[1]: *** [CMakeFiles/xmrblocks.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
from onion-monero-blockchain-explorer.
Ok. Let me check on 16.04, and will get back to you. Thanks.
from onion-monero-blockchain-explorer.
Hello,
This was compiled from a clean copy of 16.04.1 LTS server, monerod had no issues at all. The entire project was built from Master, 2 days before the most recent merges occoured. We'll give the copy another shot at this point, but there's no real reason I can see that it should matter.
from onion-monero-blockchain-explorer.
@moneroexamples Sweet, now the explorer accepts all kinds of binary files created on my Mac machine:) Thank you so much!
PS: The explorer + custom lmdb builds also fine on my Ubuntu 16.04.1 virtual machine.
from onion-monero-blockchain-explorer.
Happy its working. If something, please dont hesitate to let me know.
from onion-monero-blockchain-explorer.
So I ended up compiling on Ubuntu desktop and then pushing the binaries to Snipa's ubuntu server. Don't think this really fixes the issue, but it seems like I should close it anyway.
from onion-monero-blockchain-explorer.
Related Issues (20)
- Feature Request: Add K-Anonymity to Block and Tx Requests HOT 5
- xmr HOT 1
- Decrypt payment id with API HOT 1
- Request: `stagenet.xmrchain.net` JSON API HOT 2
- Links to the api are returning 404 Not Found HOT 3
- "Cant get per kb dynamic fee esimate" error in networkinfo endpoint HOT 4
- Reopen PR: Enable Github Actions build of Docker image HOT 1
- Include unlock_time in transactions, transaction and outputs endpoints HOT 1
- Transaction with an unlock_time has 0 as tx_confirmations and tx_timestamp in the outputs endpoint HOT 3
- Given path ""/home/monero/.bitmonero/lmdb"" is not a folder or does not exist HOT 5
- devel branch not building HOT 2
- Failing building docker container on Apple M1 Max HOT 4
- [Feature Request] Forward lookup for stealth addresses to show how many times an output was spent HOT 2
- Wrong tx_hash above block 1220517 HOT 3
- [Bug] broken pruned tx hash HOT 1
- [Discussion] docker compose: delay explore container
- Running xmrblocks in ghcr.io/moneroexamples/xmrblocks:release-v0.18 results in "Illegal instruction" error HOT 1
- [Bug] Requesting alt block triggers HTTP 500 Internal Server Error HOT 14
- Build is broken by Monero update HOT 3
- master: error compiling HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onion-monero-blockchain-explorer.