• Home
  • Blog
  • Add-ons
  • Forum
  • Wiki
  • Developers
Nightingale - The tune of life, the tune of yours
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
Guest Hi, Guest
  • Login
  • Register
Login
Username:
Password: Lost Password?
 
Nightingale Forums Nightingale Helpdesk Synchronization [Issue + Wish] Syncronization tool does not "Update" modified files.

Pages (2): « Previous 1 2
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[Issue + Wish] Syncronization tool does not "Update" modified files.
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#11
07-08-2012, 12:26 AM
(07-07-2012, 04:31 PM)kadai Wrote:
Code:
[JavaScript Error: "FolderSync: Event raised in 'sync-sync':
Writing playlist failed:

[Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]"  nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame :: chrome://foldersync/content/sync.js :: anonymous :: line 1059"  data: no]" {file: "chrome://foldersync/content/sync.js" line: 1059}]

[...]

I was not even able to edit the file on kate/nano as a normal user. Only as a super user.

Did you try deleting and re-syncing? In theory the playlist file is created with 666 permissions...
Songbird/Nightingale Community Developer and German Translator
Find
Reply
kadai Offline
Junior Member
**
Posts: 8
Threads: 1
Joined: Jun 2012
Reputation: 0
#12
07-08-2012, 02:10 AM
(07-08-2012, 12:26 AM)rsjtdrjgfuzkfg Wrote:
(07-07-2012, 04:31 PM)kadai Wrote:
Code:
[JavaScript Error: "FolderSync: Event raised in 'sync-sync':
Writing playlist failed:

[Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]"  nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame :: chrome://foldersync/content/sync.js :: anonymous :: line 1059"  data: no]" {file: "chrome://foldersync/content/sync.js" line: 1059}]

[...]

I was not even able to edit the file on kate/nano as a normal user. Only as a super user.

Did you try deleting and re-syncing? In theory the playlist file is created with 666 permissions...

Yes, everytime I was about to start to test it. I was using a specially created folder for it (aka: blank/empty folder).

None the less, like I said earlier, FolderSync is even able to delete the file. If you first sync, it will create the 0 bytes file. Then, if you sync again, it will delete the file but not create a new one.

Despite the fact that I even tried with changing the permission of the folder to make it writable for "others", it kept showing the same problem.

I have read somewhere that sometimes JS does not behave like it is supposed to be. But this appears to be the case on both Songbird and Nightingale, because both presents the same problem (Songbird with the most modern add-on version, and Nightingale with the one it comes bundled with).

I totally wonder what is causing this, and if there is other users affected by this.
Website Find
Reply
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#13
07-08-2012, 02:21 AM
(07-08-2012, 02:10 AM)kadai Wrote: None the less, like I said earlier, FolderSync is even able to delete the file. If you first sync, it will create the 0 bytes file. Then, if you sync again, it will delete the file but not create a new one.

Sounds to me like a bug in the (old) version of xulrunner we currently use (as Songbird does, too). We plan to move to a more recent version, but that takes much time...

On Windows this problem does not exist... you could try using a windows Nightingale/Songbird build.
Sadly, I don't know anything I could do to help you except hoping for the new xulrunner to solve it...
Songbird/Nightingale Community Developer and German Translator
Find
Reply
kadai Offline
Junior Member
**
Posts: 8
Threads: 1
Joined: Jun 2012
Reputation: 0
#14
07-08-2012, 03:28 AM
(07-08-2012, 02:21 AM)rsjtdrjgfuzkfg Wrote:
(07-08-2012, 02:10 AM)kadai Wrote: None the less, like I said earlier, FolderSync is even able to delete the file. If you first sync, it will create the 0 bytes file. Then, if you sync again, it will delete the file but not create a new one.

Sounds to me like a bug in the (old) version of xulrunner we currently use (as Songbird does, too). We plan to move to a more recent version, but that takes much time...

On Windows this problem does not exist... you could try using a windows Nightingale/Songbird build.
Sadly, I don't know anything I could do to help you except hoping for the new xulrunner to solve it...

On Windows the issue is not present (otherwise, it might be a major issue with a lot of users complaining), but since I said, it may be related to the EXT* file system too. Or at least on the way the permissions are set for it.

Inside of Songbird and Nightingale, setting as target a folder on a NTFS partition (aka: Windows Partition) works fine. No issues at all.

