Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Qt4] "unknown errors" when changing bandwidth limit #3016

Closed
cortopy opened this issue Mar 24, 2015 · 10 comments
Closed

[Qt4] "unknown errors" when changing bandwidth limit #3016

cortopy opened this issue Mar 24, 2015 · 10 comments
Assignees

Comments

@cortopy
Copy link

cortopy commented Mar 24, 2015

Expected behaviour

When changing bandwidth limit in settings I would expect bandwith to be indeed limited. I'm not sure what "limit automatically" means, but changing bandwith to something fixed doesn't work either

Actual behaviour

Sync doesn't work at all. At the moment I'm uploading a large number of files and about 99% of files give "unknown error" and sync never happen

Steps to reproduce

  1. Change limit bandwidth settings to either automatic or a set amount

Server configuration

Operating system: Ubuntu 14.10

Web server: nginx

Database: mySQL

PHP version: 5..5.12

ownCloud version: 8.0.2

Storage backend: ?

Client configuration

Client version: 1.8

Operating system: Ubuntu 14.10

OS language: English

Installation path of client: as per app-get

@guruz
Copy link
Contributor

guruz commented Mar 25, 2015

Can you run your client with parameter --logfile - and paste here some context on what causes the first errors?

@guruz guruz self-assigned this Mar 25, 2015
@ogoffart
Copy link
Contributor

What is your Qt version?

EDIT: You can see it in the Settings window in "General"

@cortopy
Copy link
Author

cortopy commented Mar 25, 2015

Logs are very big and I'm not sure which bit is helpful.

As examples:

03-25 13:43:43:523 0x1d74590 (+) Watcher: "/home/user/Pictures/Icons/material/maps" 
03-25 13:43:43:539 0x1d74590     `-> discarded: "/home/user/Pictures/Icons/material/maps/1x_ios" 
03-25 13:43:43:539 0x1d74590     `-> discarded: "/home/user/Pictures/Icons/material/maps/1x_web" 

It's like that for all files skipped and giving "unknown errors" in the client UI

Then, in the log there is also a long error String which begins like this:


03-25 13:43:43:703 0x1d74590 Processing result list and logging took  1268  Milliseconds. 
03-25 13:43:43:703 0x1d74590 OO folder slotSyncFinished: result:  9 
03-25 13:43:43:741 0x1d74590   ** error Strings:  ("Graphic Design/Textures, Shadows and Backgrounds/webtreats-seamles-paper-patterns.zip: Unknown error.", "Icons/Font-Awesome/black/png/128/arrow-circle-o-up.png: Unknown error.", "Icons/Font-Awesome/black/png/128/arrow-circle-right.png: Unknown error.", "Icons/Font-Awesome/black/png/128/arrow-circle-up.png: Unknown error.",

@cortopy
Copy link
Author

cortopy commented Mar 25, 2015

Qt version is 4.8.6

@guruz
Copy link
Contributor

guruz commented Mar 25, 2015

If you use >= Qt 5.4 then the new bandwidth code will be used. Could you try that?

Related #2558

@cortopy
Copy link
Author

cortopy commented Mar 25, 2015

How could I try that? I'm using

deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.10/

and there isn't an updated version for the client.

@cortopy
Copy link
Author

cortopy commented Mar 25, 2015

Should I report this in the related issue too?

@guruz
Copy link
Contributor

guruz commented Mar 25, 2015

@jnweiger Is there qt5-based packages already?

How could I try that?

In worst case you need to compile it yourself :-)

@guruz guruz changed the title Sync client gives too many "unknown errors" when changing badnwidth limit [Qt4] Sync client gives too many "unknown errors" when changing bandwidth limit Mar 26, 2015
@guruz guruz changed the title [Qt4] Sync client gives too many "unknown errors" when changing bandwidth limit [Qt4] "unknown errors" when changing bandwidth limit Mar 26, 2015
@cortopy
Copy link
Author

cortopy commented Mar 26, 2015

That's a shame. I thought that by using package manager I wouldn't miss on updates. Does this mean the client doesn't get updated regularly for Linux packages? If this is the case, then I'd switch to compiling, but I want to be sure first

@guruz
Copy link
Contributor

guruz commented Mar 26, 2015

@cortopy The problem is that right now we maintain Qt4 and Qt5 compiles.
In this particular case there are bugfixes inside Qt5 itself and we switch to a new codepath based on the Qt version..

// QNAM bandwith limiting only work with version of Qt greater or equal to 5.3.3

FYI @dragotin @jnweiger

@guruz guruz closed this as completed Apr 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants