Active Topics

 



Notices


Reply
Thread Tools
Kieron's Avatar
Posts: 388 | Thanked: 115 times | Joined on Oct 2009 @ London, UK
#261
This is what I'm trying to accomplish:

Sync N900 DCIM folder to Dropbox /Nokia N900/Photos/ so I can automatically import new images on my mac through dropbox with iphoto.

How can I do this in the settings? I'm a little confused. Excuse my stupidity if I'm missing the obvious.

Cheers, and thanks for the app btw - it's brill!
 
jonnenau's Avatar
Posts: 116 | Thanked: 445 times | Joined on Apr 2010 @ Oulu, Finland
#262
Originally Posted by Kieron View Post
This is what I'm trying to accomplish:

Sync N900 DCIM folder to Dropbox /Nokia N900/Photos/ so I can automatically import new images on my mac through dropbox with iphoto.

How can I do this in the settings? I'm a little confused. Excuse my stupidity if I'm missing the obvious.

Cheers, and thanks for the app btw - it's brill!
This is not directly very easy to do atm. I would need to make a camera sync thingie for my options. You could make this happen with some hacking around, creating the cam folder to dropbox and changing your default dl directory to the os camera folder. But then youll also be downloading sync stuff to the camera location so not that great.

I will try to do this for the next release possibly. Just one way push of the whole folder to a dropbox location would be ideal i think, getting them back not that needed.
__________________
DropN900 - the maemo 5 DropBox client
 

The Following User Says Thank You to jonnenau For This Useful Post:
Kieron's Avatar
Posts: 388 | Thanked: 115 times | Joined on Oct 2009 @ London, UK
#263
You've got that all right mate, I adgree with everything you said.

Please do let me know if/when you eventually get this coded in. Rather than resubscribe to this thread, as I usually do, a PM would be great!

Thanks again, keep up the good work!
 
Posts: 45 | Thanked: 11 times | Joined on Aug 2008
#264
Nice the photo sync option would be great!! just a simple dump to photo folder
 
Posts: 3 | Thanked: 0 times | Joined on Mar 2010 @ Portugal
#265
Originally Posted by dbrodie View Post
Are you sure that only the changed bytes are transmitted? Have you looked at the network traffic to make sure that his is so?
Yes and yes.
May be not the few bytes changed, but a very little overflow. I'm talking about several MB to some GB files. First time they are seen, it will take hours to sync, both on upload and on download. The subsequent updates are much faster and roughly proportional to the data changed.
Also there is an indexed phase each time a big file is modified and before the upload begins. And there are big data areas that Dropbox uses on your hard drive.
Now... this is not something you want to have on your very small battery powered device.
 
Posts: 3 | Thanked: 0 times | Joined on Nov 2010 @ Italy
#266
Hi i'm reporting a bug when I start the application using the command line :

line 7 in <module> from PyQt4.QtGui
runtime error: the sip module implements API v8.0 but the PyQt4.QtGui module requires API v7.0

The application does'nt start, I'm using the Pr_1.3 version what do you think about ?

Last edited by srobby; 2010-11-12 at 09:52.
 
Viqsi's Avatar
Posts: 115 | Thanked: 136 times | Joined on Mar 2008 @ Central Ohio
#267
Originally Posted by jonnenau View Post
I dont have a N810 and have no idea what it might require to make it work there. Can you tell me if python 2.5.x and python2.5-qt4 are available on that OS? I guess it might be as simple as just pushing the debs to diablo repos with the web uploader here on maemo.org. That just requires the OS to have those two packages for it to work. Also i guess it needs to have the same /opt/myapp possibility and home/<user>/MyDocs folder for the data.
Following up since my father now has an N800 (I got three of 'em on eBay as part of a package not too long ago, and only needed two of 'em) and has some interest...

python2.5-qt4 appears to be available on the N8x0 devices. I'm not sure which repository, but I suspect it's maemo-extras (the only repository changes on my devices are Diablo Community SSU repository added and maemo-extras enabled). I haven't tried actually installing it (my daddy's a Perl man, and he's taught his kids accordingly ), but it is available for install. So far as I can tell it's QT 4.5.3.

Some apt-cache show results (for libqtcore4 and python2.5-qt4-core) follow:

