primordic/IssueDupesLite huggingface dataset:
Repository: bookshelf/bookshelf

Issue #1018: Relations should be defined on their own sub-object on models
Created: 2015-11-10T12:07:53Z
Instead of defining relations directly on the model object through anonymous function, they should be defined in a sub-object called relations.
The current system of creating model methods with random names causes some problems and has a few shortcomings that have been reported some times: #407, #711, #726, #821, #831, #1007, #1428. Namely, there's the possibility of collisions with names used internally and it's not possible to easily determine programmatically what relations a model has.
Note that currently Model#relations is used to keep track of loaded relations, so that system would have to be revised as well.
With this change, defining relations for a model would look like this:
Model.extend({
  relations: {
    listeners() { return this.hasMany(...) }
  }
});

Duplicate issue #1022: Model ignoring attributes at all
Created: 2015-11-12T12:40:16Z
Hey,
Since two days I´m searching for the Problem.. Here it is:
        var b = Workout.forge({
            test: 'test'
        });
        console.log(b);
The correct Result would be:
ModelBase {
  attributes: { test: 'test' },
  ....
But for my Model SetItem I could do the same but the attributes are everytime empty.
SetItem Model:
    var bookshelf = require('../../config/bookshelf');
    var Checkit = require('checkit');

    require('./set');
    require('./result_unit');

module.exports = bookshelf.model('SetItem', {
        tableName: 'set_items',
        hasTimestamps: true,
        set: function() {
            return this.belongsTo('Set');
        },
        resultUnit: function() {
            return this.belongsTo('ResultUnit');
        },
        validateSave: function() {
            return validationRules.run(this.attributes);
        },
    });
SetItem Controller:
var SetItem = require('../models/set_item');
...
function validateNewResultUnits(sets, req) {
var b = SetItem.forge({
            asdafaafwafwa: 'tzest'
        });
        console.log(b);
...
}
The Database Schema:
    set_items: {
        id: {type: 'increments', nullable: false, primary: true},
        set_id: {type: 'integer', unsigned: true, references: 'id', inTable: 'sets', onDelete: 'CASCADE'},
        result_unit_id: {type: 'integer', unsigned: true, references: 'id', inTable: 'result_units'},
        value: {type: 'integer', nullable: false},
        created_at: {type: 'timestamp', nullable: false},
        updated_at: {type: 'timestamp', nullable: false},
    },
I dont know what is happening here... I checked everything like 20 times...
Thank you very much!

Closing comment (2015-11-12T12:55:55Z): You're overriding the base .set() method in your SetItem model, so when you call forge(), which calls .set() internally, it's using your overridden method instead of the correct method.
You have to name your set relation something else.
A solution to this relatively common problem is being tracked in #1018.
Repository: bookshelf/bookshelf

Issue #435: Can you provide a pagination example?
Created: 2014-07-25T19:27:21Z
A pagination always uses lots of features, because there are two queries involved, in which these concepts are used: filtering, counting, offsetting, limiting
Can you please provide a pagination example somewhere in the docs?
it would help a lot!
I was thinking of something like this:
new db.Log({})
.query(function(qb) {
    //qb.where(..) // some filter
})
.fetch()
.then(function(filteredLogs) {

    var count = filteredLogs.count // **** ???

    new db.Log({})
    .query(function(qb) {
        //qb.where(..) // same filter repeated here
        qb.orderBy('date', 'desc');
        qb.limit(pageSize);
        qb.offset(pageSize * (page - 1));
    })
    .fetch()
    .then(function(logs) {

        res.json({
            "error": false,
            "message": "",
            "page": page,
            "pageSize": pageSize,
            "logsCount": count,
            "totalPages": Math.ceil(count/pageSize),
            "pageOfLogs": logs
        });
    });
});

But I'm not sure about counting... also there is nothing about counting in the docs. In the knex docs they refer to count but it genereates a SQL statement.. so.. yeah, i'm lost, I want the result of that statement, not the statement itself.
Edit: I figured out that I can count with knex like this:
db.knex(new db.Log().tableName)
.where(/* some filter */)
.count()
.then(function(filteredLogs) {

    var count = filteredLogs[0].count

    // I could use bookshelf here, using same filter,
    // but including limit, offset and orderby
});

Is this a good way of doing this? Looks semi ugly

Duplicate issue #893: Knex builder pagination
Created: 2015-09-02T21:33:21Z
Hi, is there some way for make pagination, I need the limit and offset but the total of rows too, may someone help me?

Closing comment (2015-09-03T07:31:31Z): Closed as duplicate. #435
Pro tip: If you had searched instead of posting you would have had your answer 10 hours earlier.
Repository: boot2docker/boot2docker

Issue #634: "boot2docker, please format-me" in docker home directory
Created: 2014-11-17T20:28:49Z
After initializing boot2docker (on WIn7) in /home/docker a file "boot2docker, please format-me" exists.

Is it right, that the file is there?
What should I format? /home/docker?

Duplicate issue #777: "boot2docker, please format-me" in docker home directory
Created: 2015-03-09T10:20:04Z
slightly related to #634
I'm using docker:machine V 0.1.0 on Win 8.1 with hyper-v.
I'm new to docker:machine and machine imo is alpha. So this is probably a newbie problem, but extremely time consuming and frustrating!

I just did create a new VM using docker:machine
The actual version of DM has a bug docker/machine#647 so the creation fails!
I did download a development environment, fixed the bug, built a new windows exe
now the machine create command seems to work ...

... I did enter the vm with machine ssh, I did a ls in the docker home directory, I got boot2docker, please format-me
The result is, that I thought the whole process went wrong! ... Since machine (V0.1.0) is broken at the moment, I did search there, just to find out, it's just a init relict.
For the sake of new users, please fix this.

Closing comment (2015-03-10T03:04:42Z): Yeah, this is due to the way the boot2docker initialization works, and should've been fixed by #651 (ie, not slightly related to #634: literally is #634 resurfaced 👍).
Repository: boot2docker/boot2docker

Issue #715: $(boot2docker shellinit) not working because of white space in certs path name
Created: 2015-01-27T23:56:51Z
I have 2 disks on my mac: Macintosh SSD and Macintosh HDD. Because of this, the $(boot2docker shellinit) is not working properly since white spaces are apparently not escaped.

Duplicate issue #768: Space in home directory
Created: 2015-03-01T16:44:54Z
On OSX, the command "boot2docker shellinit" is failing when my home directory path has a space in it.
tobenhaus-nb:~ kraney$  $(/usr/local/bin/boot2docker shellinit)
Writing /Volumes/600GB SSD/Users/kraney/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /Volumes/600GB SSD/Users/kraney/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /Volumes/600GB SSD/Users/kraney/.boot2docker/certs/boot2docker-vm/key.pem
bash: export: `SSD/Users/kraney/.boot2docker/certs/boot2docker-vm': not a valid identifier

Closing comment (2015-03-03T18:56:01Z): this is a duplicate of #715
Repository: boot2docker/boot2docker

Issue #1398: boot2docker 19.03 image does not automount Users directory w/ Virtualbox 5.x
Created: 2019-08-02T07:39:36Z
The symptom is the same as #1395 , where user directory is not mounted after booting the image. However the underlying cause is not the same.
#1395 indicates a change of VBoxControl automount option, but for this issue, no automount option is involved, and I'm using Docker Toolbox + Virtualbox 5.2.26 under Windows 7.
Reproduction steps

docker-machine start default
ssh into the boot2docker VM
sudo and obtain root privilege
VBoxControl --nologo sharedfolder list

Error output
root@default:~# VBoxControl --nologo sharedfolder list
Shared Folder mappings (2):

VBoxControl: error: Error while getting the shared folder name for root node = 0, rc = VERR_NOT_IMPLEMENTED
VBoxControl: error: Error while getting the shared folder name for root node = 1, rc = VERR_NOT_IMPLEMENTED

I'm aware of recent change in #1396, so removed the --automount option to emphasize it's unrelated.
b5def18#diff-143faf222471f00b186177a1a20ebe0b
Besides, there are 2 combinations where such error would be resolved:

Downgrade boot2docker.iso to 18.09, and use it with Virtualbox 5.2.26
Keep boot2docker.iso 19.03, and upgrade Virtualbox to 6.0.10 (haven't tested earlier 6.0.x versions)

Is this desired behavior? If yes, is there any need to really stress (and document the situation) that boot2docker.iso and Virtualbox versions must match?

Duplicate issue #1400: HOST HOME dir not automounted!!!
Created: 2019-08-12T10:24:07Z
according to DOC, host home dir will auto mount to vm , but not !!!
version

docker-machine version 0.16.1, build cce350d7
boot2docker: v19.03.1
host: linux kernel-4.19.57

bug
Command: docker-machine create -d virtualbox test-vm1
docker-machine ssh test-vm1

according to DOC，home will auto mount, but not!
use docker-machine mount：issue - You must have a copy of the sshfs binary locally to use the mount feature!

Does sshfs affect home dir auto mount?

Closing comment (2019-08-12T15:50:35Z): Duplicate of #1398
Repository: boot2docker/boot2docker

Issue #1187: How to Scan boot2docker VM for Malware's/ Virus ??
Created: 2016-08-01T14:06:12Z
How to can boot2docker VM for Malware's/ Virus . ??
I am trying to install clamav antivirus but clamav installation is failing.

Duplicate issue #1186: How to Scan boot2docker VM for Malware's/ Virus ??
Created: 2016-08-01T14:06:11Z
How to can boot2docker VM for Malware's/ Virus . ??

Closing comment (2016-08-02T06:30:14Z): Closing duplicate of #1187
Repository: boot2docker/boot2docker

Issue #581: 1.3.0 - Only root can write to OSX volumes / Can't change permissions within
Created: 2014-10-20T01:30:09Z
Currently only root inside the container is able to modify mounted volumes. Also permissions changed from within have no effect. I'm unsure as to whether cannot be managed dynamically on the blog post refers to any of this.
I would suggest updating the readme to let users know about the existence of native support for volumes and also its limitations (especially if this is one of them).

Duplicate issue #1101: Docker Data Volumes on OSX and boot2docker
Created: 2015-12-07T22:44:38Z
I am not able to mount the data volume from my host system
// On OSX
$pwd 
/Users/rjain/code/mongo/data

// This gives the OSX host file system
$docker-machine ssh default sudo ls /Users/rjain/code/mongo/data

// This exits out
$docker run --name mongo -v $(pwd):/data/db -d mongo

$docker log mongo
2015-12-07T22:39:17.459+0000 I STORAGE  [initandlisten] exception in initAndListen: 98 Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating
2015-12-07T22:39:17.459+0000 I CONTROL  [initandlisten] dbexit:  rc: 100

I can ssh into boot2docker vm and create a file in the directory.
What am I doing wrong?
Version of docker cli and boot2docker
Docker version 1.9.1, build a34a1d5
Thanks, Rajesh

Closing comment (2015-12-07T22:50:44Z): Probably a duplicate of #581, see that discussion for possible workarounds; basically, it's a limitation in the way Virtual Box shared directories work :/
Repository: bottlesdevs/Bottles

Issue #2054: [Crash report]  Destination path '/mnt/hd1/Program
Created: 2022-09-12T16:32:36Z
This crash report was generated by Bottles.
Details

package: Other
version: 2022.8.28-brescia-2

Log
Destination path '/mnt/hd1/Programs/AppsRunners/Bottles/Game-[Hard]/cache/gl_shader/GLCache' already exists  File "/usr/share/bottles/bottles/frontend/utils/threading.py", line 63, in __target
    result = self.task_func(*args, **kwargs)

  File "/usr/share/bottles/bottles/frontend/windows/main_window.py", line 204, in get_manager
    mng = Manager(window=window, repo_fn_update=repo_fn_update)

  File "/usr/share/bottles/bottles/backend/managers/manager.py", line 136, in __init__
    times.update(self.checks(install_latest=False, first_run=True))

  File "/usr/share/bottles/bottles/backend/managers/manager.py", line 193, in checks
    self.check_bottles()

  File "/usr/share/bottles/bottles/backend/managers/manager.py", line 841, in check_bottles
    process_bottle(b)

  File "/usr/share/bottles/bottles/backend/managers/manager.py", line 834, in process_bottle
    shutil.move(os.path.join(_bottle, c), os.path.join(_bottle, "cache", "gl_shader"))

  File "/usr/lib/python3.10/shutil.py", line 813, in move
    raise Error("Destination path '%s' already exists" % real_dst)

Duplicate issue #2092: [Crash report]  Destination path '/home/USER/Games
Created: 2022-09-20T15:42:57Z
This crash report was generated by Bottles.
Details

package: Other
version: 2022.8.28-brescia-2

Log
Destination path '/home/USER/Games/bottles/League-of-Legends/cache/dxvk_state/LeagueClientUxRender.dxvk-cache' already exists  File "/usr/share/bottles/bottles/frontend/utils/threading.py", line 63, in __target
    result = self.task_func(*args, **kwargs)

  File "/usr/share/bottles/bottles/frontend/windows/main_window.py", line 204, in get_manager
    mng = Manager(window=window, repo_fn_update=repo_fn_update)

  File "/usr/share/bottles/bottles/backend/managers/manager.py", line 136, in __init__
    times.update(self.checks(install_latest=False, first_run=True))

  File "/usr/share/bottles/bottles/backend/managers/manager.py", line 193, in checks
    self.check_bottles()

  File "/usr/share/bottles/bottles/backend/managers/manager.py", line 841, in check_bottles
    process_bottle(b)

  File "/usr/share/bottles/bottles/backend/managers/manager.py", line 830, in process_bottle
    shutil.move(os.path.join(_bottle, c), os.path.join(_bottle, "cache", "dxvk_state"))

  File "/usr/lib/python3.10/shutil.py", line 813, in move
    raise Error("Destination path '%s' already exists" % real_dst)

Closing comment (2022-09-20T20:38:21Z): duplicate of #2054
Repository: bottlesdevs/Bottles

Issue #517: [BUG] Can't create file path when installing dependencies
Created: 2021-09-05T01:59:42Z
Describe the bug
Installing dependencies seems to silently fail with the "can't create file path" error, while the GUI download indicators keep running till I manually terminate the application. Installing runners works fine so I don't think this is a permission issue.
/home/~~/.local/share/bottles/temp/georgi32.exe/fontinst.exe: can't create file path 
2021-09-05 08:51:36 WARNING: File [impact32.exe] already exists in temp, skipping.
/home/~~/.local/share/bottles/temp/impact32.exe/fontinst.exe: can't create file path

Installation

Method: AUR/AppImage (both have this problem)
Version: 2021.8.28

Desktop (please complete the following information):

OS: EndeavourOS
Version: rolling

Duplicate issue #520: [Crash report] 
Created: 2021-09-06T15:57:39Z
This crash report was generated by Bottles.
Details

package: Flatpak
version: 2021.8.28-treviso-2

Log
[Errno 2] No such file or directory: '/home/USER/.var/app/com.usebottles.bottles/data/bottles/temp/arial32_exe/Ariali.TTF'  File "/app/share/bottles/bottles/utils.py", line 277, in __target
    result = self.task_func(*args, **kwargs)

  File "/app/share/bottles/bottles/backend/dependency.py", line 196, in async_install
    self.__step_install_fonts(

  File "/app/share/bottles/bottles/backend/dependency.py", line 534, in __step_install_fonts
    shutil.copyfile(

  File "/usr/lib/python3.8/shutil.py", line 264, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:

Closing comment (2021-09-06T19:23:44Z): Duplicate of #517
Repository: bottlesdevs/Bottles

Issue #1503: [Crash report]  name 'logging' is not define
Created: 2022-05-22T14:14:01Z
This crash report was generated by Bottles.
Details

package: Flatpak
version: 2022.5.14-trento-3

Log
name 'logging' is not defined  File "/app/share/bottles/bottles/utils/threading.py", line 64, in __target
    result = self.task_func(*args, **kwargs)

  File "/app/share/bottles/bottles/backend/managers/component.py", line 370, in install
    return func(failed=True)

  File "/app/share/bottles/bottles/widgets/component.py", line 137, in update_status
    logging.error(f"Task {task_id} failed")

Duplicate issue #1506: [Crash report]  name 'logging' is not define
Created: 2022-05-23T09:06:02Z
This crash report was generated by Bottles.
Details

package: Other
version: 2022.5.14-trento-3

Log
name 'logging' is not defined  File "/usr/share/bottles/bottles/utils/threading.py", line 64, in __target
    result = self.task_func(*args, **kwargs)

  File "/usr/share/bottles/bottles/backend/managers/component.py", line 370, in install
    return func(failed=True)

  File "/usr/share/bottles/bottles/widgets/component.py", line 137, in update_status
    logging.error(f"Task {task_id} failed")

Closing comment (2022-05-23T09:54:24Z): Duplicate of #1503
Repository: bottlesdevs/Bottles

Issue #283: [Request] Adding a loading screen
Created: 2021-05-21T14:08:11Z
As discussed, we should add a loading screen for slower systems, on terminal I can see it connecting but on GUI it is more like what is happening for approx "6 seconds" (for a normal/average user's eye). On my main system too it is about 3-4 seconds..
As an example we can have it minimal and similar to a very light loading screen in lutris -

Duplicate issue #1193: [Request]: Progress window when starting bottles
Created: 2022-03-15T15:17:31Z
Tell us the problem or your need
I realized that when launching bottles through command line it does some checks, and if its the first time it downloads some things, but the GUI doesn't appear after seconds or even minutes, making the user think bottles crashed or its not loading.
Describe the solution you'd like
I think adding a progress bar of these checks/downloads right after the user launches bottles will improve the user experience, because the user receives the feedback that bottles has launched and that something is happening.
Other solutions?
No response
Additional context and references
This happened to me when I first installed it through flatpak,  I thought bottles wasn't working until I launched it through the command line and saw that it was indeed launching but it was doing other things before showing the GUI.

Closing comment (2022-03-15T15:26:29Z): Maybe duplicate of #283
Repository: bottlesdevs/Bottles

Issue #784: [BUG] The first startup freeze on download process
Created: 2021-12-14T00:48:47Z
Describe the bug
The first startup freeze on download process and show up error on terminal.
ERROR Error while running async job: <bound method Manager.checks of <bottles.backend.manager.Manager object at 0x7fdd61c608b0>>
Exception: checks() got an unexpected keyword argument 'after' 
  File "/app/share/bottles/bottles/utils.py", line 335, in __target
    result = self.task_func(*args, **kwargs)

Installation

Method: Flatpak
Version 2021.12.14-treviso

To Reproduce
Steps to reproduce the behavior:

Install Bottles
Open Bottles
Click Install in the welcome window

or

Remove Bottles directory rm -rf ~/.var/app/com.usebottles.bottles
Open Bottles
Click Install in the welcome window

Expected behavior
Download the runners and allow create bottles
Desktop (please complete the following information):

OS: Fedora
Version: 35
Display server: Wayland

Duplicate issue #828: [Crash report]  checks() got an unexpected keyword argument 'after'
Created: 2021-12-20T01:42:48Z
This crash report was generated by Bottles.
Details

package: AppImage
version: 2021.12.14-treviso

Log
(20:41:00) INFO Performing Bottles checks... 
(20:41:00) INFO Runners found:
	 - sys-wine-5.0
 
(20:41:02) INFO Bottles Started! 
(20:42:20) ERROR Error while running async job: <bound method Manager.checks of <bottles.backend.manager.Manager object at 0x7fe231f89be0>>
Exception: checks() got an unexpected keyword argument 'after' 
  File "/tmp/.mount_BottleGjSVtO///usr/local/share/bottles/bottles/utils.py", line 335, in __target

Closing comment (2021-12-20T06:12:48Z): Duplicate of #784
Repository: bottlesdevs/Bottles

Issue #1774: [Crash report] Startup screen never proceeds after updating to 2022.7.14-brescia
Created: 2022-07-14T17:45:14Z
This crash report was generated by Bottles.
Details

package: Flatpak
version: 2022.7.14-brescia

Log
one of the hex, bytes, bytes_le, fields, or int arguments must be given  File "/app/share/bottles/bottles/utils/threading.py", line 62, in __target
    result = self.task_func(*args, **kwargs)

  File "/app/share/bottles/bottles/window.py", line 234, in get_manager
    mng = Manager(window=window, repo_fn_update=repo_fn_update)

  File "/app/share/bottles/bottles/backend/managers/manager.py", line 133, in __init__
    times.update(self.checks(install_latest=False, first_run=True))

  File "/app/share/bottles/bottles/backend/managers/manager.py", line 190, in checks
    self.check_bottles()

  File "/app/share/bottles/bottles/backend/managers/manager.py", line 813, in check_bottles
    process_bottle(b)

  File "/app/share/bottles/bottles/backend/managers/manager.py", line 745, in process_bottle
    uuid.UUID(k)

  File "/usr/lib/python3.9/uuid.py", line 171, in __init__
    raise TypeError('one of the hex, bytes, bytes_le, fields, '

Duplicate issue #1782: [Crash report]  one of the hex, bytes, byt
Created: 2022-07-15T04:05:10Z
This crash report was generated by Bottles.
Details

package: Flatpak
version: 2022.7.14-brescia-1

Log
one of the hex, bytes, bytes_le, fields, or int arguments must be given  File "/app/share/bottles/bottles/utils/threading.py", line 62, in __target
    result = self.task_func(*args, **kwargs)

  File "/app/share/bottles/bottles/window.py", line 234, in get_manager
    mng = Manager(window=window, repo_fn_update=repo_fn_update)

  File "/app/share/bottles/bottles/backend/managers/manager.py", line 133, in __init__
    times.update(self.checks(install_latest=False, first_run=True))

  File "/app/share/bottles/bottles/backend/managers/manager.py", line 190, in checks
    self.check_bottles()

  File "/app/share/bottles/bottles/backend/managers/manager.py", line 813, in check_bottles
    process_bottle(b)

  File "/app/share/bottles/bottles/backend/managers/manager.py", line 745, in process_bottle
    uuid.UUID(k)

  File "/usr/lib/python3.9/uuid.py", line 171, in __init__
    raise TypeError('one of the hex, bytes, bytes_le, fields, '

Closing comment (2022-07-15T05:52:47Z): Duplicate of  #1774
Repository: bottlesdevs/Bottles

Issue #748: [Crash report]  cabextract utility not found, 
Created: 2021-11-26T14:29:57Z
This crash report was generated by Bottles.
Details

package: Other
version: 2021.11.14-treviso

Log
cabextract utility not found, please install to use dependencies which need this feature

Duplicate issue #985: [Crash report]  cabextract utility not found, 
Created: 2022-01-28T21:50:36Z
This crash report was generated by Bottles.
Details

package: Other
version: 2022.1.14-trento

Log
cabextract utility not found, please install to use dependencies which need this feature

Closing comment (2022-01-28T22:08:29Z): Duplicate of #748
Repository: bottlesdevs/Bottles

Issue #2571: [Bug]: Bottles ran the software (OpenMPT) fine the first time. When restarting it just froze...
Created: 2023-01-18T16:34:03Z
Describe the bug
Bottles ran the software (OpenMPT) fine the first time. When restarting it just froze - when shutting down bottles and restarting it again it gave the error message pasted below.
To Reproduce

Install OpenMPT
Run it once
In OpenMPT setup screen set to use Wine option
restart Bottles.

Package
Flatpak from Flathub
Distribution
Kubuntu 22.04
Troubleshooting Logs
'Result' object has no attribute 'get'  File "/app/share/bottles/bottles/frontend/utils/threading.py", line 63, in __target
    result = self.task_func(*args, **kwargs)

  File "/app/share/bottles/bottles/backend/wine/wineboot.py", line 26, in send_status
    if status == 0 and not WineServer(self.config).is_alive():

  File "/app/share/bottles/bottles/backend/wine/wineserver.py", line 24, in is_alive
    if not config.get("Runner"):
Additional context
No response

Duplicate issue #2775: Crash report 'Result' object has no attribute 'get'
Created: 2023-03-05T08:01:59Z
Describe the bug
I received a crash report
To Reproduce
no idea
Package
Flatpak from Flathub
Distribution
Fedora 37
Debugging Information
Official Package: true
Version: '50.2'
DE/WM: xfce
Display:
    X.org: true
    X.org (port): :0.0
    Wayland: false
Graphics:
    vendors:
        intel:
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_icd.i686.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.1.14-200.fc37.x86_64
Disk:
    Total: 8251699200
    Free: 8251539456
RAM:
    MemTotal: 15.4GiB
    MemAvailable: 12.8GiB
Troubleshooting Logs
'Result' object has no attribute 'get'  File "/app/share/bottles/bottles/frontend/utils/threading.py", line 63, in __target
    result = self.task_func(*args, **kwargs)

  File "/app/share/bottles/bottles/backend/wine/wineboot.py", line 26, in send_status
    if status == 0 and not WineServer(self.config).is_alive():

  File "/app/share/bottles/bottles/backend/wine/wineserver.py", line 24, in is_alive
    if not config.get("Runner"):
Additional context
No response

Closing comment (2023-03-05T08:03:35Z): probably a duplicate of #2571
Repository: bufbuild/buf

Issue #3060: Support per-module generation config
Created: 2024-06-08T20:27:30Z
Feature
My current setup is working with the v1 config, although there is some hackery required. I was hoping that moving to config v2 would help, but it seems that I'm still stuck.
My scenario is that I have custom proto annotations and a protoc plugin. The plugin parses an annotated resource proto files and generates gRPC service protos. With my v1 configuration, I have to comment out my custom plugin on the first call to buf generate so that the annotation golang code is available for the plugin. After that I can run buf generate to finish the job. This seems to work, albeit a bit ugly.
I was hoping that v2 and the "modules" abstraction would help here. However I don't see a way to configure generation per module. Ideally, I'd have a separate configuration for the annotations (just protoc) and a separate config for the rest of the protos that uses the custom plugin among others (grpc, etc.).
Perhaps this feature already exists and I just missed the docs?

Duplicate issue #854: Add support for name filtering in `buf generate` command
Created: 2022-01-14T15:04:46Z
If I have multiple generators defined in my buf.gen.yaml, sometimes I want only to launch a subset of the generators. Could it be possible for the buf generate command to accept a name option/filter that will only select a subset of the generators defined in the config file or pass through the template option?

Closing comment (2024-06-10T20:56:14Z): Closing this issue as a duplicate of #3060 to consolidate discussion on supporting plugin configurations on a per module/input basis.
Repository: bufbuild/buf

Issue #11: Feature request: protobuf file formatter.
Created: 2019-12-18T16:21:48Z
https://github.com/uber/prototool has updated their readme to redirect users to buf (uber/prototool@71e91a9). Which somewhat implies the eventual death of prototool, which means the death of some features that buf is missing (intentional or not).
buf's current position on formatting proto files is that it's outside of the scope of the tool, or currently more troublesome than the value of the feature: https://buf.build/docs/lint-checkers#formatting
This is a fine position, but I think it's worth tracking an issue against this for whenever someone takes on a "correct" parsing & formatting implementation.

Duplicate issue #178: feedback: Protobuf formatting
Created: 2020-11-02T16:47:03Z
https://docs.buf.build/lint-checkers#formatting outlines why buf today doesn't support formatting (mentioning to flag that I have seen/read this)
I think these points are all valid, especially the third point about parsers - however I would argue this makes buf not a complete replacement for prototool: there is a lot of demand these days for unified language formatting (cargo-fmt in Rust, go fmt, zig fmt, clang-format, etc.) and I think buf would be the right place for offering this - even if it is optional, mentions there are cases where it doesn't work, and even not recommended by default.
If buf doesn't provide it, I think people will reach for prototool format (I personally will) and, longer-term, push for a different protobuf formatter - I think buf would be in the unique position of offering a complete, holistic, unified experience for working with Protobuf though.
Totally understand this is not on immediate roadmap / goal, but curious to hear about long-term direction here and if something like a PR for buf fmt as a direct copy of what prototool format today does would be welcomed or not.

Closing comment (2020-11-02T16:49:33Z): Buf's goal is not meant to be a prototool replacement. Formatting is hard - there's lots of attempts out there, but no one does it correctly, as that document outlines. This is on our roadmap, but not a high priority. We'll get to it when we can. Duplicate of #11.
Repository: bufbuild/buf

Issue #2393: buf breaking - Better UX around proto3 optional fields
Created: 2023-08-22T17:37:33Z
Running breaking change detection with FILE rules, if a proto3 optional field is moved into a oneof, buf breaking correctly identifies the incompatible change, however the error messages can be a bit confusing unless someone is aware of the implementation of optionals (i.e., via a synthetic oneof).
For a message:
message Msg {
  optional int32 foo = 1;
}
... changing it to:
message Msg {
  oneof bar {
    int32 foo = 1;
  }
}
... results in the following error messages:
Error: Previously present oneof "_foo" on message "Msg" was deleted.
Error: Field "1" on message "Msg" moved from oneof "_foo" to oneof "bar".

A better message could combine the two and should probably mention the optional keyword rather than the synthetic _foo oneof:
Error: Field "1" on message "Msg" changed from optional to a member of oneof "bar"

Related: #1906

Duplicate issue #1906: Buf build reports adding "optional" as breaking change
Created: 2023-03-10T11:11:58Z
We've got the following
$ cat cat proto/antispamtextcheck.proto
syntax = "proto3";

package com.bumble.contract.service;

message CheckTextRequest {
  int64 collective_id = 2; // we will make it "optional int64 collective_id = 2;" later
}
buf build -o old.bin proto/

If we add "optional" we will get a really confusing error:
buf breaking --against old.bin proto
proto/antispamtextcheck.proto:6:3:Field "2" on message "CheckTextRequest" moved from outside to inside a oneof.
According to protobuf folks, adding "oneof"  is fine (link: protocolbuffers/protobuf#10822)
However, if we consider this as indeed a breaking change, it looks like we can detect that this is not "oneof" (which isn't clear for users) but rather the usage of field presence. So, we can change the error message to make it clear. e.g.

Field "2" on message "CheckTextRequest" became "optional" which internally moves it inside a oneof

If possible, it would be great if we could make this particular check disableable, because in our case this is absolutely fine

Closing comment (2024-06-13T21:06:11Z): Closing this as a "duplicate" of #2393 - subscribe to that issue to follow along on our progress, they're both the same issue effectively.
Repository: bufbuild/buf

Issue #2070: Add github-actions error-format
Created: 2023-05-11T14:42:23Z
Currently, Buf GitHub actions steps parses the CLI output.
https://github.com/bufbuild/buf-lint-action/blob/eb3d81d31cf26ca507ffc24e1132cff1f3c29e95/src/run.ts#L131
I would like to have --error-format=github-actions in the CLI (just like golangci )
In my case, I have a custom github-actions step that uses the CLI directly, and I don't want to parse the output myself.

Duplicate issue #2071: buf breaking - allow empty source.
Created: 2023-05-11T14:49:27Z
Currently, when running buf breaking --against .git#branch=main against a branch w/o proto files results in the following error
Failure: no .proto target files found
This means that for new repositories, I can add buf breaking to the CI only after we merged at least 1 proto file.
I would like to have the option to emit this error (something like buf breaking --allow-empty-source --against <source>)

Closing comment (2023-05-11T21:37:26Z): Another note: I assume this issue is related to #2070. The mitigation here is to implement the if 0 .proto files -> do not run buf breaking as part of your GitHub Action.
Repository: bufbuild/buf

Issue #1557: Allow specifying a command line instead of just a path for plugins in `buf.gen.yaml`
Created: 2022-11-02T18:57:34Z
It would be neat if the path of a plugin could also include some arguments, so that it would be possible to do
plugins:
  - name: go
    path: ["go", "run", "google.golang.org/protobuf/cmd/protoc-gen-go"]
    out: gen/proto
    opt: paths=source_relative
to always run the version of protoc-gen-go that matches the google.golang.org/protobuf in use (as specified by go.mod).

Duplicate issue #1462: Allow specifying `protoc` path in `buf.gen.yaml` for built-in plugins
Created: 2022-10-04T11:10:30Z
Currently, there is no way for the plugins built into protoc (java, cpp, python, etc) to override in buf.gen.yaml what protoc to point to, as confirmed in #1155 (comment).
My use case, which I believe isn't that uncommon, is to publish protobuf+gRPC stubs for Python using multiple version for legacy clients. While path works fine for gRPC plugins, there is no way to swap protoc for protobuf bindings.
version: v1
plugins:
  - name: python
    path: /usr/bin/protoc-3.7    # fails
    out: out/python-legacy
  - name: grpc-python-1.32       # works fine
    out: out/python-legacy
Failure: plugin python: proto: cannot parse invalid wire-format data; proto: cannot parse invalid wire-format data

There are multiple workarounds suggested in #1155 but neither scales well for huge and already-established workspaces.
Also, in #1155:

The solution long-term is likely that the builtin plugins are moved out of protoc, which it appears the Google team is working on, so we probably won't add anything more here.

Can't be a solution for a production-grade tool, as it simply won't work for older plugins, which is a primary use case to support legacy clients.
Neither can remote plugin execution be an all-round solution as many enterprises can't allow exposing *.proto files for remote code generation nor/and have external dependencies which cannot be easily mirrored nor official plugins have older protoc/grpc version (see #1289). I've also heard api.buf.build may not be available in China.

Closing comment (2023-01-14T18:57:08Z): This seems like something we should add as an option. My proposal is that we add:
type ExternalPluginConfigV1 struct {
  ...
  ProtocPath string `json:protoc_path,omitempty" yaml:"protoc_path,omitempty"`
}

