Closed dEBRUYNE-1 closed 6 years ago
@el00ruobuob - Your daemon is probably connected to a bad peer (i.e. a peer on the wrong (alternative) chain). The daemon should eventually ban this bad peer. In addition, a restart typically fixes these kind of issues.
also affects Linux Mint 18.3
As @stoffu said. I can also confirm that compiling from source works fine for me.
$ lsb_release -a
Description: Ubuntu 16.04.4 LTS
$ gcc --version
gcc (Ubuntu 5.4.1-2ubuntu1~16.04) 5.4.1 20160904
$ g++ --version
g++ (Ubuntu 5.4.1-2ubuntu1~16.04) 5.4.1 20160904
$ qmake --version
QMake version 3.1
Using Qt version 5.10.1 in /usr/share/qt5-prop/5.10.1/gcc_64/lib
I can also confirm that I was affected by the subject of this issue (from distributeable) and that compiling from source works for me.
$ lsb_release -a
Description: Ubuntu 17.10
$ gcc --version
gcc (Ubuntu 7.2.0-8ubuntu3.2) 7.2.0
$ g++ --version
g++ (Ubuntu 7.2.0-8ubuntu3.2) 7.2.0
$ qmake --version
QMake version 3.1
Using Qt version 5.9.1 in /usr/lib/x86_64-linux-gnu
To note also, compile instructions for monero-gui (ubuntu > 16.04) are incorrect. libqt5qml-graphicaleffects
is no longer an ubuntu package. To compile and run, the following packages are required:
qml-module-qtgraphicaleffects
qml-module-qt-labs-folderlistmodel
qml-module-qtquick-controls2
When I try to build from source I get the following error:
/usr/bin/ld: cannot find -lwallet_merged /usr/bin/ld: cannot find -lepee /usr/bin/ld: cannot find -leasylogging /usr/bin/ld: cannot find -llmdb collect2: error: ld returned 1 exit status Makefile:379: recipe for target 'release/bin/monero-wallet-gui' failed make: *** [release/bin/monero-wallet-gui] Error 1
@Mafaka8 These error messages mean that something wrong happened while building the Monero libraries which the GUI depends on. Try these commands and check for any error messages:
make -C monero/build/release/external install
make -C monero/build/release/contrib install
make -C monero/build/release/src/wallet install
Hello guys, since I updated my wallet to 0.12 gui I can't start daemon anymore, I'm a beginner Ubuntu 16.04 user, someone can help me?
qml: initializing with daemon address: localhost:18081
"initAsync: localhost:18081"
init non async
qml: Displaying processing splash
" [] "
"starting monerod /home/petter/Downloads/monero-gui-linux-x64-v0.12.0.0/monerod"
With command line arguments ("--detach", "--bootstrap-daemon-address", "node.moneroworld.com:18089", "--check-updates", "disabled")
2018-04-18 23:50:09.885 7fb752ba1740 INFO global src/daemon/main.cpp:280 Monero 'Lithium Luna' (v0.12.0.0-master-release)
Forking to background...
sending external cmd: ("status")
"\u001B[31m2018-04-18 23:51:51.752\t 7fe7c1b00740\tERROR\tnet.http\tcontrib/epee/include/net/http_client.h:456\tUnexpected recv fail\n\u001B[0mError: Problem fetching info-- rpc_request: \n"
daemon not running. checking again in 2 seconds.
qml: daemon start failed
qml: Hiding processing splash
refreshed
qml: >>> wallet refreshed
Checking connection status
Checking connection status
Checking connection status
qml: >>> wallet updated
NEW STATUS Wallet::ConnectionStatus(ConnectionStatus_Disconnected)
qml: Wallet connection status changed 0
2018-04-18 23:51:52.519 7fbedb7947c0 ERROR default src/wallet/api/utils.cpp:46 error: std::bad_cast
refreshed
qml: >>> wallet refreshed
Checking connection status
qml: >>> wallet updated
refreshed
qml: >>> wallet refreshed
Checking connection status
qml: >>> wallet updated
qml: showing status message
qml: showing status message
qml: showing status message
qml: resetting android close
refreshed
qml: >>> wallet refreshed
Checking connection status
qml: >>> wallet updated
refreshed
@stoffu
root@miner:~/monero-gui# make -C monero/build/release/external install make: Entering directory '/monero-gui/monero/build/release/external' make: No rule to make target 'install'. Stop. make: Leaving directory '/monero-gui/monero/build/release/external' root@miner:~/monero-gui# make -C monero/build/release/contrib install make: Entering directory '/monero-gui/monero/build/release/contrib' make: No rule to make target 'install'. Stop. make: Leaving directory '/monero-gui/monero/build/release/contrib' root@miner:~/monero-gui# make -C monero/build/release/src/wallet install make: Entering directory '/monero-gui/monero/build/release/src/wallet' make: *** No rule to make target 'install'. Stop. make: Leaving directory '/monero-gui/monero/build/release/src/wallet'
@Mafaka8
That's strange. What if you dropped the word install
at the end of the command?
Also, what do you see if you just run ./get_libwallet_api.sh
? This script is internally called from build.sh
and is responsible for compiling the Monero libraries.
root@miner:~/monero-gui# make -C monero/build/release/external make: Entering directory '/monero-gui/monero/build/release/external' make: *** No targets specified and no makefile found. Stop. make: Leaving directory '/monero-gui/monero/build/release/external'
running the ./get_libwallet_api.sh I get:
-- Looking for rl_copy_text CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Readline_LIBRARY linked by target "cmTC_27cb0" in directory /monero-gui/monero/build/release/CMakeFiles/CMakeTmp
CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Looking for rl_copy_text - not found -- Looking for rl_filename_completion_function CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Readline_LIBRARY linked by target "cmTC_6f6ac" in directory /monero-gui/monero/build/release/CMakeFiles/CMakeTmp
CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Looking for rl_filename_completion_function - not found -- Could not find GNU readline library so building without readline support -- Found Git: /usr/bin/git -- Found Doxygen: /usr/bin/doxygen (found version "1.8.11") -- Performing Test HAVE_C11 CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Readline_LIBRARY linked by target "cmTC_e5ff3" in directory /monero-gui/monero/build/release/CMakeFiles/CMakeTmp
CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Performing Test HAVE_C11 - Failed -- Configuring incomplete, errors occurred!
For anyone that is affected by the issue, please check whether this one works:
https://build.getmonero.org/builders/monero-gui-linux-qt57/builds/4
@dEBRUYNE-1 Do you still care to have the output of this?
I am affected by this issue on Lubuntu 16.04.04. monerod is run locally. At first I thought this was an RPC issue and was very frustrated with the lack of info on how the GUI wallet communicates with the daemon. Is it through RPC?
@Mafaka8
Sorry to say this so late, but I think it'd be more appropriate to open a separate ticket for any build-related issues. This thread is for discussing the std::bad_cast
problem.
No problem, I am affected by the std::bad_cast issue with the binary as well. I also tried that builds/4 and no luck still std::bad_cast issue lol
As I can see only expert Linux user are knowing how to fix that, please we need help =(
@rysade (and anyone else affected by this particular issue) - Could you test these binaries?
https://build.getmonero.org/builders/monero-gui-ubuntu-amd64/builds/201
@rysade (and anyone else affected by this particular issue) - Could you test these binaries?
https://build.getmonero.org/builders/monero-gui-ubuntu-amd64/builds/201
That appears to have worked.
stdout:
app startd available width: 1871 available height: 1047 devicePixelRatio: 1 screen height: 1920 screen width: 1080 screen logical dpi: 96 screen Physical dpi: 102.598 screen calculated ratio: 0.801544 qml: check next false qml: Checking seed qml: check next false qml: Checking seed qml: check next false qml: check next false 2018-04-20 00:50:06.285 7f750424a7c0 WARN net.http src/common/util.cpp:627 Failed to determine whether address '' is local, assuming not libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile qml: transfer page loaded qml: PrivacyLevel changed:0 qml: mixin count: 6 qml: qrScannerEnabled disabled qrc:/qt-project.org/imports/QtQuick/Controls/ApplicationWindow.qml:241:9: QML ContentItem: Binding loop detected for property "implicitWidth" Checking for updates qml: languages availible: 29 qml: initializing.. setLanguage "en" qml: transfer page loaded qml: PrivacyLevel changed:0 qml: mixin count: 6 qml: opening wallet at: /home/rysade/.local/monero/default-wallet.keys , network type: mainnet Wallet* WalletManager::openWallet(const QString&, const QString&, NetworkType::Type): opening wallet at /home/rysade/.local/monero/default-wallet.keys, nettype = 0 2018-04-20 00:50:25.166 7f74e4d09700 WARN wallet.wallet2 src/wallet/wallet2.cpp:3718 Loaded wallet keys file, with public address: 44ZBNkbTqsdTW4b5r6grVFRCShhPEeeTBS9vNxz6WJSbYm9jRC5nyzuH9DhGu29irXLF16oJ2JGDzJ4NCLRmXvxwK8h3nrh Wallet* WalletManager::openWallet(const QString&, const QString&, NetworkType::Type): opened wallet: 44ZBNkbTqsdTW4b5r6grVFRCShhPEeeTBS9vNxz6WJSbYm9jRC5nyzuH9DhGu29irXLF16oJ2JGDzJ4NCLRmXvxwK8h3nrh, status: 0 AddressBook getAll Subaddress getAll qml: check next false qml: >>> wallet opened: Wallet(0x7f74d02db2c0) qml: Recovering from seed: false qml: restore Height 0 qml: initializing with daemon address: localhost:18081 "initAsync: localhost:18081" init non async init async finished - starting refresh Checking connection status NEW STATUS Wallet::ConnectionStatus(ConnectionStatus_Disconnected) qml: Wallet connection status changed 0 refreshed sending external cmd: ("status") "Error: Couldn't connect to daemon: 127.0.0.1:18081\n" qml: >>> wallet refreshed qml: >>> wallet updated refreshed qml: >>> wallet refreshed Checking connection status qml: >>> wallet updated qml: Displaying processing splash " [] " "starting monerod /home/rysade/.local/monero/monerod" With command line arguments ("--detach", "--check-updates", "disabled") 2018-04-20 00:50:37.974 7f74e5d0b700 WARN net.dns src/common/dns_utils.cpp:508 WARNING: no two valid MoneroPulse DNS checkpoint records were received Checking for updates - done 2018-04-20 00:50:38.424 7fe1c522a740 INFO global src/daemon/main.cpp:280 Monero 'Lithium Luna' (v0.12.0.0-master-release) Forking to background... sending external cmd: ("status") "Error: Couldn't connect to daemon: 127.0.0.1:18081\n" daemon not running. checking again in 2 seconds. sending external cmd: ("status") "Height: 1554976/1554976 (100.0%) on mainnet, not mining, net hash 459.02 MH/s, v7, up to date, 0(out)+0(in) connections, uptime 0d 0h 0m 27s\n" daemon is started. Waiting 5 seconds to let daemon catch up qml: daemon started qml: Hiding processing splash Checking connection status NEW STATUS Wallet::ConnectionStatus(ConnectionStatus_Connected) qml: Wallet connection status changed 1 refreshed qml: >>> wallet refreshed qml: >>> wallet updated refreshed qml: >>> wallet refreshed Checking connection status qml: >>> wallet updated
GUI is showing 'Wallet is synchronized' and 'Daemon is synchronized (1554978)' and my balance is correct.
What was the issue? I am guessing it wasn't RPC if there was some kind of compiler snafu.
The last batch of binaries I may have neglected to fully test. I assumed we were only testing the GUI, and so swapped it out. This time, I copy-pasted the entire folder into my monero directory, replacing everything including monerod.
I'll try whatever you like if you're interested. I've always wanted to help out with an open source project, and Monero is one of my favorites.
@dEBRUYNE-1 , that works for me too now. Good work!
some debug output with private data Xed:
./start-gui.sh
app startd
available width: 1920
available height: 1048
devicePixelRatio: 1
screen height: 1920
screen width: 1080
screen logical dpi: 96.1263
screen Physical dpi: 141.951
screen calculated ratio: 1.10899
qml: check next false
qml: Checking seed
qml: check next false
qml: Checking seed
qml: check next false
qml: check next false
2018-04-20 06:05:05.783 7fe77fffd7c0 WARN net.http src/common/util.cpp:627 Failed to determine whether address '' is local, assuming not
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
qml: transfer page loaded
qml: PrivacyLevel changed:0
qml: mixin count: 6
qml: qrScannerEnabled disabled
qrc:/qt-project.org/imports/QtQuick/Controls/ApplicationWindow.qml:241:9: QML ContentItem: Binding loop detected for property "implicitWidth"
Checking for updates
qml: languages availible: 29
Checking for updates - done
qml: initializing..
setLanguage "de"
setLanguage: loading translation file 'monero-core_de' from '/home/me/Downloads/build (2)/release/bin/translations
setLanguage: translation for language 'de' loaded successfully
qml: transfer page loaded
qml: PrivacyLevel changed:0
qml: mixin count: 6
qml: opening wallet at: /home/me/Monero/wallets/wallet/wallet.keys , network type: mainnet
Wallet WalletManager::openWallet(const QString&, const QString&, NetworkType::Type): opening wallet at /home/me/Monero/wallets/wallet/wallet.keys, nettype = 0
2018-04-20 06:05:23.725 7fe76ad51700 DEBUG device.ledger src/device/device_ledger.cpp:199 Device 0 Created
2018-04-20 06:05:23.725 7fe76ad51700 INFO wallet.wallet2 src/wallet/wallet2.cpp:5482 ringdb path set to /home/me/.shared-ringdb
2018-04-20 06:05:23.804 7fe76ad51700 WARN wallet.wallet2 src/wallet/wallet2.cpp:3718 Loaded wallet keys file, with public address: XXX
2018-04-20 06:05:23.811 7fe76ad51700 INFO wallet.wallet2 src/wallet/wallet2.cpp:3737 Trying to decrypt cache data
2018-04-20 06:05:23.900 7fe76ad51700 DEBUG wallet.wallet2 src/wallet/api/address_book.cpp:98 Refreshing addressbook
Wallet WalletManager::openWallet(const QString&, const QString&, NetworkType::Type): opened wallet: XXX, status: 0
AddressBook
getAll
Subaddress
getAll
qml: check next false
qml: >>> wallet opened: Wallet(0x7fe75c529af0)
qml: Recovering from seed: false
qml: restore Height 0
2018-04-20 06:05:23.905 7fe77fffd7c0 DEBUG net.http src/common/util.cpp:641 Address 'localhost:18081' is local
qml: initializing with daemon address: localhost:18081
"initAsync: localhost:18081"
init non async
2018-04-20 06:05:23.905 7fe76ad51700 DEBUG net.http src/common/util.cpp:641 Address 'localhost:18081' is local
init async finished - starting refresh
Checking connection status
2018-04-20 06:05:23.920 7fe77fffd7c0 DEBUG WalletAPI src/wallet/api/wallet.cpp:1807 startRefresh: refresh started/resumed...
2018-04-20 06:05:23.921 7fe76ad51700 WARN net contrib/epee/include/net/net_helper.h:188 Some problems at connect, message: Verbindungsaufbau abgelehnt
NEW STATUS Wallet::ConnectionStatus(ConnectionStatus_Disconnected)
qml: Wallet connection status changed 0
2018-04-20 06:05:23.921 7fe768d4d700 WARN net contrib/epee/include/net/net_helper.h:188 Some problems at connect, message: Verbindungsaufbau abgelehnt
refreshed
2018-04-20 06:05:23.921 7fe77fffd7c0 DEBUG net.http src/common/util.cpp:647 Address 'xxx.xxx.xxx.xxx:18081' is not local
qml: >>> wallet refreshed
qml: >>> wallet updated
2018-04-20 06:05:33.922 7fe768d4d700 WARN net contrib/epee/include/net/net_helper.h:188 Some problems at connect, message: Verbindungsaufbau abgelehnt
refreshed
qml: >>> wallet refreshed
Checking connection status
2018-04-20 06:05:33.924 7fe76ad51700 WARN net contrib/epee/include/net/net_helper.h:188 Some problems at connect, message: Verbindungsaufbau abgelehnt
qml: >>> wallet updated
2018-04-20 06:05:43.923 7fe768d4d700 WARN net contrib/epee/include/net/net_helper.h:188 Some problems at connect, message: Verbindungsaufbau abgelehnt
refreshed
qml: >>> wallet refreshed
Checking connection status
2018-04-20 06:05:43.924 7fe76ad51700 WARN net contrib/epee/include/net/net_helper.h:188 Some problems at connect, message: Verbindungsaufbau abgelehnt
qml: >>> wallet updated
2018-04-20 06:05:53.924 7fe768d4d700 WARN net contrib/epee/include/net/net_helper.h:188 Some problems at connect, message: Verbindungsaufbau abgelehnt
refreshed
qml: >>> wallet refreshed
Checking connection status
2018-04-20 06:05:53.925 7fe76ad51700 WARN net contrib/epee/include/net/net_helper.h:188 Some problems at connect, message: Verbindungsaufbau abgelehnt
qml: >>> wallet updated
2018-04-20 06:06:03.925 7fe768d4d700 WARN net contrib/epee/include/net/net_helper.h:188 Some problems at connect, message: Verbindungsaufbau abgelehnt
refreshed
qml: >>> wallet refreshed
Checking connection status
2018-04-20 06:06:03.926 7fe76ad51700 WARN net contrib/epee/include/net/net_helper.h:188 Some problems at connect, message: Verbindungsaufbau abgelehnt
qml: >>> wallet updated
2018-04-20 06:06:09.975 7fe77fffd7c0 DEBUG WalletAPI src/wallet/api/wallet.cpp:1827 pauseRefresh: refresh paused...
qml: Displaying processing splash
" [] "
"starting monerod /home/me/Downloads/build (2)/release/bin/monerod"
With command line arguments ("--detach", "--check-updates", "disabled")
2018-04-20 06:06:11.014 7fc3d6f6c740 INFO global src/daemon/main.cpp:280 Monero 'Lithium Luna' (v0.12.0.0-master-release)
Forking to background...
sending external cmd: ("status")
"Height: 1547392/1547392 (100.0%) on mainnet, not mining, net hash 387.12 MH/s, v7, up to date, 0(out)+0(in) connections, uptime 0d 0h 0m 1s\n"
daemon is started. Waiting 5 seconds to let daemon catch up
qml: daemon started
qml: Hiding processing splash
Checking connection status
2018-04-20 06:06:18.270 7fe77fffd7c0 DEBUG WalletAPI src/wallet/api/wallet.cpp:1807 startRefresh: refresh started/resumed...
NEW STATUS Wallet::ConnectionStatus(ConnectionStatus_Connected)
qml: Wallet connection status changed 1
2018-04-20 06:06:18.285 7fe77fffd7c0 DEBUG cn src/cryptonote_basic/cryptonote_basic_impl.cpp:220 Invalid address format
2018-04-20 06:06:18.285 7fe77fffd7c0 DEBUG cn src/cryptonote_basic/cryptonote_basic_impl.cpp:220 Invalid address format
2018-04-20 06:06:18.290 7fe77fffd7c0 DEBUG net.http src/common/util.cpp:647 Address '192.168.77.15:18081' is not local
2018-04-20 06:06:33.446 7fe768d4d700 DEBUG net contrib/epee/include/net/net_helper.h:398 Problems at read: Vorgang abgebrochen
2018-04-20 06:06:33.446 7fe768d4d700 ERROR net.http contrib/epee/include/net/http_client.h:456 Unexpected recv fail
2018-04-20 06:06:33.447 7fe768d4d700 INFO net.http contrib/epee/include/storages/http_abstract_invoke.h:53 Failed to invoke http request to /json_rpc
2018-04-20 06:06:33.447 7fe768d4d700 ERROR WalletAPI src/wallet/api/wallet.cpp:893 daemonBlockChainTargetHeight: possibly lost connection to daemon
2018-04-20 06:06:33.447 7fe768d4d700 DEBUG net.http contrib/epee/include/net/http_client.h:365 Reconnecting...
I'm very frustrated with this wallet, I need my money but I can not access it, only get badcast issue :(
@MrPMontes Try the CLI or wait for updates.
It finally works, thank you.
same issue for me Ubuntu 17.04
@dEBRUYNE-1 https://build.getmonero.org/builders/monero-gui-ubuntu-amd64/builds/201 works perfectly!
Works perfectly, Ubuntu 16 upgraded a while back, I look through the commit and can't figure out what's change? Is it only a change in the build environment?
@RemiMorin - It's merely a change in the build environment. If I recall correctly, upgrading boost from 1.58 to 1.59 resolved the bad_cast issue.
Build 201 fixes it for Ubuntu 17.10. If a new public release can be made, please. Also less tech-savvy users would like to use it.
I agree that a new public build improve confidence and normalize the situation but you don't need to be tech-savvy.
Just go on the the 201 build page you will see a link directly to the build archive: monero-gui-db5e71c-linux-amd64.tar.gz https://build.getmonero.org/downloads/monero-gui-db5e71c-linux-amd64.tar.gz
inside this archive you will find the release folder. This folder content is the same as an official public release. Just allow execution of the start-gui script and you are done.
It's still an issue in 64 bit Linux. Just did a fresh install and this month-old bug is still happening. I can work around this but it takes a software guy like me to figure it out. Why is this still a problem?
The latest client is fatally broken even though the cause has been known for weeks. Why there has been no update is beyond me.
Please
This is a build-related problem which will be fixed in the next point release. Meanwhile, you can use an unofficial binary built by buildbot https://build.getmonero.org/builders/monero-gui-ubuntu-amd64/builds/201 as suggested above https://github.com/monero-project/monero-gui/issues/1261#issuecomment-382878443.
~build 201 did not work for me... using the cli work-around~
edit: build 201 did resolve the bad_cast
issue for me, but the application appeared frozen due to window behavior, #1431
@bananajamma Did you experience the bad_cast
error on build 201? If it was something else, please open a new issue. If you did, please post OS details here.
+1 happening on Ubuntu 16.04 LTS. Broken even after clean wipe of data dir and wallet. imo XMR is probably the most underrated coin out here... but it's issues like this that have caused its lackluster performance as of late.
same problem on Ubuntu 16.04 +1
Same problem here, Ubuntu 16.04.
This still does not work, official website has old binary and the link from this thread is dead
This link? https://build.getmonero.org/builders/monero-gui-ubuntu-amd64/builds/201 looks ok IMO edit: no such resource on build file, it's indeed broken.
Yep, Can I download it from anywhere?
This is the most recent build for the master which works for me: https://build.getmonero.org/builders/monero-gui-ubuntu-amd64/builds/472
Thanks @stoffu!
Alright, this one seems fixed now.
Unofficial release of 0.12.2: https://www.reddit.com/r/Monero/comments/8rkwyt/unofficial_release_of_gui_wallet_version_0122/
If you want the official releases, wait a bit.
+resolved
GUI v0.12.2.0, which includes a fix for this particular issue, has been released:
https://www.reddit.com/r/Monero/comments/8vkx2g/gui_v01220_released/
Getting a few reports of people unable to connect to their own (local) node or remote node after upgrading to v0.12.0.0. Logs:
Case 1:
https://paste.fedoraproject.org/paste/QKowduN71M9OMENPNHX2Vg
https://paste.fedoraproject.org/paste/W3HZGq7O9~TTIfw3SSKJew
Reddit conversation: https://www.reddit.com/r/Monero/comments/89nn2p/monero_gui_v01200_lithium_luna_released/dws770b/
Case 2:
https://paste.fedoraproject.org/paste/dwXoiPEYE82lO5g7FB793Q
https://paste.fedoraproject.org/paste/pj3gZVLxvpcE5VWAvDsIXA
Reddit conversation: https://www.reddit.com/r/Monero/comments/89nn2p/monero_gui_v01200_lithium_luna_released/dwsh4fc/
EDIT: Three more Linux users affected here. The issue seems specific to Linux.
EDIT2: For anyone incurring this issue: As last resort you can always run GUI v0.11 with daemon (
monerod
) v0.12. Please see instructions below for using v0.11 and being sufficiently prepared for the upcoming scheduled network upgrade:After block
1546000
you should also ensure that your transaction uses ring size 7, otherwise it will be rejected by the network.EDIT3: Better overview of workarounds:
https://monero.stackexchange.com/questions/7999/linux-gui-v0-12-does-not-connect-to-local-or-remote-node-stdbad-cast-error
EDIT4: GUI v0.12.2.0, which includes a fix for this particular issue, has been released:
https://www.reddit.com/r/Monero/comments/8vkx2g/gui_v01220_released/