-
Notifications
You must be signed in to change notification settings - Fork 55
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
problem on Linux Mint: copy to hubic folder creates a folder_segment #64
Comments
A little precision after making another test: |
A bug probably, but I suppose not in hubicfuse but maybe in a dependent lib not working properly. I would check the version of the different package/libs used by hubicfuse. |
<folder>_segments are folders that hold segments of huge files that are uploaded in several splitted parts to hubic (default: files over 2G are splitted into 1G files) |
ok but I copied just a few kb for my test. |
I created a VM with a debian wheezy. |
Nothing wrong. I also have a _segment directory. It is empty. Looks fine to me and I have never bothered with it. |
you mean the default_segments at the Hubic file root ? But do you have others one created when you copy a file in a folder (like described in my first post)? And i don't have this with my fedora. |
No I don't have segment files as described in your first post. Just the top level one:
And I'm on GNU/Debian sid (very close to Jessie released last week). |
If I copy in default, no problem for me too because default_segments already exist I think. I am really interested to see if it's coming from me or not. Thank you I mounted Hubic in my home dir and not with root. Maybe it could be linked. |
Sure, no segment created:
BTW, I'm using hubicfuse compiled from Git master. |
Thank you. |
I don't have a single _segments dir visible from my HubiC Android app. I don't use the Web interface. |
ok thx. strange. edit: On Mint: On my Fedora: |
This afternoon, I made some trace with -d option on linux mint and fedora. We can see difference. On Mint, the directory Test_segments is created by a PUT. @TurboGit I would like to know which version you have ? :) *** MINT :
*** FEDORA : LOOKUP /default/Test/dbtest.log
|
On my GNU/Debian box I have 2.9.3:
So you are not completely lost yet :) |
BTW, do you have set segment_above in your .hubicfuse? If so what is the value? I see in the code that the segment are created only of above the given limit. Frankly, I don't see why it is created on your side if this is not set... |
Hello I
|
I'm using GNU/Debian testing we it was Jessie for some time on my machine. No issue there. Something really fishy... |
I tested again at home on a physical PC with a fresh Mint 17.1 installed and updated and this morning at work on a VM with Debian Jessie. On the Debian: apt-get install curl libfuse-dev libxml2-dev libjson-c-dev libmagic-dev I compiled the source again. make is "ok" , no errors. And always the same problem :( On the debian and on Mint I tried to generate again the token for .hubicfuse, no change I added segment_size=1073741824 and segment_above=2147483648 (the default values) in .hubicfuse, no change I thought it could be my hubic account ? I created a new one, used hubic_token, no change, same problem. No I am stuck. I really don't see! I am crazy or there is something I don't do correctly ? Can we check lib version you have ? apt-cache policy libfuse-dev libcurl4-openssl-dev libxml2-dev libjson-c-dev libmagic-dev libssl-dev 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) i686 GNU/Linux |
My versions: As I'm using unstable GNU/Debian branch my versions have probably moved recently, here it is: $ apt-cache policy libfuse-dev libcurl4-openssl-dev libxml2-dev libjson-c-dev libmagic-dev libssl-dev I'm on a 64bits box: 4.0.0-1-amd64 #1 SMP Debian 4.0.2-1 (2015-05-11) x86_64 GNU/Linux Could it be the issue here? An int going above the limit in the implementation and I don't do that because I'm using a 64bit box. Worth looking at this... Maybe adding some debug trace in hubicfuse for the segment_* variables? |
ok, I installed all the same lib from jessie testing. I quickly installed a VM with Mint 64bits : and no problem ! So there is something when compiling hubicfuse on a 32 bits. |
Ok, probably just an integer overflow as I said in my previous message. Now which one? Can you debug this on your 32bit box? |
euh well i don't really see how to debug this :( IMO it must somewhere when there is a check if the directory exist , if we look the debug i put at the beginning (with No such file or directory and the "put" method that creates the _segment) |
Hello, I'm facing same issue on a 32bits system. |
Thanks, that's indeed a good candidate for this issue. Just fixed on master. Can you test again on a 32bit system? Thanks. |
Great thanks for help ! |
|
Good to hear it is working on your side! Closing this issue then. |
Should be fixed now. |
Hello
I am using hubicfuse on my Fedora since the beginning without any problem. Thanks for this, it 's just a great job.
I recently tested a backup script (which is based on hubicfuse) with another distrib; Linux Mint 17.1 (kernel 3.13.0-37)
I have problem here. I tested with the last commit and with hubicfuse v2.0
The same things happen.
If I copy a file to my hubic mount dir , ie: ~/Hubic
cp testfile.zip Hubic/default/Backuptest/test for example
I have a new directory created: Hubic/default/Backuptest/test_segments
If I go in it , I see my file copied ok.
Going to Hubic/default/Backuptest/test, I see my file too.
I don't have this problem on my fedora.
I don't know what can do this ?
Maybe a distro library not in the same version ?
Something I didn't set correctly but I don't see what ?
Or could it be a bug ?
Thanks for your help
The text was updated successfully, but these errors were encountered: