text:
Volume group "local" not found

Ubuntu Bionic in a VM
Using lvm thin storage backend.
Can't communicate with lxd at all.
Rigo@nam-game:~$ snap list
Name  Version  Rev   Tracking  Publisher   Notes
core  16-2.35  5328  stable    canonical✓  core
lxd   3.4      8415  stable    canonical✓  -

I have this problem now whereby lxd does not start as it is unable to find the local volume group.
Rigo@nam-game:~$ sudo lxd.lxc ls
Error: Get http://unix.socket/1.0: EOF
Rigo@nam-game:~$ sudo lxd.lxc version
Client version: 3.4
Server version: unreachable

Not sure why it cannot find the local volume
Rigo@nam-game:~$ sudo cat /var/snap/lxd/common/lxd/logs/lxd.log
lvl=info msg="LXD 3.4 is starting in normal mode" path=/var/snap/lxd/common/lxd t=2018-09-09T11:08:32+0200
lvl=info msg="Kernel uid/gid map:" t=2018-09-09T11:08:32+0200
lvl=info msg=" - u 0 0 4294967295" t=2018-09-09T11:08:32+0200
lvl=info msg=" - g 0 0 4294967295" t=2018-09-09T11:08:32+0200
lvl=info msg="Configured LXD uid/gid map:" t=2018-09-09T11:08:32+0200
lvl=info msg=" - u 0 1000000 1000000000" t=2018-09-09T11:08:32+0200
lvl=info msg=" - g 0 1000000 1000000000" t=2018-09-09T11:08:32+0200
lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored." t=2018-09-09T11:08:32+0200
lvl=info msg="Initializing local database" t=2018-09-09T11:08:32+0200
lvl=info msg="Initializing database gateway" t=2018-09-09T11:08:32+0200
address= id=1 lvl=info msg="Start database node" t=2018-09-09T11:08:32+0200
lvl=info msg="Raft: Initial configuration (index=1): [{Suffrage:Voter ID:1 Address:0}]" t=2018-09-09T11:08:32+0200
lvl=info msg="Raft: Node at 0 [Leader] entering Leader state" t=2018-09-09T11:08:32+0200
lvl=info msg="Dqlite: starting event loop" t=2018-09-09T11:08:32+0200
lvl=info msg="LXD isn't socket activated" t=2018-09-09T11:08:32+0200
lvl=info msg="Starting /dev/lxd handler:" t=2018-09-09T11:08:32+0200
lvl=info msg=" - binding devlxd socket" socket=/var/snap/lxd/common/lxd/devlxd/sock t=2018-09-09T11:08:32+0200
lvl=info msg="REST API daemon:" t=2018-09-09T11:08:32+0200
lvl=info msg=" - binding Unix socket" socket=/var/snap/lxd/common/lxd/unix.socket t=2018-09-09T11:08:32+0200
lvl=info msg=" - binding TCP socket" socket=[::]:8443 t=2018-09-09T11:08:32+0200
lvl=info msg="Initializing global database" t=2018-09-09T11:08:32+0200
lvl=info msg="Dqlite: handling new connection (fd=21)" t=2018-09-09T11:08:32+0200
lvl=info msg="Dqlite: connected address=0 attempt=0" t=2018-09-09T11:08:32+0200
lvl=info msg="Initializing storage pools" t=2018-09-09T11:08:32+0200
lvl=eror msg="Failed to start the daemon: could not activate volume group \"local\":   Volume group \"local\" not found\n  Cannot process volume group local\n" t=2018-09-09T11:08:42+0200
lvl=info msg="Starting shutdown sequence" t=2018-09-09T11:08:42+0200
lvl=info msg="Stopping REST API handler:" t=2018-09-09T11:08:42+0200
lvl=info msg=" - closing socket" socket=[::]:8443 t=2018-09-09T11:08:42+0200
lvl=info msg=" - closing socket" socket=/var/snap/lxd/common/lxd/unix.socket t=2018-09-09T11:08:42+0200
lvl=info msg="Stopping /dev/lxd handler:" t=2018-09-09T11:08:42+0200
lvl=info msg=" - closing socket" socket=/var/snap/lxd/common/lxd/devlxd/sock t=2018-09-09T11:08:42+0200
lvl=info msg="Closing the database" t=2018-09-09T11:08:42+0200
lvl=info msg="Dqlite: closing client" t=2018-09-09T11:08:42+0200
lvl=info msg="Stop database gateway" t=2018-09-09T11:08:42+0200
lvl=info msg="Stop raft instance" t=2018-09-09T11:08:42+0200
lvl=info msg="Dqlite: stopping event loop" t=2018-09-09T11:08:42+0200
lvl=info msg="Dqlite: event loop stopped" t=2018-09-09T11:08:42+0200
lvl=info msg="Unmounting temporary filesystems" t=2018-09-09T11:08:42+0200
lvl=info msg="Done unmounting temporary filesystems" t=2018-09-09T11:08:42+0200
lvl=info msg="Saving simplestreams cache" t=2018-09-09T11:08:42+0200
lvl=info msg="Saved simplestreams cache" t=2018-09-09T11:08:42+0200

The sockets are there
Rigo@nam-game:~$ sudo netstat -a | grep lxd
unix  2      [ ACC ]     STREAM     LISTENING     175514   /var/snap/lxd/common/lxd/devlxd/sock
unix  2      [ ACC ]     STREAM     LISTENING     175511   /var/snap/lxd/common/lxd/unix.socket
unix  3      [ ]         STREAM     CONNECTED     172541   /var/snap/lxd/common/lxd/unix.socket

ps fauxww
root     20539  0.0  0.0 160920  1368 ?        Sl   11:07   0:00 lxcfs /var/snap/lxd/common/var/lib/lxcfs -p /var/snap/lxd/common/lxcfs.pid
root     23114  0.6  0.0   4504  1652 ?        Ss   11:10   0:00 /bin/sh /snap/lxd/8415/commands/daemon.start
root     23218  4.3  0.7 903636 37464 ?        Sl   11:10   0:00  \_ lxd --logfile /var/snap/lxd/common/lxd/logs/lxd.log --group lxd
root     23219  0.3  0.3 264184 19612 ?        Sl   11:10   0:00  \_ lxd waitready
root     23220  0.0  0.0   4504   112 ?        S    11:10   0:00  \_ /bin/sh /snap/lxd/8415/commands/daemon.start
root     23251  0.0  0.0   4376   672 ?        S    11:10   0:00      \_ sleep 1

lxd.check-kernel
Kernel configuration not found at /proc/config.gz; searching...
Kernel configuration found at /boot/config-4.15.0-33-generic
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
newuidmap is not installed
newgidmap is not installed
Network namespace: enabled

--- Control groups ---
Cgroups: enabled

Cgroup v1 mount points:
/sys/fs/cgroup/systemd
/sys/fs/cgroup/net_cls,net_prio
/sys/fs/cgroup/perf_event
/sys/fs/cgroup/cpu,cpuacct
/sys/fs/cgroup/pids
/sys/fs/cgroup/hugetlb
/sys/fs/cgroup/freezer
/sys/fs/cgroup/memory
/sys/fs/cgroup/cpuset
/sys/fs/cgroup/blkio
/sys/fs/cgroup/rdma
/sys/fs/cgroup/devices

Cgroup v2 mount points:
/sys/fs/cgroup/unified

Cgroup v1 clone_children flag: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled, not loaded
Macvlan: enabled, not loaded
Vlan: enabled, not loaded
Bridges: enabled, not loaded
Advanced netfilter: enabled, not loaded
CONFIG_NF_NAT_IPV4: enabled, not loaded
CONFIG_NF_NAT_IPV6: enabled, not loaded
CONFIG_IP_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_IP6_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled, not loaded
CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled, not loaded
FUSE (for use with lxcfs): enabled, not loaded

--- Checkpoint/Restore ---
checkpoint restore: enabled
CONFIG_FHANDLE: enabled
CONFIG_EVENTFD: enabled
CONFIG_EPOLL: enabled
CONFIG_UNIX_DIAG: enabled
CONFIG_INET_DIAG: enabled
CONFIG_PACKET_DIAG: enabled
CONFIG_NETLINK_DIAG: enabled
File capabilities:

Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /snap/lxd/8415/bin/lxc-checkconfig

Rigo@nam-game:~$ sudo LD_LIBRARY_PATH=/snap/lxd/current/lib/ LXD_DIR=/var/snap/lxd/common/lxd/ /snap/lxd/current/bin/lxd --verbose --debug --group lxd
DBUG[09-09|11:24:26] Connecting to a local LXD over a Unix socket
DBUG[09-09|11:24:26] Sending request to LXD                   etag= method=GET url=http://unix.socket/1.0
INFO[09-09|11:24:29] LXD 3.4 is starting in normal mode       path=/var/snap/lxd/common/lxd
INFO[09-09|11:24:29] Kernel uid/gid map:
INFO[09-09|11:24:29]  - u 0 0 4294967295
INFO[09-09|11:24:29]  - g 0 0 4294967295
INFO[09-09|11:24:29] Configured LXD uid/gid map:
INFO[09-09|11:24:29]  - u 0 100000 65536
INFO[09-09|11:24:29]  - g 0 100000 65536
WARN[09-09|11:24:29] CGroup memory swap accounting is disabled, swap limits will be ignored.
INFO[09-09|11:24:29] Initializing local database
INFO[09-09|11:24:29] Initializing database gateway
INFO[09-09|11:24:29] Start database node                      address= id=1
INFO[09-09|11:24:30] Raft: Initial configuration (index=1): [{Suffrage:Voter ID:1 Address:0}]
INFO[09-09|11:24:30] Raft: Node at 0 [Leader] entering Leader state
INFO[09-09|11:24:30] Dqlite: starting event loop
DBUG[09-09|11:24:30] Dqlite: accepting connections
INFO[09-09|11:24:30] LXD isn't socket activated
INFO[09-09|11:24:30] Starting /dev/lxd handler:
INFO[09-09|11:24:30]  - binding devlxd socket                 socket=/var/snap/lxd/common/lxd/devlxd/sock
INFO[09-09|11:24:30] REST API daemon:
INFO[09-09|11:24:30]  - binding Unix socket                   socket=/var/snap/lxd/common/lxd/unix.socket
INFO[09-09|11:24:30]  - binding TCP socket                    socket=[::]:8443
INFO[09-09|11:24:30] Initializing global database
INFO[09-09|11:24:30] Dqlite: handling new connection (fd=19)
INFO[09-09|11:24:30] Dqlite: connected address=0 attempt=0
INFO[09-09|11:24:30] Initializing storage pools
DBUG[09-09|11:24:30] Initializing and checking storage pool "local"
DBUG[09-09|11:24:30] Checking LVM storage pool "local"
EROR[09-09|11:24:40] Failed to start the daemon: could not activate volume group "local":   Volume group "local" not found
  Cannot process volume group local

