repo
stringlengths
7
58
org
stringlengths
3
30
issue_id
int64
25.5M
867M
issue_number
int64
1
86.8k
pull_request
dict
events
list
user_count
int64
1
21
event_count
int64
1
192
text_size
int64
5.28k
279k
bot_issue
bool
1 class
modified_by_bot
bool
2 classes
text_size_no_bots
int64
4.96k
279k
modified_usernames
bool
2 classes
contains_large
bool
1 class
pimusicbox/pimusicbox
pimusicbox
128,154,092
346
null
[ { "action": "opened", "author": "clausfuglsang", "comment_id": null, "datetime": 1453468306000, "large_text": false, "masked_author": "username_0", "nb_lines": 6, "size": 524, "text": "After I stop playing music from spotify, which basically works fine, the Musicbox will crash if I leave it for more than an hour or so, and then wants to continue playing music again.\r\nIf i stop playing, and I get back to it an hour later, I need to reboot it manually if I want to play from spotify again. I only use spotify, so i am not aware of if the problem is the same with the other services.\r\n\r\nI've had this issue for 1½ years now.\r\nI'm running the latest release of Musicbox.\r\nGreat work though, love the features.", "title": "Bug: Crashing when spotify continue", "type": "issue" }, { "action": "created", "author": "jcass77", "comment_id": 173957161, "datetime": 1453477558000, "large_text": false, "masked_author": "username_1", "nb_lines": 3, "size": 218, "text": "Could you perhaps take a look at ```/var/log/mopidy/mopidy.log``` and post any relevant error messages contained therein?\r\n\r\nDoes it work if you do ```service mopidy restart``` instead of a full reboot of the Musicbox?", "title": null, "type": "comment" }, { "action": "created", "author": "kingosticks", "comment_id": 173965658, "datetime": 1453479396000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 60, "text": "And, just to clarify, when you say 'stop' do you mean pause?", "title": null, "type": "comment" }, { "action": "created", "author": "lukyluke112", "comment_id": 177874198, "datetime": 1454319098000, "large_text": false, "masked_author": "username_3", "nb_lines": 1, "size": 19, "text": "Have the same issue", "title": null, "type": "comment" }, { "action": "created", "author": "lukyluke112", "comment_id": 177874451, "datetime": 1454319173000, "large_text": false, "masked_author": "username_3", "nb_lines": 1, "size": 39, "text": "And with me it just won't play anything", "title": null, "type": "comment" }, { "action": "created", "author": "kingosticks", "comment_id": 177878225, "datetime": 1454319813000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 59, "text": "If you don't your logs there is literally nothing to go on.", "title": null, "type": "comment" }, { "action": "created", "author": "lukyluke112", "comment_id": 177881802, "datetime": 1454320333000, "large_text": false, "masked_author": "username_3", "nb_lines": 1, "size": 78, "text": "Bit of a noob looked for log file do you use a different name for the log file", "title": null, "type": "comment" }, { "action": "created", "author": "B3nihana", "comment_id": 211351098, "datetime": 1460981135000, "large_text": false, "masked_author": "username_4", "nb_lines": 5, "size": 349, "text": "I have the same issue also, as I use MusicBox infrequently but solely for Spotify. I am still able to restart MB via the web UI but its very slow to respond (UI very sluggish to load menus, will play songs like there is no bandwidth).\r\n\r\nI'll be sure to get the log next time this happens, I'm just so used to rebooting it now!\r\n\r\nOriginal Pi B+ btw", "title": null, "type": "comment" }, { "action": "created", "author": "B3nihana", "comment_id": 218390435, "datetime": 1462954022000, "large_text": true, "masked_author": "username_4", "nb_lines": 140, "size": 10774, "text": "Ok, so this issue happened again and I remember to grab the log.\r\n\r\nBasically I start to play a spotify playlist, then pause it after several hours and try to unpause it the next day and nothing happens. I can navigate the GUI but searching for music or trying to start a new playlist results in a spinning busy icon. Sometimes it will start working 30 minutes later, but usually I simply restart and it works.\r\n\r\nHope this helps:\r\nMonit.log\r\n`[UTC` Apr 17 13:08:21] info : 'mopidy' trying to restart\r\n[UTC Apr 17 13:08:21] info : 'mopidy' stop: /etc/init.d/mopidy\r\n[UTC Apr 17 13:08:51] info : 'mopidy' start: /etc/init.d/mopidy\r\n[UTC Apr 17 13:10:51] info : 'mopidy' connection succeeded to INET[localhost:6680] via TCP\r\n[UTC Apr 17 16:06:38] info : monit daemon with pid [2478] killed\r\n[UTC Apr 17 16:06:38] info : 'system_MusicBox' Monit stopped\r\n[UTC Apr 17 16:07:15] info : Starting monit daemon\r\n[UTC Apr 17 16:07:15] info : Monit start delay set -- pause for 300s\r\n[UTC Apr 17 16:12:15] info : 'system_MusicBox' Monit started\r\n[UTC Apr 18 12:05:40] info : monit daemon with pid [2480] killed\r\n[UTC Apr 18 12:05:40] info : 'system_MusicBox' Monit stopped\r\n[UTC Apr 18 12:06:42] info : Starting monit daemon\r\n[UTC Apr 18 12:06:42] info : Monit start delay set -- pause for 300s\r\n[UTC Apr 18 12:11:42] info : 'system_MusicBox' Monit started\r\n[UTC Apr 24 08:07:17] info : monit daemon with pid [2488] killed\r\n[UTC Apr 24 08:07:17] info : 'system_MusicBox' Monit stopped\r\n[UTC Apr 24 08:07:55] info : Starting monit daemon\r\n[UTC Apr 24 08:07:55] info : Monit start delay set -- pause for 300s\r\n[UTC Apr 24 08:12:55] info : 'system_MusicBox' Monit started\r\n[UTC Apr 25 11:45:46] error : 'upmpdcli' process is not running\r\n[UTC Apr 25 11:45:46] info : 'upmpdcli' trying to restart\r\n[UTC Apr 25 11:45:46] info : 'upmpdcli' start: /etc/init.d/upmpdcli\r\n[UTC Apr 25 11:47:46] info : 'upmpdcli' process is running with pid 3066\r\n[UTC Apr 29 17:48:54] error : 'upmpdcli' process is not running\r\n[UTC Apr 29 17:48:54] info : 'upmpdcli' trying to restart\r\n[UTC Apr 29 17:48:54] info : 'upmpdcli' start: /etc/init.d/upmpdcli\r\n[UTC Apr 29 17:50:54] info : 'upmpdcli' process is running with pid 5317\r\n[UTC May 4 05:17:30] info : Starting monit daemon\r\n[UTC May 4 05:17:30] info : Monit start delay set -- pause for 300s\r\n[UTC May 4 05:22:30] info : 'system_MusicBox' Monit started\r\n[UTC May 10 07:36:18] error : 'mopidy' process is not running\r\n[UTC May 10 07:36:18] info : 'mopidy' trying to restart\r\n[UTC May 10 07:36:18] info : 'mopidy' start: /etc/init.d/mopidy\r\n[UTC May 10 07:38:18] info : 'mopidy' process is running with pid 3691\r\n[UTC May 11 06:27:07] error : 'mopidy' failed protocol test [HTTP] at INET[localhost:6680] via TCP -- HTTP: Error receiving data -- Resource temporarily unavailable\r\n[UTC May 11 06:29:12] error : 'mopidy' failed protocol test [HTTP] at INET[localhost:6680] via TCP -- HTTP: Error receiving data -- Resource temporarily unavailable\r\n[UTC May 11 06:29:12] info : 'mopidy' trying to restart\r\n[UTC May 11 06:29:12] info : 'mopidy' stop: /etc/init.d/mopidy\r\n[UTC May 11 06:29:42] info : 'mopidy' start: /etc/init.d/mopidy\r\n[UTC May 11 06:31:43] info : 'mopidy' connection succeeded to INET[localhost:6680] via TCP`\r\n\r\nMopidy.log\r\n\r\n`2016-05-11 06:29:46,473 - INFO Starting Mopidy 0.19.5\r\n2016-05-11 06:29:48,592 - INFO Loading config from: builtin defaults, /etc/mopidy/extensions.d/spotify.conf, /etc/mopidy/mopidy.conf, command line options\r\n2016-05-11 06:29:50,262 - INFO Enabled extensions: mopify, spotify, mpd, http, stream, spotify_tunigo, mobile, podcast-gpodder, local-sqlite, youtube, podcast-itunes, http-kuechenradio, scrobbler, simple-webclient, softwaremixer, local-whoosh, dirble, moped, websettings, podcast, tunein\r\n2016-05-11 06:29:50,265 - INFO Disabled extensions: alsamixer, gmusic, somafm, subsonic, internetarchive, audioaddict, musicbox_webclient, local, soundcloud\r\n2016-05-11 06:29:50,268 - WARNING Found alsamixer configuration errors, the extension has been automatically disabled:\r\n2016-05-11 06:29:50,271 - WARNING alsamixer/control must be set.\r\n2016-05-11 06:29:50,274 - WARNING alsamixer/card must be set.\r\n2016-05-11 06:29:50,276 - WARNING Found musicbox_webclient configuration errors, the extension has been automatically disabled:\r\n2016-05-11 06:29:50,279 - WARNING musicbox_webclient/musicbox unknown config key.\r\n2016-05-11 06:29:50,282 - WARNING Please fix the extension configuration errors or disable the extensions to silence these messages.\r\n2016-05-11 06:30:07,956 - INFO Starting Mopidy mixer: SoftwareMixer\r\n2016-05-11 06:30:07,963 - INFO Mixing using GStreamer software mixing\r\n2016-05-11 06:30:07,976 - INFO Mixer volume set to 85\r\n2016-05-11 06:30:07,980 - INFO Starting Mopidy audio\r\n2016-05-11 06:30:07,997 - INFO Starting Mopidy backends: SpotifyTunigoBackend, TuneInBackend, StreamBackend, PodcastBackend, YoutubeBackend, SpotifyBackend, DirbleBackend\r\n2016-05-11 06:30:08,150 - INFO Audio output set to \"alsasink\"\r\n2016-05-11 06:30:08,299 - INFO Starting Mopidy-Podcast directories: iTunesDirectory, FeedsDirectory, GPodderDirectory\r\n2016-05-11 06:30:08,333 - INFO Refreshing Mopidy-Podcast directories\r\n2016-05-11 06:30:08,412 - INFO Starting new HTTP connection (1): itunes.apple.com\r\n2016-05-11 06:30:08,516 - INFO Mopidy uses SPOTIFY(R) CORE\r\n2016-05-11 06:30:08,647 - INFO Starting Mopidy core\r\n2016-05-11 06:30:09,136 - INFO Starting Mopidy frontends: MpdFrontend, HttpFrontend, ScrobblerFrontend\r\n2016-05-11 06:30:09,152 - INFO MPD server running at [::ffff:0.0.0.0]:6600\r\n2016-05-11 06:30:09,181 - INFO HTTP server running at [::ffff:0.0.0.0]:6680\r\n2016-05-11 06:30:09,933 - INFO Scrobbler connected to Last.fm\r\n2016-05-11 06:30:10,439 - INFO Connected to Spotify\r\n2016-05-11 06:30:11,271 - INFO New MPD connection from [::ffff:127.0.0.1]:60441\r\n2016-05-11 06:30:28,905 - INFO Loaded 31 Spotify playlists\r\n2016-05-11 06:31:43,277 - INFO 200 GET / (127.0.0.1) 108.47ms\r\n2016-05-11 06:33:43,333 - INFO 200 GET / (127.0.0.1) 14.96ms\r\n2016-05-11 06:35:43,388 - INFO 200 GET / (127.0.0.1) 14.72ms\r\n2016-05-11 06:37:43,446 - INFO 200 GET / (127.0.0.1) 14.86ms\r\n2016-05-11 06:39:43,501 - INFO 200 GET / (127.0.0.1) 14.69ms\r\n2016-05-11 06:41:43,563 - INFO 200 GET / (127.0.0.1) 21.08ms\r\n2016-05-11 06:43:43,613 - INFO 200 GET / (127.0.0.1) 14.67ms\r\n2016-05-11 06:45:43,668 - INFO 200 GET / (127.0.0.1) 14.43ms\r\n2016-05-11 06:47:43,725 - INFO 200 GET / (127.0.0.1) 14.21ms\r\n2016-05-11 06:49:43,782 - INFO 200 GET / (127.0.0.1) 15.23ms\r\n2016-05-11 06:51:43,837 - INFO 200 GET / (127.0.0.1) 14.40ms\r\n2016-05-11 06:53:43,893 - INFO 200 GET / (127.0.0.1) 14.77ms\r\n2016-05-11 06:55:43,952 - INFO 200 GET / (127.0.0.1) 17.65ms\r\n2016-05-11 06:57:44,053 - INFO 200 GET / (127.0.0.1) 29.91ms\r\n2016-05-11 06:59:44,106 - INFO 200 GET / (127.0.0.1) 14.33ms\r\n2016-05-11 07:01:44,162 - INFO 200 GET / (127.0.0.1) 14.77ms\r\n2016-05-11 07:03:44,218 - INFO 200 GET / (127.0.0.1) 14.48ms\r\n2016-05-11 07:05:44,274 - INFO 200 GET / (127.0.0.1) 15.16ms\r\n2016-05-11 07:07:44,386 - INFO 200 GET / (127.0.0.1) 31.09ms\r\n2016-05-11 07:09:44,430 - INFO 200 GET / (127.0.0.1) 14.61ms\r\n2016-05-11 07:11:44,486 - INFO 200 GET / (127.0.0.1) 14.69ms\r\n2016-05-11 07:13:44,542 - INFO 200 GET / (127.0.0.1) 15.27ms\r\n2016-05-11 07:13:55,134 - INFO Loaded 31 Spotify playlists\r\n2016-05-11 07:15:44,601 - INFO 200 GET / (127.0.0.1) 16.78ms\r\n2016-05-11 07:17:44,657 - INFO 200 GET / (127.0.0.1) 14.35ms\r\n2016-05-11 07:19:44,714 - INFO 200 GET / (127.0.0.1) 15.15ms\r\n2016-05-11 07:21:44,772 - INFO 200 GET / (127.0.0.1) 14.99ms\r\n2016-05-11 07:23:44,829 - INFO 200 GET / (127.0.0.1) 14.35ms\r\n2016-05-11 07:25:44,887 - INFO 200 GET / (127.0.0.1) 14.37ms\r\n2016-05-11 07:27:44,944 - INFO 200 GET / (127.0.0.1) 15.18ms\r\n2016-05-11 07:29:40,221 - INFO 304 GET /images/icons/pause_32x32.png (192.168.1.34) 58.29ms\r\n2016-05-11 07:29:40,376 - INFO 200 GET /images/icons/play_alt_12x12.png (192.168.1.34) 50.37ms\r\n2016-05-11 07:29:45,023 - INFO 200 GET / (127.0.0.1) 17.77ms\r\n2016-05-11 07:31:45,088 - INFO 200 GET / (127.0.0.1) 17.16ms\r\n2016-05-11 07:33:45,156 - INFO 200 GET / (127.0.0.1) 18.78ms\r\n2016-05-11 07:35:45,272 - INFO 200 GET / (127.0.0.1) 32.83ms\r\n2016-05-11 07:37:45,382 - INFO 200 GET / (127.0.0.1) 21.83ms\r\n2016-05-11 07:39:00,775 - INFO 304 GET /images/icons/play_alt_32x32.png (192.168.1.34) 105.35ms\r\n2016-05-11 07:39:00,876 - INFO 304 GET /images/default_cover.png (192.168.1.34) 69.91ms\r\n2016-05-11 07:39:01,209 - INFO 304 GET /images/icons/pause_32x32.png (192.168.1.34) 128.83ms\r\n2016-05-11 07:39:45,561 - INFO 200 GET / (127.0.0.1) 71.53ms\r\n2016-05-11 07:41:45,617 - INFO 200 GET / (127.0.0.1) 17.70ms\r\n2016-05-11 07:42:12,766 - INFO 304 GET /images/icons/play_alt_32x32.png (192.168.1.34) 36.17ms\r\n2016-05-11 07:42:12,920 - INFO 304 GET /images/default_cover.png (192.168.1.34) 80.46ms\r\n2016-05-11 07:42:13,229 - INFO 304 GET /images/icons/pause_32x32.png (192.168.1.34) 41.58ms\r\n2016-05-11 07:43:45,683 - INFO 200 GET / (127.0.0.1) 18.80ms\r\n2016-05-11 07:45:18,321 - INFO 304 GET /images/default_cover.png (192.168.1.34) 82.82ms\r\n2016-05-11 07:45:18,398 - INFO 304 GET /images/icons/play_alt_32x32.png (192.168.1.34) 57.46ms\r\n2016-05-11 07:45:18,566 - INFO 304 GET /images/icons/pause_32x32.png (192.168.1.34) 38.26ms\r\n2016-05-11 07:45:45,750 - INFO 200 GET / (127.0.0.1) 18.57ms\r\n2016-05-11 07:47:37,347 - INFO 304 GET /images/icons/play_alt_32x32.png (192.168.1.34) 14.70ms\r\n2016-05-11 07:47:45,809 - INFO 200 GET / (127.0.0.1) 15.83ms\r\n2016-05-11 07:49:45,866 - INFO 200 GET / (127.0.0.1) 14.20ms\r\n2016-05-11 07:51:46,018 - INFO 200 GET / (127.0.0.1) 46.41ms\r\n2016-05-11 07:52:10,622 - INFO 304 GET /images/default_cover.png (192.168.1.34) 43.26ms\r\n2016-05-11 07:53:46,073 - INFO 200 GET / (127.0.0.1) 18.34ms\r\n2016-05-11 07:55:46,135 - INFO 200 GET / (127.0.0.1) 15.07ms\r\n2016-05-11 07:57:23,657 - INFO 304 GET /images/icons/play_alt_32x32.png (192.168.1.34) 43.15ms\r\n2016-05-11 07:57:23,766 - INFO 304 GET /images/default_cover.png (192.168.1.34) 69.07ms\r\n2016-05-11 07:57:46,201 - INFO 200 GET / (127.0.0.1) 17.33ms\r\n2016-05-11 07:59:46,346 - INFO 200 GET / (127.0.0.1) 55.81ms\r\n2016-05-11 08:01:46,429 - INFO 200 GET / (127.0.0.1) 22.53ms\r\n2016-05-11 08:03:46,552 - INFO 200 GET / (127.0.0.1) 38.37ms`", "title": null, "type": "comment" }, { "action": "created", "author": "kingosticks", "comment_id": 218761711, "datetime": 1463060765000, "large_text": false, "masked_author": "username_2", "nb_lines": 5, "size": 721, "text": "Thanks for providing your log unfortunately the LOG_LEVEL is too high to show anything interesting. The problem with increasing the verbosity is that over time it's a great way to wear out your SD card so it's not advisable in the long-term. However, if you have a way to reliably recreate this problem then you could try temporarily setting `level = DEBUG` in `/etc/mopidy/mopidy.log`.\r\n\r\nWhen Mopidy crashes, depending on your browser, you may still be able to navigate the web UI since it's cached by your browser; but anything action that requires new response data will fail and you'll get the spinning icon. \r\n\r\nCan you just clarify when you paused and unpaused, particularly in relation to the events in monit.log.", "title": null, "type": "comment" } ]
5
10
12,841
false
false
12,841
false
true
jaagr/polybar
null
194,248,410
229
null
[ { "action": "opened", "author": "fidrox", "comment_id": null, "datetime": 1481173717000, "large_text": true, "masked_author": "username_0", "nb_lines": 148, "size": 7518, "text": "Installed the packages listed in the README and a few more to satisfy a few issue during the build but have gotten to a point that I'm not sure how to get past. \r\n\r\nERROR:\r\n~~~~ CMake Error: The following variables are used in this project, but they are set to NOTFOUND.\r\nPlease set them or make sure they are set and tested correctly in the CMake files:\r\nX11_Xft_LIB (ADVANCED)\r\n linked by target \"polybar\" in directory /home/dex/polybar/src\r\n linked by target \"unit_test.utils_string\" in directory /home/dex/polybar/tests\r\n linked by target \"unit_test.utils_memory\" in directory /home/dex/polybar/tests\r\n linked by target \"unit_test.utils_math\" in directory /home/dex/polybar/tests\r\n linked by target \"unit_test.x11_color\" in directory /home/dex/polybar/tests\r\n linked by target \"unit_test.components_command_line\" in directory /home/dex/polybar/tests\r\n linked by target \"unit_test.components_di\" in directory /home/dex/polybar/tests\r\n linked by target \"unit_test.utils_color\" in directory /home/dex/polybar/tests\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/home/dex/polybar/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"/home/dex/polybar/build/CMakeFiles/CMakeError.log\".\r\n** Failed to generate build... read output to get a hint of what went wrong\r\n~~~~\r\n\r\nFULL OUTPUT:\r\n~~~~ \r\n** Fetching submodules\r\n** Removing existing build dir (-f)\r\n** Setting build options\r\n** Enable i3 module ------- [Y/n]: y\r\n** Enable volume module --- [Y/n]: y\r\n** Enable network module -- [Y/n]: y\r\n** Enable mpd module ------ [Y/n]: n\r\n** Using compiler: g++/gcc\r\n** Executing cmake command\r\n-- The C compiler identification is GNU 5.4.0\r\n-- The CXX compiler identification is GNU 5.4.0\r\n-- Check for working C compiler: /usr/bin/gcc\r\n-- Check for working C compiler: /usr/bin/gcc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /usr/bin/g++\r\n-- Check for working CXX compiler: /usr/bin/g++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- No build type specified; using Release\r\n-- Using supported compiler GNU\r\n-- No preferred c++lib specified... linking against system default\r\n-- Found PkgConfig: /usr/bin/pkg-config (found version \"0.29.1\") \r\n-- --------------------------\r\n-- Build type: Release\r\n-- Compiler C: /usr/bin/gcc\r\n-- Compiler C++: /usr/bin/g++\r\n-- Compiler flags: -Wall -Wextra -Werror -O3 -pedantic -pedantic-errors -ffunction-sections -fdata-sections\r\n-- release: -O3 -DNDEBUG\r\n-- Linker flags: -Wl,--gc-sections\r\n-- C++ library: system default\r\n-- --------------------------\r\n-- Build testsuite OFF\r\n-- Debug logging OFF\r\n-- Verbose tracing OFF\r\n-- Draw debug hints OFF\r\n-- Enable ccache OFF\r\n-- --------------------------\r\n-- Enable alsa ON\r\n-- Enable i3 ON\r\n-- Enable mpd OFF\r\n-- Enable network ON\r\n-- --------------------------\r\n-- XRANDR support ON\r\n-- XRENDER support OFF\r\n-- XDAMAGE support OFF\r\n-- XSYNC support OFF\r\n-- XCOMPOSITE support OFF\r\n-- XKB support ON\r\n-- --------------------------\r\n-- Boost version: 1.58.0\r\n-- Looking for pthread.h\r\n-- Looking for pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - not found\r\n-- Check if compiler accepts -pthread\r\n-- Check if compiler accepts -pthread - yes\r\n-- Found Threads: TRUE \r\n-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so\r\n-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so - found\r\n-- Looking for gethostbyname\r\n-- Looking for gethostbyname - found\r\n-- Looking for connect\r\n-- Looking for connect - found\r\n-- Looking for remove\r\n-- Looking for remove - found\r\n-- Looking for shmat\r\n-- Looking for shmat - found\r\n-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so\r\n-- Found X11_XCB: /usr/lib/x86_64-linux-gnu/libX11-xcb.so \r\n-- Checking for module 'fontconfig'\r\n-- Found fontconfig, version 2.11.94\r\n-- Checking for module 'xcb-proto'\r\n-- Found xcb-proto, version 1.11\r\n-- Found PythonInterp: /usr/bin/python2.7 (found suitable version \"2.7.11\", minimum required is \"2.7\") \r\n-- XCB[XCB]: Found component XCB\r\n-- Found XCB_XCB: /usr/lib/x86_64-linux-gnu/libxcb.so \r\n-- XCB[ICCCM]: Found component ICCCM\r\n-- Found XCB_ICCCM: /usr/lib/x86_64-linux-gnu/libxcb-icccm.so \r\n-- XCB[EWMH]: Found component EWMH\r\n-- Found XCB_EWMH: /usr/lib/x86_64-linux-gnu/libxcb-ewmh.so \r\n-- XCB[UTIL]: Found component UTIL\r\n-- Found XCB_UTIL: /usr/lib/x86_64-linux-gnu/libxcb-util.so \r\n-- XCB[IMAGE]: Found component IMAGE\r\n-- Found XCB_IMAGE: /usr/lib/x86_64-linux-gnu/libxcb-image.so \r\n-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-icccm.so;/usr/lib/x86_64-linux-gnu/libxcb-ewmh.so;/usr/lib/x86_64-linux-gnu/libxcb-util.so;/usr/lib/x86_64-linux-gnu/libxcb-image.so \r\n-- Searching for xcbgen with python2\r\n-- Found xcbgen in /usr/lib/python2.7/dist-packages\r\n-- XCB[RANDR]: Found component RANDR\r\n-- Found XCB_RANDR: /usr/lib/x86_64-linux-gnu/libxcb-randr.so \r\n-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-icccm.so;/usr/lib/x86_64-linux-gnu/libxcb-ewmh.so;/usr/lib/x86_64-linux-gnu/libxcb-util.so;/usr/lib/x86_64-linux-gnu/libxcb-image.so;/usr/lib/x86_64-linux-gnu/libxcb-randr.so \r\n-- XCB[XKB]: Found component XKB\r\n-- Found XCB_XKB: /usr/lib/x86_64-linux-gnu/libxcb-xkb.so \r\n-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so;/usr/lib/x86_64-linux-gnu/libxcb-icccm.so;/usr/lib/x86_64-linux-gnu/libxcb-ewmh.so;/usr/lib/x86_64-linux-gnu/libxcb-util.so;/usr/lib/x86_64-linux-gnu/libxcb-image.so;/usr/lib/x86_64-linux-gnu/libxcb-randr.so;/usr/lib/x86_64-linux-gnu/libxcb-xkb.so \r\n-- xpp: including xcb proto xkb.xml\r\n-- xpp: including xcb proto randr.xml\r\n-- xpp: including xcb proto xproto.xml\r\n-- Found ALSA: /usr/lib/x86_64-linux-gnu/libasound.so (found version \"1.1.0\") \r\n-- Found Libiw: /usr/lib/x86_64-linux-gnu/libiw.so \r\n-- Checking for module 'jsoncpp>=1.7.7'\r\n-- \r\n-- Could not find jsoncpp>=1.7.7 -- building static lib...\r\n-- JsonCpp Version: 1.7.7\r\n-- Found PythonInterp: /usr/bin/python2.7 (found suitable version \"2.7.11\", minimum required is \"2.6\") \r\nCMake Error: The following variables are used in this project, but they are set to NOTFOUND.\r\nPlease set them or make sure they are set and tested correctly in the CMake files:\r\nX11_Xft_LIB (ADVANCED)\r\n linked by target \"polybar\" in directory /home/dex/polybar/src\r\n linked by target \"unit_test.utils_string\" in directory /home/dex/polybar/tests\r\n linked by target \"unit_test.utils_memory\" in directory /home/dex/polybar/tests\r\n linked by target \"unit_test.utils_math\" in directory /home/dex/polybar/tests\r\n linked by target \"unit_test.x11_color\" in directory /home/dex/polybar/tests\r\n linked by target \"unit_test.components_command_line\" in directory /home/dex/polybar/tests\r\n linked by target \"unit_test.components_di\" in directory /home/dex/polybar/tests\r\n linked by target \"unit_test.utils_color\" in directory /home/dex/polybar/tests\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/home/dex/polybar/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"/home/dex/polybar/build/CMakeFiles/CMakeError.log\".\r\n** Failed to generate build... read output to get a hint of what went wrong\r\n~~~~", "title": "Unable to build on LinuxMint 18 (ubu 16.04)", "type": "issue" }, { "action": "created", "author": "davewongillies", "comment_id": 265661474, "datetime": 1481177454000, "large_text": false, "masked_author": "username_1", "nb_lines": 25, "size": 548, "text": "I'm currently building in a fresh docker container each time running Ubuntu 16.04 and this is [my list of build depends](https://github.com/username_1/fpm-recipes/blob/master/polybar/recipe.rb#L13) which works for me:\r\n\r\n```\r\ncmake\r\ncmake-data\r\nlibboost-dev\r\nlibfreetype6-dev\r\nlibxcb1-dev\r\nlibx11-xcb-dev\r\nlibxcb-util0-dev\r\nlibxcb-image0-dev\r\nlibxcb-randr0-dev\r\nlibxcb-ewmh-dev\r\nlibxcb-xkb-dev\r\nlibxcb-icccm4-dev\r\nxcb-proto\r\npython-xcbgen\r\ni3-wm\r\nlibiw-dev\r\nlibasound2-dev\r\nlibmpdclient-dev\r\npkg-config\r\nlibfontconfig1-dev\r\nlibghc-x11-xft-dev'\r\n```", "title": null, "type": "comment" }, { "action": "created", "author": "jaagr", "comment_id": 265765600, "datetime": 1481210376000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 58, "text": "@username_0 looks like you're missing the freetype package", "title": null, "type": "comment" }, { "action": "created", "author": "fidrox", "comment_id": 265784724, "datetime": 1481214564000, "large_text": false, "masked_author": "username_0", "nb_lines": 5, "size": 253, "text": "Thanks guys, got it working!\r\n\r\nFreetype was installed but I was missing something. Ran the list @username_1 provided through apt-get and it garbed a few files (not sure which ones) then the build process ran with no issue. \r\n\r\nThanks for the great app.", "title": null, "type": "comment" }, { "action": "created", "author": "jaagr", "comment_id": 265785153, "datetime": 1481214650000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 68, "text": "Awesome, I will update the readme with the list @username_1 provided", "title": null, "type": "comment" }, { "action": "closed", "author": "jaagr", "comment_id": null, "datetime": 1481214654000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 0, "text": "", "title": null, "type": "issue" } ]
3
6
8,453
false
false
8,453
true
true
dnschneid/crouton
null
25,460,568
575
null
[ { "action": "opened", "author": "drinkcat", "comment_id": null, "datetime": 1389525250000, "large_text": true, "masked_author": "username_0", "nb_lines": 103, "size": 5138, "text": "So, I got that new fancy USB 3.0 stick to use with my Samsung Chromebook ARM, but I’m facing an issue with persistence on the USB 3.0 port. USB 2.0 port works as expected.\r\n\r\ncroutonversion:\r\n```\r\ncrouton: version git (that’s chroagh actually)\r\nrelease: alarm\r\narchitecture: armv7h\r\nhost: version 4731.101.0 (Official Build) stable-channel daisy\r\n```\r\n\r\nPlug in USB 2.0 port, `dmesg` output:\r\n```\r\n[ 181.242031] usb 1-1: new high-speed USB device number 4 using s5p-ehci\r\n[ 181.373959] usb 1-1: New USB device found, idVendor=0781, idProduct=5580\r\n[ 181.373995] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3\r\n[ 181.374023] usb 1-1: Product: Extreme\r\n[ 181.374044] usb 1-1: Manufacturer: SanDisk\r\n[ 181.374066] usb 1-1: SerialNumber: AA010304132354502307\r\n[ 181.376587] scsi0 : usb-storage 1-1:1.0\r\n[ 182.377851] scsi 0:0:0:0: Direct-Access SanDisk Extreme 0001 PQ: 0 ANSI: 6\r\n[ 182.382748] sd 0:0:0:0: [sda] 62533296 512-byte logical blocks: (32.0 GB/29.8 GiB)\r\n[ 182.383573] sd 0:0:0:0: [sda] Write Protect is off\r\n[ 182.383589] sd 0:0:0:0: [sda] Mode Sense: 33 00 00 08\r\n[ 182.384443] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA\r\n[ 182.390322] sda: sda1\r\n[ 182.397562] sd 0:0:0:0: [sda] Attached SCSI disk\r\n[ 183.076566] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:\r\n```\r\n\r\nThen enter-chroot:\r\n```\r\nsudo sh /media/removable/USB\\ Drive/local/bin/enter-chroot\r\n```\r\n\r\nNow suspend the machine (close lid), wake it up, chroot still works, and nothing remarkable in dmesg:\r\n```\r\n[ 298.516998] usb 1-1: reset high-speed USB device number 4 using s5p-ehci\r\n```\r\n\r\nAll good.\r\n\r\nNow, connecting the device on the USB 3.0 port:\r\n```\r\n[ 406.967417] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd\r\n[ 406.984096] usb 4-1: New USB device found, idVendor=0781, idProduct=5580\r\n[ 406.984179] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3\r\n[ 406.984249] usb 4-1: Product: Extreme\r\n[ 406.984300] usb 4-1: Manufacturer: SanDisk\r\n[ 406.984351] usb 4-1: SerialNumber: AA010304132354502307\r\n[ 406.988434] scsi1 : usb-storage 4-1:1.0\r\n[ 407.987575] scsi 1:0:0:0: Direct-Access SanDisk Extreme 0001 PQ: 0 ANSI: 6\r\n[ 407.988524] sd 1:0:0:0: [sda] 62533296 512-byte logical blocks: (32.0 GB/29.8 GiB)\r\n[ 407.988912] sd 1:0:0:0: [sda] Write Protect is off\r\n[ 407.988926] sd 1:0:0:0: [sda] Mode Sense: 33 00 00 08\r\n[ 407.989867] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA\r\n[ 407.995339] sda: sda1\r\n[ 407.997427] sd 1:0:0:0: [sda] Attached SCSI disk\r\n[ 408.551535] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:\r\n```\r\n\r\nenter-chroot, then close the lid. On the way back, the chroot is unusable:\r\n```\r\n$ ls\r\n-bash: /usr/bin/ls: No such file or directory\r\n```\r\n\r\nAnd this in dmesg:\r\n```\r\n[ 498.022090] usb 4-1: USB disconnect, device number 2\r\n[ 498.043808] sd 1:0:0:0: [sda] Synchronizing SCSI cache\r\n[ 498.043908] sd 1:0:0:0: [sda] Result: hostbyte=0x01 driverbyte=0x00\r\n[ 498.046378] xHCI xhci_drop_endpoint called with unaddressed device\r\n[ 498.046388] xHCI xhci_drop_endpoint called with unaddressed device\r\n[ 498.046396] xHCI xhci_check_bandwidth called with unaddressed device\r\n[ 498.052525] xHCI xhci_free_dev called with unaddressed device\r\n[ 498.282083] usb 4-1: new SuperSpeed USB device number 3 using xhci-hcd\r\n[ 498.297783] usb 4-1: New USB device found, idVendor=0781, idProduct=5580\r\n[ 498.297795] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3\r\n[ 498.297804] usb 4-1: Product: Extreme\r\n[ 498.297811] usb 4-1: Manufacturer: SanDisk\r\n[ 498.297817] usb 4-1: SerialNumber: AA010304132354502307\r\n[ 498.307098] scsi2 : usb-storage 4-1:1.0\r\n[ 499.307467] scsi 2:0:0:0: Direct-Access SanDisk Extreme 0001 PQ: 0 ANSI: 6\r\n[ 499.311696] sd 2:0:0:0: [sdb] 62533296 512-byte logical blocks: (32.0 GB/29.8 GiB)\r\n[ 499.312283] sd 2:0:0:0: [sdb] Write Protect is off\r\n[ 499.312294] sd 2:0:0:0: [sdb] Mode Sense: 33 00 00 08\r\n[ 499.312794] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA\r\n[ 499.315296] sdb: sdb1\r\n[ 499.316797] sd 2:0:0:0: [sdb] Attached SCSI disk\r\n[ 500.042549] EXT4-fs (sdb1): recovery complete\r\n[ 500.044215] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: \r\n[ 500.420156] EXT4-fs error (device sda1): ext4_find_entry:935: inode #786456: comm bash: reading directory lblock 0\r\n```\r\n\r\nThe USB stick gets mapped to a new device (`sdb`), mounted a new location (`/media/removable/USB Drive 1`), and lots of mount points are left behind by crouton.\r\n\r\nRelated to #288 (and http://crbug.com/208380), but not quite the same thing... ext4 without journal does not fix the problem: the issue is at a lower level it seems.\r\n\r\nAnother device that is only USB 2.0 capable works on both ports (I've notice some strangeness that looks more like #288, but the chroot was always kept alive).\r\n\r\n`power/persist` in the relevant sysfs directory is set to 1, as expected.\r\n\r\nIf somebody has any suggestions...", "title": "Persistence with USB 3.0 device", "type": "issue" }, { "action": "created", "author": "promanczuk", "comment_id": 123130458, "datetime": 1437445130000, "large_text": false, "masked_author": "username_1", "nb_lines": 5, "size": 409, "text": "Hi,\r\n\r\nI am having a similar issue with a SanDisk USB 3.0 formatted with ext4. It keeps remounting randomly. During normal continuous operation. I am for example unable to do any backups on my chroot as it keeps randomly umounting/remountig during the process. On the other hand, a backup on a Lexar USB 2.0 (I think FAT32) seems to wark flawlesly no remounts.\r\n\r\nI guess it seems to be a Chrome OS problem.", "title": null, "type": "comment" } ]
2
2
5,547
false
false
5,547
false
true
scylladb/seastar
scylladb
168,726,598
176
null
[ { "action": "opened", "author": "tgrabiec", "comment_id": null, "datetime": 1470080895000, "large_text": true, "masked_author": "username_0", "nb_lines": 56, "size": 11316, "text": "HEAD = 0bcdd282c54d00651dd0518da91944a6ec97dab6 + the following diff:\r\n```diff\r\ndiff --git a/core/reactor.cc b/core/reactor.cc\r\nindex 55164df..4f68279 100644\r\n--- a/core/reactor.cc\r\n+++ b/core/reactor.cc\r\n@@ -534,13 +534,14 @@ void reactor_backend_epoll::complete_epoll_event(pollable_fd_state& pfd, promise\r\n auto pr = std::make_unique<promise<io_event>>();\r\n iocb io;\r\n prepare_io(io);\r\n- io.data = pr.get();\r\n+ auto f = pr->get_future();\r\n+ io.data = pr.release();\r\n _pending_aio.push_back(io);\r\n if ((_io_queue->queued_requests() > 0) ||\r\n (_pending_aio.size() >= std::min(max_aio / 4, _io_queue->_capacity / 2))) {\r\n flush_pending_aio();\r\n }\r\n- return pr.release()->get_future();\r\n+ return f;\r\n });\r\n }\r\n \r\n@@ -2864,7 +2865,8 @@ void engine_exit(std::exception_ptr eptr) {\r\n }\r\n \r\n void report_failed_future(std::exception_ptr eptr) {\r\n- report_exception(\"WARNING: exceptional future ignored\", eptr);\r\n+ abort();\r\n+// report_exception(\"WARNING: exceptional future ignored\", eptr);\r\n }\r\n \r\n future<> check_direct_io_support(sstring path) {\r\n```\r\n\r\n```\r\n#2 0x00000000004d25f9 in report_failed_future (eptr=...) at core/reactor.cc:2868\r\n#3 0x0000000000f845f6 in future<foreign_ptr<lw_shared_ptr<query::result> > >::~future (this=<optimized out>, __in_chrg=<optimized out>)\r\n at /home/centos/src/scylla/build/rpmbuild/BUILD/scylla-1.2.1/seastar/core/future.hh:772\r\n#4 do_void_futurize_apply<auto rpc::recv_helper<net::serializer, net::messaging_verb, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>, future<foreign_ptr<lw_shared_ptr<query::result> > >, query::read_command, range<dht::ring_position>, rpc::do_want_client_info>(rpc::signature<future<foreign_ptr<lw_shared_ptr<query::result> > > (query::read_command, range<dht::ring_position>)>, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>&&, rpc::do_want_client_info)::{lambda(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)#1}::operator()(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)::{lambda()#1}::operator()()::{lambda(future<foreign_ptr<lw_shared_ptr<query::result> > >)#1}, future<foreign_ptr<lw_shared_ptr<query::result> > > >(std::enable_if&&, auto rpc::recv_helper<net::serializer, net::messaging_verb, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>, future<foreign_ptr<lw_shared_ptr<query::result> > >, query::read_command, range<dht::ring_position>, rpc::do_want_client_info>(rpc::signature<future<foreign_ptr<lw_shared_ptr<query::result> > > (query::read_command, range<dht::ring_position>)>, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>&&, rpc::do_want_client_info)::{lambda(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)#1}::operator()(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)::{lambda()#1}::operator()()::{lambda(future<foreign_ptr<lw_shared_ptr<query::result> > >)#1}) (\r\n func=func@entry=<unknown type in /usr/bin/scylla, CU 0xf30d9b3, DIE 0xfa67b4b>) at /home/centos/src/scylla/build/rpmbuild/BUILD/scylla-1.2.1/seastar/core/future.hh:1179\r\n#5 0x0000000000f8583e in futurize<void>::apply<auto rpc::recv_helper<net::serializer, net::messaging_verb, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>, future<foreign_ptr<lw_shared_ptr<query::result> > >, query::read_command, range<dht::ring_position>, rpc::do_want_client_info>(rpc::signature<future<foreign_ptr<lw_shared_ptr<query::result> > > (query::read_command, range<dht::ring_position>)>, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>&&, rpc::do_want_client_info)::{lambda(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)#1}::operator()(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)::{lambda()#1}::operator()()::{lambda(future<foreign_ptr<lw_shared_ptr<query::result> > >)#1}, future<foreign_ptr<lw_shared_ptr<query::result> > > >(auto rpc::recv_helper<net::serializer, net::messaging_verb, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>, future<foreign_ptr<lw_shared_ptr<query::result> > >, query::read_command, range<dht::ring_position>, rpc::do_want_client_info>(rpc::signature<future<foreign_ptr<lw_shared_ptr<query::result> > > (query::read_command, range<dht::ring_position>)>, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>&&, rpc::do_want_client_info)::{lambda(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)#1}::operator()(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)::{lambda()#1}::operator()()::{lambda(future<foreign_ptr<lw_shared_ptr<query::result> > >)#1}&&, future<foreign_ptr<lw_shared_ptr<query::result> > >&&)\r\n (func=<optimized out>) at /home/centos/src/scylla/build/rpmbuild/BUILD/scylla-1.2.1/seastar/core/future.hh:1227\r\n#6 future<> future<foreign_ptr<lw_shared_ptr<query::result> > >::then_wrapped<auto rpc::recv_helper<net::serializer, net::messaging_verb, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>, future<foreign_ptr<lw_shared_ptr<query::result> > >, query::read_command, range<dht::ring_position>, rpc::do_want_client_info>(rpc::signature<future<foreign_ptr<lw_shared_ptr<query::result> > > (query::read_command, range<dht::ring_position>)>, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>&&, rpc::do_want_client_info)::{lambda(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)#1}::operator()(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)::{lambda()#1}::operator()()::{lambda(future<foreign_ptr<lw_shared_ptr<query::result> > >)#1}, future<> >(auto rpc::recv_helper<net::serializer, net::messaging_verb, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>, future<foreign_ptr<lw_shared_ptr<query::result> > >, query::read_command, range<dht::ring_position>, rpc::do_want_client_info>(rpc::signature<future<foreign_ptr<lw_shared_ptr<query::result> > > (query::read_command, range<dht::ring_position>)>, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>&&, rpc::do_want_client_info)::{lambda(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)#1}::operator()(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)::{lambda()#1}::operator()()::{lambda(future<foreign_ptr<lw_shared_ptr<query::result> > >)#1}&&)::{lambda(future<>)#1}::operator()<future_state<foreign_ptr<lw_shared_ptr<query::result> > > >(auto, future<>) (state=<unknown type in /usr/bin/scylla, CU 0xf30d9b3, DIE 0xfa6b004>, __closure=0x60704739cc20)\r\n at /home/centos/src/scylla/build/rpmbuild/BUILD/scylla-1.2.1/seastar/core/future.hh:909\r\n#7 continuation<future<> future<foreign_ptr<lw_shared_ptr<query::result> > >::then_wrapped<auto rpc::recv_helper<net::serializer, net::messaging_verb, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>, future<foreign_ptr<lw_shared_ptr<query::result> > >, query::read_command, range<dht::ring_position>, rpc::do_want_client_info>(rpc::signature<future<foreign_ptr<lw_shared_ptr<query::result> > > (query::read_command, range<dht::ring_position>)>, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>&&, rpc::do_want_client_info)::{lambda(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)#1}::operator()(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)::{lambda()#1}::operator()()::{lambda(future<foreign_ptr<lw_shared_ptr<query::result> > >)#1}, future<> >(auto rpc::recv_helper<net::serializer, net::messaging_verb, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>, future<foreign_ptr<lw_shared_ptr<query::result> > >, query::read_command, range<dht::ring_position>, rpc::do_want_client_info>(rpc::signature<future<foreign_ptr<lw_shared_ptr<query::result> > > (query::read_command, range<dht::ring_position>)>, std::function<future<foreign_ptr<lw_shared_ptr<query::result> > > (rpc::client_info const&, query::read_command, range<dht::ring_position>)>&&, rpc::do_want_client_info)::{lambda(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)#1}::operator()(lw_shared_ptr<rpc::protocol<net::serializer, net::messaging_verb>::server::connection>, long, temporary_buffer<char>)::{lambda()#1}::operator()()::{lambda(future<foreign_ptr<lw_shared_ptr<query::result> > >)#1}&&)::{lambda(future<>)#1}, foreign_ptr<lw_shared_ptr<query::result> > >::run() (this=0x60704739cc00) at /home/centos/src/scylla/build/rpmbuild/BUILD/scylla-1.2.1/seastar/core/future.hh:402\r\n#8 0x00000000004d132e in reactor::run_tasks (this=this@entry=0x607000111000, tasks=...) at core/reactor.cc:1500\r\n#9 0x00000000004fbc6b in reactor::run (this=0x607000111000) at core/reactor.cc:1853\r\n#10 0x0000000000515c79 in smp::<lambda()>::operator()(void) const (__closure=0x600000085700) at core/reactor.cc:2640\r\n#11 0x00000000004ce24e in std::function<void ()>::operator()() const (this=<optimized out>) at /opt/scylladb/include/c++/5.3.1/functional:2271\r\n#12 dpdk_thread_adaptor (f=<optimized out>) at core/reactor.cc:2449\r\n#13 0x00000000006dac3b in eal_thread_loop ()\r\n---Type <return> to continue, or q <return> to quit---select-frame 6\r\n#14 0x00007ffa7ceefdc5 in start_thread (arg=0x7ffa718cd700) at pthread_create.c:308\r\n#15 0x00007ffa7cc1d21d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113\r\n```", "title": "Failed future ignored somewhere inside rpc", "type": "issue" }, { "action": "closed", "author": "avikivity", "comment_id": null, "datetime": 1477382841000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 0, "text": "", "title": null, "type": "issue" } ]
2
2
11,316
false
false
11,316
false
true
jonahoffline/filepreviews-ruby
null
92,189,178
8
null
[ { "action": "opened", "author": "haggen", "comment_id": null, "datetime": 1435695414000, "large_text": true, "masked_author": "username_0", "nb_lines": 126, "size": 9058, "text": "Just by calling `Filepreviews.generate` I'm getting `JSON::ParserError`; see the trace below.\r\n\r\n```\r\njson (1.8.2) lib/json/common.rb:155:in `initialize'\r\njson (1.8.2) lib/json/common.rb:155:in `new'\r\njson (1.8.2) lib/json/common.rb:155:in `parse'\r\nfilepreviews (1.2.0) lib/filepreviews/http.rb:69:in `parse'\r\nfilepreviews (1.2.0) lib/filepreviews/http.rb:62:in `fetch'\r\nfilepreviews (1.2.0) lib/filepreviews.rb:20:in `generate'\r\nactionpack (3.2.21) lib/action_view/template.rb:145:in `block in render'\r\nactivesupport (3.2.21) lib/active_support/notifications.rb:125:in `instrument'\r\nactionpack (3.2.21) lib/action_view/template.rb:143:in `render'\r\nactionpack (3.2.21) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'\r\nactionpack (3.2.21) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'\r\nactivesupport (3.2.21) lib/active_support/notifications.rb:123:in `block in instrument'\r\nactivesupport (3.2.21) lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\nactivesupport (3.2.21) lib/active_support/notifications.rb:123:in `instrument'\r\nactionpack (3.2.21) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'\r\nactionpack (3.2.21) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'\r\nactionpack (3.2.21) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'\r\nactionpack (3.2.21) lib/action_view/renderer/template_renderer.rb:45:in `render_template'\r\nactionpack (3.2.21) lib/action_view/renderer/template_renderer.rb:18:in `render'\r\nactionpack (3.2.21) lib/action_view/renderer/renderer.rb:36:in `render_template'\r\nactionpack (3.2.21) lib/action_view/renderer/renderer.rb:17:in `render'\r\nactionpack (3.2.21) lib/abstract_controller/rendering.rb:110:in `_render_template'\r\nactionpack (3.2.21) lib/action_controller/metal/streaming.rb:225:in `_render_template'\r\nactionpack (3.2.21) lib/abstract_controller/rendering.rb:103:in `render_to_body'\r\nactionpack (3.2.21) lib/action_controller/metal/renderers.rb:28:in `render_to_body'\r\nactionpack (3.2.21) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'\r\nactionpack (3.2.21) lib/abstract_controller/rendering.rb:88:in `render'\r\nactionpack (3.2.21) lib/action_controller/metal/rendering.rb:16:in `render'\r\nactionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'\r\nactivesupport (3.2.21) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'\r\n/usr/local/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'\r\nactivesupport (3.2.21) lib/active_support/core_ext/benchmark.rb:5:in `ms'\r\nactionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:40:in `block in render'\r\nactionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'\r\nactionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:39:in `render'\r\nactionpack (3.2.21) lib/action_controller/metal/implicit_render.rb:10:in `default_render'\r\nactionpack (3.2.21) lib/action_controller/metal/implicit_render.rb:5:in `send_action'\r\nactionpack (3.2.21) lib/abstract_controller/base.rb:167:in `process_action'\r\nactionpack (3.2.21) lib/action_controller/metal/rendering.rb:10:in `process_action'\r\nactionpack (3.2.21) lib/abstract_controller/callbacks.rb:18:in `block in process_action'\r\nactivesupport (3.2.21) lib/active_support/callbacks.rb:436:in `_run__1199963992045643328__process_action__354792127446437228__callbacks'\r\nactivesupport (3.2.21) lib/active_support/callbacks.rb:405:in `__run_callback'\r\nactivesupport (3.2.21) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'\r\nactivesupport (3.2.21) lib/active_support/callbacks.rb:81:in `run_callbacks'\r\nactionpack (3.2.21) lib/abstract_controller/callbacks.rb:17:in `process_action'\r\nactionpack (3.2.21) lib/action_controller/metal/rescue.rb:29:in `process_action'\r\nactionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'\r\nactivesupport (3.2.21) lib/active_support/notifications.rb:123:in `block in instrument'\r\nactivesupport (3.2.21) lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\nactivesupport (3.2.21) lib/active_support/notifications.rb:123:in `instrument'\r\nactionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:29:in `process_action'\r\nactionpack (3.2.21) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'\r\nactionpack (3.2.21) lib/abstract_controller/base.rb:121:in `process'\r\nactionpack (3.2.21) lib/abstract_controller/rendering.rb:45:in `process'\r\nactionpack (3.2.21) lib/action_controller/metal.rb:203:in `dispatch'\r\nactionpack (3.2.21) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'\r\nactionpack (3.2.21) lib/action_controller/metal.rb:246:in `block in action'\r\nactionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:73:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'\r\nactionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:36:in `call'\r\njourney (1.0.4) lib/journey/router.rb:68:in `block in call'\r\njourney (1.0.4) lib/journey/router.rb:56:in `each'\r\njourney (1.0.4) lib/journey/router.rb:56:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:608:in `call'\r\nmongoid (3.1.6) lib/rack/mongoid/middleware/identity_map.rb:34:in `block in call'\r\nmongoid (3.1.6) lib/mongoid/unit_of_work.rb:39:in `unit_of_work'\r\nmongoid (3.1.6) lib/rack/mongoid/middleware/identity_map.rb:34:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'\r\nrack (1.4.5) lib/rack/etag.rb:23:in `call'\r\nrack (1.4.5) lib/rack/conditionalget.rb:25:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/middleware/head.rb:14:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/middleware/params_parser.rb:21:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/middleware/flash.rb:242:in `call'\r\nrack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'\r\nrack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/middleware/cookies.rb:341:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'\r\nactivesupport (3.2.21) lib/active_support/callbacks.rb:405:in `_run__2601463367027478767__call__4555912327375473480__callbacks'\r\nactivesupport (3.2.21) lib/active_support/callbacks.rb:405:in `__run_callback'\r\nactivesupport (3.2.21) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'\r\nactivesupport (3.2.21) lib/active_support/callbacks.rb:81:in `run_callbacks'\r\nactionpack (3.2.21) lib/action_dispatch/middleware/callbacks.rb:27:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/middleware/reloader.rb:65:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'\r\nbetter_errors (2.1.1) lib/better_errors/middleware.rb:59:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'\r\nrailties (3.2.21) lib/rails/rack/logger.rb:32:in `call_app'\r\nrailties (3.2.21) lib/rails/rack/logger.rb:16:in `block in call'\r\nactivesupport (3.2.21) lib/active_support/tagged_logging.rb:22:in `tagged'\r\nrailties (3.2.21) lib/rails/rack/logger.rb:16:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/middleware/request_id.rb:22:in `call'\r\nrack (1.4.5) lib/rack/methodoverride.rb:21:in `call'\r\nrack (1.4.5) lib/rack/runtime.rb:17:in `call'\r\nactivesupport (3.2.21) lib/active_support/cache/strategy/local_cache.rb:72:in `call'\r\nrack (1.4.5) lib/rack/lock.rb:15:in `call'\r\nactionpack (3.2.21) lib/action_dispatch/middleware/static.rb:83:in `call'\r\nrack-timeout (0.2.0) lib/rack/timeout.rb:108:in `call'\r\nrailties (3.2.21) lib/rails/engine.rb:484:in `call'\r\nrailties (3.2.21) lib/rails/application.rb:231:in `call'\r\nrailties (3.2.21) lib/rails/railtie/configurable.rb:30:in `method_missing'\r\nrack (1.4.5) lib/rack/deflater.rb:13:in `call'\r\nrack-cors (0.3.1) lib/rack/cors.rb:72:in `call'\r\nrack (1.4.5) lib/rack/content_length.rb:14:in `call'\r\nrailties (3.2.21) lib/rails/rack/log_tailer.rb:17:in `call'\r\nthin (1.6.3) lib/thin/connection.rb:86:in `block in pre_process'\r\nthin (1.6.3) lib/thin/connection.rb:84:in `catch'\r\nthin (1.6.3) lib/thin/connection.rb:84:in `pre_process'\r\nthin (1.6.3) lib/thin/connection.rb:53:in `process'\r\nthin (1.6.3) lib/thin/connection.rb:39:in `receive_data'\r\neventmachine (1.0.7) lib/eventmachine.rb:187:in `run_machine'\r\neventmachine (1.0.7) lib/eventmachine.rb:187:in `run'\r\nthin (1.6.3) lib/thin/backends/base.rb:73:in `start'\r\nthin (1.6.3) lib/thin/server.rb:162:in `start'\r\nrack (1.4.5) lib/rack/handler/thin.rb:13:in `run'\r\nrack (1.4.5) lib/rack/server.rb:268:in `start'\r\nrailties (3.2.21) lib/rails/commands/server.rb:70:in `start'\r\nrailties (3.2.21) lib/rails/commands.rb:55:in `block in <top (required)>'\r\nrailties (3.2.21) lib/rails/commands.rb:50:in `tap'\r\nrailties (3.2.21) lib/rails/commands.rb:50:in `<top (required)>'\r\nscript/rails:6:in `require'\r\nscript/rails:6:in `<main>'\r\n```", "title": "Getting when generating preview JSON::ParserError", "type": "issue" }, { "action": "created", "author": "haggen", "comment_id": 117803399, "datetime": 1435779612000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 219, "text": "The same error happens when using the CLI. Please note that I'm trying to run it from inside a Docker container running on Debian \"jessie\". If a component or library is missing, it should have complained, shouldn't it ?", "title": null, "type": "comment" }, { "action": "created", "author": "jonahoffline", "comment_id": 120648021, "datetime": 1436637064000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 176, "text": "@username_0 sorry I didn't see this sooner. I just tried to reproduce this on my box with no success. Can you share your `Dockerfile` (or anything else like ruby version, etc).", "title": null, "type": "comment" }, { "action": "created", "author": "jpadilla", "comment_id": 120648930, "datetime": 1436637979000, "large_text": false, "masked_author": "username_2", "nb_lines": 3, "size": 187, "text": "This is part implementation issue on all v1 client libraries which did\npolling for results and hanged previews on our side. Implementation of v2\nlibraries remove this behavior by default.", "title": null, "type": "comment" }, { "action": "created", "author": "jonahoffline", "comment_id": 120651736, "datetime": 1436639814000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 158, "text": "@username_2 my implementation of `v1` doesn't poll for results (first request only returns image and metadata urls; for metadata you have to call the method).", "title": null, "type": "comment" }, { "action": "created", "author": "haggen", "comment_id": 121247520, "datetime": 1436882586000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 176, "text": "The image I'm using is this https://registry.hub.docker.com/u/username_0/rails/dockerfile/ which is based on this https://registry.hub.docker.com/u/username_0/ruby/dockerfile/.", "title": null, "type": "comment" }, { "action": "closed", "author": "jonahoffline", "comment_id": null, "datetime": 1473882512000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 0, "text": "", "title": null, "type": "issue" } ]
3
7
9,960
false
false
9,960
true
true
BitShares/bitshares
BitShares
54,626,193
1,266
null
[ { "action": "opened", "author": "shawnpringle", "comment_id": null, "datetime": 1421443158000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 217, "text": "I compiled Bitshares myself and I get the user agreement window, which is bigger than my monitor by the way, and I accept it but then it crashes immediately once I get past it. It tries to free the same memory twice.", "title": "BitShares crashes on startup.", "type": "issue" }, { "action": "created", "author": "dnotestein", "comment_id": 70325420, "datetime": 1421443857000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 99, "text": "Can you provide some more info about your build process? For example, what OS are you compiling on?", "title": null, "type": "comment" }, { "action": "created", "author": "shawnpringle", "comment_id": 70339235, "datetime": 1421450761000, "large_text": false, "masked_author": "username_0", "nb_lines": 65, "size": 2780, "text": "Certainly: Linux/Slackware 32-bit i86 boost 1.55\r\nI couldn't get the thing to build as is. I apply this patch below for the Makefiles. To get it to build. I tried the HEAD version after git checkout. I am trying v0.4.27.2 now with the patch below. it also crashes.\r\n\r\ndiff --git a/CMakeLists.txt b/CMakeLists.txt\r\nindex 0d9597d..972f90c 100644\r\n--- a/CMakeLists.txt\r\n+++ b/CMakeLists.txt\r\n@@ -42,7 +42,6 @@ LIST(APPEND BOOST_COMPONENTS thread\r\n context\r\n locale)\r\n \r\n-set(Boost_USE_STATIC_LIBS ON)\r\n IF( WIN32 )\r\n SET(BOOST_ROOT $ENV{BOOST_ROOT})\r\n set(Boost_USE_MULTITHREADED ON)\r\n@@ -161,7 +160,6 @@ else( WIN32 ) # Apple AND Linux\r\n endif()\r\n endif()\r\n \r\n- set(Boost_USE_STATIC_LIBS ON)\r\n endif( WIN32 )\r\n \r\n list(APPEND LEVEL_DB_SOURCES \"${LEVELDB_PORT_FILE}\")\r\ndiff --git a/libraries/client/CMakeLists.txt b/libraries/client/CMakeLists.txt\r\nindex c0965cd..ebd8111 100644\r\n--- a/libraries/client/CMakeLists.txt\r\n+++ b/libraries/client/CMakeLists.txt\r\n@@ -20,7 +20,7 @@ endif(MSVC)\r\n \r\n target_link_libraries( bts_client \r\n PRIVATE bts_db bts_blockchain bitcoin fc leveldb\r\n- PUBLIC bts_api bts_net bts_wallet bts_cli bts_rpc bts_rpc_stubs bts_mail )\r\n+ PUBLIC bts_api bts_net bts_wallet bts_cli bts_rpc bts_rpc_stubs bts_mail atomic )\r\n target_include_directories( bts_client \r\n PUBLIC \"${CMAKE_CURRENT_SOURCE_DIR}/include\"\r\n PRIVATE \"${CMAKE_CURRENT_BINARY_DIR}/include\" )\r\ndiff --git a/CMakeLists.txt b/CMakeLists.txt\r\nindex 0fbd5ce..510af13 100644\r\n--- a/libraries/fc/CMakeLists.txt\r\n+++ b/libraries/fc/CMakeLists.txt\r\n@@ -44,7 +44,6 @@ IF( WIN32 )\r\n SET(BOOST_ROOT $ENV{BOOST_ROOT})\r\n # set(Boost_USE_DEBUG_PYTHON ON)\r\n set(Boost_USE_MULTITHREADED ON)\r\n- set(Boost_USE_STATIC_LIBS ON)\r\n set(BOOST_ALL_DYN_LINK OFF) # force dynamic linking for all libraries\r\n \r\n FIND_PACKAGE(Boost 1.53 REQUIRED COMPONENTS ${BOOST_COMPONENTS})\r\n@@ -62,7 +61,6 @@ IF( WIN32 )\r\n ELSE(WIN32)\r\n MESSAGE(STATUS \"Configuring fc to build on Unix/Apple\")\r\n \r\n- SET(Boost_USE_STATIC_LIBS ON)\r\n LIST(APPEND BOOST_COMPONENTS coroutine)\r\n \r\n FIND_PACKAGE(Boost 1.53 REQUIRED COMPONENTS ${BOOST_COMPONENTS}) \r\n@@ -231,7 +229,7 @@ target_include_directories(fc\r\n target_link_libraries( fc PUBLIC easylzma_static udt ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARIES} ${PLATFORM_SPECIFIC_LIBS} ${RPCRT4} ${CMAKE_DL_LIBS} ${rt_library})\r\n \r\n add_executable( ntp_test ntp_test.cpp )\r\n-target_link_libraries( ntp_test fc )\r\n+target_link_libraries( ntp_test fc atomic )\r\n \r\n add_executable( task_cancel_test tests/task_cancel.cpp )\r\n target_link_libraries( task_cancel_test fc )", "title": null, "type": "comment" }, { "action": "created", "author": "shawnpringle", "comment_id": 70339360, "datetime": 1421450834000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 65, "text": "I only build the qt wallet. I cannot build the other client yet.", "title": null, "type": "comment" }, { "action": "created", "author": "vikramrajkumar", "comment_id": 70530548, "datetime": 1421688477000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 74, "text": "@username_0 Can you get a stack trace of the crash by running in gdb/lldb?", "title": null, "type": "comment" }, { "action": "created", "author": "shawnpringle", "comment_id": 70545652, "datetime": 1421695076000, "large_text": true, "masked_author": "username_0", "nb_lines": 122, "size": 5999, "text": "done:\n\n#0 0xb43739dc in raise () from /lib/libc.so.6\n#1 0xb43751f3 in abort () from /lib/libc.so.6\n#2 0xb43b4e4a in __libc_message () from /lib/libc.so.6\n#3 0xb43bcd78 in _int_free () from /lib/libc.so.6\n#4 0xb4575a2f in operator delete(void*) () from /usr/lib/libstdc++.so.6\n#5 0xb51b9e74 in QMouseEvent::~QMouseEvent() () from\n/usr/lib/libQt5Gui.so.5\n#6 0xb5a30cba in QWebPageAdapter::adjustPointForClicking(QMouseEvent*) ()\n from /usr/lib/libQt5WebKit.so.5\n---Type <return> to continue, or q <return> to quit---\n#7 0xb582260b in QWebPage::event(QEvent*) () from\n/usr/lib/libQt5WebKitWidgets.so.5\n#8 0xb5813c0b in\nQGraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent*) ()\n from /usr/lib/libQt5WebKitWidgets.so.5\n#9 0xb7d8dd0f in QGraphicsItem::sceneEvent(QEvent*) () from\n/usr/lib/libQt5Widgets.so.5\n#10 0xb7df3566 in QGraphicsWidget::sceneEvent(QEvent*) () from\n/usr/lib/libQt5Widgets.so.5\n#11 0xb5815ae6 in QGraphicsWebView::sceneEvent(QEvent*) () from\n/usr/lib/libQt5WebKitWidgets.so.5\n#12 0xb7db889e in ?? () from /usr/lib/libQt5Widgets.so.5\n#13 0xb7db8cb9 in ?? () from /usr/lib/libQt5Widgets.so.5\n---Type <return> to continue, or q <return> to quit---\n#14 0xb7dc1b07 in ?? () from /usr/lib/libQt5Widgets.so.5\n#15 0xb7dc2017 in\nQGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*) ()\n from /usr/lib/libQt5Widgets.so.5\n#16 0xb7dcc344 in QGraphicsScene::event(QEvent*) () from\n/usr/lib/libQt5Widgets.so.5\n#17 0xb7a67254 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()\n from /usr/lib/libQt5Widgets.so.5\n18 0xb7a6c651 in QApplication::notify(QObject*, QEvent*) () from\n/usr/lib/libQt5Widgets.so.5\n#19 0x084bbb1c in BitSharesApp::notify (this=0xbffff4b0,\nreceiver=0xa12c240, e=0xbfffe620)\n---Type <return> to continue, or q <return> to quit---\n at\n/home/shawn/development/pkg/bitshares/programs/qt_wallet/BitSharesApp.cpp:547\n#20 0xb4d52cea in QCoreApplication::notifyInternal(QObject*, QEvent*) ()\n from /usr/lib/libQt5Core.so.5\n#21 0xb7a658cd in ?? () from /usr/lib/libQt5Widgets.so.5\n#22 0xb7dea1f3 in QGraphicsView::mousePressEvent(QMouseEvent*) () from\n/usr/lib/libQt5Widgets.so.5\n#23 0xb7aa94be in QWidget::event(QEvent*) () from\n/usr/lib/libQt5Widgets.so.5\n#24 0xb7bc751c in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5\n#25 0xb7c57fb4 in QAbstractScrollArea::viewportEvent(QEvent*) () from\n/usr/lib/libQt5Widgets.so.5\n---Type <return> to continue, or q <return> to quit---\n#26 0xb7deb7bf in QGraphicsView::viewportEvent(QEvent*) () from\n/usr/lib/libQt5Widgets.so.5\n#27 0xb7c58b06 in ?? () from /usr/lib/libQt5Widgets.so.5\n#28 0xb4d52f21 in\nQCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()\n from /usr/lib/libQt5Core.so.5\n#29 0xb7a67231 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()\n from /usr/lib/libQt5Widgets.so.5\n#30 0xb7a6d22a in QApplication::notify(QObject*, QEvent*) () from\n/usr/lib/libQt5Widgets.so.5\n#31 0x084bbb1c in BitSharesApp::notify (this=0xbffff4b0,\nreceiver=0xa138338, e=0xbfffeb28)\n---Type <return> to continue, or q <return> to quit---\n at\n/home/shawn/development/pkg/bitshares/programs/qt_wallet/BitSharesApp.cpp:547\n#32 0xb4d52cea in QCoreApplication::notifyInternal(QObject*, QEvent*) ()\n from /usr/lib/libQt5Core.so.5\n#33 0xb7a6b4b9 in QApplicationPrivate::sendMouseEvent(QWidget*,\nQMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)\n() from /usr/lib/libQt5Widgets.so.5\n#34 0xb7ac9845 in ?? () from /usr/lib/libQt5Widgets.so.5\n#35 0xb7acbe34 in ?? () from /usr/lib/libQt5Widgets.so.5\n#36 0xb7a67254 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()\n---Type <return> to continue, or q <return> to quit---\n from /usr/lib/libQt5Widgets.so.5\n#37 0xb7a6c651 in QApplication::notify(QObject*, QEvent*) () from\n/usr/lib/libQt5Widgets.so.5\n#38 0x084bbb1c in BitSharesApp::notify (this=0xbffff4b0,\nreceiver=0xa381548, e=0xbfffeec0)\n at\n/home/shawn/development/pkg/bitshares/programs/qt_wallet/BitSharesApp.cpp:547\n#39 0xb4d52cea in QCoreApplication::notifyInternal(QObject*, QEvent*) ()\n from /usr/lib/libQt5Core.so.5\n#40 0xb51ab241 in\nQGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)\n() from /usr/lib/libQt5Gui.so.5\n---Type <return> to continue, or q <return> to quit---\n#41 0xb51acb00 in\nQGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)\n() from /usr/lib/libQt5Gui.so.5\n#42 0xb5190316 in\nQWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)\n() from /usr/lib/libQt5Gui.so.5\n#43 0xb07f8cc1 in ?? () from /usr/lib/qt5/plugins/platforms/libqxcb.so\n#44 0xb420c83e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0\n#45 0xb420cbe8 in ?? () from /usr/lib/libglib-2.0.so.0\n#46 0xb420cca8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0\n#47 0xb4db240d in\nQEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)\n()\n from /usr/lib/libQt5Core.so.5\n#48 0xb07f8ec6 in ?? () from /usr/lib/qt5/plugins/platforms/libqxcb.so\n#49 0xb4d50526 in\nQEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()\n from /usr/lib/libQt5Core.so.5\n#50 0xb4d50944 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()\n from /usr/lib/libQt5Core.so.5\n#51 0xb4d588ed in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5\n---Type <return> to continue, or q <return> to quit---\n#52 0xb51a2e94 in QGuiApplication::exec() () from /usr/lib/libQt5Gui.so.5\n#53 0xb7a65744 in QApplication::exec() () from /usr/lib/libQt5Widgets.so.5\n#54 0x084bc36b in BitSharesApp::run (this=this@entry=0xbffff4b0)\n at\n/home/shawn/development/pkg/bitshares/programs/qt_wallet/BitSharesApp.cpp:413\n#55 0x084bccd7 in BitSharesApp::run (argc=@0xbffff500: 1,\nargv=argv@entry=0xbffff594)\n at\n/home/shawn/development/pkg/bitshares/programs/qt_wallet/BitSharesApp.cpp:316\n#56 0x0848cda7 in main (argc=1, argv=0xbffff594)\n at /home/shawn/development/pkg/bitshares/programs/qt_wallet/main.cpp:11", "title": null, "type": "comment" }, { "action": "created", "author": "vikramrajkumar", "comment_id": 70546841, "datetime": 1421695585000, "large_text": true, "masked_author": "username_2", "nb_lines": 123, "size": 6094, "text": "Formatting not working on previous comment:\r\n```\r\n#0 0xb43739dc in raise () from /lib/libc.so.6\r\n#1 0xb43751f3 in abort () from /lib/libc.so.6\r\n#2 0xb43b4e4a in __libc_message () from /lib/libc.so.6\r\n#3 0xb43bcd78 in _int_free () from /lib/libc.so.6\r\n#4 0xb4575a2f in operator delete(void*) () from /usr/lib/libstdc++.so.6\r\n#5 0xb51b9e74 in QMouseEvent::~QMouseEvent() () from\r\n/usr/lib/libQt5Gui.so.5\r\n#6 0xb5a30cba in QWebPageAdapter::adjustPointForClicking(QMouseEvent*) ()\r\nfrom /usr/lib/libQt5WebKit.so.5\r\n---Type <return> to continue, or q <return> to quit---\r\n#7 0xb582260b in QWebPage::event(QEvent*) () from\r\n/usr/lib/libQt5WebKitWidgets.so.5\r\n#8 0xb5813c0b in\r\nQGraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent*) ()\r\nfrom /usr/lib/libQt5WebKitWidgets.so.5\r\n#9 0xb7d8dd0f in QGraphicsItem::sceneEvent(QEvent*) () from\r\n/usr/lib/libQt5Widgets.so.5\r\n#10 0xb7df3566 in QGraphicsWidget::sceneEvent(QEvent*) () from\r\n/usr/lib/libQt5Widgets.so.5\r\n#11 0xb5815ae6 in QGraphicsWebView::sceneEvent(QEvent*) () from\r\n/usr/lib/libQt5WebKitWidgets.so.5\r\n#12 0xb7db889e in ?? () from /usr/lib/libQt5Widgets.so.5\r\n#13 0xb7db8cb9 in ?? () from /usr/lib/libQt5Widgets.so.5\r\n---Type <return> to continue, or q <return> to quit---\r\n#14 0xb7dc1b07 in ?? () from /usr/lib/libQt5Widgets.so.5\r\n#15 0xb7dc2017 in\r\nQGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*) ()\r\nfrom /usr/lib/libQt5Widgets.so.5\r\n#16 0xb7dcc344 in QGraphicsScene::event(QEvent*) () from\r\n/usr/lib/libQt5Widgets.so.5\r\n#17 0xb7a67254 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()\r\nfrom /usr/lib/libQt5Widgets.so.5\r\n18 0xb7a6c651 in QApplication::notify(QObject*, QEvent*) () from\r\n/usr/lib/libQt5Widgets.so.5\r\n#19 0x084bbb1c in BitSharesApp::notify (this=0xbffff4b0,\r\nreceiver=0xa12c240, e=0xbfffe620)\r\n---Type <return> to continue, or q <return> to quit---\r\nat\r\n/home/shawn/development/pkg/bitshares/programs/qt_wallet/BitSharesApp.cpp:547\r\n#20 0xb4d52cea in QCoreApplication::notifyInternal(QObject*, QEvent*) ()\r\nfrom /usr/lib/libQt5Core.so.5\r\n#21 0xb7a658cd in ?? () from /usr/lib/libQt5Widgets.so.5\r\n#22 0xb7dea1f3 in QGraphicsView::mousePressEvent(QMouseEvent*) () from\r\n/usr/lib/libQt5Widgets.so.5\r\n#23 0xb7aa94be in QWidget::event(QEvent*) () from\r\n/usr/lib/libQt5Widgets.so.5\r\n#24 0xb7bc751c in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5\r\n#25 0xb7c57fb4 in QAbstractScrollArea::viewportEvent(QEvent*) () from\r\n/usr/lib/libQt5Widgets.so.5\r\n---Type <return> to continue, or q <return> to quit---\r\n#26 0xb7deb7bf in QGraphicsView::viewportEvent(QEvent*) () from\r\n/usr/lib/libQt5Widgets.so.5\r\n#27 0xb7c58b06 in ?? () from /usr/lib/libQt5Widgets.so.5\r\n#28 0xb4d52f21 in\r\nQCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()\r\nfrom /usr/lib/libQt5Core.so.5\r\n#29 0xb7a67231 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()\r\nfrom /usr/lib/libQt5Widgets.so.5\r\n#30 0xb7a6d22a in QApplication::notify(QObject*, QEvent*) () from\r\n/usr/lib/libQt5Widgets.so.5\r\n#31 0x084bbb1c in BitSharesApp::notify (this=0xbffff4b0,\r\nreceiver=0xa138338, e=0xbfffeb28)\r\n---Type <return> to continue, or q <return> to quit---\r\nat\r\n/home/shawn/development/pkg/bitshares/programs/qt_wallet/BitSharesApp.cpp:547\r\n#32 0xb4d52cea in QCoreApplication::notifyInternal(QObject*, QEvent*) ()\r\nfrom /usr/lib/libQt5Core.so.5\r\n#33 0xb7a6b4b9 in QApplicationPrivate::sendMouseEvent(QWidget*,\r\nQMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)\r\n() from /usr/lib/libQt5Widgets.so.5\r\n#34 0xb7ac9845 in ?? () from /usr/lib/libQt5Widgets.so.5\r\n#35 0xb7acbe34 in ?? () from /usr/lib/libQt5Widgets.so.5\r\n#36 0xb7a67254 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()\r\n---Type <return> to continue, or q <return> to quit---\r\nfrom /usr/lib/libQt5Widgets.so.5\r\n#37 0xb7a6c651 in QApplication::notify(QObject*, QEvent*) () from\r\n/usr/lib/libQt5Widgets.so.5\r\n#38 0x084bbb1c in BitSharesApp::notify (this=0xbffff4b0,\r\nreceiver=0xa381548, e=0xbfffeec0)\r\nat\r\n/home/shawn/development/pkg/bitshares/programs/qt_wallet/BitSharesApp.cpp:547\r\n#39 0xb4d52cea in QCoreApplication::notifyInternal(QObject*, QEvent*) ()\r\nfrom /usr/lib/libQt5Core.so.5\r\n#40 0xb51ab241 in\r\nQGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)\r\n() from /usr/lib/libQt5Gui.so.5\r\n---Type <return> to continue, or q <return> to quit---\r\n#41 0xb51acb00 in\r\nQGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)\r\n() from /usr/lib/libQt5Gui.so.5\r\n#42 0xb5190316 in\r\nQWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)\r\n() from /usr/lib/libQt5Gui.so.5\r\n#43 0xb07f8cc1 in ?? () from /usr/lib/qt5/plugins/platforms/libqxcb.so\r\n#44 0xb420c83e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0\r\n#45 0xb420cbe8 in ?? () from /usr/lib/libglib-2.0.so.0\r\n#46 0xb420cca8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0\r\n#47 0xb4db240d in\r\nQEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)\r\n()\r\nfrom /usr/lib/libQt5Core.so.5\r\n#48 0xb07f8ec6 in ?? () from /usr/lib/qt5/plugins/platforms/libqxcb.so\r\n#49 0xb4d50526 in\r\nQEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()\r\nfrom /usr/lib/libQt5Core.so.5\r\n#50 0xb4d50944 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()\r\nfrom /usr/lib/libQt5Core.so.5\r\n#51 0xb4d588ed in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5\r\n---Type <return> to continue, or q <return> to quit---\r\n#52 0xb51a2e94 in QGuiApplication::exec() () from /usr/lib/libQt5Gui.so.5\r\n#53 0xb7a65744 in QApplication::exec() () from /usr/lib/libQt5Widgets.so.5\r\n#54 0x084bc36b in BitSharesApp::run (this=this@entry=0xbffff4b0)\r\nat\r\n/home/shawn/development/pkg/bitshares/programs/qt_wallet/BitSharesApp.cpp:413\r\n#55 0x084bccd7 in BitSharesApp::run (argc=@0xbffff500: 1,\r\nargv=argv@entry=0xbffff594)\r\nat\r\n/home/shawn/development/pkg/bitshares/programs/qt_wallet/BitSharesApp.cpp:316\r\n#56 0x0848cda7 in main (argc=1, argv=0xbffff594)\r\nat /home/shawn/development/pkg/bitshares/programs/qt_wallet/main.cpp:11 \r\n```", "title": null, "type": "comment" }, { "action": "created", "author": "vikramrajkumar", "comment_id": 70549497, "datetime": 1421696684000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 42, "text": "@username_0 What version Qt are you using?", "title": null, "type": "comment" }, { "action": "created", "author": "shawnpringle", "comment_id": 70583780, "datetime": 1421712949000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 21, "text": "I am using Qt5 5.3.2.", "title": null, "type": "comment" }, { "action": "created", "author": "camponez", "comment_id": 71313654, "datetime": 1422100774000, "large_text": false, "masked_author": "username_3", "nb_lines": 42, "size": 1591, "text": "This is what I get from compiling with ' cmake -DCMAKE_BUILD_TYPE=Debug . && make '\r\n\r\nand runnging with gdb:\r\n\r\n.....\r\n3342219ms th_a ClientWrapper.cpp:137 initialize ] Starting client with data-dir: /home/username_3/.BitShares\r\nLoading config from file: /home/username_3/.BitShares/config.json\r\n[New Thread 0x7fff91bf8700 (LWP 3838)]\r\n[New Thread 0x7fff911f6700 (LWP 3839)]\r\n[New Thread 0x7fff909f5700 (LWP 3840)]\r\n[New Thread 0x7fff83fff700 (LWP 3841)]\r\n[New Thread 0x7fff837fe700 (LWP 3842)]\r\n[New Thread 0x7fff82ffd700 (LWP 3843)]\r\n[New Thread 0x7fff827fc700 (LWP 3844)]\r\n[New Thread 0x7fff817e5700 (LWP 3845)]\r\n[New Thread 0x7fff6284f700 (LWP 3848)]\r\n[New Thread 0x7fff6204e700 (LWP 3849)]\r\n[New Thread 0x7fff6184d700 (LWP 3850)]\r\n[New Thread 0x7fff6104c700 (LWP 3851)]\r\n[New Thread 0x7fff6084b700 (LWP 3852)]\r\n[New Thread 0x7fff43fff700 (LWP 3853)]\r\n[New Thread 0x7fff437fe700 (LWP 3854)]\r\n[New Thread 0x7fff42d6f700 (LWP 3855)]\r\n[New Thread 0x7fff315ea700 (LWP 3856)]\r\n[New Thread 0x7fff30be8700 (LWP 3857)]\r\n[New Thread 0x7fff2bfff700 (LWP 3858)]\r\n[New Thread 0x7fff2b7fe700 (LWP 3859)]\r\n[New Thread 0x7fff2affd700 (LWP 3860)]\r\n[New Thread 0x7fff2a3fc700 (LWP 3861)]\r\n/index.html\r\n/css/app.css\r\n/js/app.js\r\n/locale-en.json\r\n/img/logo-ico.svg\r\n[New Thread 0x7fff168e7700 (LWP 3863)]\r\n/webfonts/opensans-regular.woff\r\n/webfonts/fontawesome-webfont.woff\r\n/img/xt-background.jpg\r\n/img/xts-logo-xl-white-shadow.png\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x00007fffe7e2b138 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so", "title": null, "type": "comment" }, { "action": "created", "author": "shawnpringle", "comment_id": 72087364, "datetime": 1422559548000, "large_text": false, "masked_author": "username_0", "nb_lines": 13, "size": 702, "text": "The same command as componez (with my changes I referred to earlier) above yields \r\n\r\n[ 48%] Built target ntp_test\r\n[ 49%] Building CXX object libraries/fc/CMakeFiles/real128_test.dir/tests/real128_test.cpp.o\r\nLinking CXX executable real128_test\r\n/usr/lib/gcc/i486-slackware-linux/4.8.2/../../../crt1.o: In function `_start':\r\n/glibc-tmp-54d4f9a739bee778aed982975d53262e/glibc-2.17/csu/../sysdeps/i386/start.S:113: undefined reference to `main'\r\ncollect2: error: ld returned 1 exit status\r\nmake[2]: *** [libraries/fc/real128_test] Error 1\r\nmake[1]: *** [libraries/fc/CMakeFiles/real128_test.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n\r\nTo build the default target, this also needs -shared option to c++", "title": null, "type": "comment" }, { "action": "created", "author": "vikramrajkumar", "comment_id": 73591168, "datetime": 1423516381000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 46, "text": "@username_0 Is this still occurring in 0.6.0 ?", "title": null, "type": "comment" }, { "action": "created", "author": "shawnpringle", "comment_id": 75731778, "datetime": 1424773349000, "large_text": false, "masked_author": "username_0", "nb_lines": 3, "size": 37, "text": "I have quit testing bitshares.\n\nShawn", "title": null, "type": "comment" }, { "action": "closed", "author": "vikramrajkumar", "comment_id": null, "datetime": 1424798887000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 0, "text": "", "title": null, "type": "issue" } ]
4
14
17,769
false
false
17,769
true
true
dexafree/MaterialList
null
55,093,053
33
null
[ { "action": "opened", "author": "stripathi669", "comment_id": null, "datetime": 1421882797000, "large_text": true, "masked_author": "username_0", "nb_lines": 102, "size": 6218, "text": "I am encoutering exception when adding BigImageButtonsCard.\r\n\r\nThe tracestack for the same is: \r\n\r\n java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toUpperCase()' on a null object reference\r\n at com.username_1.materialList.cards.view.BaseButtonsCardItemView.build(BaseButtonsCardItemView.java:37)\r\n at com.username_1.materialList.cards.view.BaseButtonsCardItemView.build(BaseButtonsCardItemView.java:15)\r\n at com.username_1.materialList.controller.MaterialListViewAdapter.getView(MaterialListViewAdapter.java:42)\r\n at com.nhaarman.listviewanimations.BaseAdapterDecorator.getView(BaseAdapterDecorator.java:125)\r\n at com.nhaarman.listviewanimations.appearance.AnimationAdapter.getView(AnimationAdapter.java:142)\r\n at android.widget.AbsListView.obtainView(AbsListView.java:2344)\r\n at android.widget.ListView.makeAndAddView(ListView.java:1864)\r\n at android.widget.ListView.fillDown(ListView.java:698)\r\n at android.widget.ListView.fillSpecific(ListView.java:1356)\r\n at android.widget.ListView.layoutChildren(ListView.java:1651)\r\n at android.widget.AbsListView.onLayout(AbsListView.java:2148)\r\n at android.view.View.layout(View.java:15596)\r\n at android.view.ViewGroup.layout(ViewGroup.java:4966)\r\n at android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:543)\r\n at android.view.View.layout(View.java:15596)\r\n at android.view.ViewGroup.layout(ViewGroup.java:4966)\r\n at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)\r\n at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)\r\n at android.widget.LinearLayout.onLayout(LinearLayout.java:1466)\r\n at android.view.View.layout(View.java:15596)\r\n at android.view.ViewGroup.layout(ViewGroup.java:4966)\r\n at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:890)\r\n at android.view.View.layout(View.java:15596)\r\n at android.view.ViewGroup.layout(ViewGroup.java:4966)\r\n at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)\r\n at android.widget.FrameLayout.onLayout(FrameLayout.java:508)\r\n at android.view.View.layout(View.java:15596)\r\n at android.view.ViewGroup.layout(ViewGroup.java:4966)\r\n at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)\r\n at android.widget.FrameLayout.onLayout(FrameLayout.java:508)\r\n at android.view.View.layout(View.java:15596)\r\n at android.view.ViewGroup.layout(ViewGroup.java:4966)\r\n at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)\r\n at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)\r\n at android.widget.LinearLayout.onLayout(LinearLayout.java:1466)\r\n at android.view.View.layout(View.java:15596)\r\n at android.view.ViewGroup.layout(ViewGroup.java:4966)\r\n at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)\r\n at android.widget.FrameLayout.onLayout(FrameLayout.java:508)\r\n at android.view.View.layout(View.java:15596)\r\n at android.view.ViewGroup.layout(ViewGroup.java:4966)\r\n at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)\r\n at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)\r\n at android.widget.LinearLayout.onLayout(LinearLayout.java:1466)\r\n at android.view.View.layout(View.java:15596)\r\n at android.view.ViewGroup.layout(ViewGroup.java:4966)\r\n at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)\r\n at android.widget.FrameLayout.onLayout(FrameLayout.java:508)\r\n at android.view.View.layout(View.java:15596)\r\n at android.view.ViewGroup.layout(ViewGroup.java:4966)\r\n at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2072)\r\n at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1829)\r\n at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1054)\r\n at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5779)\r\n at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)\r\n at android.view.Choreographer.doCallbacks(Choreographer.java:580)\r\n at android.view.Choreographer.doFrame(Choreographer.java:550)\r\n at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)\r\n at android.os.Handler.handleCallback(Handler.java:739)\r\n at android.os.Handler.dispatc\r\n\r\nI am using following code for creating and placing the card:\r\n\r\n public static Card getBigImageCard( final Context mContext) {\r\n SimpleCard card = new BigImageButtonsCard(mContext);\r\n \r\n card.setDescription(\"Some Description\");\r\n card.setTitle(\"SomeTitle\");\r\n final String url = \"wwww.google.com\"\r\n // Code to get some drawable here\r\n card.setDrawable(d);\r\n\r\n ((BigImageButtonsCard) card).setDividerVisible(true);\r\n ((BigImageButtonsCard)card).setLeftButtonText(\"Open\");\r\n ((BigImageButtonsCard)card).setLeftButtonText(\"Dismiss\");\r\n\r\n ((BigImageButtonsCard)card).setOnLeftButtonPressedListener(new OnButtonPressListener() {\r\n @Override\r\n public void onButtonPressedListener(View view, Card card) {\r\n Intent urlIntent = new Intent(mContext, WebViewingActivity.class);\r\n urlIntent.putExtra(\"webUrl\", url);\r\n mContext.startActivity(urlIntent);\r\n } });\r\n\r\n\r\n card.setDismissible(true);\r\n\r\n\r\n\r\n return card;\r\n }\r\n\r\nThen to add the card:\r\n\r\n mListView.add(getBigImageCard( Activity.this );\r\n\r\nThe same code works for BigImage card (after removing the code for buttons & divider of-course.)", "title": "Error while adding BigImageButtonsCard", "type": "issue" }, { "action": "created", "author": "stripathi669", "comment_id": 71345632, "datetime": 1422148313000, "large_text": false, "masked_author": "username_0", "nb_lines": 4, "size": 157, "text": "I found the source of error. In your material_image_with_buttons_card.xml,\r\n\r\nchange android:id=\"@id/left_text_button\"\r\nto android:id=\"@+id/left_text_button\"", "title": null, "type": "comment" }, { "action": "closed", "author": "dexafree", "comment_id": null, "datetime": 1422177412000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 0, "text": "", "title": null, "type": "issue" }, { "action": "created", "author": "dexafree", "comment_id": 71362124, "datetime": 1422177688000, "large_text": false, "masked_author": "username_1", "nb_lines": 3, "size": 94, "text": "Fixed and uploaded to Maven Central.\r\n\r\nVersion 2.0.2 should be available in a couple of hours", "title": null, "type": "comment" } ]
2
4
6,463
false
false
6,463
true
true
trill-lang/LLVMSwift
trill-lang
203,464,680
51
null
[ { "action": "opened", "author": "CodaFi", "comment_id": null, "datetime": 1485458745000, "large_text": true, "masked_author": "username_0", "nb_lines": 919, "size": 26915, "text": "This is a formatted list of APIs we do not yet wrap.\r\n\r\n- [ ] LLVMAShr\r\n- [ ] LLVMAbortProcessAction\r\n- [ ] LLVMAdd\r\n- [ ] LLVMAddAlias\r\n- [ ] LLVMAddAlwaysInlinerPass\r\n- [ ] LLVMAddAnalysisPasses\r\n- [ ] LLVMAddArgumentPromotionPass\r\n- [ ] LLVMAddAttribute\r\n- [ ] LLVMAddAttributeAtIndex\r\n- [ ] LLVMAddBBVectorizePass\r\n- [ ] LLVMAddCallSiteAttribute\r\n- [ ] LLVMAddClause\r\n- [ ] LLVMAddConstantMergePass\r\n- [ ] LLVMAddDeadArgEliminationPass\r\n- [ ] LLVMAddDestination\r\n- [ ] LLVMAddFunctionAttr\r\n- [ ] LLVMAddFunctionAttrsPass\r\n- [ ] LLVMAddFunctionInliningPass\r\n- [ ] LLVMAddGlobalDCEPass\r\n- [ ] LLVMAddGlobalInAddressSpace\r\n- [ ] LLVMAddGlobalMapping\r\n- [ ] LLVMAddGlobalOptimizerPass\r\n- [ ] LLVMAddIPConstantPropagationPass\r\n- [ ] LLVMAddIPSCCPPass\r\n- [ ] LLVMAddInstrAttribute\r\n- [ ] LLVMAddInternalizePass\r\n- [ ] LLVMAddLoopVectorizePass\r\n- [ ] LLVMAddModule\r\n- [ ] LLVMAddNamedMetadataOperand\r\n- [ ] LLVMAddPruneEHPass\r\n- [ ] LLVMAddSLPVectorizePass\r\n- [ ] LLVMAddScalarReplAggregatesPassWithThreshold\r\n- [ ] LLVMAddStripDeadPrototypesPass\r\n- [ ] LLVMAddStripSymbolsPass\r\n- [ ] LLVMAddSymbol\r\n- [ ] LLVMAddTargetDependentFunctionAttr\r\n- [ ] LLVMAddTargetLibraryInfo\r\n- [ ] LLVMAddrSpaceCast\r\n- [ ] LLVMAlignment\r\n- [ ] LLVMAlloca\r\n- [ ] LLVMAlwaysInlineAttribute\r\n- [ ] LLVMAnalysis\r\n- [ ] LLVMAnd\r\n- [ ] LLVMAnyRegCallConv\r\n- [ ] LLVMAppendingLinkage\r\n- [ ] LLVMArgumentValueKind\r\n- [ ] LLVMAtomicCmpXchg\r\n- [ ] LLVMAtomicOrdering\r\n- [ ] LLVMAtomicOrderingAcquire\r\n- [ ] LLVMAtomicOrderingAcquireRelease\r\n- [ ] LLVMAtomicOrderingMonotonic\r\n- [ ] LLVMAtomicOrderingNotAtomic\r\n- [ ] LLVMAtomicOrderingRelease\r\n- [ ] LLVMAtomicOrderingSequentiallyConsistent\r\n- [ ] LLVMAtomicOrderingUnordered\r\n- [ ] LLVMAtomicRMW\r\n- [ ] LLVMAtomicRMWBinOp\r\n- [ ] LLVMAtomicRMWBinOpAdd\r\n- [ ] LLVMAtomicRMWBinOpAnd\r\n- [ ] LLVMAtomicRMWBinOpMax\r\n- [ ] LLVMAtomicRMWBinOpMin\r\n- [ ] LLVMAtomicRMWBinOpNand\r\n- [ ] LLVMAtomicRMWBinOpOr\r\n- [ ] LLVMAtomicRMWBinOpSub\r\n- [ ] LLVMAtomicRMWBinOpUMax\r\n- [ ] LLVMAtomicRMWBinOpUMin\r\n- [ ] LLVMAtomicRMWBinOpXchg\r\n- [ ] LLVMAtomicRMWBinOpXor\r\n- [ ] LLVMAttribute\r\n- [ ] LLVMAttributeFunctionIndex\r\n- [ ] LLVMAttributeIndex\r\n- [ ] LLVMAttributeRef\r\n- [ ] LLVMAttributeReturnIndex\r\n- [ ] LLVMAvailableExternallyLinkage\r\n- [ ] LLVMBasicBlockAsValue\r\n- [ ] LLVMBasicBlockValueKind\r\n- [ ] LLVMBitCast\r\n- [ ] LLVMBitReader\r\n- [ ] LLVMBitWriter\r\n- [ ] LLVMBlockAddress\r\n- [ ] LLVMBlockAddressValueKind\r\n- [ ] LLVMBr\r\n- [ ] LLVMBuildAddrSpaceCast\r\n- [ ] LLVMBuildAggregateRet\r\n- [ ] LLVMBuildArrayAlloca\r\n- [ ] LLVMBuildArrayMalloc\r\n- [ ] LLVMBuildAtomicCmpXchg\r\n- [ ] LLVMBuildAtomicRMW\r\n- [ ] LLVMBuildBinOp\r\n- [ ] LLVMBuildCast\r\n- [ ] LLVMBuildExactSDiv\r\n- [ ] LLVMBuildExtractElement\r\n- [ ] LLVMBuildExtractValue\r\n- [ ] LLVMBuildFPCast\r\n- [ ] LLVMBuildFPExt\r\n- [ ] LLVMBuildFPTrunc\r\n- [ ] LLVMBuildFence\r\n- [ ] LLVMBuildFree\r\n- [ ] LLVMBuildIndirectBr\r\n- [ ] LLVMBuildIntCast\r\n- [ ] LLVMBuildInvoke\r\n- [ ] LLVMBuildLandingPad\r\n- [ ] LLVMBuildMalloc\r\n- [ ] LLVMBuildNUWSub\r\n- [ ] LLVMBuildPointerCast\r\n- [ ] LLVMBuildPtrDiff\r\n- [ ] LLVMBuildPtrToInt\r\n- [ ] LLVMBuildResume\r\n- [ ] LLVMBuildSExtOrBitCast\r\n- [ ] LLVMBuildSelect\r\n- [ ] LLVMBuildShuffleVector\r\n- [ ] LLVMBuildVAArg\r\n- [ ] LLVMBuildZExtOrBitCast\r\n- [ ] LLVMByValAttribute\r\n- [ ] LLVMC\r\n- [ ] LLVMCAnalysis\r\n- [ ] LLVMCBitReader\r\n- [ ] LLVMCBitWriter\r\n- [ ] LLVMCCallConv\r\n- [ ] LLVMCCore\r\n- [ ] LLVMCCoreContext\r\n- [ ] LLVMCCoreInstructionBuilder\r\n- [ ] LLVMCCoreMemoryBuffers\r\n- [ ] LLVMCCoreModule\r\n- [ ] LLVMCCoreModuleProvider\r\n- [ ] LLVMCCorePassManagers\r\n- [ ] LLVMCCorePassRegistry\r\n- [ ] LLVMCCoreThreading\r\n- [ ] LLVMCCoreType\r\n- [ ] LLVMCCoreTypeFloat\r\n- [ ] LLVMCCoreTypeFunction\r\n- [ ] LLVMCCoreTypeInt\r\n- [ ] LLVMCCoreTypeOther\r\n- [ ] LLVMCCoreTypeSequential\r\n- [ ] LLVMCCoreTypeStruct\r\n- [ ] LLVMCCoreTypes\r\n- [ ] LLVMCCoreValueBasicBlock\r\n- [ ] LLVMCCoreValueConstant\r\n- [ ] LLVMCCoreValueConstantComposite\r\n- [ ] LLVMCCoreValueConstantExpressions\r\n- [ ] LLVMCCoreValueConstantGlobals\r\n- [ ] LLVMCCoreValueConstantScalar\r\n- [ ] LLVMCCoreValueFunction\r\n- [ ] LLVMCCoreValueFunctionParameters\r\n- [ ] LLVMCCoreValueGeneral\r\n- [ ] LLVMCCoreValueInstruction\r\n- [ ] LLVMCCoreValueInstructionAlloca\r\n- [ ] LLVMCCoreValueInstructionCall\r\n- [ ] LLVMCCoreValueInstructionExtractValue\r\n- [ ] LLVMCCoreValueInstructionGetElementPointer\r\n- [ ] LLVMCCoreValueInstructionInsertValue\r\n- [ ] LLVMCCoreValueInstructionPHINode\r\n- [ ] LLVMCCoreValueInstructionTerminator\r\n- [ ] LLVMCCoreValueMetadata\r\n- [ ] LLVMCCoreValueUser\r\n- [ ] LLVMCCoreValueUses\r\n- [ ] LLVMCCoreValueWithAlignment\r\n- [ ] LLVMCCoreValues\r\n- [ ] LLVMCDisassembler\r\n- [ ] LLVMCExecutionEngine\r\n- [ ] LLVMCInitialization\r\n- [ ] LLVMCLTO\r\n- [ ] LLVMCLinkTimeOptimizer\r\n- [ ] LLVMCObject\r\n- [ ] LLVMCSupportTypes\r\n- [ ] LLVMCTLTO\r\n- [ ] LLVMCTLTO_CACHING\r\n- [ ] LLVMCTarget\r\n- [ ] LLVMCTransforms\r\n- [ ] LLVMCTransformsIPO\r\n- [ ] LLVMCTransformsPassManagerBuilder\r\n- [ ] LLVMCTransformsScalar\r\n- [ ] LLVMCTransformsVectorize\r\n- [ ] LLVMCall\r\n- [ ] LLVMCallConv\r\n- [ ] LLVMCatchPad\r\n- [ ] LLVMCatchRet\r\n- [ ] LLVMCatchSwitch\r\n- [ ] LLVMCleanupPad\r\n- [ ] LLVMCleanupRet\r\n- [ ] LLVMCloneModule\r\n- [ ] LLVMColdAttribute\r\n- [ ] LLVMColdCallConv\r\n- [ ] LLVMCommonLinkage\r\n- [ ] LLVMConstAShr\r\n- [ ] LLVMConstAdd\r\n- [ ] LLVMConstAddrSpaceCast\r\n- [ ] LLVMConstAnd\r\n- [ ] LLVMConstBitCast\r\n- [ ] LLVMConstExactSDiv\r\n- [ ] LLVMConstExtractElement\r\n- [ ] LLVMConstExtractValue\r\n- [ ] LLVMConstFAdd\r\n- [ ] LLVMConstFCmp\r\n- [ ] LLVMConstFDiv\r\n- [ ] LLVMConstFMul\r\n- [ ] LLVMConstFNeg\r\n- [ ] LLVMConstFPCast\r\n- [ ] LLVMConstFPExt\r\n- [ ] LLVMConstFPToSI\r\n- [ ] LLVMConstFPToUI\r\n- [ ] LLVMConstFPTrunc\r\n- [ ] LLVMConstFRem\r\n- [ ] LLVMConstFSub\r\n- [ ] LLVMConstICmp\r\n- [ ] LLVMConstInBoundsGEP\r\n- [ ] LLVMConstInlineAsm\r\n- [ ] LLVMConstInsertElement\r\n- [ ] LLVMConstInsertValue\r\n- [ ] LLVMConstIntCast\r\n- [ ] LLVMConstIntGetSExtValue\r\n- [ ] LLVMConstIntGetZExtValue\r\n- [ ] LLVMConstIntOfArbitraryPrecision\r\n- [ ] LLVMConstIntOfString\r\n- [ ] LLVMConstIntOfStringAndSize\r\n- [ ] LLVMConstIntToPtr\r\n- [ ] LLVMConstLShr\r\n- [ ] LLVMConstMul\r\n- [ ] LLVMConstNSWAdd\r\n- [ ] LLVMConstNSWMul\r\n- [ ] LLVMConstNSWNeg\r\n- [ ] LLVMConstNSWSub\r\n- [ ] LLVMConstNUWAdd\r\n- [ ] LLVMConstNUWMul\r\n- [ ] LLVMConstNUWNeg\r\n- [ ] LLVMConstNUWSub\r\n- [ ] LLVMConstNamedStruct\r\n- [ ] LLVMConstNeg\r\n- [ ] LLVMConstNot\r\n- [ ] LLVMConstOr\r\n- [ ] LLVMConstPointerCast\r\n- [ ] LLVMConstPtrToInt\r\n- [ ] LLVMConstRealGetDouble\r\n- [ ] LLVMConstRealOfString\r\n- [ ] LLVMConstRealOfStringAndSize\r\n- [ ] LLVMConstSDiv\r\n- [ ] LLVMConstSExt\r\n- [ ] LLVMConstSExtOrBitCast\r\n- [ ] LLVMConstSIToFP\r\n- [ ] LLVMConstSRem\r\n- [ ] LLVMConstSelect\r\n- [ ] LLVMConstShl\r\n- [ ] LLVMConstShuffleVector\r\n- [ ] LLVMConstStringInContext\r\n- [ ] LLVMConstStructInContext\r\n- [ ] LLVMConstSub\r\n- [ ] LLVMConstTrunc\r\n- [ ] LLVMConstTruncOrBitCast\r\n- [ ] LLVMConstUDiv\r\n- [ ] LLVMConstUIToFP\r\n- [ ] LLVMConstURem\r\n- [ ] LLVMConstVector\r\n- [ ] LLVMConstXor\r\n- [ ] LLVMConstZExt\r\n- [ ] LLVMConstZExtOrBitCast\r\n- [ ] LLVMConstantAggregateZeroValueKind\r\n- [ ] LLVMConstantArrayValueKind\r\n- [ ] LLVMConstantDataArrayValueKind\r\n- [ ] LLVMConstantDataVectorValueKind\r\n- [ ] LLVMConstantExprValueKind\r\n- [ ] LLVMConstantFPValueKind\r\n- [ ] LLVMConstantIntValueKind\r\n- [ ] LLVMConstantPointerNullValueKind\r\n- [ ] LLVMConstantStructValueKind\r\n- [ ] LLVMConstantTokenNoneValueKind\r\n- [ ] LLVMConstantVectorValueKind\r\n- [ ] LLVMContext\r\n- [ ] LLVMContextCreate\r\n- [ ] LLVMContextDispose\r\n- [ ] LLVMContextGetDiagnosticContext\r\n- [ ] LLVMContextGetDiagnosticHandler\r\n- [ ] LLVMContextSetDiagnosticHandler\r\n- [ ] LLVMContextSetYieldCallback\r\n- [ ] LLVMConvergentAttribute\r\n- [ ] LLVMCore\r\n- [ ] LLVMCoreValueConstantGlobalAlias\r\n- [ ] LLVMCoreValueConstantGlobalVariable\r\n- [ ] LLVMCountBasicBlocks\r\n- [ ] LLVMCountParams\r\n- [ ] LLVMCountStructElementTypes\r\n- [ ] LLVMCreateBuilder\r\n- [ ] LLVMCreateDisasm\r\n- [ ] LLVMCreateDisasmCPU\r\n- [ ] LLVMCreateDisasmCPUFeatures\r\n- [ ] LLVMCreateEnumAttribute\r\n- [ ] LLVMCreateFunctionPassManager\r\n- [ ] LLVMCreateGenericValueOfFloat\r\n- [ ] LLVMCreateGenericValueOfInt\r\n- [ ] LLVMCreateGenericValueOfPointer\r\n- [ ] LLVMCreateInterpreterForModule\r\n- [ ] LLVMCreateJITCompilerForModule\r\n- [ ] LLVMCreateMCJITCompilerForModule\r\n- [ ] LLVMCreateMemoryBufferWithContentsOfFile\r\n- [ ] LLVMCreateMemoryBufferWithMemoryRange\r\n- [ ] LLVMCreateMemoryBufferWithMemoryRangeCopy\r\n- [ ] LLVMCreateMemoryBufferWithSTDIN\r\n- [ ] LLVMCreateMessage\r\n- [ ] LLVMCreateModuleProviderForExistingModule\r\n- [ ] LLVMCreateObjectFile\r\n- [ ] LLVMCreatePassManager\r\n- [ ] LLVMCreateSimpleMCJITMemoryManager\r\n- [ ] LLVMCreateStringAttribute\r\n- [ ] LLVMCreateTargetData\r\n- [ ] LLVMDLLExportLinkage\r\n- [ ] LLVMDLLExportStorageClass\r\n- [ ] LLVMDLLImportLinkage\r\n- [ ] LLVMDLLImportStorageClass\r\n- [ ] LLVMDLLStorageClass\r\n- [ ] LLVMDSError\r\n- [ ] LLVMDSNote\r\n- [ ] LLVMDSRemark\r\n- [ ] LLVMDSWarning\r\n- [ ] LLVMDefaultStorageClass\r\n- [ ] LLVMDefaultVisibility\r\n- [ ] LLVMDiagnosticHandler\r\n- [ ] LLVMDiagnosticInfoRef\r\n- [ ] LLVMDiagnosticSeverity\r\n- [ ] LLVMDisasmContextRef\r\n- [ ] LLVMDisasmDispose\r\n- [ ] LLVMDisasmInstruction\r\n- [ ] LLVMDisassembler_Option_AsmPrinterVariant\r\n- [ ] LLVMDisassembler_Option_PrintImmHex\r\n- [ ] LLVMDisassembler_Option_PrintLatency\r\n- [ ] LLVMDisassembler_Option_SetInstrComments\r\n- [ ] LLVMDisassembler_Option_UseMarkup\r\n- [ ] LLVMDisassembler_ReferenceType_DeMangled_Name\r\n- [ ] LLVMDisassembler_ReferenceType_InOut_None\r\n- [ ] LLVMDisassembler_ReferenceType_In_ARM64_ADDXri\r\n- [ ] LLVMDisassembler_ReferenceType_In_ARM64_ADR\r\n- [ ] LLVMDisassembler_ReferenceType_In_ARM64_ADRP\r\n- [ ] LLVMDisassembler_ReferenceType_In_ARM64_LDRXl\r\n- [ ] LLVMDisassembler_ReferenceType_In_ARM64_LDRXui\r\n- [ ] LLVMDisassembler_ReferenceType_In_Branch\r\n- [ ] LLVMDisassembler_ReferenceType_In_PCrel_Load\r\n- [ ] LLVMDisassembler_ReferenceType_Out_LitPool_CstrAddr\r\n- [ ] LLVMDisassembler_ReferenceType_Out_LitPool_SymAddr\r\n- [ ] LLVMDisassembler_ReferenceType_Out_Objc_CFString_Ref\r\n- [ ] LLVMDisassembler_ReferenceType_Out_Objc_Class_Ref\r\n- [ ] LLVMDisassembler_ReferenceType_Out_Objc_Message\r\n- [ ] LLVMDisassembler_ReferenceType_Out_Objc_Message_Ref\r\n- [ ] LLVMDisassembler_ReferenceType_Out_Objc_Selector_Ref\r\n- [ ] LLVMDisassembler_ReferenceType_Out_SymbolStub\r\n- [ ] LLVMDisassembler_VariantKind_ARM64_GOTPAGE\r\n- [ ] LLVMDisassembler_VariantKind_ARM64_GOTPAGEOFF\r\n- [ ] LLVMDisassembler_VariantKind_ARM64_PAGE\r\n- [ ] LLVMDisassembler_VariantKind_ARM64_PAGEOFF\r\n- [ ] LLVMDisassembler_VariantKind_ARM64_TLVOFF\r\n- [ ] LLVMDisassembler_VariantKind_ARM64_TLVP\r\n- [ ] LLVMDisassembler_VariantKind_ARM_HI16\r\n- [ ] LLVMDisassembler_VariantKind_ARM_LO16\r\n- [ ] LLVMDisassembler_VariantKind_None\r\n- [ ] LLVMDisposeExecutionEngine\r\n- [ ] LLVMDisposeGenericValue\r\n- [ ] LLVMDisposeMCJITMemoryManager\r\n- [ ] LLVMDisposeMemoryBuffer\r\n- [ ] LLVMDisposeModuleProvider\r\n- [ ] LLVMDisposeObjectFile\r\n- [ ] LLVMDisposePassManager\r\n- [ ] LLVMDisposeRelocationIterator\r\n- [ ] LLVMDisposeSectionIterator\r\n- [ ] LLVMDisposeSymbolIterator\r\n- [ ] LLVMDoubleTypeInContext\r\n- [ ] LLVMEnablePrettyStackTrace\r\n- [ ] LLVMExecutionEngine\r\n- [ ] LLVMExternalLinkage\r\n- [ ] LLVMExternalWeakLinkage\r\n- [ ] LLVMExtractElement\r\n- [ ] LLVMExtractValue\r\n- [ ] LLVMFAdd\r\n- [ ] LLVMFCmp\r\n- [ ] LLVMFDiv\r\n- [ ] LLVMFMul\r\n- [ ] LLVMFP128TypeInContext\r\n- [ ] LLVMFPExt\r\n- [ ] LLVMFPToSI\r\n- [ ] LLVMFPToUI\r\n- [ ] LLVMFPTrunc\r\n- [ ] LLVMFRem\r\n- [ ] LLVMFSub\r\n- [ ] LLVMFastCallConv\r\n- [ ] LLVMFatalErrorHandler\r\n- [ ] LLVMFence\r\n- [ ] LLVMFinalizeFunctionPassManager\r\n- [ ] LLVMFindFunction\r\n- [ ] LLVMFloatTypeInContext\r\n- [ ] LLVMFreeMachineCodeForFunction\r\n- [ ] LLVMFunctionValueKind\r\n- [ ] LLVMGeneralDynamicTLSModel\r\n- [ ] LLVMGenericValueIntWidth\r\n- [ ] LLVMGenericValueRef\r\n- [ ] LLVMGenericValueToFloat\r\n- [ ] LLVMGenericValueToInt\r\n- [ ] LLVMGenericValueToPointer\r\n- [ ] LLVMGetAllocatedType\r\n- [ ] LLVMGetAsString\r\n- [ ] LLVMGetAttribute\r\n- [ ] LLVMGetAttributeCountAtIndex\r\n- [ ] LLVMGetAttributesAtIndex\r\n- [ ] LLVMGetBasicBlockName\r\n- [ ] LLVMGetBasicBlockTerminator\r\n- [ ] LLVMGetBasicBlocks\r\n- [ ] LLVMGetBitcodeModule\r\n- [ ] LLVMGetBitcodeModule2\r\n- [ ] LLVMGetBitcodeModuleInContext\r\n- [ ] LLVMGetBitcodeModuleInContext2\r\n- [ ] LLVMGetBufferSize\r\n- [ ] LLVMGetBufferStart\r\n- [ ] LLVMGetCallSiteAttributeCount\r\n- [ ] LLVMGetCallSiteAttributes\r\n- [ ] LLVMGetCallSiteEnumAttribute\r\n- [ ] LLVMGetCallSiteStringAttribute\r\n- [ ] LLVMGetCalledValue\r\n- [ ] LLVMGetClause\r\n- [ ] LLVMGetCmpXchgFailureOrdering\r\n- [ ] LLVMGetCmpXchgSuccessOrdering\r\n- [ ] LLVMGetCondition\r\n- [ ] LLVMGetConstOpcode\r\n- [ ] LLVMGetCurrentDebugLocation\r\n- [ ] LLVMGetDLLStorageClass\r\n- [ ] LLVMGetDataLayout\r\n- [ ] LLVMGetDataLayoutStr\r\n- [ ] LLVMGetDiagInfoDescription\r\n- [ ] LLVMGetDiagInfoSeverity\r\n- [ ] LLVMGetElementAsConstant\r\n- [ ] LLVMGetElementPtr\r\n- [ ] LLVMGetEnumAttributeAtIndex\r\n- [ ] LLVMGetEnumAttributeKind\r\n- [ ] LLVMGetEnumAttributeKindForName\r\n- [ ] LLVMGetEnumAttributeValue\r\n- [ ] LLVMGetExecutionEngineTargetData\r\n- [ ] LLVMGetExecutionEngineTargetMachine\r\n- [ ] LLVMGetFCmpPredicate\r\n- [ ] LLVMGetFirstFunction\r\n- [ ] LLVMGetFirstGlobal\r\n- [ ] LLVMGetFirstTarget\r\n- [ ] LLVMGetFirstUse\r\n- [ ] LLVMGetFunctionAddress\r\n- [ ] LLVMGetFunctionAttr\r\n- [ ] LLVMGetFunctionCallConv\r\n- [ ] LLVMGetGC\r\n- [ ] LLVMGetGlobalParent\r\n- [ ] LLVMGetGlobalPassRegistry\r\n- [ ] LLVMGetGlobalValueAddress\r\n- [ ] LLVMGetICmpPredicate\r\n- [ ] LLVMGetIndices\r\n- [ ] LLVMGetInstructionCallConv\r\n- [ ] LLVMGetInstructionParent\r\n- [ ] LLVMGetIntrinsicID\r\n- [ ] LLVMGetLastEnumAttributeKind\r\n- [ ] LLVMGetLastFunction\r\n- [ ] LLVMGetLastGlobal\r\n- [ ] LLVMGetLinkage\r\n- [ ] LLVMGetMDKindID\r\n- [ ] LLVMGetMDKindIDInContext\r\n- [ ] LLVMGetMDNodeNumOperands\r\n- [ ] LLVMGetMDNodeOperands\r\n- [ ] LLVMGetMDString\r\n- [ ] LLVMGetMetadata\r\n- [ ] LLVMGetModuleIdentifier\r\n- [ ] LLVMGetNamedGlobal\r\n- [ ] LLVMGetNamedMetadataNumOperands\r\n- [ ] LLVMGetNamedMetadataOperands\r\n- [ ] LLVMGetNextFunction\r\n- [ ] LLVMGetNextGlobal\r\n- [ ] LLVMGetNextTarget\r\n- [ ] LLVMGetNormalDest\r\n- [ ] LLVMGetNumArgOperands\r\n- [ ] LLVMGetNumClauses\r\n- [ ] LLVMGetNumIndices\r\n- [ ] LLVMGetNumOperands\r\n- [ ] LLVMGetNumSuccessors\r\n- [ ] LLVMGetOperand\r\n- [ ] LLVMGetOperandUse\r\n- [ ] LLVMGetOrdering\r\n- [ ] LLVMGetParamParent\r\n- [ ] LLVMGetParams\r\n- [ ] LLVMGetPersonalityFn\r\n- [ ] LLVMGetPointerToGlobal\r\n- [ ] LLVMGetPreviousBasicBlock\r\n- [ ] LLVMGetPreviousFunction\r\n- [ ] LLVMGetPreviousGlobal\r\n- [ ] LLVMGetRelocationOffset\r\n- [ ] LLVMGetRelocationSymbol\r\n- [ ] LLVMGetRelocationType\r\n- [ ] LLVMGetRelocationTypeName\r\n- [ ] LLVMGetRelocationValueString\r\n- [ ] LLVMGetRelocations\r\n- [ ] LLVMGetSection\r\n- [ ] LLVMGetSectionAddress\r\n- [ ] LLVMGetSectionContainsSymbol\r\n- [ ] LLVMGetSectionContents\r\n- [ ] LLVMGetSectionName\r\n- [ ] LLVMGetSectionSize\r\n- [ ] LLVMGetSections\r\n- [ ] LLVMGetStringAttributeAtIndex\r\n- [ ] LLVMGetStringAttributeKind\r\n- [ ] LLVMGetStringAttributeValue\r\n- [ ] LLVMGetStructElementTypes\r\n- [ ] LLVMGetStructName\r\n- [ ] LLVMGetSuccessor\r\n- [ ] LLVMGetSwitchDefaultDest\r\n- [ ] LLVMGetSymbolAddress\r\n- [ ] LLVMGetSymbolName\r\n- [ ] LLVMGetSymbolSize\r\n- [ ] LLVMGetSymbols\r\n- [ ] LLVMGetTarget\r\n- [ ] LLVMGetTargetDescription\r\n- [ ] LLVMGetTargetFromName\r\n- [ ] LLVMGetTargetMachineCPU\r\n- [ ] LLVMGetTargetMachineFeatureString\r\n- [ ] LLVMGetTargetMachineTarget\r\n- [ ] LLVMGetTargetMachineTriple\r\n- [ ] LLVMGetTargetName\r\n- [ ] LLVMGetThreadLocalMode\r\n- [ ] LLVMGetTypeContext\r\n- [ ] LLVMGetUnwindDest\r\n- [ ] LLVMGetValueKind\r\n- [ ] LLVMGetVisibility\r\n- [ ] LLVMGetVolatile\r\n- [ ] LLVMGhostLinkage\r\n- [ ] LLVMGlobalAliasValueKind\r\n- [ ] LLVMGlobalIFuncValueKind\r\n- [ ] LLVMGlobalVariableValueKind\r\n- [ ] LLVMHalfTypeInContext\r\n- [ ] LLVMHasMetadata\r\n- [ ] LLVMHasPersonalityFn\r\n- [ ] LLVMHasUnnamedAddr\r\n- [ ] LLVMHiddenVisibility\r\n- [ ] LLVMICmp\r\n- [ ] LLVMIPO\r\n- [ ] LLVMInAllocaAttribute\r\n- [ ] LLVMInRegAttribute\r\n- [ ] LLVMIndirectBr\r\n- [ ] LLVMInitialExecTLSModel\r\n- [ ] LLVMInitialize\r\n- [ ] LLVMInitializeAnalysis\r\n- [ ] LLVMInitializeCodeGen\r\n- [ ] LLVMInitializeCore\r\n- [ ] LLVMInitializeIPA\r\n- [ ] LLVMInitializeIPO\r\n- [ ] LLVMInitializeInstCombine\r\n- [ ] LLVMInitializeInstrumentation\r\n- [ ] LLVMInitializeMCJITCompilerOptions\r\n- [ ] LLVMInitializeNativeAsmParser\r\n- [ ] LLVMInitializeNativeAsmPrinter\r\n- [ ] LLVMInitializeNativeDisassembler\r\n- [ ] LLVMInitializeNativeTarget\r\n- [ ] LLVMInitializeNativeTargetAsmParser\r\n- [ ] LLVMInitializeNativeTargetAsmPrinter\r\n- [ ] LLVMInitializeNativeTargetDisassembler\r\n- [ ] LLVMInitializeObjCARCOpts\r\n- [ ] LLVMInitializeScalarOpts\r\n- [ ] LLVMInitializeTarget\r\n- [ ] LLVMInitializeTransformUtils\r\n- [ ] LLVMInitializeVectorization\r\n- [ ] LLVMInlineAsmValueKind\r\n- [ ] LLVMInlineHintAttribute\r\n- [ ] LLVMInsertBasicBlock\r\n- [ ] LLVMInsertBasicBlockInContext\r\n- [ ] LLVMInsertElement\r\n- [ ] LLVMInsertValue\r\n- [ ] LLVMInstallFatalErrorHandler\r\n- [ ] LLVMInstructionClone\r\n- [ ] LLVMInstructionEraseFromParent\r\n- [ ] LLVMInstructionRemoveFromParent\r\n- [ ] LLVMInstructionValueKind\r\n- [ ] LLVMInt128Type\r\n- [ ] LLVMInt128TypeInContext\r\n- [ ] LLVMInt16Type\r\n- [ ] LLVMInt16TypeInContext\r\n- [ ] LLVMInt1Type\r\n- [ ] LLVMInt1TypeInContext\r\n- [ ] LLVMInt32Type\r\n- [ ] LLVMInt32TypeInContext\r\n- [ ] LLVMInt64Type\r\n- [ ] LLVMInt64TypeInContext\r\n- [ ] LLVMInt8Type\r\n- [ ] LLVMInt8TypeInContext\r\n- [ ] LLVMIntToPtr\r\n- [ ] LLVMIntTypeInContext\r\n- [ ] LLVMInternalLinkage\r\n- [ ] LLVMInvoke\r\n- [ ] LLVMIsA\r\n- [ ] LLVMIsAMDNode\r\n- [ ] LLVMIsAMDString\r\n- [ ] LLVMIsAtomicSingleThread\r\n- [ ] LLVMIsCleanup\r\n- [ ] LLVMIsConditional\r\n- [ ] LLVMIsConstantString\r\n- [ ] LLVMIsDeclaration\r\n- [ ] LLVMIsEnumAttribute\r\n- [ ] LLVMIsInBounds\r\n- [ ] LLVMIsMultithreaded\r\n- [ ] LLVMIsNull\r\n- [ ] LLVMIsOpaqueStruct\r\n- [ ] LLVMIsPackedStruct\r\n- [ ] LLVMIsRelocationIteratorAtEnd\r\n- [ ] LLVMIsSectionIteratorAtEnd\r\n- [ ] LLVMIsStringAttribute\r\n- [ ] LLVMIsSymbolIteratorAtEnd\r\n- [ ] LLVMIsTailCall\r\n- [ ] LLVMJumpTableAttribute\r\n- [ ] LLVMLShr\r\n- [ ] LLVMLabelTypeInContext\r\n- [ ] LLVMLandingPad\r\n- [ ] LLVMLandingPadCatch\r\n- [ ] LLVMLandingPadClauseTy\r\n- [ ] LLVMLandingPadFilter\r\n- [ ] LLVMLinkInInterpreter\r\n- [ ] LLVMLinkInMCJIT\r\n- [ ] LLVMLinkModules2\r\n- [ ] LLVMLinkOnceAnyLinkage\r\n- [ ] LLVMLinkOnceODRAutoHideLinkage\r\n- [ ] LLVMLinkOnceODRLinkage\r\n- [ ] LLVMLinkage\r\n- [ ] LLVMLinkerDestroySource\r\n- [ ] LLVMLinkerMode\r\n- [ ] LLVMLinkerPreserveSource_Removed\r\n- [ ] LLVMLinkerPrivateLinkage\r\n- [ ] LLVMLinkerPrivateWeakLinkage\r\n- [ ] LLVMLoad\r\n- [ ] LLVMLoadLibraryPermanently\r\n- [ ] LLVMLocalDynamicTLSModel\r\n- [ ] LLVMLocalExecTLSModel\r\n- [ ] LLVMMCJITCompilerOptions\r\n- [ ] LLVMMCJITMemoryManagerRef\r\n- [ ] LLVMMDNode\r\n- [ ] LLVMMDNodeInContext\r\n- [ ] LLVMMDString\r\n- [ ] LLVMMDStringInContext\r\n- [ ] LLVMMemoryBufferRef\r\n- [ ] LLVMMemoryDefValueKind\r\n- [ ] LLVMMemoryManagerAllocateCodeSectionCallback\r\n- [ ] LLVMMemoryManagerAllocateDataSectionCallback\r\n- [ ] LLVMMemoryManagerDestroyCallback\r\n- [ ] LLVMMemoryManagerFinalizeMemoryCallback\r\n- [ ] LLVMMemoryPhiValueKind\r\n- [ ] LLVMMemoryUseValueKind\r\n- [ ] LLVMMetadataAsValueValueKind\r\n- [ ] LLVMModuleProviderRef\r\n- [ ] LLVMMoveToContainingSection\r\n- [ ] LLVMMoveToNextRelocation\r\n- [ ] LLVMMoveToNextSection\r\n- [ ] LLVMMoveToNextSymbol\r\n- [ ] LLVMMul\r\n- [ ] LLVMNakedAttribute\r\n- [ ] LLVMNestAttribute\r\n- [ ] LLVMNoAliasAttribute\r\n- [ ] LLVMNoCaptureAttribute\r\n- [ ] LLVMNoImplicitFloatAttribute\r\n- [ ] LLVMNoInlineAttribute\r\n- [ ] LLVMNoRedZoneAttribute\r\n- [ ] LLVMNoReturnAttribute\r\n- [ ] LLVMNoUnwindAttribute\r\n- [ ] LLVMNonLazyBind\r\n- [ ] LLVMNonNullAttribute\r\n- [ ] LLVMNotThreadLocal\r\n- [ ] LLVMObject\r\n- [ ] LLVMObjectFileRef\r\n- [ ] LLVMOpInfo1\r\n- [ ] LLVMOpInfoCallback\r\n- [ ] LLVMOpInfoSymbol1\r\n- [ ] LLVMOpaqueAttributeRef\r\n- [ ] LLVMOpaqueBasicBlock\r\n- [ ] LLVMOpaqueBuilder\r\n- [ ] LLVMOpaqueContext\r\n- [ ] LLVMOpaqueDiagnosticInfo\r\n- [ ] LLVMOpaqueExecutionEngine\r\n- [ ] LLVMOpaqueGenericValue\r\n- [ ] LLVMOpaqueLTOCodeGenerator\r\n- [ ] LLVMOpaqueLTOModule\r\n- [ ] LLVMOpaqueMCJITMemoryManager\r\n- [ ] LLVMOpaqueMemoryBuffer\r\n- [ ] LLVMOpaqueModule\r\n- [ ] LLVMOpaqueModuleProvider\r\n- [ ] LLVMOpaqueObjectFile\r\n- [ ] LLVMOpaquePassManager\r\n- [ ] LLVMOpaquePassManagerBuilder\r\n- [ ] LLVMOpaquePassRegistry\r\n- [ ] LLVMOpaqueRelocationIterator\r\n- [ ] LLVMOpaqueSectionIterator\r\n- [ ] LLVMOpaqueSymbolIterator\r\n- [ ] LLVMOpaqueTargetData\r\n- [ ] LLVMOpaqueTargetLibraryInfotData\r\n- [ ] LLVMOpaqueTargetMachine\r\n- [ ] LLVMOpaqueThinLTOCodeGenerator\r\n- [ ] LLVMOpaqueType\r\n- [ ] LLVMOpaqueUse\r\n- [ ] LLVMOpaqueValue\r\n- [ ] LLVMOpcode\r\n- [ ] LLVMOptimizeForSizeAttribute\r\n- [ ] LLVMOptimizeNoneAttribute\r\n- [ ] LLVMOr\r\n- [ ] LLVMOrcAddEagerlyCompiledIR\r\n- [ ] LLVMOrcAddLazilyCompiledIR\r\n- [ ] LLVMOrcAddObjectFile\r\n- [ ] LLVMOrcCreateIndirectStub\r\n- [ ] LLVMOrcCreateInstance\r\n- [ ] LLVMOrcCreateLazyCompileCallback\r\n- [ ] LLVMOrcDisposeInstance\r\n- [ ] LLVMOrcDisposeMangledSymbol\r\n- [ ] LLVMOrcErrGeneric\r\n- [ ] LLVMOrcErrSuccess\r\n- [ ] LLVMOrcErrorCode\r\n- [ ] LLVMOrcGetErrorMsg\r\n- [ ] LLVMOrcGetMangledSymbol\r\n- [ ] LLVMOrcGetSymbolAddress\r\n- [ ] LLVMOrcJIT\r\n- [ ] LLVMOrcJITStackRef\r\n- [ ] LLVMOrcLazyCompileCallbackFn\r\n- [ ] LLVMOrcModuleHandle\r\n- [ ] LLVMOrcOpaqueJITStack\r\n- [ ] LLVMOrcRemoveModule\r\n- [ ] LLVMOrcSetIndirectStubPointer\r\n- [ ] LLVMOrcSymbolResolverFn\r\n- [ ] LLVMOrcTargetAddress\r\n- [ ] LLVMPHI\r\n- [ ] LLVMPPCFP128TypeInContext\r\n- [ ] LLVMParseBitcode\r\n- [ ] LLVMParseBitcode2\r\n- [ ] LLVMParseBitcodeInContext\r\n- [ ] LLVMParseBitcodeInContext2\r\n- [ ] LLVMParseCommandLineOptions\r\n- [ ] LLVMParseIRInContext\r\n- [ ] LLVMPassManagerBuilderCreate\r\n- [ ] LLVMPassManagerBuilderDispose\r\n- [ ] LLVMPassManagerBuilderPopulateFunctionPassManager\r\n- [ ] LLVMPassManagerBuilderPopulateLTOPassManager\r\n- [ ] LLVMPassManagerBuilderPopulateModulePassManager\r\n- [ ] LLVMPassManagerBuilderRef\r\n- [ ] LLVMPassManagerBuilderSetDisableSimplifyLibCalls\r\n- [ ] LLVMPassManagerBuilderSetDisableUnitAtATime\r\n- [ ] LLVMPassManagerBuilderSetDisableUnrollLoops\r\n- [ ] LLVMPassManagerBuilderSetOptLevel\r\n- [ ] LLVMPassManagerBuilderSetSizeLevel\r\n- [ ] LLVMPassManagerBuilderUseInlinerWithThreshold\r\n- [ ] LLVMPassRegistryRef\r\n- [ ] LLVMPrintMessageAction\r\n- [ ] LLVMPrintModuleToString\r\n- [ ] LLVMPrintTypeToString\r\n- [ ] LLVMPrintValueToString\r\n- [ ] LLVMPrivateLinkage\r\n- [ ] LLVMProtectedVisibility\r\n- [ ] LLVMPtrToInt\r\n- [ ] LLVMReadNoneAttribute\r\n- [ ] LLVMReadOnlyAttribute\r\n- [ ] LLVMRecompileAndRelinkFunction\r\n- [ ] LLVMRelocationIteratorRef\r\n- [ ] LLVMRemoveAttribute\r\n- [ ] LLVMRemoveCallSiteEnumAttribute\r\n- [ ] LLVMRemoveCallSiteStringAttribute\r\n- [ ] LLVMRemoveEnumAttributeAtIndex\r\n- [ ] LLVMRemoveFunctionAttr\r\n- [ ] LLVMRemoveInstrAttribute\r\n- [ ] LLVMRemoveModule\r\n- [ ] LLVMRemoveStringAttributeAtIndex\r\n- [ ] LLVMResetFatalErrorHandler\r\n- [ ] LLVMResume\r\n- [ ] LLVMRet\r\n- [ ] LLVMReturnsTwice\r\n- [ ] LLVMRunPassManager\r\n- [ ] LLVMRunStaticConstructors\r\n- [ ] LLVMRunStaticDestructors\r\n- [ ] LLVMSDiv\r\n- [ ] LLVMSExt\r\n- [ ] LLVMSExtAttribute\r\n- [ ] LLVMSIToFP\r\n- [ ] LLVMSRem\r\n- [ ] LLVMSafeStackAttribute\r\n- [ ] LLVMSanitizeAddressAttribute\r\n- [ ] LLVMScalarOpts\r\n- [ ] LLVMSearchForAddressOfSymbol\r\n- [ ] LLVMSectionIteratorRef\r\n- [ ] LLVMSelect\r\n- [ ] LLVMSetAtomicSingleThread\r\n- [ ] LLVMSetCleanup\r\n- [ ] LLVMSetCmpXchgFailureOrdering\r\n- [ ] LLVMSetCmpXchgSuccessOrdering\r\n- [ ] LLVMSetCondition\r\n- [ ] LLVMSetCurrentDebugLocation\r\n- [ ] LLVMSetDLLStorageClass\r\n- [ ] LLVMSetDataLayout\r\n- [ ] LLVMSetDisasmOptions\r\n- [ ] LLVMSetFunctionCallConv\r\n- [ ] LLVMSetGC\r\n- [ ] LLVMSetInstDebugLocation\r\n- [ ] LLVMSetInstrParamAlignment\r\n- [ ] LLVMSetInstructionCallConv\r\n- [ ] LLVMSetIsInBounds\r\n- [ ] LLVMSetLinkage\r\n- [ ] LLVMSetMetadata\r\n- [ ] LLVMSetModuleDataLayout\r\n- [ ] LLVMSetModuleIdentifier\r\n- [ ] LLVMSetModuleInlineAsm\r\n- [ ] LLVMSetNormalDest\r\n- [ ] LLVMSetOperand\r\n- [ ] LLVMSetOrdering\r\n- [ ] LLVMSetParamAlignment\r\n- [ ] LLVMSetPersonalityFn\r\n- [ ] LLVMSetSection\r\n- [ ] LLVMSetSuccessor\r\n- [ ] LLVMSetTailCall\r\n- [ ] LLVMSetTarget\r\n- [ ] LLVMSetTargetMachineAsmVerbosity\r\n- [ ] LLVMSetThreadLocalMode\r\n- [ ] LLVMSetUnnamedAddr\r\n- [ ] LLVMSetUnwindDest\r\n- [ ] LLVMSetVisibility\r\n- [ ] LLVMSetVolatile\r\n- [ ] LLVMShl\r\n- [ ] LLVMShuffleVector\r\n- [ ] LLVMShutdown\r\n- [ ] LLVMStackAlignment\r\n- [ ] LLVMStackProtectAttribute\r\n- [ ] LLVMStackProtectReqAttribute\r\n- [ ] LLVMStackProtectStrongAttribute\r\n- [ ] LLVMStartMultithreaded\r\n- [ ] LLVMStopMultithreaded\r\n- [ ] LLVMStore\r\n- [ ] LLVMStructGetTypeAtIndex\r\n- [ ] LLVMStructRetAttribute\r\n- [ ] LLVMStructTypeInContext\r\n- [ ] LLVMSub\r\n- [ ] LLVMSwiftErrorAttribute\r\n- [ ] LLVMSwiftSelfAttribute\r\n- [ ] LLVMSwitch\r\n- [ ] LLVMSymbolIteratorRef\r\n- [ ] LLVMSymbolLookupCallback\r\n- [ ] LLVMTarget\r\n- [ ] LLVMTargetHasAsmBackend\r\n- [ ] LLVMTargetHasJIT\r\n- [ ] LLVMTargetHasTargetMachine\r\n- [ ] LLVMTargetLibraryInfoRef\r\n- [ ] LLVMTargetMachineEmitToMemoryBuffer\r\n- [ ] LLVMThreadLocalMode\r\n- [ ] LLVMTrunc\r\n- [ ] LLVMTypeIsSized\r\n- [ ] LLVMTypeKind\r\n- [ ] LLVMUDiv\r\n- [ ] LLVMUIToFP\r\n- [ ] LLVMURem\r\n- [ ] LLVMUWTable\r\n- [ ] LLVMUndefValueValueKind\r\n- [ ] LLVMUnreachable\r\n- [ ] LLVMUserOp1\r\n- [ ] LLVMUserOp2\r\n- [ ] LLVMVAArg\r\n- [ ] LLVMValueAsBasicBlock\r\n- [ ] LLVMValueIsBasicBlock\r\n- [ ] LLVMValueKind\r\n- [ ] LLVMValueRefs\r\n- [ ] LLVMVectorize\r\n- [ ] LLVMVerifierFailureAction\r\n- [ ] LLVMVerifyFunction\r\n- [ ] LLVMViewFunctionCFG\r\n- [ ] LLVMViewFunctionCFGOnly\r\n- [ ] LLVMVisibility\r\n- [ ] LLVMVoidTypeInContext\r\n- [ ] LLVMWeakAnyLinkage\r\n- [ ] LLVMWeakODRLinkage\r\n- [ ] LLVMWebKitJSCallConv\r\n- [ ] LLVMWriteBitcodeToFD\r\n- [ ] LLVMWriteBitcodeToFileHandle\r\n- [ ] LLVMWriteBitcodeToMemoryBuffer\r\n- [ ] LLVMX86FP80TypeInContext\r\n- [ ] LLVMX86FastcallCallConv\r\n- [ ] LLVMX86MMXTypeInContext\r\n- [ ] LLVMX86StdcallCallConv\r\n- [ ] LLVMXor\r\n- [ ] LLVMYieldCallback\r\n- [ ] LLVMZExt\r\n- [ ] LLVMZExtAttribute\r\n- [ ] LLVM_ASM_PARSER\r\n- [ ] LLVM_ASM_PRINTER\r\n- [ ] LLVM_C_ANALYSIS_H\r\n- [ ] LLVM_C_BITREADER_H\r\n- [ ] LLVM_C_BITWRITER_H\r\n- [ ] LLVM_C_CORE_H\r\n- [ ] LLVM_C_DISASSEMBLER_H\r\n- [ ] LLVM_C_ERROR_HANDLING_H\r\n- [ ] LLVM_C_EXECUTIONENGINE_H\r\n- [ ] LLVM_C_INITIALIZATION_H\r\n- [ ] LLVM_C_IRREADER_H\r\n- [ ] LLVM_C_LINKER_H\r\n- [ ] LLVM_C_LINKTIMEOPTIMIZER_H\r\n- [ ] LLVM_C_LTO_H\r\n- [ ] LLVM_C_OBJECT_H\r\n- [ ] LLVM_C_ORCBINDINGS_H\r\n- [ ] LLVM_C_SUPPORT_H\r\n- [ ] LLVM_C_TARGETMACHINE_H\r\n- [ ] LLVM_C_TARGET_H\r\n- [ ] LLVM_C_TRANSFORMS_IPO_H\r\n- [ ] LLVM_C_TRANSFORMS_PASSMANAGERBUILDER_H\r\n- [ ] LLVM_C_TRANSFORMS_SCALAR_H\r\n- [ ] LLVM_C_TRANSFORMS_VECTORIZE_H\r\n- [ ] LLVM_C_TYPES_H\r\n- [ ] LLVM_DECLARE_VALUE_CAST\r\n- [ ] LLVM_DISASSEMBLER\r\n- [ ] LLVM_ENABLE_THREADS\r\n- [ ] LLVM_FOR_EACH_VALUE_SUBCLASS\r\n- [ ] LLVM_LTO_ASM_FAILURE\r\n- [ ] LLVM_LTO_MODULE_MERGE_FAILURE\r\n- [ ] LLVM_LTO_NO_TARGET\r\n- [ ] LLVM_LTO_NO_WORK\r\n- [ ] LLVM_LTO_NULL_OBJECT\r\n- [ ] LLVM_LTO_OPT_SUCCESS\r\n- [ ] LLVM_LTO_READ_FAILURE\r\n- [ ] LLVM_LTO_READ_SUCCESS\r\n- [ ] LLVM_LTO_UNKNOWN\r\n- [ ] LLVM_LTO_WRITE_FAILURE\r\n- [ ] LLVM_NATIVE_ASMPARSER\r\n- [ ] LLVM_NATIVE_ASMPRINTER\r\n- [ ] LLVM_NATIVE_DISASSEMBLER\r\n- [ ] LLVM_NATIVE_TARGET\r\n- [ ] LLVM_NATIVE_TARGETINFO\r\n- [ ] LLVM_NATIVE_TARGETMC\r\n- [ ] LLVM_TARGET", "title": "Missing Functionality in LLVMSwift", "type": "issue" }, { "action": "created", "author": "harlanhaskins", "comment_id": 275488117, "datetime": 1485459086000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 11, "text": "Thank you!!", "title": null, "type": "comment" }, { "action": "created", "author": "blacktop", "comment_id": 613677896, "datetime": 1586897886000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 33, "text": "+1 for Disassembly API coverage 🙏", "title": null, "type": "comment" } ]
3
3
26,959
false
false
26,959
false
true
scikit-learn/scikit-learn
scikit-learn
251,648,120
9,593
{ "number": 9593, "repo": "scikit-learn", "user_login": "scikit-learn" }
[ { "action": "opened", "author": "reiinakano", "comment_id": null, "datetime": 1503319417000, "large_text": true, "masked_author": "username_0", "nb_lines": 112, "size": 6000, "text": "<!--\r\nThanks for contributing a pull request! Please ensure you have taken a look at\r\nthe contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/master/CONTRIBUTING.md#Contributing-Pull-Requests\r\n-->\r\n#### Reference Issue\r\n<!-- Example: Fixes #1234 -->\r\nFixes #9589 \r\n\r\n#### What does this implement/fix? Explain your changes.\r\nI figured that the purpose of this code (original)\r\n\r\n```python\r\nif method in ['decision_function', 'predict_proba', 'predict_log_proba']:\r\n n_classes = len(set(y))\r\n predictions_ = np.zeros((X_test.shape[0], n_classes))\r\n if method == 'decision_function' and len(estimator.classes_) == 2:\r\n predictions_[:, estimator.classes_[-1]] = predictions\r\n else:\r\n predictions_[:, estimator.classes_] = predictions\r\n predictions = predictions_\r\n```\r\n\r\nis to handle cases where the cross-validation done in `cross_val_predict` doesn't properly stratify the classes i.e. one fold in the CV may not have all classes present.\r\n\r\nHowever, it misses an edge case for `decision_function` when `len(estimator.classes_) == 2` (train split has only 2 classes) and `n_classes == 2` (total data has only 2 classes). It wrongly assumes that the output will be of shape `(n_samples, n_classes)`, when in fact, this is only true for `decision_function` if `n_classes > 2`. For the correct behavior, we must first check if the total number of classes is greater than 2, and if it is not, we must stick to an output shape of `(n_samples,)`.\r\n\r\n#### Any other comments?\r\n\r\nWhile this PR fixes the case raised in #9589, it still doesn't take into account the fact that for `sklearn.svm.SVC`, `decision_function` does not always follow the shape `(n_samples, n_classes)` or `(n_samples,)`. If `decision_function_shape` is not set to `ovr`, the shape is `(n_samples, n_classes * (n_classes-1) / 2)`, and if different train splits have different numbers of classes (not stratified), this inconsistency can't be fixed by the approach currently taken by `cross_val_predict`.\r\n\r\nI would also like to point out my personal opinion that `cross_val_predict` should probably just throw an error if the classes are not stratified properly (by this I mean some classes are entirely absent in some splits) instead of handling it automatically as it tries to do now. Metrics like log loss and ROC might be affected if for some splits, entire columns are zeroed out. Idk, it just feels inconsistent. Of course, you guys have the final say on this.\r\n\r\nWhat I mean by inconsistent:\r\n\r\n```python\r\nfrom sklearn.model_selection import cross_val_predict, KFold\r\nfrom sklearn.datasets import load_iris\r\nfrom sklearn.linear_model import LogisticRegression\r\n\r\nX, y = load_iris(True)\r\ncross_val_predict(LogisticRegression(), X, y, cv=KFold().split(X), method='predict_proba')\r\n```\r\n\r\nreturns (array cut down in size)\r\n\r\n```\r\narray([[ 0.00000000e+00, 9.99987841e-01, 1.21585683e-05],\r\n [ 0.00000000e+00, 9.99963190e-01, 3.68104260e-05],\r\n [ 0.00000000e+00, 9.99970224e-01, 2.97757119e-05],\r\n [ 0.00000000e+00, 9.99978481e-01, 2.15185386e-05],\r\n [ 0.00000000e+00, 9.99993136e-01, 6.86428459e-06],\r\n [ 1.20030529e-01, 0.00000000e+00, 8.79969471e-01],\r\n [ 1.13183668e-01, 0.00000000e+00, 8.86816332e-01],\r\n [ 6.75506225e-02, 0.00000000e+00, 9.32449377e-01],\r\n [ 1.07273496e-01, 0.00000000e+00, 8.92726504e-01],\r\n [ 1.26854747e-01, 0.00000000e+00, 8.73145253e-01],\r\n [ 1.16881976e-01, 0.00000000e+00, 8.83118024e-01],\r\n [ 2.45077442e-04, 9.99754923e-01, 0.00000000e+00],\r\n [ 2.70475201e-04, 9.99729525e-01, 0.00000000e+00],\r\n [ 6.59523734e-04, 9.99340476e-01, 0.00000000e+00],\r\n [ 4.07574999e-04, 9.99592425e-01, 0.00000000e+00],\r\n [ 2.42451670e-03, 9.97575483e-01, 0.00000000e+00],\r\n [ 2.03959503e-03, 9.97960405e-01, 0.00000000e+00]])\r\n```\r\nNotice how there are \"zeroed out\" columns.\r\n\r\nAnd even worse:\r\n\r\n```python\r\nfrom sklearn.model_selection import cross_val_predict, KFold\r\nfrom sklearn.datasets import load_iris\r\nfrom sklearn.linear_model import LogisticRegression\r\n\r\nX, y = load_iris(True)\r\ncross_val_predict(LogisticRegression(), X, y, cv=KFold().split(X), method='decision_function')\r\n```\r\nreturns (array cut down in size)\r\n```\r\narray([[ 0. , 0. , -11.31746426],\r\n [ 0. , 0. , -10.20969263],\r\n [ 0. , 0. , -10.42178776],\r\n [ 0. , 0. , -9.60397656],\r\n [ 0. , 0. , -11.30005126],\r\n [ 0. , 0. , -11.1906238 ],\r\n [ 0. , 0. , -10.05510072],\r\n [ 0. , 0. , -10.74657422],\r\n [ 0. , 0. , -9.20295991],\r\n [ 0. , 8.3136912 , 0. ],\r\n [ 0. , 6.77281268, 0. ],\r\n [ 0. , 7.79874366, 0. ],\r\n [ 0. , 7.29615134, 0. ],\r\n [ 0. , 7.9199709 , 0. ],\r\n [ 0. , 9.163118 , 0. ],\r\n [ 0. , 5.8858718 , 0. ],\r\n [ 0. , 6.37425957, 0. ],\r\n [ 0. , 6.66261924, 0. ],\r\n [ 0. , 6.19296233, 0. ]])\r\n```\r\nwhich is hardly of use to anyone.\r\n\r\n<!--\r\nPlease be aware that we are a loose team of volunteers so patience is\r\nnecessary; assistance handling other issues is very welcome. We value\r\nall user contributions, no matter how minor they are. If we are slow to\r\nreview, either the pull request needs some benchmarking, tinkering,\r\nconvincing, etc. or more likely the reviewers are simply busy. In either\r\ncase, we ask for your understanding during the review process.\r\nFor more information, see our FAQ on this topic:\r\nhttp://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention.\r\n\r\nThanks for contributing!\r\n-->", "title": "[WIP] Fix cross_val_predict behavior for binary classification in decision_function (Fixes #9589)", "type": "issue" }, { "action": "created", "author": "jnothman", "comment_id": 323743822, "datetime": 1503322023000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 105, "text": "I think better not to error in the context of using this in ClassifierChain or a stacking meta-estimator.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 323749514, "datetime": 1503323712000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 449, "text": "NaN makes it clearer that these columns weren't considered at all for this particular split, but wouldn't that break things? For instance, I frequently use `np.argmax(cross_val_predict(..., method='predict_proba))` to recover the true labels for calculating accuracy, etc. Of course, I always make sure my folds are stratified so I'm probably not going to face it, but still.. Also, wouldn't that break ClassifierChains and stacking meta-estimators?", "title": null, "type": "comment" }, { "action": "created", "author": "jnothman", "comment_id": 323870974, "datetime": 1503355162000, "large_text": false, "masked_author": "username_1", "nb_lines": 2, "size": 113, "text": "yes, nan would probably break it all. a warning is probably a good idea.\nBut first we need to fix the regression.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 323921155, "datetime": 1503378845000, "large_text": false, "masked_author": "username_0", "nb_lines": 25, "size": 898, "text": "I've added the necessary unit tests.\r\n\r\nAlthough at this point, I'd like to point out there's another regression for the case of SVC with `decision_function_shape=ovo`\r\n\r\nCode to test:\r\n```python\r\nfrom sklearn.datasets import load_digits\r\nfrom sklearn.svm import SVC\r\nfrom sklearn.model_selection import cross_val_predict\r\n\r\nX, y = load_digits(return_X_y=True)\r\ncross_val_predict(SVC(kernel='linear', decision_function_shape='ovo'), X, y, method='decision_function').shape\r\n```\r\n\r\n**Expected Results**\r\nIn previous versions, this is `(1797, 45)`\r\n\r\n**Actual Results**\r\n```\r\nValueError: shape mismatch: value array of shape (602,45) could not be broadcast to indexing result of shape (10,602)\r\n```\r\n\r\nThis error is due to the shape of an SVC decision function with `decision_function_shape` set to `'ovr'` which is `(n_samples, n_classes * (n_classes-1) / 2)`\r\n\r\nShould I include the fix in this PR?", "title": null, "type": "comment" }, { "action": "created", "author": "jnothman", "comment_id": 323945416, "datetime": 1503387659000, "large_text": false, "masked_author": "username_1", "nb_lines": 2, "size": 90, "text": "Thanks. Maybe fix that in a separate PR unless they're going to step on\neach others' toes.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 323989642, "datetime": 1503398748000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 164, "text": "Hi @username_1, I changed this back to WIP since there was a conflict with a recent merge. I also figured out a better fix that also fixes the SVC \"ovo\" regression.", "title": null, "type": "comment" }, { "action": "created", "author": "jnothman", "comment_id": 323989752, "datetime": 1503398776000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 55, "text": "Okay. Let me know when it's MRG, i.e. ready for review.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 324014866, "datetime": 1503405930000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 28, "text": "@username_1 Ready for review", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 324057852, "datetime": 1503414774000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 51, "text": "Yup, sorry. Added unit test and addressed comments.", "title": null, "type": "comment" }, { "action": "created", "author": "amueller", "comment_id": 325999056, "datetime": 1504101555000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 91, "text": "A solution to some more of this will be in #9532 but that will probably still take a while.", "title": null, "type": "comment" }, { "action": "created", "author": "amueller", "comment_id": 326031443, "datetime": 1504107640000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 0, "text": "", "title": null, "type": "comment" }, { "action": "created", "author": "amueller", "comment_id": 326031684, "datetime": 1504107683000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 76, "text": "This is the case when some classifiers have 1 class and some have 2 classes.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 326042552, "datetime": 1504109866000, "large_text": false, "masked_author": "username_0", "nb_lines": 7, "size": 807, "text": "Got it. Didn't know some classifiers could be fit on a single class. So that's *another* regression. How do you want to handle this case? It sounds similar to the case `if method == 'decision_function' and len(estimator.classes_) == 2`, which is currently handled by doing `predictions_[:, estimator.classes_[-1]] = predictions`.\r\n\r\nIf that's fine, I think the fix is to simply change the former line to `if method == 'decision_function' and len(estimator.classes_) <= 2`.\r\n\r\nThis would fix the errors, but frankly, I'd still prefer a stern warning that something went wrong during cross-validation using `cross_val_predict`.\r\n\r\nFor the ovo case, should I include that in this PR as well? I didn't include it previously since this PR primarily fixes regressions and I didn't want to include a new \"feature\".", "title": null, "type": "comment" }, { "action": "created", "author": "amueller", "comment_id": 326045716, "datetime": 1504110575000, "large_text": false, "masked_author": "username_2", "nb_lines": 4, "size": 310, "text": "Not sure if the 1 class thing is a regression or was always broken ;)\r\nAnd I think I'd like the error / test for OVO in this PR.\r\n\r\nSorry, I don't understand your proposal for the 1class / 2class case. The result in the 2 class case should be 1d, not 2d. That's the original bug this is trying to solve, right?", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 326048935, "datetime": 1504111277000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 230, "text": "The case I'm talking about is when the original dataset has >2 classes, and a particular fold is <=2 *and* the method is `decision_function`. The original bug is still fixed by the `if n_classes != len(estimator.classes_):` check.", "title": null, "type": "comment" }, { "action": "created", "author": "amueller", "comment_id": 326050223, "datetime": 1504111545000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 94, "text": "Ah. My breaking example is with the dataset having two classes, and some folds have one class.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 326054741, "datetime": 1504112458000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 192, "text": "You're right. It's not a regression, but another edge case that needs to be fixed. Yes, we should add an explicit check that `n_classes > 2` but only if the method used is `decision_function`.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 326349959, "datetime": 1504196799000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 151, "text": "@username_2 I've added both the error for OvO and the fix for a dataset having two classes, and some folds having one class. Added unit tests for both.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 327260698, "datetime": 1504635709000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 83, "text": "@username_1 Addressed comments. Failure in Appveyor appears from an unrelated test.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 327699214, "datetime": 1504765388000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 188, "text": "I'm not sure why an unrelated test in `sklearn.neighbors` is failing in Appveyor when the only difference in the commit that caused the failure is a few comments and additional unit tests.", "title": null, "type": "comment" }, { "action": "created", "author": "jnothman", "comment_id": 327705902, "datetime": 1504767536000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 90, "text": "That appears to be a very rare failure at random. I'll fix that test and restart appveyor.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 327755133, "datetime": 1504778720000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 40, "text": "Finally green. Thanks! Ready for review.", "title": null, "type": "comment" }, { "action": "created", "author": "amueller", "comment_id": 332542212, "datetime": 1506522978000, "large_text": false, "masked_author": "username_2", "nb_lines": 3, "size": 370, "text": "Ok, I think if one fold only contains one class, we should probably just error becaus it's a bit unclear to me what is supposed to happen. And this is such a weird edge-case that I don't think we should hold 0.19.1 for that.\r\n\r\nFor the if-else thing in the decision function case: maybe just add some comments? right now I find the code hard to read. But seems ok to me.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 332619872, "datetime": 1506538219000, "large_text": false, "masked_author": "username_0", "nb_lines": 3, "size": 129, "text": "@username_2 I've addressed your comments. So, ready for review again.\r\n\r\nThe test failures are due to something unrelated again..", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 332705569, "datetime": 1506564094000, "large_text": false, "masked_author": "username_0", "nb_lines": 3, "size": 128, "text": "@username_2 addressed your comments. Ready for review again.\r\n\r\nThe test failures seem to be due to something unrelated again...", "title": null, "type": "comment" }, { "action": "created", "author": "jnothman", "comment_id": 332710191, "datetime": 1506566012000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 75, "text": "Add a blank commit and the failures should go away due to a patch in master", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 332788289, "datetime": 1506592589000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 56, "text": "So.. something failed. But again, I have no idea what...", "title": null, "type": "comment" }, { "action": "created", "author": "lesteve", "comment_id": 332841282, "datetime": 1506606399000, "large_text": false, "masked_author": "username_3", "nb_lines": 1, "size": 186, "text": "You can see that this is lgtm failing (google it if you want to know more what lgtm does). For some reason it has done that recently, not sure why but you don't need to worry about this.", "title": null, "type": "comment" }, { "action": "created", "author": "jnothman", "comment_id": 333735039, "datetime": 1507004590000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 96, "text": "I'll add a what's new entry when throwing it into 0.19.1, to avoid having it incorrectly in 0.20", "title": null, "type": "comment" }, { "action": "created", "author": "lesteve", "comment_id": 335178848, "datetime": 1507560062000, "large_text": false, "masked_author": "username_3", "nb_lines": 5, "size": 853, "text": "I looked at this for a bit, my main comment: with your change it seems like we are not very consistent when we ave a training fold which does not have all the training labels present in the complete dataset:\r\n* if prediction.ndim == 2, which I think for method='decision_function' means `len(est.classes_) >= 3`, we raise an error saying use a proper stratification technique\r\n* if prediction.ndim < 2, which I think for method='decision_function' means `len(est.classes_) <= 2`, we do not raise an error.\r\n\r\nAlso it seems like the fix for cross_val_predict in binary classification as reported in #9589 is actually moving the from the logic from https://github.com/scikit-learn/scikit-learn/pull/7889 in a `if n_classes != len(estimator.classes_)`. I would like to take a closer look at this to understand better whether this is the right thing to do.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 335187932, "datetime": 1507561928000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 92, "text": "I don't think there is ever a case when `decision_function` returns `predictions.ndim == 2`.", "title": null, "type": "comment" }, { "action": "created", "author": "lesteve", "comment_id": 335418355, "datetime": 1507628373000, "large_text": false, "masked_author": "username_3", "nb_lines": 4, "size": 440, "text": "You are right, I read the code too quickly, which to my defence is a bit tricky to follow.\r\n\r\nI am not convinced we are doing the right thing when we don't have all the classes in the training fold (for example setting decision function to 0 in the missing classes does not seem right).\r\nOne way to avoid the problem would be to raise an error when we don't have all the classes in the training fold? Is there a reason why we don't do this?", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 335421814, "datetime": 1507629188000, "large_text": false, "masked_author": "username_0", "nb_lines": 3, "size": 197, "text": "Yup, I agree this does not make sense.\r\n\r\nPerhaps what we could do is keep the special imbalanced handling code only for `predict_proba` and error out when it is imbalanced for `decision_function`.", "title": null, "type": "comment" }, { "action": "created", "author": "jnothman", "comment_id": 335425268, "datetime": 1507629983000, "large_text": false, "masked_author": "username_1", "nb_lines": 4, "size": 225, "text": "The problem is that it does just happen in practice, when some classes are\ninfrequent. It might not make sense for decision_function to assume some\narbitrary value but it does make sense to zero out a column in\npredict_proba.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 335426165, "datetime": 1507630215000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 242, "text": "How about erroring out imbalanced classes in `decision_function` but zeroing out columns in `predict_proba` and `log_predict_proba`? Literally all the complication in this PR is because of the different weird ways `decision_function` behaves.", "title": null, "type": "comment" }, { "action": "created", "author": "jnothman", "comment_id": 335426250, "datetime": 1507630240000, "large_text": false, "masked_author": "username_1", "nb_lines": 6, "size": 299, "text": "Essentially all we do in that case is make it harder for people to do the\nsame analysis on a highly imbalanced classification problem that they do\nwith a balanced one, which in turn makes it harder for people to provide\ngeneric ML tools built on top of our library.\n\nOne example, again, is stacking.", "title": null, "type": "comment" }, { "action": "created", "author": "jnothman", "comment_id": 335427204, "datetime": 1507630483000, "large_text": false, "masked_author": "username_1", "nb_lines": 8, "size": 435, "text": "I suppose that is, at least, more principled, and I can accept that. (And\nby that I mean erroring for decision_function but not for\npredict_{log_}proba).\n\nYes, these quirks and edge cases are annoying to deal with. But I feel like\nsometimes it's our role as a library provider to handle them as best we\ncan, and raise an error only when the user has done something wrong or at\nleast very rare. I don't think this falls under very rare.", "title": null, "type": "comment" }, { "action": "created", "author": "lesteve", "comment_id": 335473669, "datetime": 1507642411000, "large_text": false, "masked_author": "username_3", "nb_lines": 9, "size": 1600, "text": "I read a bit the discussion in the related PRs, sorry it's taking me some time to catch up. Basically here is my summary:\r\n\r\n* I would be a favour of a warning when the training fold does not contain all the classes. https://github.com/scikit-learn/scikit-learn/pull/8773#issuecomment-330362879 agrees with that as well.\r\n* the fix for the wrong shape in cross_validation_predict with method=decision_function (which consists in only applying the logic from #7889 when `n_classes != n_classes_train`) is fine\r\n* `method='decision_function'` has a number of edge cases. Raising an exception for `method='decision_function'` if `n_classes_train != n_classes` may be an easy way to avoid tackling all these special cases.\r\n 1. SVC with ovo with uncommon number of columns for decision function `n_classes_train * (n_classes_train - 1) / 2` rather than `n_classes`. Tackled in this PR already.\r\n 2. `n_classes_train <= 2` and `n_classes >= 3`, you get a 1d array as the output of decision_function and then it is not clear what to do with it. I would be in favour of raising an exception in this case.\r\n 3. `n_classes_train == 1` and `n_classes == 2`. No idea what to do in this case. I don't know how common this is for classifier to be able to be fittable with a single class and have decision_function. I quickly looked using all_estimators and I found `['AdaBoostClassifier', 'LinearDiscriminantAnalysis', 'RidgeClassifier', 'RidgeClassifierCV']`.\r\n* predictions should be initialized to 0 if `method='predict_proba'` but `-inf` (or maybe `np.finfo(X.dtype).min`) if `method='predict_log_proba'`.", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 335477729, "datetime": 1507643230000, "large_text": false, "masked_author": "username_0", "nb_lines": 3, "size": 168, "text": "There is another case for `decision_function`\r\n\r\niv. `n_classes_train > 2` and `n_classes > 2` but `n_classes_train < n_classes`. Currently we set missing classes to 0.", "title": null, "type": "comment" }, { "action": "created", "author": "lesteve", "comment_id": 335698632, "datetime": 1507704113000, "large_text": false, "masked_author": "username_3", "nb_lines": 1, "size": 175, "text": "For decision_function either we do the same as predict_log_proba or we decide that we always raise an exception, given that there are many edge cases for decision_function ...", "title": null, "type": "comment" }, { "action": "created", "author": "reiinakano", "comment_id": 335800354, "datetime": 1507726575000, "large_text": false, "masked_author": "username_0", "nb_lines": 3, "size": 423, "text": "I think I've mostly sorted this out. For a non-special case of `decision_function` (`iv. n_classes_train > 2 and n_classes > 2 but n_classes_train != n_classes.`), I do the same as `predict_log_proba`. For the other special cases, there is an error message. \r\n\r\nApologies for the confusing code previously, I should've done it this way in the first place, but I didn't expect `decision_function` to have so many edge cases.", "title": null, "type": "comment" }, { "action": "created", "author": "jnothman", "comment_id": 337407829, "datetime": 1508282875000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 108, "text": "I would like to see this merged and 0.19.1 released by the end of the week. Is that reasonable, @username_2?", "title": null, "type": "comment" } ]
5
44
16,588
false
true
16,588
true
true
nokiatech/heif
null
266,424,403
25
null
[ { "action": "opened", "author": "anbysure", "comment_id": null, "datetime": 1508319228000, "large_text": true, "masked_author": "username_0", "nb_lines": 87, "size": 7476, "text": "This is error log. please help me,thank you.\r\n\r\n[root@baseline build]# cmake ..\r\n-- The C compiler identification is GNU 4.4.7\r\n-- The CXX compiler identification is GNU 4.4.7\r\n-- Check for working C compiler: /usr/bin/cc\r\n-- Check for working C compiler: /usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Check for working CXX compiler: /usr/bin/c++\r\n-- Check for working CXX compiler: /usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- System name : Linux\r\n-- Project Name : HEIF\r\n-- Project directory : /home/heif\r\n-- Executables in : /home/heif/Bins\r\n-- File-list : \r\n-- Performing Test COMPILER_SUPPORTS_CXX11\r\n-- Performing Test COMPILER_SUPPORTS_CXX11 - Failed\r\n-- Performing Test COMPILER_SUPPORTS_CXX0X\r\n-- Performing Test COMPILER_SUPPORTS_CXX0X - Success\r\n-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) \r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /home/heif/build\r\n[root@baseline build]# make\r\n/usr/bin/cmake -H/home/heif -B/home/heif/build --check-build-system CMakeFiles/Makefile.cmake 0\r\n/usr/bin/cmake -E cmake_progress_start /home/heif/build/CMakeFiles /home/heif/build/CMakeFiles/progress.marks\r\nmake -f CMakeFiles/Makefile2 all\r\nmake[1]: Entering directory `/home/heif/build'\r\nmake -f Srcs/parser/h265parser/CMakeFiles/h265parser.dir/build.make Srcs/parser/h265parser/CMakeFiles/h265parser.dir/depend\r\nmake[2]: Entering directory `/home/heif/build'\r\ncd /home/heif/build && /usr/bin/cmake -E cmake_depends \"Unix Makefiles\" /home/heif /home/heif/Srcs/parser/h265parser /home/heif/build /home/heif/build/Srcs/parser/h265parser /home/heif/build/Srcs/parser/h265parser/CMakeFiles/h265parser.dir/DependInfo.cmake --color=\r\nScanning dependencies of target h265parser\r\nmake[2]: Leaving directory `/home/heif/build'\r\nmake -f Srcs/parser/h265parser/CMakeFiles/h265parser.dir/build.make Srcs/parser/h265parser/CMakeFiles/h265parser.dir/build\r\nmake[2]: Entering directory `/home/heif/build'\r\n/usr/bin/cmake -E cmake_progress_report /home/heif/build/CMakeFiles 65\r\n[ 1%] Building CXX object Srcs/parser/h265parser/CMakeFiles/h265parser.dir/h265parser.cpp.o\r\ncd /home/heif/build/Srcs/parser/h265parser && /usr/bin/c++ -std=c++0x -Wall -Wextra -Werror -Wno-missing-field-initializers -I/home/heif/Srcs/common -I/home/heif/Srcs/parser -o CMakeFiles/h265parser.dir/h265parser.cpp.o -c /home/heif/Srcs/parser/h265parser/h265parser.cpp\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp: In destructor ‘virtual H265Parser::~H265Parser()’:\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:38: error: expected initializer before ‘:’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:43: error: expected primary-expression before ‘for’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:43: error: expected ‘;’ before ‘for’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:43: error: expected primary-expression before ‘for’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:43: error: expected ‘)’ before ‘for’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:43: error: expected initializer before ‘:’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:48: error: expected primary-expression before ‘for’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:48: error: expected ‘;’ before ‘for’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:48: error: expected primary-expression before ‘for’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:48: error: expected ‘)’ before ‘for’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:48: error: expected initializer before ‘:’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:52: error: expected primary-expression before ‘}’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:52: error: expected ‘;’ before ‘}’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:52: error: expected primary-expression before ‘}’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:52: error: expected ‘)’ before ‘}’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:52: error: expected primary-expression before ‘}’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:52: error: expected ‘;’ before ‘}’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp: In member function ‘bool H265Parser::initDisplayOrderArray(const char*)’:\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:109: error: expected initializer before ‘:’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:116: error: could not convert ‘std::sort [with _RAIter = __gnu_cxx::__normal_iterator<ParserInterface::PicOrder*, std::vector<ParserInterface::PicOrder, std::allocator<ParserInterface::PicOrder> > >, _Compare = bool (*)(const ParserInterface::PicOrder&, const ParserInterface::PicOrder&)](picOrder.std::vector<_Tp, _Alloc>::begin [with _Tp = ParserInterface::PicOrder, _Alloc = std::allocator<ParserInterface::PicOrder>](), picOrder.std::vector<_Tp, _Alloc>::end [with _Tp = ParserInterface::PicOrder, _Alloc = std::allocator<ParserInterface::PicOrder>](), ParserInterface::compareDecodeOrder)’ to ‘bool’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:118: error: expected primary-expression before ‘for’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:118: error: expected ‘)’ before ‘for’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:118: error: expected initializer before ‘:’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:122: error: could not convert ‘picOrder.std::vector<_Tp, _Alloc>::clear [with _Tp = ParserInterface::PicOrder, _Alloc = std::allocator<ParserInterface::PicOrder>]()’ to ‘bool’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:123: error: expected primary-expression before ‘}’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:123: error: expected ‘)’ before ‘}’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:123: error: expected primary-expression before ‘}’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:123: error: expected ‘;’ before ‘}’ token\r\ncc1plus: warnings being treated as errors\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:86: error: unused variable ‘displayNum’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp: In member function ‘bool H265Parser::hasVpsExtension()’:\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:147: error: expected initializer before ‘:’ token\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:3033: error: expected primary-expression at end of input\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:3033: error: expected ‘;’ at end of input\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:3033: error: expected primary-expression at end of input\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:3033: error: expected ‘)’ at end of input\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:3033: error: expected statement at end of input\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:146: error: unused variable ‘hasExtension’\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:3033: error: expected ‘}’ at end of input\r\n/home/heif/Srcs/parser/h265parser/h265parser.cpp:3033: error: no return statement in function returning non-void\r\nmake[2]: *** [Srcs/parser/h265parser/CMakeFiles/h265parser.dir/h265parser.cpp.o] Error 1\r\nmake[2]: Leaving directory `/home/heif/build'\r\nmake[1]: *** [Srcs/parser/h265parser/CMakeFiles/h265parser.dir/all] Error 2\r\nmake[1]: Leaving directory `/home/heif/build'\r\nmake: *** [all] Error 2", "title": "build fail in Centos 6.5", "type": "issue" }, { "action": "created", "author": "guoying1030", "comment_id": 346562238, "datetime": 1511427911000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 34, "text": "you must upgrad gcc and g++ to 4.8", "title": null, "type": "comment" }, { "action": "created", "author": "jieweijasson", "comment_id": 363365680, "datetime": 1517909976000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 54, "text": "请问我在centos7上编译通过了,生成了可执行文件,下一步怎么让.heic格式的图片转为jpeg格式?谢谢", "title": null, "type": "comment" }, { "action": "created", "author": "nokiatech", "comment_id": 371476688, "datetime": 1520513095000, "large_text": false, "masked_author": "username_3", "nb_lines": 1, "size": 42, "text": "Code requires C++11 support from compiler.", "title": null, "type": "comment" }, { "action": "closed", "author": "nokiatech", "comment_id": null, "datetime": 1520513095000, "large_text": false, "masked_author": "username_3", "nb_lines": 1, "size": 0, "text": "", "title": null, "type": "issue" } ]
4
5
7,606
false
false
7,606
false
true
KrisC369/GridFlex-Simulator
null
219,217,713
41
{ "number": 41, "repo": "GridFlex-Simulator", "user_login": "KrisC369" }
[ { "action": "opened", "author": "KrisC369", "comment_id": null, "datetime": 1491304745000, "large_text": false, "masked_author": "username_0", "nb_lines": 7, "size": 363, "text": "Major pull request to update master branch to include lastest work from development.\r\nThis is in preparation of the next release.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/krisc369/gridflex-simulator/41)\n<!-- Reviewable:end -->", "title": "Develop", "type": "issue" }, { "action": "created", "author": "KrisC369", "comment_id": 291481838, "datetime": 1491308204000, "large_text": true, "masked_author": "username_0", "nb_lines": 237, "size": 18211, "text": "Won't resolve. Empty body in component implementation is expected.\n\n---\n\n*[game/src/main/java/be/kuleuven/cs/gametheory/AbstractGame.java, line 26 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99b6xIuYBMXo2lq-r2-26:-KgstA2aoCA2ryFyaInG:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/game/src/main/java/be/kuleuven/cs/gametheory/AbstractGame.java#L26)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Perhaps 'agents' could be replaced by a local variable.](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[game/src/main/java/be/kuleuven/cs/gametheory/AbstractGame.java, line 27 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99b6xIuYBMXo2lq-r2-27:-Kgssjh05N2qdqh_zU0w:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/game/src/main/java/be/kuleuven/cs/gametheory/AbstractGame.java#L27)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Perhaps 'actions' could be replaced by a local variable.](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[game/src/main/java/be/kuleuven/cs/gametheory/AbstractGame.java, line 29 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99b6xIuYBMXo2lq-r2-29:-KgsskF9y8yX__WKiyNU:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/game/src/main/java/be/kuleuven/cs/gametheory/AbstractGame.java#L29)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused private fields such as 'reps'.](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest.java, line 28 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99b6xIuYBMXo2mF-r2-28:-Kgssm-XDipY5BQJI3Jk:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest.java#L28)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused imports such as 'junit.framework.TestCase.assertTrue'](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest.java, line 148 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99b6xIuYBMXo2mF-r2-148:-Kgssn5H7HbRjHfcRVkR:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest.java#L148)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Unnecessary use of fully qualified name 'Assert.assertEquals' due to existing static import 'org.junit.Assert.assertEquals'](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest_Issues.java, line 16 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99b6xIuYBMXo2mG-r2-16:-KgssnvUWgn73CjQQkm9:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest_Issues.java#L16)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused private fields such as 'logger'.](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest_Issues.java, line 30 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99b6xIuYBMXo2mG-r2-30:-KgssoWB5aJlzg_MozBN:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest_Issues.java#L30)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused private methods such as 'reset()'.](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest_Issues.java, line 35 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99b6xIuYBMXo2mG-r2-35:-Kgssp61PUATIinxzYHr:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest_Issues.java#L35)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Method names should not contain underscores](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest_Issues.java, line 41 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99b6xIuYBMXo2mG-r2-41:-KgssphvVoGJrW44oDXR:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest_Issues.java#L41)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Method names should not contain underscores](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest_Issues.java, line 47 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99b6xIuYBMXo2mG-r2-47:-KgssqNokpsf-WbOOe8F:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/persistence/src/test/java/be/kuleuven/cs/gridflex/persistence/MapDBMemoizationContextTest_Issues.java#L47)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Method names should not contain underscores](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/benchmark/BenchmarkSolver.java, line 15 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99diRJa-uW2z77s-r2-15:-Kgssr1iGO8iy2ZazrTU:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/benchmark/BenchmarkSolver.java#L15)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused private fields such as 'logger'.](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/data/CsvResultWriter.java, line 31 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99diRJa-uW2z77u-r2-31:-KgssrjHCBmmu0t775pH:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/data/CsvResultWriter.java#L31)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/data/CsvResultWriter.java, line 106 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99diRJa-uW2z77u-r2-106:-KgsssNybKSqUSzr2RPX:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/data/CsvResultWriter.java#L106)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid long parameter lists.](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/utils/WriteFileCreator.java, line 17 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99diRJa-uW2z78--r2-17:-Kgsstv-senWozt017l4:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/utils/WriteFileCreator.java#L17)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/utils/WriteFileCreator.java, line 18 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99diRJa-uW2z78--r2-18:-KgssuNhyqS8XGWqN9iC:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/utils/WriteFileCreator.java#L18)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/utils/WriteFileCreator.java, line 34 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99diRJa-uW2z78--r2-34:-Kgssv3UAN5OJTYuKPog:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/utils/WriteFileCreator.java#L34)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [System.exit() should not be used in J2EE/JEE apps](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/wgmf/AbstractWgmfGameRunner.java, line 33 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99diRJa-uW2z780-r2-33:-Kgssx_M5BbNIJ9yR6-o:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/wgmf/AbstractWgmfGameRunner.java#L33)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused private fields such as 'logger'.](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/wgmf/ExecutionStrategy.java, line 158 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99diRJa-uW2z781-r2-158:-KgsszEw1JyEc59s54eD:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/project/src/main/java/be/kuleuven/cs/gridflex/experimentation/tosg/wgmf/ExecutionStrategy.java#L158)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Perhaps 'extractor' could be replaced by a local variable.](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[solve/src/main/java/be/kuleuven/cs/gridflex/solvers/heuristic/domain/Allocation.java, line 26 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99eLecZrWxISfmB-r2-26:-Kgst03rso8VbUnVxUu-:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/solve/src/main/java/be/kuleuven/cs/gridflex/solvers/heuristic/domain/Allocation.java#L26)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused private fields such as 'SIZE'.](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[solve/src/main/java/be/kuleuven/cs/gridflex/solvers/memoization/ImmutableViews/AllocResultsView.java, line 1 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99eLecZrWxISfmH-r2-1:-Kgst2qg3c8yHBy_VgJw:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/solve/src/main/java/be/kuleuven/cs/gridflex/solvers/memoization/ImmutableViews/AllocResultsView.java#L1)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Package name contains upper case characters](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[solve/src/main/java/be/kuleuven/cs/gridflex/solvers/memoization/ImmutableViews/FlexibilityProviderView.java, line 1 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99eLecZrWxISfmI-r2-1:-Kgst3F3aD7HhK66-Cdy:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/solve/src/main/java/be/kuleuven/cs/gridflex/solvers/memoization/ImmutableViews/FlexibilityProviderView.java#L1)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Package name contains upper case characters](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[solve/src/main/java/be/kuleuven/cs/gridflex/solvers/memoization/ImmutableViews/ImmutableSolverProblemContextView.java, line 1 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99eLecZrWxISfmJ-r2-1:-Kgst4lPpnriN2KLwYA9:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/solve/src/main/java/be/kuleuven/cs/gridflex/solvers/memoization/ImmutableViews/ImmutableSolverProblemContextView.java#L1)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Package name contains upper case characters](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n*[solve/src/main/java/be/kuleuven/cs/gridflex/solvers/memoization/ImmutableViews/package-info.java, line 7 at r2](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41#-Kgsg99eLecZrWxISfmK-r2-7:-Kgst621KtQ6ZduHOcgo:b-896fix) ([raw file](https://github.com/krisc369/gridflex-simulator/blob/47eb8e1220536c78807970f341310dec63a4d286/solve/src/main/java/be/kuleuven/cs/gridflex/solvers/memoization/ImmutableViews/package-info.java#L7)):*\n<details><summary><i>Previously, codacy-bot (Codacy Bot) wrote…</i></summary><blockquote>\n\n![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Package name contains upper case characters](https://www.codacy.com/app/kristofconinx369/Flexsim/pullRequest?prid=591955)\n</blockquote></details>\n\nDone.\n\n---\n\n\n*Comments from [Reviewable](https://reviewable.io:443/reviews/krisc369/gridflex-simulator/41)*\n<!-- Sent from Reviewable.io -->", "title": null, "type": "comment" } ]
2
4
19,289
false
true
18,574
false
true
nodkz/graphql-compose-mongoose
null
241,410,903
41
null
[ { "action": "opened", "author": "smooJitter", "comment_id": null, "datetime": 1499473667000, "large_text": false, "masked_author": "username_0", "nb_lines": 8, "size": 399, "text": "Suppose I have subsets that on a document like so,\r\n\r\nfriends : [ {userId: string, meta: {}},... ]\r\n\r\nWhere meta contains discriminatory for the type of friend\r\n\r\nHow whould I create a relation on freinds that resolves to friends where meta.mutual = 1, and returning a list of friend Profile objects where the Profile object represents a subset user fields e.g.,\r\n{ username, avatar, userId, ....}?", "title": "Sub documents.", "type": "issue" }, { "action": "created", "author": "smooJitter", "comment_id": 313821960, "datetime": 1499474201000, "large_text": false, "masked_author": "username_0", "nb_lines": 8, "size": 241, "text": "One alternative would be to restructure the model\r\n\r\nfriends: [ userids....]\r\nmutual: [userIds...]\r\nlikes: [ userId]\r\nlikesMe: [userId...]\r\n\r\nThis is easier but I still would need the fields to resolve to objects of a type Friend {fields...}", "title": null, "type": "comment" }, { "action": "created", "author": "nodkz", "comment_id": 313998298, "datetime": 1499660463000, "large_text": false, "masked_author": "username_1", "nb_lines": 21, "size": 820, "text": "You may do something like this:\r\n```js\r\nUserTC.setFields({\r\n // add new field to User type with name `mutualFriends`\r\n mutualFriends: {\r\n // require `friends` field from db, when you use just `mutualFriends` in query\r\n projection: { friends: true },\r\n ...UserTC\r\n // get standard resolver findMany which returns list of Users \r\n .getResolver('findMany')\r\n // wrap it with additional logic, which obtains list of mutual friends from `source.friends`\r\n .wrapResolve(next => rp => {\r\n const mutual = rp.source.friends.filter(o => o.meta.mutual).map(o => o.userId) || [];\r\n if (mutual.length === 0) return [];\r\n rp.rawQuery = {\r\n _id: { $in: mutual }, // may be you'll need to convert stringId to MongoId\r\n };\r\n return next(rp);\r\n }),\r\n});\r\n```", "title": null, "type": "comment" }, { "action": "created", "author": "smooJitter", "comment_id": 316102068, "datetime": 1500391872000, "large_text": false, "masked_author": "username_0", "nb_lines": 21, "size": 1067, "text": "I'm sorry perhaps I should have added more clarity. I believe I am asking about a more common use case. The example above is a bit misleading. \r\n\r\nMy user model looks like this\r\n\r\n```\r\nconst UserPreference = new mongoose.Schema( {\r\n typeOfPreference: { type: [String], enum: ['FOOD', 'BEVERAGE']\r\n ...\r\n});\r\n\r\nconst UserSchema = new mongoose.Schema( {\r\n username: String,\r\n preferences: [UserPreference],\r\n eventsAttended: [{ type: ObjectId, ref: 'Events' }],\r\n });\r\n```\r\nI can actual use this to highlight 2 common use cases. \r\n\r\n1. FILTERED RELATIONS: The events field contains an array of ObjectIds. I like for it to resolve to a subset of fields from the events collection (primary) and in an advance case add filters on a subset of the subset fields, e.g., { name, description, typeOfEvent } where type of event has a filter. \r\n\r\n2. FILTER SUB DOCUMENTS: The preference field contains an array of subdocuments. I would like add a filter on the discriminator key (typeOfPreference). Do I need add a resolver (e.g., getUserPreferencesByType)", "title": null, "type": "comment" }, { "action": "created", "author": "nodkz", "comment_id": 317247448, "datetime": 1500810426000, "large_text": true, "masked_author": "username_1", "nb_lines": 191, "size": 6107, "text": "### FILTERED RELATIONS\r\n\r\nYou may use standard resolver `findMany`, `connection` and extend filter for Events from User data in such manner:\r\n```js\r\nUserTC.addRelation('myEventsWithFilter', () => ({\r\n resolver: () =>\r\n EventsTC.getResolver('findMany').wrapResolve(next => rp => {\r\n // With object-path package set filter by one line \r\n // objectPath.set(rp, 'args.filter._ids', rp.source.eventIds);\r\n // or \r\n if (!rp.args.filter) rp.args.filter = {}; // ensure that `filter` exists \r\n rp.args.filter._ids = rp.source.eventIds; // set `_ids` from current User doc\r\n \r\n // call standard `findMany` resolver with extended filter \r\n return next(rp);\r\n }),\r\n projection: { eventIds: true },\r\n}));\r\n``` \r\nPS. Upgrade to graphql-compose-mongoose@1.6.0 where added `filter._ids` field for `findMany` resolver.\r\n\r\n### FILTER SUB DOCUMENTS\r\nIn such case you need to extend resolver with your custom filters via `addFilterArg`, `addSortArg`. Something like this:\r\n\r\n```js\r\nUserTC.setResolver(\r\n 'connection', // providing same name for replacing standard resolver `connection`, or you may set another name for keepeng standard resolver untoched\r\n UserTC.getResolver('connection')\r\n .addFilterArg({\r\n name: 'region',\r\n type: '[String]',\r\n description: 'Region, Country, City',\r\n query: (rawQuery, value) => {\r\n if (value.length === 1) {\r\n rawQuery['location.name'] = value[0];\r\n } else {\r\n rawQuery['location.name'] = { $in: value };\r\n }\r\n },\r\n })\r\n .addFilterArg({\r\n name: 'salaryMax',\r\n type: CvTC.get('$connection.@filter.salary'),\r\n description: 'Max salary',\r\n query: (rawQuery, value) => {\r\n if (value.total > 0) {\r\n rawQuery['salary.total'] = { $gte: 1, $lte: value.total };\r\n }\r\n if (value.currency) {\r\n rawQuery['salary.currency'] = value.currency;\r\n }\r\n },\r\n })\r\n .addFilterArg({\r\n name: 'specializations',\r\n type: '[String]',\r\n description: 'Array of profession areas (any)',\r\n query: (rawQuery, value) => {\r\n rawQuery.specializations = { $in: value };\r\n },\r\n })\r\n .addFilterArg({\r\n name: 'employments',\r\n type: '[String]',\r\n description: 'Array of employment (any)',\r\n query: (rawQuery, value) => {\r\n rawQuery.employment = { $in: value };\r\n },\r\n })\r\n .addFilterArg({\r\n name: 'totalExperienceMin',\r\n type: 'Int',\r\n description: 'Min expirience in months',\r\n query: (rawQuery, value) => {\r\n rawQuery.totalExperience = { $gte: value };\r\n },\r\n })\r\n .addFilterArg({\r\n name: 'ageRange',\r\n type: 'input AgeRange { min: Int, max: Int }',\r\n description: 'Filter by age range (in years)',\r\n query: (rawQuery, value) => {\r\n const d = new Date();\r\n const month = d.getMonth();\r\n const day = d.getDate();\r\n const year = d.getFullYear();\r\n let minAge = value.min || 0;\r\n let maxAge = value.max || 0;\r\n if (!minAge && !maxAge) return;\r\n if (minAge > maxAge && minAge && maxAge) [minAge, maxAge] = [maxAge, minAge];\r\n rawQuery.birthday = {};\r\n if (maxAge) {\r\n rawQuery.birthday.$gte = new Date(year - maxAge - 1, month, day);\r\n }\r\n if (minAge) {\r\n rawQuery.birthday.$lte = new Date(year - minAge, month, day);\r\n }\r\n },\r\n })\r\n .addFilterArg({\r\n name: 'periodMaxH',\r\n type: 'Int',\r\n description: 'Filter by created date (in hours)',\r\n query: (rawQuery, value) => {\r\n if (value > 0 && value < 99999) {\r\n const curDate = new Date();\r\n const pastDate = new Date();\r\n pastDate.setTime(pastDate.getTime() - value * 3600000);\r\n rawQuery.createdAt = {\r\n $gt: pastDate,\r\n $lt: curDate,\r\n };\r\n }\r\n },\r\n })\r\n .addFilterArg({\r\n name: 'langs',\r\n type: '[String]',\r\n description: 'Language list (all)',\r\n query: (rawQuery, value) => {\r\n if (value.length === 1) {\r\n rawQuery['languages.ln'] = value[0];\r\n } else {\r\n rawQuery['languages.ln'] = { $all: value };\r\n }\r\n },\r\n })\r\n .addFilterArg({\r\n name: 'citizenships',\r\n type: '[String]',\r\n description: 'Citizenship list (any)',\r\n query: (rawQuery, value) => {\r\n if (value.length === 1) {\r\n rawQuery.citizenship = value[0];\r\n } else {\r\n rawQuery.citizenship = { $in: value };\r\n }\r\n },\r\n })\r\n .addFilterArg({\r\n name: 'hasPhoto',\r\n type: 'Boolean',\r\n query: (rawQuery, value) => {\r\n rawQuery.avatarUrl = { $exists: value };\r\n },\r\n })\r\n .addSortArg({\r\n name: 'RELEVANCE',\r\n description: 'Sort by text score or date',\r\n value: resolveParams => {\r\n if (resolveParams.rawQuery && resolveParams.rawQuery.$text) {\r\n return { score: { $meta: 'textScore' } };\r\n }\r\n return { createdAt: -1 };\r\n },\r\n })\r\n .addFilterArg({\r\n name: 'q',\r\n type: 'String',\r\n description: 'Text search',\r\n query: (rawQuery, value, resolveParams) => {\r\n rawQuery.$text = { $search: value, $language: 'ru' };\r\n resolveParams.projection.score = { $meta: 'textScore' };\r\n },\r\n })\r\n .addSortArg({\r\n name: 'SALARY_ASC',\r\n value: resolveParams => {\r\n if (!resolveParams.rawQuery) resolveParams.rawQuery = {};\r\n resolveParams.rawQuery['salary.total'] = { $gt: 0 };\r\n return { 'salary.total': 1 };\r\n },\r\n })\r\n .addSortArg({\r\n name: 'SALARY_DESC',\r\n value: resolveParams => {\r\n if (!resolveParams.rawQuery) resolveParams.rawQuery = {};\r\n resolveParams.rawQuery['salary.total'] = { $gt: 0 };\r\n return { 'salary.total': -1 };\r\n },\r\n })\r\n .addSortArg({\r\n name: 'DATE_ASC',\r\n value: { createdAt: 1 },\r\n })\r\n .addSortArg({\r\n name: 'DATE_DESC',\r\n value: { createdAt: -1 },\r\n })\r\n);\r\n```", "title": null, "type": "comment" }, { "action": "created", "author": "danielmahon", "comment_id": 373926748, "datetime": 1521298995000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 205, "text": "@username_1 I'm trying to filter relations based on the above and not having any luck, see #96. Any suggestions? I notice my `wrapResolve` and `query` functions never run so I'm sure I'm missing something.", "title": null, "type": "comment" } ]
3
6
8,834
false
false
8,834
true
true
Homebrew/homebrew-core
Homebrew
257,846,030
18,087
null
[ { "action": "opened", "author": "kenahoo", "comment_id": null, "datetime": 1505420792000, "large_text": true, "masked_author": "username_0", "nb_lines": 106, "size": 5197, "text": "- [x] Confirmed this is a problem with `brew install`ing one, specific Homebrew/homebrew-core formula (not cask or tap) and not every time you run `brew`? If it's a general `brew` problem please file this issue at https://github.com/Homebrew/brew/issues/new. If it's a `brew cask` problem please file this issue at https://github.com/Homebrew/caskroom/homebrew-cask/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.\r\n- [x] Ran `brew update` and retried your prior step?\r\n- [x] Ran `brew doctor`, fixed all issues and retried your prior step?\r\n- [x] Ran `brew gist-logs <formula>` (where `<formula>` is the name of the formula that failed) and included the output link?\r\n- [x] If `brew gist-logs` didn't work: ran `brew config` and `brew doctor` and included their output with your issue?\r\n\r\n\r\n```\r\n% brew config\r\nHOMEBREW_VERSION: 1.3.2\r\nORIGIN: https://github.com/Homebrew/brew.git\r\nHEAD: 751334a257d81851e68da7ab390982d4e9fdf909\r\nLast commit: 10 days ago\r\nCore tap ORIGIN: https://github.com/Homebrew/homebrew-core\r\nCore tap HEAD: c010d3fdd3b111462e0c34f3efe4a9ec3e583af7\r\nCore tap last commit: 3 hours ago\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_REPOSITORY: /usr/local/Homebrew\r\nHOMEBREW_CELLAR: /usr/local/Cellar\r\nHOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com\r\nCPU: octa-core 64-bit haswell\r\nHomebrew Ruby: 2.0.0-p648\r\nClang: 8.1 build 802\r\nGit: 2.11.0 => /Applications/Xcode.app/Contents/Developer/usr/bin/git\r\nPerl: /usr/bin/perl\r\nPython: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7\r\nRuby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby\r\nJava: 1.8.0_112, 1.8.0_60, 1.7.0_75\r\nmacOS: 10.12.6-x86_64\r\nXcode: 8.3.3\r\nCLT: 8.3.2.0.1.1492020469\r\nX11: 2.7.11 => /opt/X11\r\n```\r\n\r\n```\r\n% brew doctor \r\nPlease note that these warnings are just used to help the Homebrew maintainers\r\nwith debugging if you file an issue. If everything you use Homebrew for is\r\nworking fine: please don't worry and just ignore them. Thanks!\r\n\r\nWarning: \"config\" scripts exist outside your system or Homebrew directories.\r\n`./configure` scripts often look for *-config scripts to determine if\r\nsoftware packages are installed, and what additional flags to use when\r\ncompiling and linking.\r\n\r\nHaving additional scripts in your path can confuse software installed via\r\nHomebrew if the config script overrides a system or Homebrew provided\r\nscript of the same name. We found the following \"config\" scripts:\r\n /Library/Frameworks/Python.framework/Versions/3.6/bin/python3-config\r\n /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6-config\r\n /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6m-config\r\n /Library/Frameworks/Python.framework/Versions/3.5/bin/python3-config\r\n /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5-config\r\n /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5m-config\r\n\r\nWarning: Python is installed at /Library/Frameworks/Python.framework\r\n\r\nHomebrew only supports building against the System-provided Python or a\r\nbrewed Python. In particular, Pythons installed to /Library can interfere\r\nwith other software installs.\r\n\r\nWarning: You have unlinked kegs in your Cellar\r\nLeaving kegs unlinked can lead to build-trouble and cause brews that depend on\r\nthose kegs to fail to run properly once built. Run `brew link` on these:\r\n libtensorflow\r\n```\r\n\r\n`brew doctor` does have some output, but I don't think it has anything to do with the issue here. Let me know if I'm mistaken.\r\n\r\nI have `source-highlight` configured as shown:\r\n\r\n```\r\n[KenMacBook-2:~] % echo $LESS\r\n-eiMqR\r\n[KenMacBook-2:~] % echo $LESSOPEN\r\n| src-hilite-lesspipe.sh %s\r\n[KenMacBook-2:~] % which src-hilite-lesspipe.sh \r\n/usr/local/bin/src-hilite-lesspipe.sh\r\n```\r\n\r\nWhen I try to view a file using `less`, I always get the error `\"source-highlight: cannot find input file anywhere outlang.map\"`. Even if I invoke `source-highlight` without any arguments, it seems to have this trouble:\r\n\r\n```\r\n[KenMacBook-2:~] % less tiles.R \r\nsource-highlight: cannot find input file anywhere outlang.map\r\n[KenMacBook-2:~] % source-highlight --failsafe --infer-lang -f esc --style-file=esc.style -i tiles.R \r\nsource-highlight: cannot find input file anywhere outlang.map\r\n[KenMacBook-2:~] % source-highlight \r\nsource-highlight: cannot find input file anywhere outlang.map\r\n```\r\n\r\nIf I manually add a `--data-dir` parameter to the `source-highlight` call, it doesn't complain anymore (and the output is colorized):\r\n\r\n```\r\n[KenMacBook-2:~] % source-highlight --failsafe --infer-lang -f esc --style-file=esc.style -i tiles.R --data-dir=/usr/local/share/source-highlight \r\nhexagon <- function(x, y, side, ...) {\r\n polygon(x=x+side/2*c(0, 1, 3, 4, 3, 1),\r\n y=y+side*sqrt(3)/2*c(0, -1, -1, 0, 1, 1),\r\n ...)\r\n}\r\n\r\nplot(3,3, type='n')\r\nhexagon(2,3,1)\r\n```\r\n\r\nHas my configuration gotten messed up? I'm inclined to think this is an issue with the brew recipe (or my configuration) rather than the underlying software.", "title": "source-highlight: cannot find input file anywhere outlang.map", "type": "issue" }, { "action": "created", "author": "dunn", "comment_id": 330600278, "datetime": 1505839458000, "large_text": false, "masked_author": "username_1", "nb_lines": 1, "size": 169, "text": "`outlang.map` exists in the `src` directory of the tarball, but I guess `make install` doesn't copy it to the correct location. Could you report that as a bug upstream?", "title": null, "type": "comment" }, { "action": "closed", "author": "ilovezfs", "comment_id": null, "datetime": 1505839869000, "large_text": false, "masked_author": "username_2", "nb_lines": 1, "size": 0, "text": "", "title": null, "type": "issue" }, { "action": "created", "author": "kenahoo", "comment_id": 331181773, "datetime": 1506005632000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 198, "text": "I tried for a few days to open an account at savannah.gnu.org so I could report this, but their registration process seems hosed and I can't get through it. I could try to report *that* bug, but...", "title": null, "type": "comment" }, { "action": "created", "author": "kenahoo", "comment_id": 361697988, "datetime": 1517338772000, "large_text": false, "masked_author": "username_0", "nb_lines": 1, "size": 180, "text": "This is still broken in source-highlight version 3.1.8_8. I seem to have successfully submitted this as a bug upstream, looks like they don't require login for submitters anymore.", "title": null, "type": "comment" } ]
3
5
5,744
false
false
5,744
false
true

Dataset Card for "large-text-issues"

More Information needed

Downloads last month
2
Edit dataset card