Code:
Nokia-N800-43-7:~# apt-cache show libqtcore4
Package: libqtcore4
Priority: optional
Section: libs
Installed-Size: 5928
Maintainer: Antonio Aloisio <gnuton@gnuton.org>
Architecture: armel
Source: qt4-x11
Version: 4.5.3-1maemo1
Depends: libc6 (>= 2.5.0-1), libfontconfig1 (>= 2.4.1), libgcc1 (>= 1:3.4.4), libglib2.0-0 (>= 2.12.12-1osso10), libqtcore4 (= 4.5.3-1maemo1), libstdc++6 (>= 3.4.4), zlib1g (>= 1:1.2.1)
Filename: pool/diablo/free/q/qt4-x11/libqtcore4_4.5.3-1maemo1_armel.deb
Size: 2082184
MD5sum: 593fce874800201ad00578a20fec023d
SHA1: d3a987291674d41eef7b5ca1397ec38085d52ab7
SHA256: 60f7509791db6e6ed73393a193ce8abbea3a04f1516607579276bf4d127967c1
Description: Qt 4 core module
 Qt is a cross-platform C++ application framework. Qt's primary feature
 is its rich set of widgets that provide standard GUI functionality.
 .
 The QtCore module contains core non-GUI functionality.
Xsbc-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>

Package: libqtcore4
Priority: optional
Section: libs
Installed-Size: 5932
Maintainer: Antonio Aloisio <gnuton@gnuton.org>
Architecture: armel
Source: qt4-x11
Version: 4.5.2-1maemo2
Depends: libc6 (>= 2.5.0-1), libfontconfig1 (>= 2.4.1), libgcc1 (>= 1:3.4.4), libglib2.0-0 (>= 2.12.12-1osso10), libqtcore4 (= 4.5.2-1maemo2), libstdc++6 (>= 3.4.4), zlib1g (>= 1:1.2.1)
Filename: pool/diablo/free/q/qt4-x11/libqtcore4_4.5.2-1maemo2_armel.deb
Size: 2088004
MD5sum: b27db4d0d22e71bddbec89bbb64b2dbe
SHA1: 618bceef630abbced27f5c1b457fb51b0d7604bd
SHA256: 7086f659c0c28a3a8d3b815ef4692b60323fcad9b93ae58d0691ae7d37e99b5e
Description: Qt 4 core module
 Qt is a cross-platform C++ application framework. Qt's primary feature
 is its rich set of widgets that provide standard GUI functionality.
 .
 The QtCore module contains core non-GUI functionality.
Xsbc-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>

Package: libqtcore4
Priority: optional
Section: libs
Installed-Size: 5944
Maintainer: Antonio Aloisio <gnuton@gnuton.org>
Architecture: armel
Source: qt4-x11
Version: 4.5.0-1maemo2
Depends: libc6 (>= 2.5.0-1), libfontconfig1 (>= 2.4.1), libgcc1 (>= 1:3.4.4), libglib2.0-0 (>= 2.12.12-1osso10), libqtcore4 (= 4.5.0-1maemo2), libstdc++6 (>= 3.4.4), zlib1g (>= 1:1.2.1)
Filename: pool/diablo/free/q/qt4-x11/libqtcore4_4.5.0-1maemo2_armel.deb
Size: 2117164
MD5sum: 5b4060a9df1503e4f99088c28f207883
SHA1: fb31c617ea514e9c8d40bf57cfdfc1e285dc8db2
SHA256: 972200232036f1f1bd583632b3c6cefe2d27a0fcf02ea3fb7b860e377aa28aca
Description: Qt 4 core module
 Qt is a cross-platform C++ application framework. Qt's primary feature
 is its rich set of widgets that provide standard GUI functionality.
 .
 The QtCore module contains core non-GUI functionality.
Xsbc-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>

Package: libqtcore4
Priority: optional
Section: libs
Installed-Size: 5944
Maintainer: Antonio Aloisio <gnuton@gnuton.org>
Architecture: armel
Source: qt4-x11
Version: 4.5.0-1maemo1
Depends: libc6 (>= 2.5.0-1), libfontconfig1 (>= 2.4.1), libgcc1 (>= 1:3.4.4), libglib2.0-0 (>= 2.12.12-1osso10), libqtcore4 (= 4.5.0-1maemo1), libstdc++6 (>= 3.4.4), zlib1g (>= 1:1.2.1)
Filename: pool/diablo/free/q/qt4-x11/libqtcore4_4.5.0-1maemo1_armel.deb
Size: 2117196
MD5sum: a0349c90aa310385c6ffb0b6395f136c
SHA1: d35344cd6d340cca372b9b64f58b1d85295d1c00
SHA256: 9c251f307394b3f8dd6cf1430ff070bfab1c5de21f1671eea700bfdc0cf4bf05
Description: Qt 4 core module
 Qt is a cross-platform C++ application framework. Qt's primary feature
 is its rich set of widgets that provide standard GUI functionality.
 .
 The QtCore module contains core non-GUI functionality.