INFO[09-09|11:24:40] Starting shutdown sequence
INFO[09-09|11:24:40] Stopping REST API handler:
INFO[09-09|11:24:40]  - closing socket                        socket=[::]:8443
INFO[09-09|11:24:40]  - closing socket                        socket=/var/snap/lxd/common/lxd/unix.socket
INFO[09-09|11:24:40] Stopping /dev/lxd handler:
INFO[09-09|11:24:40]  - closing socket                        socket=/var/snap/lxd/common/lxd/devlxd/sock
INFO[09-09|11:24:40] Closing the database
INFO[09-09|11:24:40] Dqlite: closing client
INFO[09-09|11:24:40] Stop database gateway
INFO[09-09|11:24:40] Stop raft instance
INFO[09-09|11:24:40] Dqlite: stopping event loop
INFO[09-09|11:24:40] Dqlite: event loop stopped
INFO[09-09|11:24:40] Unmounting temporary filesystems
INFO[09-09|11:24:40] Done unmounting temporary filesystems
INFO[09-09|11:24:40] Saving simplestreams cache
INFO[09-09|11:24:40] Saved simplestreams cache
Error: could not activate volume group "local":   Volume group "local" not found
  Cannot process volume group local

Important to mention that this happened on it's own. The system was left alone for over a week, running just fine.
Then the VM was restarted once and lxd never came back.

Can you show the output of:

vgs
lvs
ls -lh /var/snap/lxd/common/lxd/disks/

The error sounds like your storage pool's LVM volume group can't be found, but it's hard to figure out why that would be without knowing more about the storage setup.

Neither vgs nor lvs produce any output.
Should they?
The local.img can be found here:
Rigo@nam-game:~$ sudo  ls -lh /var/snap/lxd/common/lxd/disks/
total 8.0K
-rw------- 1 root root 92G Sep  2 23:29 local.img

Hmm, yeah, they should...
What does losetup -a show you?

> losetup -a
/dev/loop1: [64514]:17042642 (/var/lib/snapd/snaps/lxd_8028.snap)
/dev/loop4: [64514]:17041957 (/var/lib/snapd/snaps/core_4486.snap)
/dev/loop2: [64514]:17042853 (/var/lib/snapd/snaps/core_5328.snap)
/dev/loop0: [64514]:17041137 (/var/lib/snapd/snaps/lxd_8415.snap)
/dev/loop5: [64514]:17042808 (/var/snap/lxd/common/lxd/disks/local.img)
/dev/loop3: [64514]:17041163 (/var/lib/snapd/snaps/lxd_8424.snap)

Okay, so the loop was setup by LXD. What does pvscan show you?

> pvscan
  PV /dev/loop5                      lvm2 [<91.27 GiB]
  Total: 1 [<91.27 GiB] / in use: 0 [0   ] / in no VG: 1 [<91.27 GiB]

ok, does vgs show you something now?

Hmm, probably not since the in no VG: 1

Correct, no output.

Try vgscan?

vgscan
  Reading volume groups from cache.

No change when running any of the previous commands

Try vgscan --cache

Already tried that, didn't do anything.
Also tried restart lxd in between just on the off chance something might have changed, Same issue though,

Yeah, that's unlikely to help. LXD sets up the loop device and then expects LVM to behave, based on output above, the loop was setup, but LVM can't find any volume groups on it...

What does vgscan --verbose --cache show?

No vgroups found.
> vgscan --verbose --cache
    Wiping cache of LVM-capable devices
    Wiping internal VG cache
    Scanning all devices to update lvmetad.
    No PV label found on /dev/loop0.
    No PV label found on /dev/loop1.
    No PV label found on /dev/loop2.
    No PV label found on /dev/vda2.
    No PV label found on /dev/loop3.
    No PV label found on /dev/loop4.
  Reading volume groups from cache.
    No volume groups found.

I can see the appropriate uuid here 001H0iwoJ-fVmn-UHlY-8B0X-e0v1-5Zy8-jQNESVTA??
head -30 /var/snap/lxd/common/lxd/disks/local.img
LABELONE$?] LVM2 001H0iwoJfVmnUHlY8B0Xe0v15Zy8jQNESVTA???? LVM2 x[5A%r0N*>?

Odd, normally the beginning of a LVM partition includes a copy of the VG data, the fact that this one doesn't would explain why vgscan can't identify it, but what's puzzling then is where is the data...
Can you run du /var/snap/lxd/common/lxd/disks/local.img?

I have a bad feeling something destroyed itself
du -h /var/snap/lxd/common/lxd/disks/local.img
8.0K    /var/snap/lxd/common/lxd/disks/local.img

Hmm, yeah, so it doesn't look like this was very much used at all.
Can you show stat /var/snap/lxd/common/lxd/disks/local.img?
That may help see whether that was ever used at all. LXD doesn't really have any code that could have reset the file, if it had been destroyed, it'd be gone, not look like it just got partly created.
What's du -sch /var/snap/lxd/common showing you? Also, did you maybe over-mount some other filesystem on top of /var/snap/lxd which would then have not persisted the VM reboot?
Do you know if the VM reboot was a clean reboot or a hard reboot? In the later case, it's not entirely impossible that a lot of your VM's disk history was stuck in buffers, either in the VM itself or in the host's memory and never made it to disk? But if that's the case, I'd expect log files and other filesystem entries to also be missing a lot of recent history.

stat /var/snap/lxd/common/lxd/disks/local.img
  File: /var/snap/lxd/common/lxd/disks/local.img
  Size: 98000000000     Blocks: 16         IO Block: 4096   regular file
Device: fc02h/64514d    Inode: 17042808    Links: 1
Access: (0600/-rw-------)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2018-09-09 17:14:58.036000000 +0200
Modify: 2018-09-02 23:29:26.212000000 +0200
Change: 2018-09-02 23:29:26.212000000 +0200
 Birth: -

du -sch /var/snap/lxd/common
1.4G    /var/snap/lxd/common
1.4G    total

As far as I was aware nothing was mounted over the /var/snap/lxd
lxd init was simply setup with lvm thin provisioning. Created a local storage img.
Set a default size of 30G inside the storage pool.
Assigned it to one new profile.
Used that profile for a new ubuntu-minimal container.
Setup the container, made a snapshot.
Tried exporting a backup of the container - but that failed with some non-descript error, I'm not sure what it was anymore.
Then I left it at that and copied the container to a new stopped clone.
I still have the boot logs from the VM
 journalctl --list-boots
-4 aa8a73cefeff4d289ae2ba4b6a269afb Sun 2018-09-02 22:22:56 CAT—Sun 2018-09-02 22:35:30 CAT
-3 9ab8b3b89e9d4cc998981cd8e9c3ec42 Sun 2018-09-02 22:35:47 CAT—Sat 2018-09-08 17:30:31 CAT
-2 4440edc31c5f4239924c4cc3bd452f37 Sat 2018-09-08 18:34:23 CAT—Sun 2018-09-09 09:56:22 CAT
-1 664286ebcc8a41a2ab5b683ba9c098c3 Sun 2018-09-09 09:56:40 CAT—Sun 2018-09-09 11:33:08 CAT
 0 476ae49c367c425692512e15cbef0c2f Sun 2018-09-09 11:33:25 CAT—Mon 2018-09-10 15:37:09 CAT

From looking at them I can't find anything out of the ordinary, they where all cleanly shut down.

Also regarding your last comment about stuck in buffers, the guy who setup the VM did at one point mention that the VM was caching a lot.
So I did do a sync & flush once that resolved the issue.
We where primarily using this LXD in a VM setup to test hosting a particular game server and he was better located for latency but couldn't give me a bare metal lxd container.
We've now gotten around that and decided to setup a baremetal lxd system for this backed by ZFS as I have been running all my other systems.
But I still find it odd that this LVM setup would break on it's own like this.

authors: rigred stgraber


text:
Attaching readonly custom volume is mounted rw until container restart

Required information

Distribution: ubuntu
Distribution version: 18.04.1 LTS
lxc self compiled
The output of "lxc info":

config:
  core.https_address: :8443
  core.trust_password: true
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- container_mount_propagation
- container_backup
- devlxd_images
- container_local_cross_pool_handling
- proxy_unix
- proxy_udp
- clustering_join
- proxy_tcp_udp_multi_port_handling
- network_state
- proxy_unix_dac_properties
- container_protection_delete
- unix_priv_drop
- pprof_http
- proxy_haproxy_protocol
- network_hwaddr
- proxy_nat
- network_nat_order
- container_full
- candid_authentication
- backup_compression
- candid_config
- nvidia_runtime_config
- storage_api_volume_snapshots
- storage_unmapped
- projects
- candid_config_key
- network_vxlan_ttl
- container_incremental_copy
- usb_optional_vendorid
- snapshot_scheduling
- container_copy_project
- clustering_server_address
- clustering_image_replication
- container_protection_shift
- snapshot_expiry
- container_backup_override_pool
- snapshot_expiry_creation
- network_leases_location
- resources_cpu_socket
- resources_gpu
- resources_numa
- kernel_features
- id_map_current
- event_location
- storage_api_remote_volume_snapshots
- network_nat_address
- container_nic_routes
- rbac
- cluster_internal_copy
- seccomp_notify
- lxc_features
- container_nic_ipvlan
- network_vlan_sriov
- storage_cephfs
- container_nic_ipfilter
- resources_v2
- container_exec_user_group_cwd
- container_syscall_intercept
- container_disk_shift
- storage_shifted
- resources_infiniband
- daemon_storage
- instances
- image_types
- resources_disk_sata
- clustering_roles
- images_expiry
- resources_network_firmware
- backup_compression_algorithm
- ceph_data_pool_name
- container_syscall_intercept_mount
- compression_squashfs
- container_raw_mount
- container_nic_routed
- container_syscall_intercept_mount_fuse
- container_disk_ceph
- virtual-machines
- image_profiles
- clustering_architecture
- resources_disk_id
- storage_lvm_stripes
- vm_boot_priority
- unix_hotplug_devices
- api_filtering
- instance_nic_network
- clustering_sizing
- firewall_driver
- projects_limits
- container_syscall_intercept_hugetlbfs
- limits_hugepages
- container_nic_routed_gateway
- projects_restrictions
- custom_volume_snapshot_expiry
- volume_snapshot_scheduling
- trust_ca_certificates
- snapshot_disk_usage
- clustering_edit_roles
- container_nic_routed_host_address
- container_nic_ipvlan_gateway
- resources_usb_pci
- resources_cpu_threads_numa
- resources_cpu_core_die
- api_os
- container_nic_routed_host_table
- container_nic_ipvlan_host_table
- container_nic_ipvlan_mode
- resources_system
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses:
  - :8443
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    #############
    -----END CERTIFICATE-----
  certificate_fingerprint: #########
  driver: lxc
  driver_version: 3.0.1
  firewall: xtables
  kernel: Linux
  kernel_architecture: x86_64
  kernel_features:
    netnsid_getifaddrs: "true"
    seccomp_listener: "true"
    seccomp_listener_continue: "true"
    shiftfs: "true"
    uevent_injection: "true"
    unpriv_fscaps: "true"
  kernel_version: 5.0.0-37-generic
  lxc_features:
    cgroup2: "false"
    mount_injection_file: "false"
    network_gateway_device_route: "false"
    network_ipvlan: "false"
    network_l2proxy: "false"
    network_phys_macvlan_mtu: "false"
    network_veth_router: "false"
    seccomp_notify: "false"
  os_name: Ubuntu
  os_version: "18.04"
  project: default
  server: lxd
  server_clustered: false
  server_name: ##############
  server_pid: 1611
  server_version: 4.0.0
  storage: btrfs | dir
  storage_version: 4.15.1 | 1

Issue description
Create a custom volume on an btrfs pool with security.shifted: "true". Attach that volume as readonly to a running container does mount that volume in the container as rw. The container has to be restarted to have it mounted readonly.
Steps to reproduce

custom volume with security.shifted: "true"
Attach volume as readonly to a running container
(either editing config manually oder command line)
lxc exec container -- mount | grep mountname -> rw
lxc restart container
lxc exec container -- mount | grep mountname -> ro

Reproduced the issue, this is not a LXD bug though but a kernel bug in shiftfs instead.
root@castiana:~# touch /tmp/test/a
touch: cannot touch '/tmp/test/a': Read-only file system
root@castiana:~# mount -t shiftfs -o mark,passthrough=3 /tmp/test/ /tmp/test/
root@castiana:~# touch /tmp/test/a
root@castiana:~#

This shows that layering shiftfs on top of a read-only mount makes it writable, which is what's happening in the hotplug case into LXD.
I'm closing this issue as there's unfortunately nothing we can do about it in LXD, but I've reported it to @brauner and @sforshee who will track it down in shiftfs and push a kernel fix.

I can reproduce your example. But why don't you mount the shiftfs with the readonly mount option?
mount -t shiftfs -o ro,mark,passthrough=3 /tmp/test/ /tmp/test/
Now I can't touch the file a.
Additionally there must be a difference in attaching to a running container vs. a stopped one. Because adding to a stopped one works as expected.

When attaching to a stopped one we needlessly pass MS_RDONLY on the shiftfs mount too, making it work.
In the hotplug case, the logic that does mount injection has no idea what the flags for the mount are as those are handled much earlier in the device layer.

thanks for clarification.

source: gharchive/issue

authors: stgraber xhess

repo: lxc/lxd

license_type: permissive

license_source: bigquery


text:
Fix sass + GYP error

Replaces node-sass with sass package to resolve GYP error

Still getting the error on my end

For searchability, I'm assuming this is the error you two are referring to:
ERROR in ./src/pages/Popup/Popup.css (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./src/pages/Popup/Popup.css)
Module build failed (from ./node_modules/css-loader/dist/cjs.js):
Error: PostCSS received undefined instead of CSS string
    at new Input (/Users/Devin.Rhode/pss/underline-demo-extension/node_modules/postcss/lib/input.js:24:13)
    at parse (/Users/Devin.Rhode/pss/underline-demo-extension/node_modules/postcss/lib/parse.js:8:15)
    at new LazyResult (/Users/Devin.Rhode/pss/underline-demo-extension/node_modules/postcss/lib/lazy-result.js:133:16)
    at Processor.process (/Users/Devin.Rhode/pss/underline-demo-extension/node_modules/postcss/lib/processor.js:36:12)
    at Object.loader (/Users/Devin.Rhode/pss/underline-demo-extension/node_modules/css-loader/dist/index.js:128:51)
 @ ./src/pages/Popup/Popup.css 8:6-179 22:17-24 26:7-21 58:25-39 59:36-47 59:50-64 63:6-73:7 64:54-65 64:68-82 70:42-53 70:56-70 72:21-28 83:0-149 83:0-149 84:22-29 84:33-47 84:50-64 61:4-74:5
 @ ./src/pages/Popup/Popup.jsx 16:0-21
 @ ./src/pages/Popup/index.jsx 9:0-28 11:41-46

Yeah, tbh I just updated the module every time I get the bug then works fine

source: gharchive/pull-request

authors: devinrhode2 kcirtaptrick mitul-s

license: MIT

license_source: github-api


text:
Contact form reCaptcha...

Lovely hugo theme! I'm really enjoying putting my website together with it.
I believe I've implemented Formspree reCaptcha support ... wanted to share it with you in case you wanted to use it:

Do the needed setup in Google:
Do the needed setup in Formspree:

In config.toml:
contactFormReCaptchaSiteKey = "Google reCaptcha v2 site key here"
In contact.html:

  <form class="form-style" method="POST" action="{{ .Site.Params.contactFormAction }}" data-toggle="validator">

        <input class="field-style field-full" type="text" name="username" id="username" placeholder="Name" required>

        <input class="field-style field-full" type="email" id="email" name="email" placeholder="Email" required>

        <textarea class="field-style" name="message" id="message" rows="6" placeholder="{{ i18n "message" }}"></textarea>

      {{ with .Site.Params.contactFormReCaptchaSiteKey }}

      {{ end }}

        <input class="field-style" type="submit" value="{{ i18n "send" }}"></input>

  </form>

Regards,
Carmine

@cdichiara Thanks for that. 👍  Would you mind making a PR for it? That way it would count as your contribution!

@cdichiara Thanks for that. 👍  Would you mind making a PR for it? That way it would count as your contribution!

Oh sure I’ll do that - thanks for letting me :)
Carmine
On Sat, Jan 9, 2021 at 6:09 PM Alexander Bilz notifications@github.com
wrote:

