Support for .robot files

52 views
Skip to first unread message

Mateusz Teodorowicz

unread,
Nov 16, 2021, 1:15:09 PM11/16/21
to Review Board Community
  Hello,

I would like to review Robot Framework files using Review Board. Using demo version (demo.reviewboard.org) I uploaded .robot file and preview of file is visible, I can open it, make comments etc.:
demo.JPG

So I decided to install RB on my own server. Unfortunatelly on my version I can't open .robot files, I can only download it, also preview is empty:
my_server.JPG

Anyone know how to fix it? Thanks in advance


Christian Hammond

unread,
Nov 16, 2021, 6:35:12 PM11/16/21
to revie...@googlegroups.com
Hi Mateusz,

It looks like the file is not being identified properly as a text file. We run `file --mime-type -b <filename>` on the server to try to determine a suitable file type, so it could be that:

1) `file` is not available on the server
2) The mimetype is not coming back as text/* (such as text/plain, text/x-robot, etc.).

What OS is Review Board installed on? Can you see if `file` can be run, and if so, can you try uploading the file to the server and running the above command on it and show me what it says?

Christian

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/e63d4639-0f35-478c-861c-27eb3eb42221n%40googlegroups.com.


--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

Mateusz Teodorowicz

unread,
Nov 17, 2021, 4:23:26 PM11/17/21
to Review Board Community
Hi Christian,

Thank you very much for quick response. You were right, `file` is not available on the server. To run server I used docker-compose from https://github.com/reviewboard/reviewboard/tree/master/contrib/docker/examples/ and I tought every needed packages are installed.

Br,
Mateusz

Christian Hammond

unread,
Nov 17, 2021, 9:11:53 PM11/17/21
to revie...@googlegroups.com
Oh, interesting. I'm surprised that's not included in our images. We'll address that for the 4.0.5 release (overdue, but it's a big release that we're hoping to get out soon).

Christian

Reply all
Reply to author
Forward
0 new messages