Xsbc-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>

Nokia-N800-43-7:~# apt-cache show python2.5-qt4-core
Package: python2.5-qt4-core
Priority: extra
Section: libs
Installed-Size: 1596
Maintainer: Attila Csipa <maemo@csipa.in.rs>
Architecture: armel
Source: python-qt4
Version: 4.7-maemo7
Depends: libc6 (>= 2.5.0-1), libgcc1 (>= 1:3.4.4), libqtcore4 (>= 4.5.0), libstdc++6 (>= 3.4.4), libx11-6, libxext6, libqtcore4 | libqt4-core (>= 4.5.3~git20090723), python2.5-qt4-common (= 4.7-maemo7)
Filename: pool/diablo/free/p/python-qt4/python2.5-qt4-core_4.7-maemo7_armel.deb
Size: 466628
MD5sum: 034ef6f5c6fd86443044fbba8ee03c8e
SHA1: 5d5f7e82354405fa4874c3d4442a32c4d33fcd42
SHA256: 5b69fcd3edc72a585dc593b9418a0c559f6a62197a81c2d70002aaaa0b0645d7
Description: Python bindings for Qt4 Core components.
 This package contains the python extensions and modules.
/home/user/MyDocs is a standard on the N800/N810 as well, but /opt isn't. You install everything on rootfs and just sort of pray you don't run out of space. That said, there *is* an /opt directory, so if you're perverse you could go that route anyways; it just doesn't do anything useful on Maemo 4.

(Please note that I don't know with 100% confidence (it's more like 90%) how optifying works; it looks very much to me like an official, standardized way of creative use of symlinks. If that's the case, then there's no problem. If there's something more involved, I suppose we might have minor issues to worry about.)

I ought to be able to do turn-it-on-and-see-if-it-doesn't-explode style testing if needed, although I'm not exactly a heavy DropBox user (Daddy hasn't quite fully converted me yet ), and so would need occasional Clueless Noob usage advice w/r/t functionality. (The three N800s are presently in active use, but I've also got an N810 that is more or less just lying around for the time being, so it's available for abuse.) If there's any preliminary experimenting you'd like me to give a try, let me know and I'll start poking around.

Hope this helps!
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#268
Yes, the version of (py)Qt available for Maemo4/Diablo is much older than what we now have on the N900.

Moreover, it does not automatically "hildonize" standard code to make it look like a native Maemo app, so the UI will appear totally different.

Other than that, most PyQt code written for the N900 should run, apart from specific Maemo API calls of course.

As for /opt, I guess it's probably best to install a Python app in MyDocs anyway.
__________________
maemo blog
 
Posts: 1 | Thanked: 0 times | Joined on Nov 2010
#269
I seem unable to install DropN900:

Code:
Nokia-N900:~# uname -a
Linux Nokia-N900 2.6.28.10power45 #1 PREEMPT Thu Nov 11 16:15:02 EET 2010 armv7l unknown
Nokia-N900:~# apt-get install dropn900
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  dropn900: Depends: python2.5-qt4-maemo5 but it is not going to be installed
E: Broken packages
Nokia-N900:~# apt-get install python2.5-qt4-maemo5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  python2.5-qt4-maemo5: Depends: python2.5-qt4-gui (= 4.7.4-maemo0)
                        Depends: python2.5-qt4-dbus (= 4.7.4-maemo0)
E: Broken packages
Nokia-N900:~# apt-get install python2.5-qt4-gui   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python2.5-qt4-gui is already the newest version.
python2.5-qt4-gui set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Nokia-N900:~# apt-get install python2.5-qt4-dbus
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python2.5-qt4-dbus is already the newest version.
python2.5-qt4-dbus set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Nokia-N900:~#
Any suggestions?
 
jonnenau's Avatar
Posts: 116 | Thanked: 445 times | Joined on Apr 2010 @ Oulu, Finland
#270
N800 seems quite good. If the same canonic python lib and qt-maemo is not there, some code changes are there. This would affect: app not requesting a internet connection if not present and maemo5 notification banners.

PyQt 4.7 prob my app uses the normal 4.6 qt. people will have probs if they try to get 4.7 pyqt. i think i will need to force the pyqt version to my deb it seems. I will look into this.

-----

Writing this from air plane with my N900. Going to Dublin thanks top you guys votes! I will try to make some time there for coding dropn900 depends on how much interesting stuff there is. Im sharing a room with Benlau who is a fan of the app too and won another category on the competition, im very exited! Will be back to finland late on thursday night.
__________________
DropN900 - the maemo 5 DropBox client

Last edited by jonnenau; 2010-11-14 at 04:22.
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:50.