@cdichiara https://github.com/cdichiara Thanks for that. 👍 Would you
mind making a PR for it? That way it would count as your contribution!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lxndrblz/anatole/issues/111#issuecomment-757381327,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADJSEQC7FIIYSATCOV67V7DSZDO4FANCNFSM4V3YJDLA
.

--
Carmine DiChiara, Psy.D.
ACT Therapist, Trainer
Clinical Psychologist, Licensed in MA & NH
163 Highland Ave. #1024
Needham, MA 02494
617-765-2080

Oh sure I’ll do that - thanks for letting me :)
Carmine
On Sat, Jan 9, 2021 at 6:09 PM Alexander Bilz notifications@github.com
wrote:

@cdichiara https://github.com/cdichiara Thanks for that. 👍 Would you
mind making a PR for it? That way it would count as your contribution!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lxndrblz/anatole/issues/111#issuecomment-757381327,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADJSEQC7FIIYSATCOV67V7DSZDO4FANCNFSM4V3YJDLA
.

--
Carmine DiChiara, Psy.D.
ACT Therapist, Trainer
Clinical Psychologist, Licensed in MA & NH
163 Highland Ave. #1024
Needham, MA 02494
617-765-2080

Hey @lxndrblz maybe you can help me here ... I'm trying to clean up the validation a bit, and I can't for the life of me get a submission event handler in place.

  <form id="contact-form" class="form-style" method="POST" action="{{ .Site.Params.contactFormAction }}">

        <input class="field-style field-full" type="text" name="username" id="username" placeholder="Name" oninvalid="setCustomValidity('Please provide your name')" oninput="setCustomValidity('')" required>

        <input class="field-style field-full" type="email" id="email" name="email" placeholder="Email" pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$" oninvalid="setCustomValidity('Please enter a valid email address')" oninput="setCustomValidity('')" required>

        <textarea class="field-style" name="message" id="message" rows="6" placeholder="{{ i18n "message" }}" oninvalid="setCustomValidity('Please let us know why you are reaching out')" oninput="setCustomValidity('')" required></textarea>

      {{ with .Site.Params.contactFormReCaptchaSiteKey }}

blah

      {{ end }}

        <input class="field-style" type="submit" value="{{ i18n "send" }}"></input>

  </form>

Can you see what I'm doing wrong? Neither handler is working ... not even in jsfiddle when I clear out the extra stuff. Weird, I must be doing something basic wrong.

Hey @lxndrblz maybe you can help me here ... I'm trying to clean up the validation a bit, and I can't for the life of me get a submission event handler in place.

  <form id="contact-form" class="form-style" method="POST" action="{{ .Site.Params.contactFormAction }}">

        <input class="field-style field-full" type="text" name="username" id="username" placeholder="Name" oninvalid="setCustomValidity('Please provide your name')" oninput="setCustomValidity('')" required>

        <input class="field-style field-full" type="email" id="email" name="email" placeholder="Email" pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$" oninvalid="setCustomValidity('Please enter a valid email address')" oninput="setCustomValidity('')" required>

        <textarea class="field-style" name="message" id="message" rows="6" placeholder="{{ i18n "message" }}" oninvalid="setCustomValidity('Please let us know why you are reaching out')" oninput="setCustomValidity('')" required></textarea>

      {{ with .Site.Params.contactFormReCaptchaSiteKey }}

blah

      {{ end }}

        <input class="field-style" type="submit" value="{{ i18n "send" }}"></input>

  </form>

Can you see what I'm doing wrong? Neither handler is working ... not even in jsfiddle when I clear out the extra stuff. Weird, I must be doing something basic wrong.

OK I got the JQuery one to work in jsFiddle, just my lack of experience with jsfiddle ... but still not working here for some reason.
ps. Caught the  error on the submit button.

OK I got the JQuery one to work in jsFiddle, just my lack of experience with jsfiddle ... but still not working here for some reason.
ps. Caught the  error on the submit button.

Ah ... it's order-sensitive. Sorry, I'm a server-side developer ... this is all a bit new to me. :)
I'll clean this up and get it ready for a PR.
Carmine

Ah ... it's order-sensitive. Sorry, I'm a server-side developer ... this is all a bit new to me. :)
I'll clean this up and get it ready for a PR.
Carmine

Converting to new feature.

Converting to new feature.

authors: cdichiara lxndrblz

repo: lxndrblz/anatole


text:
Adds diacritical marks to pinyin

This improves the pinyin output of the library by adding diacriticals. Diacriticals are essential especially for Western speakers trying to read pinyin. It maintains the ability to output plain ASCII text by supporting either stripped pinyin or tone numbers.

@lxyu Would you mind having a look? This makes the pinyin output much nicer. It makes it possible for Westerners like myself to be able to read the text output by adding tone marks. It does change the output, so it may break test cases in downstream code, but I'd rather have sensible output in downstream systems where possible.

(Rebases are for compatibility with Python 3.2, which is in your CI, but not on my local system)

Thanks very much, I think it's very cool and useful!

I'll submit a pypi release a few days later when this new year holiday ends.

Released as 0.3

authors: lxyu pmitros

repo: lxyu/pinyin

license: mit


text:
貌似不支持自己的网站，出现了报错

改了好几次，是什么原因呢？奇怪

抱歉 发现这里确实有个 bug, Terraform 不会应用 worker 的新修改, 我修复下.

这个问题应该已经解决了, 你可以试试保留配置文件 - 删除项目 - 重建.

已解决


text:
Improve visibility check

The visibility check was not taking into account the clipsToBounds property so it was often returning the wrong error (it should have passed the visibility check but not the hittable check).
Fixes #38

👀 @dduan

repo: lyft/Hammer


text:
Verify socket passing in hot restart test

In order to get updated admin and listener address information, the following changes were made:

Add an optional command line flag <-a> <--admin-address-path>. When set, the admin address will be written to the specified file.

Add a /listeners URL admin handler that returns all server listener addresses.

Write a python helper script that either updates the listener addresses in the original config file or checks that the server listener addresses have not changed after envoy startup.

Fixes https://github.com/lyft/envoy/issues/654.

@htuch for first pass.

@hennna can we get this passing tests? If you want to wait until cmake removal that's fine. It should be soon.

Nevermind looks like you fixed it. Will look in a bit.

The fix is only for the alphabetical ordering comment by @htuch. I'll wait until cmake removal rather than add changes that will need to be reverted.

OK let's just wait until this is passing tests then we can take a quick final pass through.

@hennna please merge master. This should pass tests now.

@mattklein123 updated

I'll defer the log.critical vs. PANIC change to after the wider discussion on failure modes in the upcoming doc PR. There doesn't seem to be strong feelings in this specific case.

repo: lyft/envoy


