PS: If you cannot support everything, you can go as far as you can. Also one thought I had about fsutils code: I think it is most suitable as a namespace rather than a classs with static methods.
Since you'll be touching that code, see if a convertion is possible. If yes, make it in a separate commit so we can revert if need be. Also take a look at the conversion I did in the misc class: 7a Basically we should remove all separator-related code from everything but fsutils. The idea behind this is doing stuff in one swipe, e. Had 3 attempts on this one. Was choosing between dropping all heavy stuff on fsutils , using a separate class QPath was half-written already and good old 'do it manually'.
The last one worked out better than the others. QPath will be too heavy to support everything: craploads of overloads and operator definitions to support QDir , QString , etc; plus all methods' arguments in almost every class will need to be updated to use new class. Using fsutils for heavy stuff is redundant. We use QDir and QFile a lot everywhere - both don't care about separators, but will return string with qt-style separators.
So this approach would have a lot of back-and-forth separator conversions. Thus, I've made session, handle, preferences, fsutils to accept any separators in methods args and return qt-style separators. Session and handle call libtorrent API with native separators. This is still in alpha - haven't tested on Linux. I had a tough time trying to make this work on Linux. Both nautilus and thunar didn't allow using network shares.
Dolphin, at least, did get into samba share, but downloading there was prohibited with "You can only select local files". This looks like limitation of QFileDialog and we can't do much about it right now. Skip to content. Star New issue. Jump to bottom. Copy link. Gelmir mentioned this issue Feb 14, Make qinisettings a base class and force all operations through class methods Skip to content. Star New issue.
Jump to bottom. Labels Duplicate. Copy link. The workaround isn't all that much of a problem, so I'll just do things that way.
Thanks for your note. Gelmir mentioned this issue Oct 20, Download to network location error OK, I think I succeeded. Allow me to share my experience here as it might help others: Turns out it wasnt a 1TB hdd but a 2TB hdd, a seagate and a WD As previously the raspberry didnt even recognize the WD, I decided to try that one again: At first I did an upgrade with "sudo apt-get dist-upgrade" as you suggested. My OS is a raspian distro from Ghoulman.
I made sure that it was already powered up before I connected the USB. With webmin I could see that it was connected now and it was actually already mounted, but 'not in use' and it was labelled as an 'MSDOS' disk so I guessed it was vfat wrong. Now I only have to re-edit the fstab file to change "vfat" into "ntfs-3g" and I am sure that boot will be ok then. I presume my other disk wont give any problems either.
I am not sure where the earlier problems were, old distribution I put it on there 3 mo ago? I dont know, but at least it works now. Supposedly a bug in raspbian, but i see plenty of people adding one. One of my hard disks is a WD 1TB so it shouldn't be a bug.
Upgrade your Pi's distro with "sudo apt-get dist-upgrade", it may solve the problem. My experience with hard drives not working with Pi is that there isn't enough power.
So even if you are plugging only 1 hard drive, plug through a powered USB hub. Thanks, I have a seagate 1TB. There is a description of a bug for 1Tb disks, but I can use it in my ubuntu So,, reading abt that big with 'fast, huge disks' I thought that must be the problem. I had not thought of your suggestion yet, that it could be powerfailure. I will try the powered hub suggestion Will order one and report back.
Thanks for yr help. By rampadc My projects blog Follow. More by the author:. About: Make things for fun More About rampadc ». Step 0. If you are using NTFS, install ntfs-3g. Create locations for mount points for each hard drive. Step 6. Now we will configure the Raspberry Pi to mount these drives after every reboot. Because this is a headless server, we are accessing the command lines through SSH. Fortunately, SSH is enabled out of the box for Raspbian.
Let's update and upgrade the repositories and distribution by using: sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade Step 1. You can either install Transmission or rTorrent or both.
Skip to Step 2.
0コメント