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

same photo uploaded many times #5

Open
szczym opened this issue May 10, 2013 · 8 comments
Open

same photo uploaded many times #5

szczym opened this issue May 10, 2013 · 8 comments
Labels

Comments

@szczym
Copy link

szczym commented May 10, 2013

the app is constantly sending the same photo to dropbox and flickr. currently its set to interval sync every 5 minutes. instant sync did not worked at all.

please help

@AlphaX2
Copy link
Owner

AlphaX2 commented May 11, 2013

I've tried it today, but could not reproduce this error.

If you have developer mode activated, just start FotoShare, switch it off and start it again via Terminal with:

python /opt/FotoShareN9/fotoshareGUI.py

Now activate it, switch to camera and take a picture, with your settings. After all, please post/send me the output. I hope it will say what's wrong. ;)

@as33ms
Copy link

as33ms commented Sep 14, 2013

Hi there, I can still see this error and it is pretty annoying! I tried to get a log from the application's option itself, but unfortunately, cant get anything more than:

Sat Sep 14 20:14:57 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:15:03 2013: uploaded /home/user/MyDocs/DCIM/13090037.jpg with dropbox_upload_plugin.py
Sat Sep 14 20:15:03 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:15:12 2013: uploaded /home/user/MyDocs/DCIM/13090038.jpg with dropbox_upload_plugin.py
Sat Sep 14 20:15:12 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:15:21 2013: uploaded /home/user/MyDocs/DCIM/13090039.jpg with dropbox_upload_plugin.py
Sat Sep 14 20:15:21 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:15:27 2013: uploaded /home/user/MyDocs/DCIM/13090040.jpg with dropbox_upload_plugin.py
Sat Sep 14 20:18:02 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:18:08 2013: uploaded /home/user/MyDocs/DCIM/13090037.jpg with dropbox_upload_plugin.py
Sat Sep 14 20:18:08 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:18:14 2013: uploaded /home/user/MyDocs/DCIM/13090037.jpg with dropbox_upload_plugin.py
Sat Sep 14 20:18:14 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:18:19 2013: uploaded /home/user/MyDocs/DCIM/13090037.jpg with dropbox_upload_plugin.py
Sat Sep 14 20:18:19 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:18:25 2013: uploaded /home/user/MyDocs/DCIM/13090037.jpg with dropbox_upload_plugin.py
Sat Sep 14 20:18:25 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:18:31 2013: uploaded /home/user/MyDocs/DCIM/13090037.jpg with dropbox_upload_plugin.py
Sat Sep 14 20:18:31 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:18:38 2013: uploaded /home/user/MyDocs/DCIM/13090037.jpg with dropbox_upload_plugin.py
Sat Sep 14 20:18:38 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:18:44 2013: uploaded /home/user/MyDocs/DCIM/13090037.jpg with dropbox_upload_plugin.py
Sat Sep 14 20:18:44 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:18:50 2013: uploaded /home/user/MyDocs/DCIM/13090037.jpg with dropbox_upload_plugin.py
Sat Sep 14 20:34:57 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:35:03 2013: uploaded /home/user/MyDocs/DCIM/13090038.jpg with dropbox_upload_plugin.py
Sat Sep 14 20:54:57 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 20:55:02 2013: uploaded /home/user/MyDocs/DCIM/13090038.jpg with dropbox_upload_plugin.py
Sat Sep 14 21:14:57 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 21:15:02 2013: uploaded /home/user/MyDocs/DCIM/13090038.jpg with dropbox_upload_plugin.py
Sat Sep 14 21:34:57 2013: importing of dropbox_upload_plugin.py was successful
Sat Sep 14 21:35:08 2013: uploaded /home/user/MyDocs/DCIM/13090038.jpg with dropbox_upload_plugin.py

As for the scenario for collecting logs mentioned by you, I will add that in another comment.

@as33ms
Copy link

as33ms commented Sep 14, 2013

~ $ python /opt/FotoShareN9/fotoshare
fotoshareGUI.py fotoshare_test_file
fotoshare_service
~ $ python /opt/FotoShareN9/fotoshareGUI.py
-------------- Found settings file ---------------

These are the settings:

{'resize_option': 'no', 'daemon_startup': 'yes', 'log': 'yes', 'connection_radio': u'3G', 'video_upload': u'forbidden', 'interval_time': 10,'connection_types': [u'Dropbox'], 'version': '0.9.7', 'upload_type': u'interval', 'resize_scale': 0, 'notification_type': 'EventFeed'}

THIS IS DATA!
[' 5338 user python /opt/FotoShareN9/fotoshare_service &\n', ' 5360 user python /opt/FotoShareN9/fotoshareGUI.py\n', ' 5361 usersh -c ps aux | grep python\n', ' 5363 usergrep python\n']
running daemon found
pid is: 5338
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
Notification is:EventFeed
check_not_first_start() is running, these are the plugins:
check_daemon_running()
check_not_first_start() is running, these are the plugins:
check_daemon_startup()
check_not_first_start() is running, these are the plugins:
check_resize_option()
check_resize_percent()
check_not_first_start() is running, these are the plugins:
check_not_first_start() is running, these are the plugins:
check_not_first_start() is running, these are the plugins:
check_not_first_start() is running, these are the plugins:
check_not_first_start() is running, these are the plugins:
Successfully resolved MeeGo graphics system: /usr/lib/qt4/plugins/graphicssystems/libqmeegographicssystem.so

MeegoGraphics: found EGL_NOK_image_shared
MeegoGraphics: found EGL_KHR_lock_surface2
MeegoGraphics: found EGL_KHR_fence_sync
QML: Page (re)loaded, first start function gives the following result:
check_not_first_start() is running, these are the plugins:
true
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
X Error: BadDamage (invalid Damage parameter) 153
Extension: 146 (Uknown extension)
Minor opcode: 2 (Unknown request)
Resource id: 0x29
Found EGL_KHR_image_pixmap & GL_OES_EGL_image extensions (preferred method)!
Found texture_from_pixmap EGL extension!

@as33ms
Copy link

as33ms commented Sep 14, 2013

And in my understanding, I cant see anything useful. I would really appreciate if you could suggest any fix?

@AlphaX2
Copy link
Owner

AlphaX2 commented Sep 14, 2013

I will spend some time tomorrow to reproduce the error on my device. As far as I can see, you are using a WiFi and 3G upload with 10 min. interval?

@as33ms
Copy link

as33ms commented Sep 14, 2013

Many thanks for the quick reply. Yes, initially, I had been using WiFi and 3G with a 10 minute interval and then, I changed it to instant upload. In both the cases, I saw the same scenario.

@AlphaX2
Copy link
Owner

AlphaX2 commented Sep 14, 2013

The strange fact is, that I never before got problems like this. And FotoShare is running all time. :-/ But got also an e-mail, you are not alone with the bug, so I belive we will find a solution! :)

@AlphaX2
Copy link
Owner

AlphaX2 commented Sep 16, 2013

Hi again,

yesterday I did some research, due to the reported bug and YES - I got the same problem! I don't have a clue, why it exactly happens, but It seems to be related to the Interval setting and shooting much photos one after another. I'll investigate the problem in the next days, but I'm pinched for time. At the moment it's not clear that the debug prints on console are enough, so maybe it needs some modification.

Stay tuned...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants