Commit Graph

146 Commits

Author SHA1 Message Date
harlekin
2f9afc1fc3 Merge branch 'early_client_errors_on_connection_issue' into 'master'
Clean working directory after fetching the config

See merge request sheepitrenderfarm/client!111
2022-03-13 12:26:11 +00:00
Grische
52993c3f16 Clean working directory after fetching the config 2022-03-13 12:26:11 +00:00
DaCool
fe39f289e2 Include more possible errors and revise NO_SPACE_LEFT_ON_DEVICE error 2022-03-11 14:02:22 +00:00
Sheepit Renderfarm
27d2e149af Cleanup: since the v7.1 extras is not used anymore 2022-03-08 16:01:27 +00:00
Sheepit Renderfarm
f48b5f541a Fix: nullpointerexception 2022-01-03 21:27:16 +00:00
DaCool
27d992f485 Cache jarVersion and let it complain only once 2021-12-30 17:46:20 +00:00
harlekin
6da387a288 fixed render hanging on non-latin locales 2021-12-21 13:50:28 +00:00
harlekin
810253731d dont count test frames 2021-12-21 10:02:32 +00:00
DaCool
1969f57da3 Add Ram Usage Detector 2021-11-16 14:51:53 +00:00
DaCool
ac4592bb09 Adjust conditions to code conventions 2021-10-02 19:56:54 +00:00
Bryan Stenson
b97054738b Ref: remove redundant '== true' when comparing booleans 2021-09-10 11:42:33 +02:00
Bryan Stenson
ec91bb9e1e Ref: use ok3http library to build the url query string 2021-09-10 00:38:02 +00:00
Bryan Stenson
c131283a1d Ref: rename variable to avoid confusion 2021-09-10 00:29:55 +00:00
harlekin
f94bba6e4c Add headless toggle, useful for multi gpu on the same machine 2021-07-16 23:37:24 +00:00
Laurent Clouet
3ffbdbb19b Fix: do not show download progress if there is not content length 2021-05-29 14:54:52 +00:00
Luis Uguina
46ad1882a7 feat: add GPU id to error report 2020-10-30 07:41:38 +11:00
Sheepit Renderfarm
d3607ce177 Merge branch 'fix/handle-server-code-error' into 'master'
Handle server side error code

See merge request sheepitrenderfarm/client!3
2020-10-27 13:47:57 +00:00
Laurent Clouet
e1e680ace3 Handle server side error code 2020-10-27 14:42:59 +01:00
Laurent Clouet
cfa2acad8f Fix: NullPointerException 2020-10-27 14:32:11 +01:00
Luis Uguina
6587b4dcef Feature: support for shared downloads directory (#295)
* Feature: support for shared downloads directory

This feature is especially relevant for users with several clients running simultaneously within the same computer (computers running several GPUs or any combination of GPUs + CPUs) or multiple computers running in a network. The feature allows the user to specify a shared downloads directory via the new -shared-downloads-dir client option. All the clients using that option will share the same binaries and scene files.

How it works?
The first client downloading a binary or scene will save the file in the directory especified in -shared-downloads-directory. The rest of the clients using the same option will wait until the file has been downloaded. Once the file has been downloaded, it will be ready for the rest of the clients.

This feature is especially relevant for users with metered/slow connections or multiple computers/clients that don't want to download the same binary/file multiple times.

IMPORTANT: All the clients intended to share the binaries and scenes must execute the client with the same -shared-downloads-dir parameter.
2020-10-21 13:03:09 +02:00
Laurent Clouet
70d7dc052c Handle new protocole value 2020-10-10 10:52:39 +02:00
Luis Uguina
d152e0b0ff Feature: add session data consumption information in GUI/text UIs (#287)
* Feature: add session data consumption information in GUI/text UIs

Adds the total bytes downloaded and uploaded in the current session as well as the average data transfer rate for both UL/DL. The information is not added to the 1-line UI as the line will take 150+ characters in the screen.
2020-09-12 02:00:24 +02:00
Luis Uguina
04be222f00 Cleanup: remove unused imports (#294) 2020-09-08 01:00:44 +02:00
Laurent Clouet
14447df154 Ref: rename variable 2020-08-29 16:18:00 +02:00
Luis Uguina
a119fc2e2d Fix: Display error & stop retrying in case of test frames render error (#289) 2020-08-29 16:15:01 +02:00
Luis Uguina
9f5c35d02f Feature: allow the client to shut down the computer at or after a certain time (#249)
A new -shutdown <time> option has been created to specify the time when the client will stop asking for new jobs, will finish uploading the frames in the upload queue and will shutdown the computer. The time argument can have two different formats: an absolute date & time in the format yyyy-MM-ddThh:mm:ss (24h format) or a relative time in the format +m where m is the number of minutes from now.

The user can also select the shutdown-mode, where "wait" will wait for all the processes (render + pending uploads) to finish and "hard" will cancel all the pending jobs and will initiate the computer shutdown.
2020-07-27 16:49:36 +02:00
Luis Uguina
f3538eafde Fix: NULL MimeType when sending files without extension (#270) 2020-06-21 11:16:18 +02:00
Luis Uguina
375ff311d4 Fix: add RENDERER_KILLED_BY_USER to download checks (#271) 2020-06-21 11:15:53 +02:00
Luis Uguina
cc99f3a146 Fix: unable to show the message error in case of HTTP return code != Error.Type.OK (#272) 2020-06-21 11:15:30 +02:00
Luis Uguina
b4511e7730 Feature: check for HTTP 413 (Entity too large) errors (#264) 2020-06-20 18:42:20 +02:00
Luis Uguina
57cae65412 Fix: allow to cancel download by user or server initiated reset (#266) 2020-06-20 18:36:55 +02:00
Luis Uguina
7685051662 Fix: Send reset signal to server on job upload error (#260)
* Fix: Send reset signal to server on job upload error
2020-06-18 13:57:52 +02:00
Luis Uguina
838cd7c0ec Fix: RENDERER_KILLED error sends a frame reset to server (#259) 2020-06-18 10:43:18 +02:00
Luis Uguina
231c1ee448 Fix: remove unused checkpoints from memory (#258) 2020-06-16 14:03:17 +02:00
Luis Uguina
fe69d6faa2 Feature: in text UI, show downloads in a single-line (#250)
* Feature: show downloads in a single-line in text UIs
2020-06-14 12:01:32 +02:00
Luis Uguina
658e698cab Remove the 5 minutes wait for the RENDERER_KILLED_BY_USER_OVER_TIME error code (#251) 2020-06-08 10:07:49 +02:00
Luis Uguina
88921a58de Fix: error report not sent when no job allocated (#245) 2020-06-04 11:50:00 +02:00
Luis Uguina
c850a95ea4 Include a header in error log with the information summarised for easier admin analysis (#238) 2020-06-02 16:06:03 +02:00
Luis Uguina
4cf51013e6 Replace standard Java HTTP libraries with okHTTP (#237)
* Replace standard Java HTTP libraries with okHTTP
2020-06-01 11:15:44 +02:00
Luis Uguina
4fa6db2b8d Fix: pause request is lost when a "no-job" response is received from server (#233) 2020-05-28 15:04:42 +02:00
Laurent Clouet
44cf85739c Code formator (#236)
* Re-import code formator
2020-05-28 13:28:42 +02:00
Luis Uguina
b969077d18 Optimise the retries algorithm for the "no job" server response (#230)
* Implement an optimised retries algorithm for the "no job" server response

* formating

Co-authored-by: Laurent Clouet <laurent@nopnop.net>
2020-05-20 14:32:39 +02:00
Laurent Clouet
656985c538 Add new type of errror 2020-05-16 10:51:35 +02:00
Luis Uguina
642ad86419 Improve waiting messages to show the time of the next retry. (#225) 2020-05-16 10:42:16 +02:00
Luis Uguina
26155a28dc Fix: racing condition with messages when the queue is full (#223)
There was a racing condition between the queue full message and *any* error message where the later are overwritten by the former.
2020-05-11 13:51:36 +02:00
Luis Uguina
18b99ded40 fix: a ghost project is created when a job upload fails (#222) 2020-05-09 22:04:07 +02:00
Luis Uguina
d6984fa450 Feature: improve the application exit-button process (#214)
* Improve the application exit-button behaviour
2020-04-27 14:28:04 +02:00
Luis Uguina
aae5ec3254 Improve the pause button screen workflow (#216) 2020-04-26 15:35:05 +02:00
Luis Uguina
87533a1262 feature: improve user information on queued uploads (#210)
* feature: improve user information about queued uploads
2020-04-19 17:01:43 +02:00
Luis Uguina
433ed5ed74 fix: background uploads queuing not working properly (#209)
Fix the sync/async detection to ensure that handle the server side projects properly. The routine was incorrectly uploading sync files with the async routine and vice-versa.
2020-04-15 09:40:51 +02:00