In private/buf/bufgen/bufgen.go. Then:

Add this to PluginConfig as well, and weave this through parsing. You'll need to make sure this is unset by extending checkPathAndStrategyUnset to also check ProtocPath.
Add a new appprotoexec.GenerateWithProtocPath option. There is already a appprotoexec.HandlerWithProtocPath option. Weave this through - there is already handling for this in the Handler.
Weave this through the generator type in bufgen. You'll just need to call the new appprotoexec.GenerateWithProtocPath option.
Testing.
Documentation.

Implementation similar to #1557 (comment).
Repository: bufbuild/buf

Issue #541: Improve remotely generated plugin errors UX
Created: 2021-09-11T20:02:23Z
This is what an error in a remote plugin invocation looks like:
$ buf generate
Failure: failed to generate plugins concurrently: failed to execute plugins concurrently: failed to generate files for remote "buf.build": failed to generate files for given image: Plugin exited with non-zero status 1: --ruby_out: bla.proto: proto3 message field bla in file google/protobuf/compiler/plugin.proto has a dependency on a type from proto2 file google/protobuf/compiler/plugin.proto.  Ruby doesn't support proto2 yet, so we must fail.
exit status 1
exit status 1
.

Duplicate issue #559: Fix error message "failed to generate plugins concurrently"
Created: 2021-09-16T15:03:31Z
Failure: failed to generate plugins concurrently: failed to create handler: could not find protoc plugin for name debug
The error should just be could not find protoc plugin for name debug. #500 introduced additional error wrapping, we should remove it

Closing comment (2021-09-16T15:04:09Z): Dupe of #541?
Repository: bufbuild/buf

Issue #29: Custom and configurable lint rules
Created: 2020-02-19T16:52:09Z
Do you have any plans to make it easier to contribute or load (private) custom lint checkers?
I really like where buf is going, but the lint-rules are already too rigid. E.g. I want to use the PACKAGE_VERSION_SUFFIX but we have a v1experimental convention it doesn't support and we need the flexibility to change it to something else in the future.
We also have specific needs covering which options are required (e.g. c# namespaces etc.)
Even more, we have an ambitious style guide which I would like to encode in automatic rules. Things ranging from what to name fields, which annotations to use etc.
Without built-in support for loading extensions, my options might be to either fork buf or try to find a different tool.
I have similar concerns about the bc checks.

Duplicate issue #993: Custom lint rule - Force specific custom method option on rpc methods
Created: 2022-03-10T16:42:10Z
Hi
We would like to add a linter that would make sure we didnt forget adding a custom method option to our methods in a specific proto file.
service Users {
    rpc InviteUser(InviteUserRequest) returns (User) {
       option (internal.authz) = {scopes: ["user.write"]}; // <---- I want to verify this exists on all methods in this service
    }
}
Any suggestions how to approach this?

Closing comment (2022-03-10T18:26:52Z): This is a duplicate of #29 - we don't plan to support custom lint rules.
As for how to go about this in general, you can write a simple linter as a Protobuf plugin (like we do with protoc-gen-buf-lint) and invoke it with a buf.gen.yaml specifically tailored to linting. We'll name it buf.gen.lint.yaml for clarity.
For example,
# buf.gen.lint.yaml
version: v1
plugins:
  - name: custom-lint # This assumes your plugin is named 'protoc-gen-custom-lint'.
    out: .
$ buf generate --template buf.gen.lint.yaml
In your case, the plugin would be simple - iterate over each of the rpc definitions, and verify that the custom option is set. You'll need to compile the custom option definition into the plugin implementation (so that you can recognize when the option is set).
A lot of this is actually described in our API Specifications Conference tutorial here. Check it out and hopefully that helps you get started!
Repository: bufbuild/buf

Issue #1407: Provide better support for imports at the plugin level
Created: 2022-09-15T18:36:53Z
Currently, the Buf CLI provides options for include-imports and include-wkt, which handles the generation of imports and WKT.
      --include-imports        Also generate all imports except for Well-Known Types.
      --include-wkt            Also generate Well-Known Types. Cannot be set without --include-imports.
However, because this is at the command level, this will be applied to every plugin in buf.gen.yaml, which works fine for some languages (such as JS) but can be problematic for languages such as Go because of how go_package works.
A better approach might be to move these commands inside buf.gen.yaml and scoped to individual plugins. That way, each plugin can be told what files to generate code for independently.
For further context and a real-world example of the difficulties this causes, see connectrpc/connect-es#262.

Duplicate issue #1424: Support inputs in buf.gen.yaml
Created: 2022-09-21T04:02:38Z
Usage Scenario
Generate multiple BSR modules
buf generate buf.build/googleapis/example1
buf generate buf.build/googleapis/example2
buf generate buf.build/googleapis/example3

Expected

Support multiple input modules

buf generate buf.build/googleapis/example1 \
             buf.build/googleapis/example2 \
             buf.build/googleapis/example3

Support config in buf.gen.yaml

version: v1
plugins:
  - name: xxx
modules:
  - buf.build/googleapis/example1
    buf.build/googleapis/example2
    buf.build/googleapis/example3
buf generate

Closing comment (2023-03-28T09:23:29Z): Another use case (similar to #1407) would be to allow type filtering and (a new feature) option redaction at the plugin level. The latter would be useful to omit certain options from generated code in order to not ship them in a frontend bundle (bufbuild/protobuf-es#397).
Repository: c3js/c3

Issue #2501: zoom.type = "drag" and tooltips not working together
Created: 2018-10-08T09:26:59Z
To reproduce go to the https://c3js.org/samples/interaction_zoom.html and change:
    zoom: {
        enabled: true,
        type: "drag"
    }
After that note that tooltips are no longer displayed when hovering over data points.

Duplicate issue #2637: Tooltip bug on zoom-drag
Created: 2019-07-05T13:24:39Z
Losing tooltip bug.   The option zoom:{enabled:true,type:'drag'} is in conflict with tooltip:{show:true}.
Simple test: at the zoom-drag illustrated by this sample, you can add tooltip option in it.


C3 version: 0.7.1
D3 version: 5.9.7
Browser: Firefox v64.0
OS: Windows v10

Closing comment (2019-08-02T08:28:14Z): Duplicate of #2501
Repository: c3js/c3

Issue #402: Fill between lines
Created: 2014-06-28T08:16:29Z
Hi,
I have a request for an addition to the linechart. I would like to have an option to fill the area between 2 lines. See the example from this jqplotchart (http://www.jqplot.com/deploy/dist/examples/fillBetweenLines.html)
Thanks in advance.
Regards
Paul

Duplicate issue #524: Request for feature: fill between 2 lines
Created: 2014-08-29T12:45:54Z
It would be nice if c3 can fill area between 2 lines. For example this can be used to show as error bar information.

Picture generated using amChart library.

Closing comment (2014-09-09T13:02:10Z): This is a duplicate of #402
Repository: c3js/c3

Issue #637: Firefox Linux Tooltip Performance Issue
Created: 2014-10-21T07:55:53Z
We have found a problem in Firefox on Linux.   It does not affect Chrome on the same OS.   We have tested nvidia drivers + intel.  On Windows and Mac all browsers are quick.
The problem is that the tooltip doesnt update very often.  Maybe once every 2 seconds or so compared to real time on Chrome or none Linux operating systems.  This makes c3 feel very slow.

The issue appears to be in the getMaxTickWidth().  Also if the graph contains all 0s the toolips are quick, which is strange.
We have tested Linux Mint 17, Ubuntu 14.04.1 and Gentoo distributions and all are affected with Firefox.  We have tested Firefox 27 -> 33.
I have a profile json file from Firefox 33.0 but I cannot attach it to this issue. (only images are allowed).
Any help or ideas to check would be great.
Thanks
Neil

Duplicate issue #673: Rendering tooltips are slow in Firefox
Created: 2014-11-01T15:18:21Z
I have a chart with a rather large dataset, and while hovering over the chart in Firefox the tooltips seems rather slow. Chrome has no issues rendering them.

Closing comment (2014-11-03T16:10:12Z): I think this is duplicate of #637 , so please let me close. Btw, I've already fixed it in this issue, so please try the latest code again.
Repository: c3js/c3

Issue #1648: D3 4.0 compatibility
Created: 2016-04-11T22:40:04Z
Is there compatibility with D3 4.0?

Duplicate issue #1776: d3 v4
Created: 2016-07-21T21:21:33Z
Is c3js getting d3 v4 support? In the future? yes? no?

Closing comment (2016-09-14T14:50:22Z): Closing as duplicate of #1648. Please search before opening new issues.
Repository: c3js/c3

Issue #121: New chart type request: candlestick charts
Created: 2014-04-03T18:04:07Z
I think it would be useful to have a type of timeseries chart that renders as a candlestick chart.  The config could look something like this
var chart = c3.generate({
    data: {
        x: 'x',
        columns: [
            ['x', '2013-01-01', '2013-01-02', ...],
            ['data1', {high: 10, low: 4, open: 9, close: 8}, ...]
        ]
    },
    axis: {
        x : {
            type: 'timeseries'
        }
    }
}

Duplicate issue #1680: Feature Request: Candlestick Charts 
Created: 2016-05-02T15:34:08Z
Candlestick Charts would be an awesome add on.

Closing comment (2018-08-08T07:11:49Z): duplicate of #121
Repository: c3js/c3

Issue #1079: Overlapping bars
Created: 2015-03-25T13:44:30Z
Sometimes the bars of a bar chart can overlap:

JSFiddle where this can be reproduced on all the major browsers:

http://jsfiddle.net/27g7xzwb/

Steps to reproduce:

Double click an item on the legend, effectively disabling and re-enabling one of the columns before the animation has time to complete.

Whilst the above screenshot is not too dramatic, in practice the overlapping bars can result in completely hidden data, as demonstrated by the two images below. (The light grey bar is hidden behind the dark grey bar.)
 vs.

Duplicate issue #1989: labels overlap in stacked bar chart
Created: 2017-03-10T04:57:50Z
I am facing issue to display the data labels as the labels are getting overlapped in case of stacked bar chart

Closing comment (2018-03-24T09:21:48Z): No response from submitter and probably duplicate of #1079.