poljar / weechat-matrix

Weechat Matrix protocol script written in python
Other
954 stars 119 forks source link

Document how to use matrix_upload #313

Closed jspricke closed 2 years ago

bwkam commented 3 months ago

I still can't understand how to upload files

jspricke commented 3 months ago

@bwkam Can you open an issue and paste what you tried?

bwkam commented 3 months ago

I'm just not sure what the file argument is. Is it a path on my local FS? I'll open an issue, but I thought it wasn't that important.

jspricke commented 3 months ago

Yes, it is a file on the local FS.

bwkam commented 3 months ago

Well, I get this when I try uploading. Error with command 'Error with command 'matrix_upload' It's not installed under PATH perhaps that's why.

jspricke commented 3 months ago

Yes, as documented in https://github.com/poljar/weechat-matrix?tab=readme-ov-file#uploading-files

bwkam commented 3 months ago

Can I debug this further? I'm not very sure if it's a PATH issue For reference, I'm using weechat-matrix from nixpkgs, which seems to expose matrix_upload properly

jspricke commented 3 months ago

I think this is better discussed in a new issue with the nix package.

bwkam commented 3 months ago

Fair, thanks for the help!