My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 7 days

  • Dec 26, 2009
    issue 78 (TypeError: save() got an unexpected keyword argument 'using...) reported by ramu...@gmail.com   -   After changeset http://code.djangoproject.com/changeset/11952/ I got this error: Traceback: File "/home/ram/workspace/movister/web_site/django/core/handlers/base.py" in get_response 99. response = callback(request, *callback_args, **callback_kwargs) File "/home/ram/workspace/movister/web_site/django/utils/decorators.py" in __call__ 36. return self.decorator(self.func)(*args, **kwargs) File "/home/ram/workspace/movister/web_site/django/contrib/auth/decorators.py" in _wrapped_view 24. return view_func(request, *args, **kwargs) File "/home/ram/workspace/movister/web_site/movister/views.py" in person_search 1328. search.external.process_form(request.POST) File "/home/ram/workspace/movister/web_site/movister/externals.py" in process_form 81. video = YoutubeSyncr().syncVideo(video_id) File "/home/ram/workspace/movister/web_site/syncr/app/youtube.py" in syncVideo 58. return self.syncVideoFeed(feed) File "/home/ram/workspace/movister/web_site/syncr/app/youtube.py" in syncVideoFeed 93. defaults=default_dict) File "/home/ram/workspace/movister/web_site/django/db/models/manager.py" in get_or_create 137. return self.get_query_set().get_or_create(**kwargs) File "/home/ram/workspace/movister/web_site/django/db/models/query.py" in get_or_create 368. obj.save(force_insert=True, using=self.db) Exception Type: TypeError at /persons/2206/-videos/ Exception Value: save() got an unexpected keyword argument 'using' Because there is no **kwargs in the child's save() method. I fix it and also fix periodic error of overfilling model's string fields in attached patch
    After changeset http://code.djangoproject.com/changeset/11952/ I got this error: Traceback: File "/home/ram/workspace/movister/web_site/django/core/handlers/base.py" in get_response 99. response = callback(request, *callback_args, **callback_kwargs) File "/home/ram/workspace/movister/web_site/django/utils/decorators.py" in __call__ 36. return self.decorator(self.func)(*args, **kwargs) File "/home/ram/workspace/movister/web_site/django/contrib/auth/decorators.py" in _wrapped_view 24. return view_func(request, *args, **kwargs) File "/home/ram/workspace/movister/web_site/movister/views.py" in person_search 1328. search.external.process_form(request.POST) File "/home/ram/workspace/movister/web_site/movister/externals.py" in process_form 81. video = YoutubeSyncr().syncVideo(video_id) File "/home/ram/workspace/movister/web_site/syncr/app/youtube.py" in syncVideo 58. return self.syncVideoFeed(feed) File "/home/ram/workspace/movister/web_site/syncr/app/youtube.py" in syncVideoFeed 93. defaults=default_dict) File "/home/ram/workspace/movister/web_site/django/db/models/manager.py" in get_or_create 137. return self.get_query_set().get_or_create(**kwargs) File "/home/ram/workspace/movister/web_site/django/db/models/query.py" in get_or_create 368. obj.save(force_insert=True, using=self.db) Exception Type: TypeError at /persons/2206/-videos/ Exception Value: save() got an unexpected keyword argument 'using' Because there is no **kwargs in the child's save() method. I fix it and also fix periodic error of overfilling model's string fields in attached patch
  • Dec 25, 2009
    issue 69 ([enhancement] Packing with distutils) commented on by lasizoillo   -   I've attached a setuptools based setup.py file. It fails installing django-syncr as dependency because the file download in http://code.google.com/p/django-syncr/ (version 0.41) have no setup.py. If you can use a setuptools based setup.py instead a distutils based, the django-tagging dependency can be installed automatically with easy_install. If you want a setuptools setup.py for your proyect, say me and I develop it ;-)
    I've attached a setuptools based setup.py file. It fails installing django-syncr as dependency because the file download in http://code.google.com/p/django-syncr/ (version 0.41) have no setup.py. If you can use a setuptools based setup.py instead a distutils based, the django-tagging dependency can be installed automatically with easy_install. If you want a setuptools setup.py for your proyect, say me and I develop it ;-)

Last 30 days

  • Dec 22, 2009
    issue 77 (Youtube: syncUserFavorites() does not work) commented on by litt.fire.SA   -   Note that syncUserPlaylist() does work. But in this particular use case the client wants to sync favorites
    Note that syncUserPlaylist() does work. But in this particular use case the client wants to sync favorites
  • Dec 22, 2009
    issue 77 (Youtube: syncUserFavorites() does not work) reported by litt.fire.SA   -   What steps will reproduce the problem? >>> from syncr.app.youtube import YoutubeSyncr >>> yt = YoutubeSyncr() >>> yt.syncUserFavorites("winterweaver") What is the expected output? What do you see instead? I'm expecting it to sync, but I get: Traceback (most recent call last): File "<console>", line 1, in <module> File "/home/andre/Projects/gamblehuis/buildout-gamblehuis/apps/django-syncr/src/syncr/app/youtube.py", line 202, in syncUserFavorites result = self._request('http://'+self._youtubeGDataHost+self._youtubeFeedBase+'users/%s/favorites' % username) File "/home/andre/Projects/gamblehuis/buildout-gamblehuis/apps/django-syncr/src/syncr/app/youtube.py", line 40, in _request tree = ET.parse(f) File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 862, in parse tree.parse(source, parser) File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 586, in parse parser.feed(data) File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 1245, in feed self._parser.Parse(data, 0) ExpatError: syntax error: line 1, column 0 What version of the product are you using? On what operating system? Using the latest version, but modified the save method on the video model, due to the force_insert issue.
    What steps will reproduce the problem? >>> from syncr.app.youtube import YoutubeSyncr >>> yt = YoutubeSyncr() >>> yt.syncUserFavorites("winterweaver") What is the expected output? What do you see instead? I'm expecting it to sync, but I get: Traceback (most recent call last): File "<console>", line 1, in <module> File "/home/andre/Projects/gamblehuis/buildout-gamblehuis/apps/django-syncr/src/syncr/app/youtube.py", line 202, in syncUserFavorites result = self._request('http://'+self._youtubeGDataHost+self._youtubeFeedBase+'users/%s/favorites' % username) File "/home/andre/Projects/gamblehuis/buildout-gamblehuis/apps/django-syncr/src/syncr/app/youtube.py", line 40, in _request tree = ET.parse(f) File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 862, in parse tree.parse(source, parser) File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 586, in parse parser.feed(data) File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 1245, in feed self._parser.Parse(data, 0) ExpatError: syntax error: line 1, column 0 What version of the product are you using? On what operating system? Using the latest version, but modified the save method on the video model, due to the force_insert issue.
  • Dec 13, 2009
    issue 76 (picasaweb tags: can be null, so should be " tags = TagFie...) reported by judgej   -   What steps will reproduce the problem? 1. use syncr with picasaweb 2. try to sync photos/albums from picasaweb 3. see null tags cause an exception line 25 picasaweb/models.py tags = TagField() should be tags = TagField(null=True)
    What steps will reproduce the problem? 1. use syncr with picasaweb 2. try to sync photos/albums from picasaweb 3. see null tags cause an exception line 25 picasaweb/models.py tags = TagField() should be tags = TagField(null=True)
  • Dec 05, 2009
    issue 11 (Twitter Follower / Following limited to 100?) commented on by Jim.mixt...@gmail.com   -   As of right now, you're only allowed to get 100 followers per API call, for more than 100 you need to make multiple api calls
    As of right now, you're only allowed to get 100 followers per API call, for more than 100 you need to make multiple api calls
  • Dec 05, 2009
    issue 73 (Youtube User Should have an (optional) relation to User) commented on by Jim.mixt...@gmail.com   -   Happy to help! PS - would you be interested in a photobucket syncr? I've finally figured out the photobucket api =D
    Happy to help! PS - would you be interested in a photobucket syncr? I've finally figured out the photobucket api =D
  • Dec 05, 2009
    issue 75 (setup.py uses name django_syncr but should use sycnr like al...) Status changed by jesse.legg   -   I think that's right. Yash made this change originally, I'm not sure if had a problem and had to pick that name or what... but I think this is probably the way to go. I have made the change back to just 'syncr' -- thank you!
    Status: Fixed
    I think that's right. Yash made this change originally, I'm not sure if had a problem and had to pick that name or what... but I think this is probably the way to go. I have made the change back to just 'syncr' -- thank you!
    Status: Fixed
  • Dec 05, 2009
    r106 (Added optional user field for YoutubeUser->Django User relat...) committed by jesse.legg   -   Added optional user field for YoutubeUser->Django User relation (Thanks jim.mixtake\!)
    Added optional user field for YoutubeUser->Django User relation (Thanks jim.mixtake\!)
  • Dec 05, 2009
    issue 73 (Youtube User Should have an (optional) relation to User) Status changed by jesse.legg   -   Thanks for the patch! I feel bad about making a model change like this, but I think this is pretty useful and something kind of obvious that I missed originally, so I applied your changes this morning and credited you in the commit log. I'm trying to put together a catch-up release, since I've been neglecting this project for a while, so hopefully people can think of it as an upgrade. Thanks again!
    Status: Fixed
    Thanks for the patch! I feel bad about making a model change like this, but I think this is pretty useful and something kind of obvious that I missed originally, so I applied your changes this morning and credited you in the commit log. I'm trying to put together a catch-up release, since I've been neglecting this project for a while, so hopefully people can think of it as an upgrade. Thanks again!
    Status: Fixed
  • Dec 05, 2009
    issue 70 (syncr.youtube.models.Video.save() needs **kwargs for pass-th...) Status changed by jesse.legg   -   Thanks for the bug report! This was fixed a while back in the trunk version, but no one got around to closing this ticket. Thanks again!
    Status: Fixed
    Thanks for the bug report! This was fixed a while back in the trunk version, but no one got around to closing this ticket. Thanks again!
    Status: Fixed
  • Dec 05, 2009
    issue 69 ([enhancement] Packing with distutils) Status changed by jesse.legg   -   I should have gotten around to doing this a LONG time ago. Sorry for not getting to it. Yash implemented something similar to your patch (maybe he used this diff, I haven't talked to him about it) last month, so we're now using setup.py. I have been making some adjustments this morning but when I'm done, I'll probably wrap it all up in a zip/tar release. THANK YOU.
    Status: Started
    I should have gotten around to doing this a LONG time ago. Sorry for not getting to it. Yash implemented something similar to your patch (maybe he used this diff, I haven't talked to him about it) last month, so we're now using setup.py. I have been making some adjustments this morning but when I'm done, I'll probably wrap it all up in a zip/tar release. THANK YOU.
    Status: Started
  • Dec 05, 2009
    issue 74 ([enhancement] Generic RSS/Atom Feed Syncr) Status changed by jesse.legg   -   Thanks for the patch! I've finally gotten around to applying it to the syncr trunk and credited you in the commit message, good work!
    Status: Fixed
    Thanks for the patch! I've finally gotten around to applying it to the syncr trunk and credited you in the commit message, good work!
    Status: Fixed
  • Dec 05, 2009
    r105 (Added generic feed syncr patch (thanks brandon.konkle); revi...) committed by jesse.legg   -   Added generic feed syncr patch (thanks brandon.konkle); revised setup.py to use syncr as package name
    Added generic feed syncr patch (thanks brandon.konkle); revised setup.py to use syncr as package name

Earlier this year

  • Nov 24, 2009
    issue 75 (setup.py uses name django_syncr but should use sycnr like al...) reported by bradford.mcgonigle   -   I've been using virtualenv lately with pip and requirement.txt files. The setup.py file for this package uses the name 'django_syncr' for this package but all of the model.py files reference 'syncr' instead. I think the setup.py file should use the name 'syncr' for the package to stay consistent.
    I've been using virtualenv lately with pip and requirement.txt files. The setup.py file for this package uses the name 'django_syncr' for this package but all of the model.py files reference 'syncr' instead. I think the setup.py file should use the name 'syncr' for the package to stay consistent.
  • Nov 22, 2009
    r104 (moving back to django_syncr) committed by yash888   -   moving back to django_syncr
    moving back to django_syncr
  • Nov 22, 2009
    r103 (changing setup.py) committed by yash888   -   changing setup.py
    changing setup.py
  • Nov 22, 2009
    r102 (removing blank folder) committed by yash888   -   removing blank folder
    removing blank folder
  • Nov 22, 2009
    r101 (moving to syncr instead of django_syncr) committed by yash888   -   moving to syncr instead of django_syncr
    moving to syncr instead of django_syncr
  • Nov 22, 2009
    r100 (100th commit fixing the setup.py) committed by yash888   -   100th commit fixing the setup.py
    100th commit fixing the setup.py
  • Nov 22, 2009
    r99 (moving all apps into the namespace django_syncr) committed by yash888   -   moving all apps into the namespace django_syncr
    moving all apps into the namespace django_syncr
  • Nov 22, 2009
    r98 (moving all the code into django_syncr) committed by yash888   -   moving all the code into django_syncr
    moving all the code into django_syncr
  • Nov 22, 2009
    r97 (adding setup.py and tumblr.py) committed by yash888   -   adding setup.py and tumblr.py
    adding setup.py and tumblr.py
  • Nov 10, 2009
    issue 74 ([enhancement] Generic RSS/Atom Feed Syncr) reported by brandon.konkle   -   This patch implements a basic RSS/Atom feed syncr. I tested this with my Google Reader feed, and also a Yahoo news feed. This requires feedparser, which is on Pypi.
    This patch implements a basic RSS/Atom feed syncr. I tested this with my Google Reader feed, and also a Yahoo news feed. This requires feedparser, which is on Pypi.
  • Nov 04, 2009
    SyncrRequest (Discussion about adding new web service modules.) Wiki page commented on by jesse.legg   -   I think a simple public sync would be cool... it's been a long time since I experimented with OAuth, but I thought there was a mechanism for programmatically obtaining tokens outside of a web browser. Isn't it all just GET and POST requests? I'd love to understand why it wouldn't work if I'm wrong. Maybe it's possible, but too complicated/user-unfriendly... ?
    I think a simple public sync would be cool... it's been a long time since I experimented with OAuth, but I thought there was a mechanism for programmatically obtaining tokens outside of a web browser. Isn't it all just GET and POST requests? I'd love to understand why it wouldn't work if I'm wrong. Maybe it's possible, but too complicated/user-unfriendly... ?
  • Nov 03, 2009
    SyncrRequest (Discussion about adding new web service modules.) Wiki page commented on by Jim.mixt...@gmail.com   -   == Photobucket? == I have build a photobucket module for syncr (because I'm using several of the other ones and it was an appropriate place to stick the code) I would like to run this by you before I go off trying to submit the code though: Photobucket uses oAuth as their authentication method, which breaks the current paradigm of syncr applications taking a username/password as strings. What do you think? I could strip out the authentication so that it only syncs public photos and therefore only needs a username as a string Let me know =) Jim (jim.mixtake) on google's well know email system
    == Photobucket? == I have build a photobucket module for syncr (because I'm using several of the other ones and it was an appropriate place to stick the code) I would like to run this by you before I go off trying to submit the code though: Photobucket uses oAuth as their authentication method, which breaks the current paradigm of syncr applications taking a username/password as strings. What do you think? I could strip out the authentication so that it only syncs public photos and therefore only needs a username as a string Let me know =) Jim (jim.mixtake) on google's well know email system
  • Oct 29, 2009
    issue 71 (Twitter template tag) Status changed by yash888   -   Merged the template tag into the twitter app. http://code.google.com/p/django-syncr/source/detail?r=96
    Status: Fixed
    Merged the template tag into the twitter app. http://code.google.com/p/django-syncr/source/detail?r=96
    Status: Fixed
  • Oct 29, 2009
    issue 72 (Twitter Syncr repeat syncing) changed by yash888   -  
    Status: Duplicate
    Status: Duplicate
  • Oct 29, 2009
    issue 62 (The twitpocalypse strikes!) commented on by yash888   -   Issue 72 has been merged into this issue.
    Issue 72 has been merged into this issue.
  • Oct 29, 2009
    r96 (Adding dougal85 twitterfy template tag which converts @ and ...) committed by yash888   -   Adding dougal85 twitterfy template tag which converts @ and # to twitter links
    Adding dougal85 twitterfy template tag which converts @ and # to twitter links
  • Oct 29, 2009
    issue 62 (The twitpocalypse strikes!) commented on by yash888   -   Yeah this issue is because of twitter id exceeding max int. The solution is to use BigINT or use CharField for twitter id. I personally used CharField....
    Yeah this issue is because of twitter id exceeding max int. The solution is to use BigINT or use CharField for twitter id. I personally used CharField....
  • Oct 18, 2009
    r95 ([syncr-refactor] Reorganization of syncr apps) committed by jesse.legg   -   [syncr-refactor] Reorganization of syncr apps
    [syncr-refactor] Reorganization of syncr apps
  • Oct 18, 2009
    r94 (Creating branch to refactor django-syncr models. ) committed by jesse.legg   -   Creating branch to refactor django-syncr models.
    Creating branch to refactor django-syncr models.
  • Oct 02, 2009
    issue 73 (Youtube User Should have an (optional) relation to User) commented on by Jim.mixt...@gmail.com   -   note: the second patch also contains the changes in the first patch
    note: the second patch also contains the changes in the first patch
  • Oct 02, 2009
    issue 73 (Youtube User Should have an (optional) relation to User) commented on by Jim.mixt...@gmail.com   -   here is another related patch that lets you sync all of a user's content in one line example: {{{ user.youtube_acct.sync() }}}
    here is another related patch that lets you sync all of a user's content in one line example: {{{ user.youtube_acct.sync() }}}
  • Oct 02, 2009
    issue 73 (Youtube User Should have an (optional) relation to User) commented on by Jim.mixt...@gmail.com   -   example usage: {{{ from django.contrib.auth.models import User from syncr.app.youtube import YoutubeSyncr user = User.objects.get(username='example_user') yt_syncr = YoutubeSyncr() yt_user = yt_syncr.syncUser('example_youtube_username') yt_user.user = user yt_user.save() }}}
    example usage: {{{ from django.contrib.auth.models import User from syncr.app.youtube import YoutubeSyncr user = User.objects.get(username='example_user') yt_syncr = YoutubeSyncr() yt_user = yt_syncr.syncUser('example_youtube_username') yt_user.user = user yt_user.save() }}}
  • Oct 02, 2009
    issue 73 (Youtube User Should have an (optional) relation to User) reported by Jim.mixt...@gmail.com   -   I think it would be useful to many people interested in django_syncr and specifically it's youtube support, to link a YoutubeUser to a User. I think a OneToOne Relation is probably the best way because presumably each User would only have one youtube account. If you want to support multiple youtube accounts per user, you can always Change the OneToOne to a ForeignKey Patch file attached (you may have to change the paths since the patch is in the context of a pinax project)
    I think it would be useful to many people interested in django_syncr and specifically it's youtube support, to link a YoutubeUser to a User. I think a OneToOne Relation is probably the best way because presumably each User would only have one youtube account. If you want to support multiple youtube accounts per user, you can always Change the OneToOne to a ForeignKey Patch file attached (you may have to change the paths since the patch is in the context of a pinax project)
  • Oct 01, 2009
    issue 72 (Twitter Syncr repeat syncing) commented on by l...@ascetinteractive.com   -   Okay after more research it is clear that this was cause by http://www.twitpocalypse.com/ there was just some lack of clarity about what would happen to twitter syncr with twitpocalypse II for those who have this issue read http://code.google.com/p/django-syncr/issues/detail?id=62&q=twitter
    Okay after more research it is clear that this was cause by http://www.twitpocalypse.com/ there was just some lack of clarity about what would happen to twitter syncr with twitpocalypse II for those who have this issue read http://code.google.com/p/django-syncr/issues/detail?id=62&q=twitter
  • Oct 01, 2009
    issue 72 (Twitter Syncr repeat syncing) reported by l...@ascetinteractive.com   -   What steps will reproduce the problem? 1. I have a crontab syncing a twitter account ever 5 min 2. the latest post in twitter is being synced ever time spamming out the sql version django-syncr 0.41 see: http://ballarat.vic.greens.org.au/
    What steps will reproduce the problem? 1. I have a crontab syncing a twitter account ever 5 min 2. the latest post in twitter is being synced ever time spamming out the sql version django-syncr 0.41 see: http://ballarat.vic.greens.org.au/
  • Sep 25, 2009
    issue 62 (The twitpocalypse strikes!) commented on by matthewtdawson   -   For what it's worth, I *just* started having this problem today. I'm also using MySQL, so yash888 - if you're still around, I'd be interested to see if you started seeing this as well. Changing the twitter_tweet.tweet_id field to BIGINT fixed it for me. I'm 99% sure that the problem was Twitocalypse II: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/3614bb896bf6ad3e They mention a new max status ID of 4294967296. My most recent tweet was incorrectly being recorded as that -1. Attempts to save anything higher failed until doing an alter on the database.
    For what it's worth, I *just* started having this problem today. I'm also using MySQL, so yash888 - if you're still around, I'd be interested to see if you started seeing this as well. Changing the twitter_tweet.tweet_id field to BIGINT fixed it for me. I'm 99% sure that the problem was Twitocalypse II: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/3614bb896bf6ad3e They mention a new max status ID of 4294967296. My most recent tweet was incorrectly being recorded as that -1. Attempts to save anything higher failed until doing an alter on the database.
  • Sep 22, 2009
    issue 71 (Twitter template tag) commented on by dougal85   -   Sorry ignore that file I uploaded the wrong one. Attached in the one that works.
    Sorry ignore that file I uploaded the wrong one. Attached in the one that works.
  • Sep 22, 2009
    issue 71 (Twitter template tag) reported by dougal85   -   I wrote a short bit of code and shared it as a snippet on djangosnippets - i i think it would be useful to include it in django-syncr for anybody using the twitter app. It's basically a template filter that searches to the text from twitter usernames (like @d0ugal) and hashtags (#example) and converts them into links to twitter profiles and twitter search. I've attached the file to this ticket, i would have made a patch but doesn't seem worth it since i wouldn't actually be changing any files, just adding one.
    I wrote a short bit of code and shared it as a snippet on djangosnippets - i i think it would be useful to include it in django-syncr for anybody using the twitter app. It's basically a template filter that searches to the text from twitter usernames (like @d0ugal) and hashtags (#example) and converts them into links to twitter profiles and twitter search. I've attached the file to this ticket, i would have made a patch but doesn't seem worth it since i wouldn't actually be changing any files, just adding one.
  • Aug 02, 2009
    issue 62 (The twitpocalypse strikes!) commented on by yash888   -   I have been using the same code from a while back and I still have PositiveIntegerField for twitter_id but I dont have any problem. And by the way I am using mysql (could that be it)....
    I have been using the same code from a while back and I still have PositiveIntegerField for twitter_id but I dont have any problem. And by the way I am using mysql (could that be it)....
  • Aug 02, 2009
    SyncrRequest (Discussion about adding new web service modules.) Wiki page commented on by yash888   -   Just committed tumblr syncr... Check it out!!!
    Just committed tumblr syncr... Check it out!!!
  • Aug 02, 2009
    r93 (Adding Tumblr syncr to django-syncr) committed by yash888   -   Adding Tumblr syncr to django-syncr
    Adding Tumblr syncr to django-syncr
  • Aug 02, 2009
    issue 70 (syncr.youtube.models.Video.save() needs **kwargs for pass-th...) reported by damontimm   -   First: THANKS! Second: Have a problem/fix that may help folks who are using the trunk of django (currently revision 11375) ... am using version 0.41 of syncr. Was getting the following error: >>> from video.syncr.app import youtube >>> sync = youtube.YoutubeSyncr() >>> sync.syncVideo('zWnCN_dPDWY') Traceback (most recent call last): File "<console>", line 1, in <module> File "/mnt/www/django/video/../video/syncr/app/youtube.py", line 58, in syncVideo return self.syncVideoFeed(feed) File "/mnt/www/django/video/../video/syncr/app/youtube.py", line 84, in syncVideoFeed defaults=default_dict) File "/usr/lib/python2.5/site-packages/django/db/models/manager.py", line 123, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.5/site-packages/django/db/models/query.py", line 335, in get_or_create obj.save(force_insert=True) TypeError: save() got an unexpected keyword argument 'force_insert' I found this bug: http://code.djangoproject.com/ticket/8662 I changed lines 24 and 25 of syncr/youtube/models.py to (just added **kwargs to pass through the save function): def save(self, **kwargs): super(Video, self).save(**kwargs) Tag.objects.update_tags(self, self.tag_list) The error went away. Thanks again.
    First: THANKS! Second: Have a problem/fix that may help folks who are using the trunk of django (currently revision 11375) ... am using version 0.41 of syncr. Was getting the following error: >>> from video.syncr.app import youtube >>> sync = youtube.YoutubeSyncr() >>> sync.syncVideo('zWnCN_dPDWY') Traceback (most recent call last): File "<console>", line 1, in <module> File "/mnt/www/django/video/../video/syncr/app/youtube.py", line 58, in syncVideo return self.syncVideoFeed(feed) File "/mnt/www/django/video/../video/syncr/app/youtube.py", line 84, in syncVideoFeed defaults=default_dict) File "/usr/lib/python2.5/site-packages/django/db/models/manager.py", line 123, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.5/site-packages/django/db/models/query.py", line 335, in get_or_create obj.save(force_insert=True) TypeError: save() got an unexpected keyword argument 'force_insert' I found this bug: http://code.djangoproject.com/ticket/8662 I changed lines 24 and 25 of syncr/youtube/models.py to (just added **kwargs to pass through the save function): def save(self, **kwargs): super(Video, self).save(**kwargs) Tag.objects.update_tags(self, self.tag_list) The error went away. Thanks again.
  • Jul 24, 2009
    issue 69 ([enhancement] Packing with distutils) commented on by brandon.konkle   -   Thanks! Yeah, I've been diving into virtualenv and virtualenvwrapper lately, and they makes things so much easier to work with. I've been following Pinax's lead by writing a script that creates and updates a bootstrap.py script which will set up the environment automatically and then run pip to install all needed requirements. To begin developing on a new computer, all I have to do is run the bootstrap script and within minutes every requirement is in place and completely isolated from every other project. To deploy a new release to production, I can use fabric to wipe out the old virtualenv within seconds and automatically build the new one with updated versions of requirements. Anyway, I'm rambling. The bottom line is that every requirement needs to be packaged with distutils or setuptools, so I've been packaging up everything I can find. :-)
    Thanks! Yeah, I've been diving into virtualenv and virtualenvwrapper lately, and they makes things so much easier to work with. I've been following Pinax's lead by writing a script that creates and updates a bootstrap.py script which will set up the environment automatically and then run pip to install all needed requirements. To begin developing on a new computer, all I have to do is run the bootstrap script and within minutes every requirement is in place and completely isolated from every other project. To deploy a new release to production, I can use fabric to wipe out the old virtualenv within seconds and automatically build the new one with updated versions of requirements. Anyway, I'm rambling. The bottom line is that every requirement needs to be packaged with distutils or setuptools, so I've been packaging up everything I can find. :-)
  • Jul 24, 2009
    issue 69 ([enhancement] Packing with distutils) changed by jesse.legg   -   This is cool, I have been thinking about packaging for a while now. I will take a look at your patch, but I think this sounds like the way to go as far as packaging is concerned...
    Status: Accepted
    Owner: jesse.legg
    Labels: Type-Enhancement Usability Type-Defect
    This is cool, I have been thinking about packaging for a while now. I will take a look at your patch, but I think this sounds like the way to go as far as packaging is concerned...
    Status: Accepted
    Owner: jesse.legg
    Labels: Type-Enhancement Usability Type-Defect
  • Jul 15, 2009
    issue 69 ([enhancement] Packing with distutils) reported by brandon.konkle   -   In order to use django-syncr in a requirements.txt file so that it can be automatically installed into a virtualenv by pip, I needed to package it with distutils. To do this, I borrowed heavily from Django's own setup.py, and I moved everything into a syncr folder to use as the syncr namespace. This is required for the setup.py to work correctly. The diff I've generated looks huge because everything has been moved around, but in reality the only change is that everything is under the syncr/ directory now, and I've created a setup.py. I'll be using a fork at http://bitbucket.org/bkonkle/django-syncr/overview/ to house this distutils-enabled version until you've had a chance to look this over and make a decision on whether to move in this direction. Thanks for such a fantastic project, by the way!
    In order to use django-syncr in a requirements.txt file so that it can be automatically installed into a virtualenv by pip, I needed to package it with distutils. To do this, I borrowed heavily from Django's own setup.py, and I moved everything into a syncr folder to use as the syncr namespace. This is required for the setup.py to work correctly. The diff I've generated looks huge because everything has been moved around, but in reality the only change is that everything is under the syncr/ directory now, and I've created a setup.py. I'll be using a fork at http://bitbucket.org/bkonkle/django-syncr/overview/ to house this distutils-enabled version until you've had a chance to look this over and make a decision on whether to move in this direction. Thanks for such a fantastic project, by the way!
  • Jul 14, 2009
    issue 68 (Deleting a picasaweb album does not delete related photos) reported by boomroker   -   What steps will reproduce the problem? 1. Sync Album 2. Delete Album 3. Photos are still present Is this what I should expect?
    What steps will reproduce the problem? 1. Sync Album 2. Delete Album 3. Photos are still present Is this what I should expect?
 
Hosted by Google Code