By the way, right now I'm using the updated version on Nightingale, without need to re-compile, just updated the sync.js of the foldersync.jar :p ... and it is working! YAY!

But I'll give the add-on a shot later on my windows 7 install.

Thanks a lot for the work!
Website Find
Reply
fcastillo Offline
Junior Member
**
Posts: 22
Threads: 3
Joined: Dec 2011
Reputation: 0
#15
07-14-2013, 06:50 PM
(07-08-2012, 03:28 AM)kadai Wrote: By the way, right now I'm using the updated version on Nightingale, without need to re-compile, just updated the sync.js of the foldersync.jar :p ... and it is working! YAY!

I'm having the same problem with this. Since it's affecting all ext partitions, I can't seem to sync my music to my Android phone. I've been going crazy!
By your post, I'm not sure if by changing something inside that file, the support for ext works, or the only way is xulrunner?

It's quite funny that this happened, because in previous version of this add-on using Songbird, I never had the problem. I'm pretty sure it's related to the add-on and not a library since the music files get copied without a problem and only the playlist are not created properly.

Could you please point out exactly what to change inside that file to fix the problem? If not, has anybody found a way to fix the problem?
Felipe
Website Find
Reply
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#16
07-14-2013, 09:52 PM
(07-14-2013, 06:50 PM)fcastillo Wrote: I'm pretty sure it's related to the add-on and not a library since the music files get copied without a problem and only the playlist are not created properly.

Do you get the very same error message when using debug level 5 and copying the error console output? e.g. NS_ERROR_FILE_ACCESS_DENIED?
If so, I still think this is a XULrunner / dependency issue. On linux we updated the depencendies a little bit so maybe the newer version has an issue, that would be a good reason for the difference between Nightingale and Songbird.

If not, please post the log you get.
Songbird/Nightingale Community Developer and German Translator
Find
Reply
fcastillo Offline
Junior Member
**
Posts: 22
Threads: 3
Joined: Dec 2011
Reputation: 0
#17
07-15-2013, 04:45 AM
(07-14-2013, 09:52 PM)rsjtdrjgfuzkfg Wrote: Do you get the very same error message when using debug level 5 and copying the error console output? e.g. NS_ERROR_FILE_ACCESS_DENIED?
If so, I still think this is a XULrunner / dependency issue. On linux we updated the depencendies a little bit so maybe the newer version has an issue, that would be a good reason for the difference between Nightingale and Songbird.

If not, please post the log you get.

I get the exact same message. I was using Nightingale 1.12 (the stable one) I'm also tried version 2.2.0, Build 2453. I wanted to try the old version but for a reason it doesn't want to sync my music, so I don't have anything for it to sync.

In the case it's xulrunner, is there something we can do to fix it?
Felipe
Website Find
Reply
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#18
07-15-2013, 05:51 AM
(07-15-2013, 04:45 AM)fcastillo Wrote: I get the exact same message. I was using Nightingale 1.12 (the stable one) I'm also tried version 2.2.0, Build 2453. I wanted to try the old version but for a reason it doesn't want to sync my music, so I don't have anything for it to sync.

In the case it's xulrunner, is there something we can do to fix it?

Nightingale 1.12 is newer than 2.2.0, that might be confusing... however 1.12 is the correct version to use.
Hmm. Maybe try bindfs or something similar to assert wrong privileges won't mess it up?

If you want to help, you could post which privileges the playlist file gets (e.g. if it also has 000 privileges). If you know XULrunner well, you could as well help on porting to a recent xulrunner, as that's the big project currently (johnmurrayvi is doing some great work there, contact him or ilikenwf and they'll point you to the current issues for sure).
Songbird/Nightingale Community Developer and German Translator
Find
Reply
« Next Oldest | Next Newest »
Pages (2): « Previous 1 2


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 03-25-2023, 06:48 PM Powered By MyBB, © 2002-2023 MyBB Group.
Design By AliReza_Tofighi In WhiteCrow Software Group.
white outlined nightingale project logo

Nightingale is free!
It is an Open Source project released under the terms of the GNU General Public License v2 (GPL v2).
For more details, please read the license information.

Follow us!
f  g  t

Support
  • Community Forum
  • Official Blog
  • Add-ons
  • Wiki
  • Help Forum
Contribute
  • Developer's Center
  • Translate Nightingale
  • Source Code
  • Report a Bug
Ressources
  • Download Nightingale
Linear Mode
Threaded Mode