text:
Spark Plugin: Add tolerations/node-selector to Executors

TL;DR
Please replace this text with a description of what this PR accomplishes.
Type

[ ] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
https://github.com/lyft/flyte/issues/
Follow-up issue
NA
OR
https://github.com/lyft/flyte/issues/

Codecov Report

Merging #131 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #131      +/-   ##
==========================================
+ Coverage   61.28%   61.30%   +0.01%
==========================================
  Files         105      105
  Lines        5943     5946       +3
==========================================
+ Hits         3642     3645       +3
  Misses       1928     1928
  Partials      373      373

Impacted Files
Coverage Δ

go/tasks/plugins/k8s/spark/spark.go
82.60% <100.00%> (+0.25%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bf3f0f6...902ca94. Read the comment docs.

cc @migueltol22

authors: akhurana001 anandswaminathan codecov-io

repo: lyft/flyteplugins


text:
Deeplink fixes + avoid NPE

Small deeplink fixes. Avoid NPE if eta_seconds is null.

👍

authors: eveliotc istalev

repo: lyft/lyft-android-sdk


text:
Automatic staging committer conflict-mode for dynamic partition overwrite

As an attempt to support dynamic partition overwrite using S3A staging committers,
we disabled the previous hard-coded exception and dynamically set the value for
fs.s3a.committer.staging.conflict-mode
so to ensure PartitionedStagingCommitter behaves as expected in both
"INSERT INTO" and "INSERT OVERWRITE" scenarios.
The details are documented at:
https://docs.google.com/document/d/1fH4AtClYDiQt4fU9g-QzcoRu9SxMo8isGuLgvVxZgdc/edit?usp=sharing

/ptal #compute-data-platform

repo: lyft/spark


text:
build: update to Node 16

Preflight Checklist

[x] I have read the Contributing Guidelines for this project.
[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the pull request tracker for a Pull Request (PR) that matches the one I want to submit, without success.

Issue
This PR Closes #
Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (yarn build) was run locally and any changes were pushed
[x] Lint (yarn lint) has passed locally and any fixes were made for failures

Changes
Changes in this pull request:

Update the Node version from 14 to 16

Browsers
I tested the build on the following browsers:

[ ] Firefox Desktop
[ ] Chrome Desktop
[ ] Edge Desktop
[ ] Safari Desktop
[ ] Chrome Mobile
[ ] Safari Mobile

Screen readers
I tested the build on the following browsers:

[ ] JAWS Firefox Desktop
[ ] JAWS Chrome Desktop
[ ] NVDA Firefox Desktop
[ ] NVDA Chrome Desktop
[ ] VoiceOver Safari Desktop
[ ] VoiceOver Chrome Desktop
[ ] VoiceOver Safari Mobile
[ ] Android Accessibility Suite Chrome Mobile

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Does this introduce a breaking change?

[x] Yes
[ ] No

BREAKING CHANGE: updating Node from 14 to 16.
Other information

Codecov Report

Merging #1373 (b2bb887) into master (ab917b0) will increase coverage by 3.57%.
The diff coverage is 76.81%.

@@            Coverage Diff             @@
##           master    #1373      +/-   ##
==========================================
+ Coverage   54.85%   58.42%   +3.57%
==========================================
  Files          49       56       +7
  Lines        1659     1898     +239
  Branches      406      479      +73
==========================================
+ Hits          910     1109     +199
- Misses        671      704      +33
- Partials       78       85       +7

Impacted Files
Coverage Δ

src/components/sbb-clock/sbb-clock.tsx
0.00% <0.00%> (ø)

src/components/sbb-logo/sbb-logo.tsx
0.00% <0.00%> (ø)

src/components/sbb-signet/sbb-signet.tsx
0.00% <0.00%> (ø)

...obal/core/components/overlay/overlay-component.tsx
0.00% <ø> (ø)

src/components/sbb-form-field/sbb-form-field.tsx
37.93% <37.93%> (ø)

...c/components/sbb-autocomplete/sbb-autocomplete.tsx
40.87% <44.44%> (+0.87%)
:arrow_up:

...c/components/sbb-toggle-check/sbb-toggle-check.tsx
66.66% <66.66%> (ø)

src/components/sbb-image/sbb-image.tsx
69.09% <73.77%> (+6.12%)
:arrow_up:

src/components/sbb-tab-group/sbb-tab-group.tsx
76.19% <76.19%> (ø)

src/components/sbb-image/sbb-image.helper.tsx
62.06% <77.77%> (-2.45%)
:arrow_down:

... and 43 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: DavideMininni-Fincons codecov-commenter

repo: lyne-design-system/lyne-components


text:
Allow updating of default attributes by default?

I finished a rudimentary user profile feature today. In order to be able to update a user's name, I had to add devise_parameter_sanitizer.for(:account_update) << :name. Since name is an attribute that comes with Devise by default, it was confusing to me why I wasn't able to edit it and it took me kind of a long time to track down the reason.
I don't have a super strong opinion on this either way but it seems like maybe fields like name should be included in the attributes under :account_update by default.
As usual, I'd be willing to make it happen. I haven't looked into what that would involve but I'd assume it wouldn't be a huge amount of work.

FYI, I haven't forgotten I said I would do this, I'm just taking forever, sorry. I've been out of the Angular/Rails game for a while but now I'm back.

Hi there @jasonswett ,
In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if you're ready to contribute! Hope all is well.

authors: jasonswett zachfeldman

license: WTFPL


text:
How to properly set headers in order to use current_user, authenticate_user! etc methods?

I am trying to write a simple test for a URL which should be visible only to logged in user (I use before_action :authenticate_user! to achieve this).
Even though I (think) that I properly assign all the headers I always get JSON response {"errors":["Authorized users only."]}
My test looks like this (Login (to get header info) then visit protected URL with all the headers needed)
  post "/api/v1/auth/sign_in", {:email => user.email, password: 'password'}

  header_hash = {
      'access-token'  => response.headers['access-token'],
      'uid'           => response.headers['uid'],
      'client'        => response.headers['client'],
      'expiry'        => response.headers['expiry']
  }

  get "/api/v1/subscription_status", nil , header_hash

What am I doing wrong?

👍  I have the same issue (been battling with it for 2 days now).
I am trying to do two things, one as described above (hit the sign_in route and pull the token from there) and two:
# Logs a user in and gets the auth tokens
def auth_request(user)
  sign_in user

  @auth_headers = user.create_new_auth_token
end

There is literally zero information on how to test this Gem and that's a shame because it's got great documentation otherwise. Any help would be appreciated.

@knagode did you confirm that  get "/api/v1/subscription_status", nil , header_hash is setting the header correctly?
you can print the following in Rails to check:
request.headers.env["HTTP_TOKEN_TYPE"]
request.headers.env["HTTP_UID"]
request.headers.env["HTTP_ACCESS_TOKEN"]
request.headers.env["HTTP_CLIENT"]
request.headers.env["HTTP_EXPIRY"]

Hi there @knagode    ,
In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if it's the right time or this was done in error!
If you are still having the issue (especially if it's a bug report) please refer to our new Issue Template to provide some more details to help us solve it.
Hope all is well.

authors: Charlie-Hua ShaunSpringer knagode zachfeldman


text:
Add Golang generator

Lyra provides the APIs needed to describe workflows using Golang in the servicesdk module. The resource types made available from the resource handles are however only available to the Puppet (.pp) or TypeScript (.ts) languages. A generator that generates Go types from a TypeSet is needed to make it easy to author workflow manifests using Golang.

Closed by lyraproj/servicesdk#29

repo: lyraproj/lyra


text:
🛑 SMS Get Sites is down

In ffa0e1b, SMS Get Sites (https://sms.dev.cmxapp.cloud/sites) was down:

HTTP code: 401
Response time: 346 ms

Resolved: SMS Get Sites is back up in 45733c5 after 20 minutes.


text:
System.IO.IOException: The handle is invalid

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded)
at Microsoft.PowerShell.PSConsoleReadLine.Initialize(Runspace runspace, EngineIntrinsics engineIntrinsics)
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

This looks like a dupe of #158

authors: desrioux lzybkr

repo: lzybkr/PSReadLine


text:
Minimal Implementation of TCP Selective Acknowledgement

This PR correctly handles all "must" requirements of RFC 2018:

The sACK Permitted and sACK Range options are transmitted in accordance with the RFC.
If the remote does not send sACK permitted, sACK range options are never transmitted.
When a sACK range is transmitted, it contains the range of data corresponding to the segment that triggered the ACK unless the segment caused the ACK field to update (i.e. filled in an assembler hole that permitted progress).
Once a sACK range is announced, that data is never thrown away. (This is not a "must" requirement, but if the TCP does this, then additional "must" requirements are added.)

However, since this is a "phase 1" PR, compliance is all this implementation has to offer. In practical terms, it only improves throughput in one case, and even then, only for data flowing in one direction.
This is because of the shortcuts taken to save significant complexity:

All sACK information received from the remote side is ignored
Only one sACK range will ever be transmitted, even though the data structures support up to 3
If the segment causes an update in the ACK field, smoltcp will choose a "helpful hint" range if there are still holes in the assembler. The algorithm it uses to select this is contrary to a "should" in the RFC.

Each one of these is avoiding a significant effort. The first is a whole new data structure, the second two are because the "should" algorithm is based on keeping a history of transmitted sACK ranges on a queue, and pulling them off as holes are filled.
In its current state, this PR helps the case of a "burst" loss significantly, and Linux TCP seems to play nicely with the "helpful hint" range. But I would like more testing, if possible, before I consider this deviation from "should" safe to merge.
Extra testing and one unit test are all that is left before this is no longer WIP.

Thanks for the PR! Is there anything necessary for you to finish it?

I reviewed my code, and I think the case I was thinking of is already covered.
Ready for review.

@m-labs-homu r+

:pushpin: Commit 2552d0b has been approved by whitequark

@m-labs-homu r+

:pushpin: Commit 2552d0b has been approved by whitequark

:bulb: This pull request was already approved, no need to approve it again.

:hourglass: Testing commit 2552d0b414dc88d23db32150f02d84b807fdbe85 with merge ed8dce015c45ee6e37c8d671f290a6d9b7fb49ac...

:sunny: Test successful - status-travis
Approved by: whitequark
Pushing ed8dce015c45ee6e37c8d671f290a6d9b7fb49ac to master...

authors: jhwgh1968 m-labs-homu whitequark

repo: m-labs/smoltcp


text:
Steam update

GOG-only_games
Because this gets requested so often, here is a repost of a current list of games that are only available on GOG.
Although you still might get old CDs or DVDs of a lot of games, GOG maintains compatibility of these games with current OSes. This list just got cross-checked against the List of GOG games that aren't available in Steam list on GOG. Here is a list of games that you only get on GOG or where only the GOG version is playable, or where other platforms are missing add-ons and DLCs, or other features:
My list of GOG exclusive games (games that are neither on Steam nor on Origin), based on the link above. (✔ = Cross-checked against Steam, Origin, Zoom, and Uplay by me and others.) A list including all stuff, old and “new”. Feel free to let me know about any errors, etc.
New: Games that are free on GOG are marked with the symbol ∅.
I added some entries where the GOG version is actually playable in contrast to e.g. the Steam version, as noted by other redditors and/or by Steam. If the status of a game is not sure, it’ll be marked with a ?.
Full list is in the comments. I’ll strike through games that got recently taken off the list, so everyone can see more recent changes more easily. Recent additions will be marked with a ♥ and in boldface.
I’ll clean up the list after a few weeks.
last check and cleanup: 2021-10-02 12:47:00 UTC (Universal Coordinated Time)
New platform for cross checks added:

Zoom Store

Gamersgate (only if checked by others)

Fireflowergames (only if checked by others)

New games added at last check:

NONE

Games removed at last check:

Castles 1+2

Castles 1 (available on Steam)
Castles 2 (available on Steam)

Fantasy General (available on Steam)

Krush, Kill ‘N’ Destroy Xtreme (available on Steam)

Krush, Kill 'N Destroy 2: Krossfire (available on Steam)

Master Of Magic (Coming soon on Steam)

New World Computing Bundle (available on Steam), contains

Planet's Edge: The Point of no Return (available on Steam)
Wetlands (available on Steam)
Zephyr (available on Steam)

Pacific General (available on Steam)

Planet's Edge: The Point of no Return (available on Steam), also available as part of the New World Computing Bundle (available on Steam)

Redneck Rampage Collection, includes

Redneck Rampage (also on Steam)
Redneck Rampage Rides Again: Arkansas (also on Steam)
Redneck Rampage: Suckin' Grits on Route 66 (added to the basegame, source)

Simon The Sorcerer 3d (available on Steam with more language support(?))

War Wind (available on Steam)

War Wind II: Human Onslaught (available on Steam)

Wetlands (available on Steam), also available as part of the New World Computing Bundle (available on Steam)

Zephyr (available on Steam), also available as part of the New World Computing Bundle (available on Steam)

If appropriate, please update the Last check and cleanup, New games added, and Games removed sections after editing entries in the alphabetic list.

0-9
A

✔ Adventures of Willy Beamish, The
✔ Akalabeth: World of Doom FREE!
✔ Al-Qadim: The Genie's Curse
✔ Anvil of Dawn
✔ Apache Longbow
✔ Archimedean Dynasty
✔ Army Men: World War
✔ Avernum: The Complete Saga (2000)

B

✔ Battle Chess Special Edition

Battle Chess (also on Steam)
Battle Chess II: Chinese Chess (also on Steam)
✔ Battle Chess 4000 (Coming soon on Steam)

✔ Battle Isle Platinum (includes Incubation)
✔ Battle Isle: The Andosia War
∅ Beneath A Steel Sky FREE!
✔ Bioforge
✔ Bladerunner

C

✔ Chaos Overlords
✔ Clive Barker's Undying
✔ Colonel's Bequest, The
✔ Crusaders Of Might And Magic

D

✔ D&D Stronghold: Kingdom Simulator
✔ Dagger of Amon Ra, The
✔ Dangerous Dave Pack
✔ Dark Reign + Expansion
✔ Dark Reign 2
✔ Diablo + Hellfire, containing

Diablo
Hellfire

✔ Dungeons & Dragons: Dark Sun Series
✔ Dungeons & Dragons: Dragonshard
✔ Dungeons & Dragons: Krynn Series
✔ Dungeons & Dragons: Ravenloft Series

E

✔ Elder Scrolls III: Morrowind GOTY Edition, The. According to the Unofficial Elder Scrolls Pages, only the GOG version is bundled with all 8 official Bethesda Plugins (must be toggled on in the launcher's Data Files menu):

Entertainers
Bitter Coast Sounds
Area Effect Arrows
Helm of Tohan
Master Index
LeFemm Armor
Adamantium Armor
Siege at Firemoth

✔ Elder Scrolls Adventures: The Redguard
✔ Elder Scrolls Legend: Battlespire, An
✔ Emperor: Rise of the Middle Kingdom
✔ Entomorph: Plague of the Darkfall

F

✔ Fallout 3: Game of the Year Edition (GOG version is playable — Steam Notice: Fallout 3 is not optimized for Windows 7 and later)
✔ Final Liberation: Warhammer® Epic 40,000
✔ Forgotten Realms: Demon Stone
✔ Forgotten Realms: The Archives - Collection One
✔ Forgotten Realms: The Archives - Collection Two
✔ Forgotten Realms: The Archives - Collection Three
✔ Freddy Pharkas: Frontier Pharmacist

G

✔ Gangsters: Organized Crime
✔ Gex

H

✔ Hard Truck 2: King of the Road
✔ Heroes Chronicles: All chapters, includes

"Warlords of the Wastelands"
"Conquest of the Underworld"
"Masters of the Elements"
"Clash of the Dragons"
"The World Tree"
"The Fiery Moon"
"Revolt of the Beastmasters"
"The Sword of Frost".

✔ Heroes Of Might And Magic 3: Complete (remastered HOMM3 HD version available on Steam, but not the original version.)

I

✔ Icewind Dale: Enhanced Edition, also contains original version
✔ Icewind Dale 2 Complete
✔ Incredible Machine Mega Pack, The (also available on the Humble Trove, but not in the Humble Store)

Even More Incredible Machine
The Incredible Machine 3 (contains all levels from The Incredible Machine 2)
Contraptions
Even More Contraptions

✔ Interstate '76® The Arsenal
✔ Interstate '82
✔ Ishar Compilation, includes

Crystals of Arborea
Ishar: Legend of the Fortress
Ishar 2: Messengers of Doom
Ishar 3: The Seven Gates of Infinity

J

✔ Jazz Jackrabbit Collection
✔ Jazz Jackrabbit 2 Collection
⊘ Jill of the Jungle: The Complete Trilogy FREE!, includes

Jill of the Jungle
Jill Goes Underground
Jill Saves the Prince

K

✔ Konung 1+2 (also on Zoom)

Konung: Legend of the North
Konung 2: Blood of Titans (also on Steam)

L

✔ Legacy of Kain: Soul Reaver, (also available on Steam, but GOG version has wider language support, e.g. French)
✔ Legacy of Kain: Soul Reaver 2, (also available on Steam, but GOG version has wider language support, e.g. French)
✔ Legend Of Kyrandia, The (Book One)
✔ Legend Of Kyrandia: Hand Of Fate, The (Book Two)
✔ Legend Of Kyrandia: Malcolm's Revenge, The (Book Three)

M

✔ Magic Carpet Plus, contains

✔ Magic Carpet (also on Origin)
✔ Magc Carpet: Hidden Worlds

✔ Magic Carpet 2: The Netherworlds
✔ Metal Gear
✔ Metal Gear Solid
✔ Metal Gear Solid 2 Substance
✔ Might And Magic® 6-Pack Limited Edition
✔ Might And Magic® 7: For Blood And Honor®
✔ Might And Magic® 8: Day Of The Destroyer™
✔ Might And Magic® 9
✔ Mortal Kombat 1+2+3
✔ Mortal Kombat 4

N

✔ Neverwinter Nights 2: Complete, contains

Neverwinter Nights
Mask of the Betrayer expansion
Storm of Zehir expansion
Mysteries of Westgate expansion

O
P

✔ Patrician 1+2
✔ Pax Imperia - Eminent Domain
✔ Personal Nightmare
✔ Privateer 2: The Darkening
✔ Pro Pinball Big Race USA
✔ Pro Pinball Fantastic Journey
✔ Project Eden

R

✔ Rage Of Mages
✔ Rage Of Mages II: Necromancer
✔ Rayman 2: The Great Escape
✔ Rayman 3: Hoodlum Havoc
✔ Revenant

S

✔ Screamer 4x4
✔ Sensible Soccer 2006
✔ Sensible World Of Soccer 96/97
✔ Sid Meier's Alpha Centauri™ Planetary Pack, a bundle of

✔ Sid Meier's Alpha Centauri™ (also on Origin)
✔ Sid Meier's Alien Crossfire™

✔ Silent Hill 4: The Room
✔ Simcity 3000 Unlimited
✔ Soldier of Fortune: Platinum Edition
✔ Soldier of Fortune 2: Double Helix - Gold Edition
✔ Soldier of Fortune: Payback
✔ Speed Busters: American Highways
✔ Street Fighter Alpha 2
✔ Strike Commander
✔ Suffering, The
✔ Suffering: Ties That Bind, The
✔ Swat 4: Gold Edition
✔ Syndicate Plus™
✔ Syndicate Wars™

T

∅ Teenagent FREE
✔ Temple Of Elemental Evil, The
✔ Tex Murphy: Mean Streets + Martian Memorandum, contains:

✔ Mean Streets (also on Steam, but GOG version has wider language support (e.g. French))
✔ Martian Memorandum (also on Steam, but GOG version has wider language support (e.g. French))

✔ Theme Park
✔ Thunderscape
✔ Toonstruck - (also available on Steam, but only in the English version. GOG has the English, French, German, and Spanish dubs available)
✔ Torin's Passage
✔ Total Overdose: A Gunslinger's Tale In Mexico
✔ Treasure Adventure Game  FREE!
∅ Tyrian 2000 FREE

U

∅ Ultima™ Worlds Of Adventure 2: Martian Dreams FREE!

V
W

✔ Warcraft I & II Bundle, contains

Warcraft: Orcs and Humans
Warcraft II Battle.net Edition

✔ Warhammer® 40,000: Chaos Gate
✔ Warhammer® 40,000: Rites Of War
✔ Warhammer®: Shadow Of The Horned Rat
✔ Wing Commander™ 4: The Price Of Freedom (also on Origin, but only the GOG version has the DVD quality video cutscenes made available by Chris Roberts, iirc.)
✔ Wing Commander™ 5: Prophecy Gold Edition
✔ Wing Commander™: Academy
✔ Wing Commander™: Armada
∅ Worlds Of Ultima™ : The Savage Empire FREE!
✔ World Rally Fever: Born on The Road

X
Y
Z

I don’t see what the issue is. Did you change something? If you want me to add changes then you should add a pull request. That enables me to see the changes you made, so I can add them to the document. If you cite the whole document as an issue comment I can’t see what you changed.

Done


text:
Frequency of current PopTime updates @ Google

This is more of a question, at most a lack of documentation, but I couldn't find it:
How often does current_popularity get updated on the Google Place? As in, how often, or when (is it at the whole hour?) should it be queried using the API?

It's Google internal so there is no exact information on it.
Best way to determine it would be to retrieve it minutely on some high frequented places.

authors: m-wrzr snoms

repo: m-wrzr/populartimes


text:
wsgi.py: artists = kodi.GetMusicArtists() did not return on long request

my 800k result seems to stop this from working. Last lines are:
,{"artist":"Richard Wagner","artistid":15266,"label":"Richard Wagner"},
{"artist":"Randy Kaplan","artistid":15356,"label":"Randy Kaplan"}],
"limits":{"end":12358,"start":0,"total":12358}}}
I try to increase mem to 265Mb. Still timeout after 60 seconds. AWS Messages from 128MB test are:
15:01:36 Sending request to http://xxxx.homeserver.com:yyyy/jsonrpc
15:01:36 JSON Request {"jsonrpc": "2.0", "method": "AudioLibrary.GetArtists", "id": 1}
JSON Request
{
"jsonrpc": "2.0",
"method": "AudioLibrary.GetArtists",
"id": 1
}
15:02:36 END RequestId: 7ae0ad84-f2c6-11e6-8906-97431fdb464a
15:02:36 REPORT RequestId: 7ae0ad84-f2c6-11e6-8906-97431fdb464a	Duration: 60001.89 ms	Billed Duration: 60000 ms Memory Size: 128 MB	Max
If we cannot fix it we should use the limit in the JSON to avoid breakdown.

Yes, it will have to make multiple requests.
As an aside.. how on earth do you have 12000 artists?!  o.O

If you have a large CD-Collection with a lot of samplers and grab them....
Do you have any short workaround, or just wait for the next release? I was assuming that you can send "complex" searched like "albums where artist == xxx" direct to kodi without that workaround. Also the slot type list is not really working on that size, but the fallback to ask kodi if the result is empty is working fine. Therefore no problem here. My video list is quite short. Haha. No issues there.

Related to #79.

Hi jingai. I think this is only partially related to #79 because in case #111, KODI is capable of responding with the right answer in a very quick time. Therefore the problem is only on the skill side.

I didn't say it was a duplicate -- just related.

I was assuming that you can send "complex" searched like "albums where artist == xxx" direct to kodi without that workaround.

The problem is we don't yet know what the artist is at this point.  We need the full list of artists to get a match to what was heard.
If it takes a long time to retrieve this list, it's going to time out on the client-side (your Echo device) no matter what we do.
I think the way to solve this will probably be by caching the library in some way, so we only have to ask Kodi for the library information if something has changed since the last time we asked.

For reference, I don't encounter this issue here hosting the skill locally.  This isn't to suggest that hosting it locally is the fix, just noting that it's purely an issue of the request taking too long.

There isn't really anything we can do to fix this with the skill as it is.  We've explored numerous other possibilities, but the only way we can really handle this is to make another skill using the Video Skill API.

authors: jingai stefanbode


text:
Help , need to decrease hours

Hello, can i pay you to add a decrease hours option please ?

same

same

sat ila 3rft tkhdmha golhali , hada insta dyali : iyskart

same hhhh 80h

same we want to decrease hours


text:
Update scalafmt-core to 3.4.3

Updates org.scalameta:scalafmt-core from 2.7.5 to 3.4.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #112.


text:
Make repair incremental, filter results by time when fetching blocks metadata, and add pooling for metadata results and host metadata to reduce CPU and network usage

cc @robskillington @martin-mao

Coverage decreased (-0.1%) to 78.576% when pulling 301c22b6cbd05f490978c1963df5a25703ec2deb on xichen-more-efficient-repair into add607e11f2810ac662679dfd3d42a0616daf054 on master.

Coverage decreased (-0.1%) to 78.504% when pulling 2cf37682a5b29508ab386f08a769ccb10a8ac283 on xichen-more-efficient-repair into c3a8e8832aa36cabb9d90d6ffbd4987e2b8bb43a on master.


text:
Store unmapped data on models

For example Model/Project doesn't contain property for permissions.
https://docs.gitlab.com/ce/api/projects.html#get-single-project
Is it possible, for missing properties, to store data on a specific array property.
On AbstractModel::setData()
if (in_array($field, static::$properties)) {
   $this->data[$field] = $value;
}
$this->allData[$field] = $value;

It would be a fallback when the Gitlab API evolves faster than this client.

I think Models need to be refactored. Gitlab has envolved heavily since I started this project, some sort of magic getter/setter using dot notation might be better for Models.

I have in mind to refactor models by generating them usign https://github.com/janephp/jane. Our main job would be to write JSON Schema files describing Gitlab models.
An advantage to this is if https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2397 succeed, we will be able to switch to their description of entities and even go further by generating the whole library code using https://github.com/janephp/jane-openapi!

@fbourigault this is a good way of approaching the problem.


text:
[fix] freambuff compile error

This commit adds following:

add board_FrameBuffer = 300
Add compilation conditions for SDL and sdl.
Fix the release code for the framebuffer device.

Thank you @dianjixz !
Please change the merge destination to "develop" branch.
Please change board_FrameBuffer = 300 so that it can be determined by bitmask.
For now, please choose a nice round number in binary, such as 512.


text:
PluginAliasSet.with is very slow

the factory method is doing too much building various lookup tables which are not always used and should probably be simplified or lazily built. These tables are only required by AliasXXXProviders, and creating many PluginAliasSet such as when building a UI with links to add or remove individual aliases becomes very slow.
500 functions take 5 - 6 seconds to create the 500 ExpressionFunctionAliasSet(s).

Fixed.
PluginAliasSet.prepare no longer builds a few fields. These fields are built lazily.


text:
Export individual segmented time points

Hey @maarzt,
I'm working with a 4GB timelapse dataset. Annotation workes nicely. If I wanted to export just a single time point 3D stack to ImageJ, e.g. to test another plugin, would that be possible with labkit?
Thanks!
Cheers,
Robert

No not yet.

authors: haesleinhuepf maarzt


text:
视频压缩时间很长，是否可以取消压缩

@mabeijianxi
在这里录制的视频压缩速度很快，但是如果选择本地的拍摄的视频，压缩速度就可能很长了，是否增加一个可以取消压缩的方法？

本地压缩现在已经提升了2-3倍了，稳定了会考虑增加这个功能

能增加取消视频压缩的功能吗，我未压缩完就停止压缩视频的线程时会导致程序崩溃

authors: fennudexiaoji mabeijianxi xiaobaicaiya

repo: mabeijianxi/small-video-record


text:
Provide instructions to build and run the node (without docker) for contributors

Can you provide instructions for developers on how to setup the dev environment to contribute? How to build and run the node without Docker?

risc0 and halo2 maybe complicated run without docker image. Is it useful just run node without Docker but run risc0  & halo2 with Docker ?

I'm working on configuring the setup to facilitate convenient development and debugging in VS Code without having to generate a new Docker image every time. My plan is to provide a developer-docker-compose.yaml, where the w3bnode service is commented out. All other services (Postgres, RISC0, Halo2, etc.) will continue running with Docker Compose, but their ports will be published to the host system.
I am currently testing this setup and will update here with the results.

authors: huangzhiran simonerom

repo: machinefi/sprout


text:
macports.tcl: fix build_arch choice for ppc

This is a bit less code with a better result: unsupported 10.6 ppc will have the right build_arch being set.
While this change does not affect supported systems, it is just a better logic.

@ryandesign @kencu @mascguy Could someone take a look please?

@ryandesign @kencu @mascguy Bump

repo: macports/macports-base


text:
Adjusted "pre-require" emit to include the global mocha object.

Hi - I noticed it.only wasn't working for my tests. Tracing through the code it looks like mocha is undefined as it isn't passed in when the "pre-require" event is called in server.js. I see that it's defined as a global in server.js so I've adjusted things to pass the defined Mocha object in through the "pre-require" emit. This should help fix issue #81.

Sorry, I just noticed there's already a pull request (request #115) with a similar fix. Closing this one. Thanks!

repo: mad-eye/meteor-mocha-web


text:
Update dreamcoder.py

comments on params, jus do it

do it


text:
[FEATURES] Request

It would be supercool:

Using powerShell im setting delay for every plot, to free cpu threads from other plotting
If i could set a loop of plotting script = super! Infinite plotting
Choose at the bottom tabs with logs is more than a nice feature

ps. im a windows user

delays per plot implemented

don't really understand point 2) & 3)

Request:
Option to write a log per plot into a specified directory (like the Chia Windows GUI does).
The last x lines per plot on the GUI are good - i would love to have the option for whole log files for each plot tho!
Besides that - great tool, thanks for your awesome work!

authors: aresstokrat haukeru maded2


text:
Memory Fault Error on SBCL when given bad JSON

Hey,
Attempting to parse the following incorrect JSON makes SBCL 2.0.8 pause for several seconds, then raise the error "Unhandled memory fault at #x1200000000. [Condition of type SB-SYS:MEMORY-FAULT-ERROR]".
(jsown:parse "{\"foo\": a}")

I tested this on CCL and Clisp as well.  In those, I immediately get an error complaining that an index is out of range for ELT.

Here is the culprit:
https://github.com/madnificent/jsown/blob/744c4407bef58dfa876d9da0b5c0205d869e7977/reader.lisp#L3-L4
Either use (sb-ext:restrict-compiler-policy 'safety 1) when compiling jsown or switch to a JSON parser which does not commit atrocities like the above.
The latter is IMO much better, but keep in mind that I have very strong opinions on the subject.

authors: MistressRemilia phoe

repo: madnificent/jsown


text:
Zsh completions

In the vein of my previous PR adding bash completion support, this adds zsh completion. It has the same features as the bash version.

Thanks for taking care of the ZSH users 🙏

authors: madx somini

repo: madx/git-identity


text:
fix: add compatability with node@6.3.0 streams

Depends on #5
Fixes #6

nice catch thanks! can you make this not depend on #5?

Will do, is there a reason you don't want to merge #5, or did you just not have time to look at it yet?

nvm, just saw your comment

Closing in favor of #8

authors: dignifiedquire mafintosh

repo: mafintosh/duplexify


text:
Mage ai is not recognised as internal or external command

I install mage-ai with pip and after that i tried to run it in cmd as well as conda cmd but it is showing this error

What command are you trying to run?
mage start ?

Same issue , i am also getting issue in Mage start

Hi @HarshkumarDegamadiya and @Snorlax51 , what errors did you get?

@wangxiaoyou1993  i got error that mage is not recognised

@Snorlax51 did you use pip or conda to install Mage?

@wangxiaoyou1993  i used pip , and then using mage start demo to run the program

@HarshkumarDegamadiya which python version and OS you are using??

@HarshkumarDegamadiya

I install mage-ai with pip and after that i tried to run it in cmd as well as conda cmd but it is showing this error

Can you please share the screenshot of what command you are using, a screenshot gives better view of the issue to the audience

Hey !
To fix this, you need to adjust your environment variables (assuming you're on Windows), or alternatively you can do this :
pip show mage-ai
This will take you to your Python directory and take you to the Scripts folder, where there's normally a mage.exe file that will let you run Mage commands by using the file path as follows:
../Python39/Scripts/mage.exe start demo-Project

Also you probably didn't made a virtual environment for installing mage (which is not very recommended :x)

Close this issue since no recent reports.

repo: mage-ai/mage-ai


text:
[BUG] No permission access only users management

Mage version
0.9.72
Describe the bug
After enabling user authentication I can see a user management but there is no trace of creating new role or permission no menu available
To reproduce
use docker compose
add to docker-compose.yml REQUIRE_USER_AUTHENTICATION: 1
docker compose up
Expected behavior
Access to role and permissions
Screenshots

Operating system
OS: mac os
Docker studio
Additional context
No response

Forgotten to add REQUIRE_USER_PERMISSIONS flag


text:
Moved creating of the nginx.conf file

Moved creating of the nginx.conf file  to the place where we will have… all files generated after composer install, so it will not throw error about missing "nginx.conf.sample" file during the vanilla magento cloud project setup

Thanks, @u-maxx

authors: shkoliar u-maxx


text:
ImportError: cannot import name attrs

Ubuntu 16.04.2 LTS, Google Compute Engine.

$ wormhole send it_worked.txt
Traceback (most recent call last):
File "/usr/local/bin/wormhole", line 7, in
from wormhole.cli.cli import wormhole
File "/usr/local/lib/python2.7/dist-packages/wormhole/init.py", line 6, in
from .wormhole import create
File "/usr/local/lib/python2.7/dist-packages/wormhole/wormhole.py", line 3, in
from attr import attrs, attrib
ImportError: cannot import name attrs

I looked up that error message on the web and didn't find anything resembling clarity. Any hints?

markdown turned the _ init _ into bold.

Can you provide details about how you installed the software?

I followed the instructions in this repo's readme:

sudo apt-get -y install python-pip build-essential python-dev libffi-dev libssl-dev
sudo pip install magic-wormhole

I believe all the prereqs in the first line were already satisfied.
I then tried random permutations of sudo pip uninstall (attr|attrs) and probably broke things further, but the ImportError didn't change.

In general you shouldn't use sudo with pip -- instead create a "virtualenv" via virtualenv venv_name and then use ./venv_name/bin/pip install ... etc or source ./venv_name/bin/activate after which invocations of pip in the same shell will use the virtualenv.
Can you try again in a virtualenv? Als you should run pip install --upgrade pip setuptools ("because Debian") in the new virtualenv as suggested in the README.

I'll try it. I understand virtualenv is a best practice for isolating changes to specific development/staging/production environments; however, this particular VM instance is my random-hacking box where I don't mind semi-irreversible changes like sudo pip. Virtualenv will be an interesting experiment to isolate whether the problem is something unique to my instance, which is why I'm happy to try it, but long-term it shouldn't be a requirement for a tool like wormhole, which feels a lot more like something that should live in /usr/bin along with all the other userland basics.

It seems most likely that the old version of pip resolved the dependencies wrong.  Hopefully creating a virtualenv with an upgraded pip will solve the problem.
Longer term, to get wormhole into /usr/bin, someone will probably make a Debian package and folks can install it that way rather than using pip.

OK, the virtualenv worked. So now my promiscuous sudo pip ways are coming back to haunt me. Since it's a VM I can just throw it out and try again. I think there's nothing of value to anyone else in this bug, so might as well close as user error. I'll reopen it if I can salvage any wisdom for others. Thank you for walking through it with me.

BTW magic-wormhole 0.9.1 is in Debian 9 ("stretch"), and Ubuntu 17.04 ("zesty"). But for older OSes, or to get a newer magic-wormhole (we're up to 0.10.2 right now), yeah you'll need pip.
Do you know what version of pip you were using? We could add a note to the README to recommend a minimum version.

Unfortunately I updated pip after things were already screwed up, so I don't know. Today it's this:
pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)
So at this point, all I can contribute is that pip 9.0.1 cannot rescue an already-bad installation, but it works fine in a clean virtualenv. It looks like pip won't log its own actions unless you set it up that way, so I don't have any forensics to figure out the old version.
@warner, when I set up the new VM I'll likely go with one of those newer distros that includes the packaged tool in the repository, so thank you for those tips.

Note to self: according to https://packages.ubuntu.com/search?keywords=python-pip&searchon=names&suite=all&section=all , ubnutu-16.04 "xenial" comes with pip-8.1.1 . The next step here is probably to test a pip install on a xenial VM that only contains the suggested packages (python-dev, build-essential, etc), and see what happens. If that pip is too old to figure out the full dependencies, then we should upgrade it to the next-highest-packaged-in-ubuntu one (which would be pip-8.1.2 in yakkety, or pip-9.0.1 in zesty) and see if that works. And then we should update the README with the minimum recommended version that's known to work.
(I'm assuming that pip is what's important here, and not setuptools, which may be completely wrong)

I just tried with a fresh 16.04 installation. I installed the recommended prerequisites (python-pip build-essential python-dev libffi-dev libssl-dev) and confirmed it had pip 8.1.1. pip install magic-wormhole successfully installed, though pip advised at the end that I upgrade from 8.1.1. I was then able to run wormhole send file.txt, and it appeared to work.

It seems that wormhole is depending on attrs. The version seems to be at least 16.1.0, because the Changelog mentions that the currently used from attr import attrs, attrib is only added with that version.
That fact does not seem to be encoded in setup.py which makes it hard to pip install wormhole on the current LTS Ubuntu 16.04. It seems that pip does not upgrade Ubuntu's attrs version and then the import fails:
File "/tmp/gks/local/lib/python2.7/site-packages/wormhole/__init__.py", line 6, in <module>
    from .wormhole import create
  File "/tmp/gks/local/lib/python2.7/site-packages/wormhole/wormhole.py", line 3, in <module>
    from attr import attrs, attrib
ImportError: cannot import name attrs

I would expect that mentioning attrs >= 16.1.0 in wormhole's setup.py fixes the issue.

attrs is now in setup.py, as of 68ce54ad3a99d412d4886fddc94a5f38a79777d6: that was certainly a problem. I think previously we happened to work (on most systems) because attrs is also used by one of our dependencies (I think Twisted, or maybe automat). But I think that causes problems with older versions of pip or setuptools.
I'm going to close this: I'll try to do a new release today, and I think this should be fixed in that release.

Nah. It's not a problem that attrs is in Wormhole's setup.py. As wormhole is indeed depending on attrs I would argue that it's a bug if attrs would not be in setup.py. The problem here, though, is that wormhole depends on attrs as of at least a certain version and that it hasn't encoded that.

import requests_cache

authors: QGB exarkun meejah muelli sowbug warner

repo: magic-wormhole/magic-wormhole


text:
Add DownloadDistmapResult check for _SUCCESS files before processing

A new check on startup for the _SUCCESS file (if it is a HDFS path) should throw an UserException to show that the job was not successful. We can add also an @Advance argument (--disable-success-check) to proceed even if the file is not present.

Related with https://github.com/robmaz/distmap/issues/88

repo: magicDGS/ReadTools


text:
Detect press event on svg item in a SVG area

Dear every body!
I have an SVG area  that contain many svg object. And I want  to detect click event on single SVG item.
But I can't find any document about it. Please give me some solutions. Thanks!
Nam Nguyen

The shape elements support the touchable props:
    disabled: PropTypes.bool,
    onPress: PropTypes.func,
    onPressIn: PropTypes.func,
    onPressOut: PropTypes.func,
    onLongPress: PropTypes.func,
    delayPressIn: PropTypes.number,
    delayPressOut: PropTypes.number,
    delayLongPress: PropTypes.number

And panResponder.
You can set those props on shape elements.
<Circle onPress={this.pressHandler} />

Is it possible to support touchable props on Group elements also? It is probably possible to work around by propagating touch handlers down to nested shape elements, but this is pretty painful!

It`s a good idea,
This feature with be shiped within next version

Cool, onPress event's on Group's work (testing with git master), but a G with no onPress event prevents touches from propagating to nested shapes (including other G elements), e.g.
This echoes "i'm touched" to the console when you tap the circle:
<G onPress={()=>{console.log("i'm touched")}}>
  <Circle cx={50} cy={50} r={100} fill='#f00'/>
</G>

This should output on the console but does not:
<G>
  <Circle cx={50} cy={50} r={100} fill='#f00' onPress={()=>{console.log("i'm touched")}}/>
</G>

authors: magicismight ngnclht1102 steveliles

repo: magicismight/react-native-svg


text:
Incorrectly appends default port to provided port, thus breaking all session functionality

On Tomcat 8.0.30, oracle jdk 8.77
Using https://github.com/jsimone/webapp-runner with server string for MEMCACHE_SERVERS:
n1:pub-memcache-42.us-east-1-1.1.ec2.garantiadata.com:11733
Results in default port being appended to provided port:
a
Apr 13, 2016 4:52:57 AM de.javakaffee.web.msm.MemcachedSessionService startInternal
INFO:  starts initialization... (configured nodes definition n1:pub-memcache-42.us-east-1-1.1.ec2.garantiadata.com:11733:11211, failover nodes null)
Apr 13, 2016 4:52:57 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: The session manager failed to start
org.apache.catalina.LifecycleException: Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5272)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: Configured memcachedNodes attribute has wrong format, must match ([\w]+):([^:]+):([\d]+)(?:(?:\s+|,)([\w]+):([^:]+):([\d]+))*
at de.javakaffee.web.msm.MemcachedNodesManager.createFor(MemcachedNodesManager.java:190)
at de.javakaffee.web.msm.MemcachedSessionService.createMemcachedNodesManager(MemcachedSessionService.java:480)
at de.javakaffee.web.msm.MemcachedSessionService.startInternal(MemcachedSessionService.java:423)
at de.javakaffee.web.msm.MemcachedBackupSessionManager.startInternal(MemcachedBackupSessionManager.java:518)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 8 more
Reference:
https://github.com/jsimone/webapp-runner/issues/60

Sorry, confirmed that this is entirely a bug in:
https://github.com/jsimone/webapp-runner/issues/60

repo: magro/memcached-session-manager


text:
suggestions do now show after textfieldfocus has changed

The suggestion do only show automatically when the user manually taps on the SearchField, and not when the focus shifts to another one using searchInputAction
I would suggest opening the suggestions in the focusNode listener instead of the onTap property of the textfield, so that the suggestions show on every focus change

@larsvombruch Thanks for filing the issue. I can reproduce it, SearchField only expands on tap and not on focus change, That looks like a valid proposal to me.
Column(
    mainAxisAlignment: MainAxisAlignment.spaceBetween,
   children: [
      const SizedBox(
         height: 20,
      ),
      const TextField(
         textInputAction: TextInputAction.next,
      ),
      SearchField(
          suggestionState: SuggestionState.enabled,
          suggestions: const [
             'United States',
             'America',
             'Washington',
             'India',
             'Paris',
             'Jakarta',
             'Australia',
             'Lorem Ipsum'
          ],
          searchInputAction: TextInputAction.next,
      ),
      const SizedBox(
      height: 20,
     ),
  ],
),

I will take a look at it this weekend, If you are interested you are welcome to send a PR :)

@maheshmnj I have sent a PR :) Also added some extra features, such as SuggestionAction.

Closing as PR has been merged.

authors: larsvombruch maheshmnj

repo: maheshmnj/searchfield


text:
Releases page for .1.7 is 404

I get a fancy looking jedi octocat page when I try to download the latest release.

Thanks @anoland, should be fixed now - forgot the v in the tag :smile:

authors: anoland ian-kent

repo: mailhog/MailHog


text:
Open email in new tab

Add ability to open email to read in a new tab.

This would be awesome... also maybe the ability to resize the two email panes (the inbox and the preview pane).

authors: adampresley toferj

repo: mailslurper/mailslurper


text:
"View on Marketplace" Button is Broken

Seems like it shouldn't be broken 😁

I just released a new version and made sure "release to marketplace" was ticked so I guess it's fixed now 🤷 I tested it myself but let me know if it's still not working for you (in case as the owner of the repo I can see something you can't)
I'll close this for now but if it's still broken do let me know 👍

authors: jherdman mansona

repo: mainmatter/ember-asset-size-action


text:
Added feature to run Maistra web site in a local container.

Extended make file to run Maistra website in a local container, so that contributors don't need to install Hugo and its dependencies on their computer.

/ok-to-test

Hi @olaf-meyer! Thanks for the contribution, makes a lot of sense. We already have an image you can use though, it's the one that our CI uses: quay.io/maistra-dev/maistra-builder:2.0 - so you don't have to include a Dockerfile in your PR

Hi @dgn, do you know where I can find the source code for the quay.io/maistra-dev/maistra-builder:2.0? I would like to add a link to this project in the make file, so that it is clear what the content of the docker file is.

Hi @dgn, do you know where I can find the source code for the quay.io/maistra-dev/maistra-builder:2.0? I would like to add a link to this project in the make file, so that it is clear what the content of the docker file is.

Sure, it's here: https://github.com/maistra/test-infra/blob/main/docker/maistra-builder_2.0.Dockerfile

Hello, I tried to fix the problems with the check-links and the linting. When I try to run the images quay.io/maistra-dev/maistra-builder:2.1 or quay.io/maistra-dev/maistra-builder:2.0. I get this error message ./tools/checkLinks.sh: line 7: yq: command not found. Is the ci build that is using these images working for you?

Hello, I tried to fix the problems with the check-links and the linting. When I try to run the images quay.io/maistra-dev/maistra-builder:2.1 or quay.io/maistra-dev/maistra-builder:2.0. I get this error message ./tools/checkLinks.sh: line 7: yq: command not found. Is the ci build that is using these images working for you?

hey @olaf-meyer, those problems should have been resolved by https://github.com/maistra/maistra.github.io/pull/174 - you just have to rebase. Sorry for the churn

hey @olaf-meyer, those problems should have been resolved by https://github.com/maistra/maistra.github.io/pull/174 - you just have to rebase. Sorry for the churn

Okay, I clicked the button and let GitHub merge the maistra-2.0 branch into yours again. It should pass now

Okay, I clicked the button and let GitHub merge the maistra-2.0 branch into yours again. It should pass now

Sorry for the delay. I was quite busy the last weeks.

Sorry for the delay. I was quite busy the last weeks.

Sorry for the delay. I was quite busy the last weeks.

No worries at all. Thank you for your perseverance :slightly_smiling_face:

Sorry for the delay. I was quite busy the last weeks.

No worries at all. Thank you for your perseverance :slightly_smiling_face:

authors: dgn olaf-meyer


text:
Not playing from the trim start position when re-playing [Android]

There seems to be a small issue with the behavior of the play button when you trim the video
Expected behavior (also how it works on the native video editor):

trim the video (I put the start time at a new position)
play the video till the end
press play again, video is played from the trim start time position

Package behavior:

same
same
press play again, playing from the original start of the video and not from the trim start position

Do you think you can provide a fix?
You did an awesome job on this package!

Thanks for reporting, I'll check and get back to you

hey @DejaVuRox on which platform did you face the issue?

it happened on Android but can check it also on IOS

Can you share me screen recording of the issue ?(for each platform you face the issue)

u can just follow the steps i described and after setting new start time, you let it play till end and just press play again, it will not play from the new start time

Is this any update @maitrungduc1410

Check this below attachment
Uploading screen-recording-2024-09-24-at-62106-pm_KobXRG4t.mp4…

@Vignesh1318 i'm busy recently, will setup sometime this week to work on this

Thanks for the update @maitrungduc1410

hi @Vignesh1318 @DejaVuRox I fixed the issue, please upgrade to 2.2.4

hi @Vignesh1318 @DejaVuRox I fixed the issue, please upgrade to 2.2.5

Thanks @maitrungduc1410 I'll check and report back to you.

Hi @maitrungduc1410 This issue resolved but i got a another issue
When trimming the video, after I click play, it starts from the original position instead of the trimmed start point.
Please check the attachement
https://github.com/user-attachments/assets/182dd72b-e854-4e0d-abfd-19d68726e7d2

hi @Vignesh1318 I fixed that play from wrong position issue, please upgrade to 2.2.6

Hi @maitrungduc1410 Yes it's working fine now.
Thanks for the support.

Hi @maitrungduc1410
Sorry to interrupt, but I’ve found another issue.
On Android, when trimming a video, if I click the play button, it plays the entire video instead of just the trimmed portion selected by the user.
Kindly check the attachment also.
https://github.com/user-attachments/assets/ecef9068-b716-46a5-82f9-8de941bdb255


text:
Logging into zalo with iOS

Khi login bằng IOS thì sẽ qua trình duyệt web không vào app zalo xác nhận. Thì login bằng QR và tài khoản, dùng tk đăng nhập bị báo "Vì lý do bảo mật nên phải quét QR". Thì có 1 đth làm sao để quét QR. Và chụp màn hình dùng quét QR của đth thì bị báo

Và trên android. Ở 1 vài đth bị lỗi không tương thích thì mình có điều chỉnh chưa ạ!
support e vụ này ạ! Em cảm ơn

bó tay luôn e ạ, zalo android/ios sdk của họ ko update nữa 😂


text:
Unknown error with agility..?

Could you please pinpoint to me what's causing a crash here? I've made sure my .toml file is valid and everything.
crash-2021-06-18_15.44.40-fml.txt

Provide the config file please.

says github doesn't support .toml
here's a pastebin
https://pastebin.com/NFrZEGJC
the multiple lines are from pastebin; its all one line in my config file

agiliy in "iceandfire:stymphalian_feather_bundle agiliy:6 building:6"

ah, agony.
always one little thing
thanks so much for the catch, my bad for buggin' ya

authors: majikdev thedeerirty

repo: majikdev/rereskillable


text:
Config flow could not be loaded: {"message":"Invalid handler specified"}

Description
After installing the integration and when trying to configure it, an error occurs.
Log from the journal:
2024-12-29 19:59:57.875 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration tuya_local: No module named 'tinytuya'
Steps to reproduce
The system is set to HAOS.
The methods found to solve the problem are only through docker, but I don't have access to it because of this system.
Should I try to reinstall the system or is there some other way?
Expected behaviour
No response
Additional context
System Information

version
core-2024.12.5

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.13.0

os_name
Linux

os_version
6.6.66-haos

arch
x86_64

timezone
Europe/Moscow

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

HACS Data
ok

GitHub API Calls Remaining
4968

Installed Version
2.0.1

Stage
running

Available Repositories
1493

Downloaded Repositories
5

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 14.1

update_channel
stable

supervisor_version
supervisor-2024.12.0

agent_version
1.6.0

docker_version
27.2.0

disk_total
228.5 GB

disk_used
5.6 GB

healthy
true

supported
true

host_connectivity
true

supervisor_connectivity
true

ntp_synchronized
true

virtualization

board
generic-x86-64

supervisor_api
ok

version_api
ok

installed_addons
Mosquitto broker (6.4.1), Terminal & SSH (9.16.0), Zigbee2MQTT (1.42.0-2), Studio Code Server (5.17.3), Home Assistant Google Drive Backup (0.112.1)

Dashboards

dashboards
2

resources
1

views
0

mode
storage

Recorder

oldest_recorder_run
22 декабря 2024 г. в 12:27

current_recorder_run
29 декабря 2024 г. в 19:59

estimated_db_size
6.69 MiB

database_engine
sqlite

database_version
3.45.3

Confirmation

[X] I am sure this is a bug or improvement, that is well enough described that it can be implemented.

[ ] If this is for a specific device, the device config is mentioned above, or diagnostics are included.

[X] Log messages or diagnostics relevant to the issue are included.

[X] This is not requesting addition of a new device.

Why are you reporting this as a bug in the integration?
The dependencies are declared in the manifest, it is a problem of whatever installation method you used or Home Assistant itself if the dependencies do not get installed.

authors: ProgInj make-all

repo: make-all/tuya-local


text:
Request support for Teckin SS42

Tested and working yaml code for Teckin SS42:
name: Smart Outdoor Double plug
primary_entity:
  entity: switch
  class: outlet
  name: Switch 1
  dps:
    - id: 1
      type: boolean
      name: switch
secondary_entities:
  - entity: switch
    class: outlet
    name: Switch 2
    dps:
      - id: 2
        type: boolean
        name: switch
  - entity: number
    category: config
    name: Timer 2
    icon: "mdi:timer"
    dps:
      - id: 101
        type: integer
        name: value
        unit: min
        range:
          min: 0
          max: 86400
        mapping:
          - scale: 60
            step: 60
  - entity: number
    category: config
    name: Timer 1
    icon: "mdi:timer"
    dps:
      - id: 102
        type: integer
        name: value
        unit: min
        range:
          min: 0
          max: 86400
        mapping:
          - scale: 60
            step: 60

Support added in 2023.2.3

authors: drudgebg make-all


text:
problem with flask security

Lúc gửi auth_token để gọi api thì trả về 401, flask security không trả về đúng với 2 dòng 1 và 2. Rõ ràng là trả về đúng user gửi request, token chính xác mà toàn trả other case

nguyên nhân là do việc sử dụng bảng key-value nên khi if user --> gọi len của property --> nếu không có thì trả vê zero --> có lỗi này.

repo: makerhanoi/tagio


text:
To add working steps in Sum of P terms of an AP if Mth and Nth terms are given

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

Hi, I want to work on this issue I will start working on it as soon as I get assigned!! I am a part of GSSoC'21.
Kindly assign this issue to me!
Discord Username : Abhijeet Sinha(P)
Discord Tag: #4018

repo: makesmatheasy/makesmatheasy


text:
Changes in setting section

Issue :

Heading is not visible.
No need of horizontal lines.
Restart statement should be small as a hint.

I would like to work on this. Please assign this to me.

Thanks for showing interest in this project, but today the UI of Project will be changed, so this problem will be fixed. No need for this.


text:
Visualise SNPs and site filters

It would be useful to have some way to visualise SNPs and site filters together, either via IGV or a bokeh plot.

Resolved via #227

repo: malariagen/malariagen-data-python


text:
It's time to support Swift 5.3

See this kind of error
/Users/xxx/Downloads/SwiftDate-master/Package.swift: package at '/Users/xxx/Downloads/SwiftDate-master' is using Swift tools version 5.3.0 but the installed version is 5.2.0

Tag 6.2.0 already support Swift 5.3 (even on master branch)

authors: malcommac swiftyui

repo: malcommac/SwiftDate


text:
Added undo and reset button

#Fixed issue #21
https://github.com/malivinayak/Tic-Tac-Toe/assets/143418802/1e8ff70f-5f1f-48df-bcfd-1328120ad829

@malivinayak  Please ckeck my PR

@Avinash-31 is already working on same at #23
I suggest you introduce a new feature with opening new issue

Closing PR as #23 accepted

[x] #23

authors: Kedarnath-Rothe malivinayak

repo: malivinayak/Tic-Tac-Toe


text:
Finishing of initial version of App

Please check the updates. Note the use of week number in the code base that is unique for any date.

Merge conflict fixes: Changed the position of bars on monthly view in UserInterface.py and tweaked OS (Mac/Linux/Windows) try/catch in MainApp.py

authors: OpenSourceIronman Vlad-AIMaster


text:
Add various ports

This PR adds the following ports

iana-etc, provides /etc/protocols and /etc/services
libgpg-error, required dependency for libgcrypt and friends
libgcrypt
bc, this utility is defined in POSIX as being available, us being POSIX compliant, means we must provide it.
m4, a macro preprocessor, and a required dependency for autoconf and automake

Furthermore, the following ports received updates:

perl, moved to proper category
python, moved to proper category, depend on readline
bash, moved to proper category, depend and use installed readline
readline, a patch was applied to fix the permissions on libreadline.so.8 and friends and to allow the linker to find readline with -lreadline and -lhistory
pcre, overhauled the build system, using an svn repo. This allows pcre to build without patches and produce shared libraries

This pr is part of #33, as it adds a port of m4
For bc to build, this pr in mlibc is required to be merged
For pcre to build, this pr in xbstrap is required to be merged

The PCRE change is blocked on a new release of xbstrap.

Thank you for the PR!

authors: Dennisbonke avdgrinten

repo: managarm/bootstrap-managarm