Saved items got to "My LIbrary" instead of open folder

I made a trace of saving several items to zotero (using the firefox plugin, ubuntu): D731605434

During that trace, I downloaded a pdf, extracting it's metadata, then added a few items from google scholar. All failed to go to the open folder.

I made another note on this here: https://forums.zotero.org/discussion/540/saving-item-doesnt-go-to-selected-collection/#Item_6
  • btw: my setup is this:

    I'm using zotero 4.0.15 in firefox 25.0 on Ubuntu 12.04
  • start by updating to 4.0.16
  • There's a ton of output in there, since it looks like there's an active sync going. Assuming this still happens in 4.0.16 (which is likely), temporarily disable auto-sync and then provide a Debug ID for just a single save attempt from Google Scholar that doesn't go to the right collection.

    Possibly unrelated, but it also looks like there are some issues with various attachments in your library. Items NX8R3WAN, PBXBKKQ2, R4DFJRAW, UNBIFFKJ, UDSW56KD, WKPGPDG3, and WNC4JUSW (and possibly others) all show as having symlinks in them, which should never be the case under normal operation, suggesting that you're doing/using something weird. You can paste those keys into the Zotero search bar (in "All Fields & Tags" mode) to see the attachments in question. For the ones that have their files locally you can do Show File to see the symlinks. Some of those attachments might only exist on another computer or online, though, in which case you can check on the other computer or view them online with URLs like https://www.zotero.org/drevicko/items/itemKey/NX8R3WAN. Zotero isn't currently able to properly deal with symlinks, so you'll probably want to just delete those from zotero.org, but it'd also be good to figure out how they got into your library in the first place.
  • Hey, I had similar problems, the only thing I found to solve that was to re-locate the files, one per one, to the destination folder in my online library... But, that is impractical.

    Does anyone know how to move files from one folder to another in the standalone? If there is an option to do that, I could not find it...

    Thanks!
  • what was your problem exactly? You can just drag&drop items to copy them to collections in Zotero.
  • ok, I turned off "sync automatically", enabled logging then grabbed a reference from google scholar; the item didn't go into the selected folder - this is the log: D593136462

    I made another log with "My Library" selected if it's any use: D440194252 (forgot to check I had a folder selected).

    I'll look into the symlinks shortly.
  • The first symlinked thing (NX8R3WAN) is a web page item and shapshot. The item is acutally a download URL via a proxy: http://ieeexplore.ieee.org.virtual.anu.edu.au/stamp/stamp.jsp?tp=&arnumber=1541280

    Probably a red herring, but if I recall, something weird was happening with the web proxy... I was viewing the page for an article over the proxy (from home), right-clicked the pdf link, then chose "save to Zotero" - this didn't work. When I clicked the link, I got an "unauthorized" HTTP error, and I don't think the url was going through the proxy. I can't remember how the web page item appeard (can't check right now as I'm in the office and the proxy doesn't work here).

    The second symlink thing (PBXBKKQ2) is an ordinary pdf attachment. On my work machine, all local copies are not symlinks (I have webdav setup for zotero on my work machine too - not symlinks in that either). I believe the long trace came from my machine at home though - it's just possible my firefox profilea at home is symlinked? Can't check right now, as that machine is turned off..

    I tried the link in your comment (Dan) and it comes up with the web page item ok, nothing seems wrong. I can even click the link, and (here in the office, where the proxy removes itself) it downloads the pdf.
  • edited December 9, 2013
    Do you have the Zotero pane open when you're trying to save? If not, and you haven't yet opened Zotero in this Firefox session, Zotero will save to the library root, to keep you from saving somewhere unexpected. If you open the pane and close it it should save to the collection, though.
  • And if the pane is open, are you in a normal collection, or something like a Unfiled Items or a search?
  • it's just possible my firefox profilea at home is symlinked?
    That's possible. If anything in the path leading up to the Zotero data directory is symlinked, it might think that the file itself is a symlink. (I haven't tested that.) From what I remember, Mozilla symlink support has been dangerously buggy in the past, which is why Zotero takes extra precautions and refuses to try to do anything if it thinks something is a symlink. We might be able to improve things in a future version, but for now you probably want to avoid having your data directory anywhere symlinked.
  • I had the zotero pane open and a normal collection selected (not a search or a special collection like Duplicates or Trash).
  • I can't reproduce this. Does it happen after a restart? If you have any other Firefox extensions installed, try disabling them.

    If none of that helps, can you provide exact steps to reproduce this, from browser start?
  • I just did another one (D184971235) - restarted firefox and made sure only one instance of zotero was running. I selected a collection (before turning on logging), then logged saving a reference from google scholar - it went into "My Library".

    I have zotfile installed, so some of the trace will be renaming the pdf.
  • Disable all extensions other than Zotero and the Zotero word processor extensions and try again. That includes ZotFile and any other Zotero-related extensions.
  • disabled all addons except zotero and Ubuntu ff modifications and restarted ff: D1608633528, D797311069

    Steps:
    1 - launch firefox (it loads the previous session, but only content from visible tabs, zotero was not open in the previous session)
    2 - open zotero (opens as a tab)
    3 - select a collection (it's actually a sub-collection of another collection)
    4 - enable logging
    5 - click folder icon in g.scholar tab address bar
    6 - popup appears asking which articles to save
    !! at this point, it already says "saving to My Library"
    !! there are only 3 lines reported as logged
    7 - select the article I'm interested in
    8 - wait for it to finish (all popups disappear)
    9 - click "submit log to zotero"

    I did this twice, just to be sure (the t logs above)

    Is there another way I can ask zotero via chrome: about which folder is currently open? Perhaps I can track such a request??
  • why don't you switch 3 and 4 around - selecting a collection is logged in the debug, so that should be helpful.
  • ok, here it its: D1864937808
    I noticed that selecting the collection logged 94 lines, then clicking the folder icon in the address bar logged 3 (already it said "my Library")
  • Disable Ubuntu Firefox Modifications too. That's caused problems in Zotero in the past.
  • open zotero (opens as a tab)
    Does it happen in the pane view?
    (already it said "my Library")
    Where? Don't paraphrase. I assume you mean it says "Select which items you'd like to add to your library"? If so, that doesn't mean anything — it says that for everything, including group libraries.
  • edited December 9, 2013
    What s/he means is that the notification bubble says "Saving to My Library". (the full message is in the above post under step 6)
  • edited December 9, 2013
    (the full message is in the above post under step 6)
    Ah, sorry, missed that. Hmm, yeah, that should show the collection. I'll take a look at the debug output (but also try disabling the Ubuntu extension).
  • Hey, thanks for the reply!

    @adam smith: Thought it resulted in a copy of the file in the "my libray" folder and the destination folder. So simple, but I had not realized of that...
  • @msmole - any further questions please post to a new thread, since it doesn't sound like you have the same problem, but it does seem like you're misunderstanding how collections work:
    http://www.zotero.org/support/collections_and_tags?&#collections
  • Ok, I´ll do that. Maybe you are right about my misunderstanding, I´´ll check it out.
    Thanks, again!
  • Another trace with Ubuntu extensions (and everything else) disabled:
    D175974201

    I used a different translator: http://eprints.lancs.ac.uk/1433/

    Dan: "Saving to My Library" appears in the little notification pop-up in the bottom right of the window at step 6 above. The google scholar translator pauses at this point with a second popup asking which articles to save.
  • You might want to try reinstalling Firefox. It's unlikely to do anything, but you're getting a strange Firefox error that could be related.

    If that doesn't help, or if you want to try this first, install the latest 4.0 Branch dev XPI and provide a Debug ID with that. (The version number should be r11453 or later.) It might give us a bit more info on what's happening here.
  • edited February 4, 2014
    It's been a busy time, and I haven't had a chance to get to this.

    I noticed just now that on my mac (running zotero in firefox), things go into the open folder ONLY when the zotero tab is in the same window as the tab with the item(s) I'm adding.

    If the zotero tab is in a different window, the item goes into "My Library".

    I thought this might be related to having zotero open in multiple windows, but I tried relaunching firefox and opening zotero in only one place, and the behaviour was the same. Firefox does, however, reload my tabs (though it only actually loads the ones with focus), which may be restoring something hidden related to zotero? I had made sure zotero was not open in any tabs when I relaunched firefox.

    I suspect that's the problem all along! When next in my ubuntu setup, I'll try there.
  • I believe window-by-window behavior is expected.
  • Excellent! I'd say the problem is solved! (:

    Makes sense when multiple zotero tabs are open. I just checked, and zotero won't open a second tab in the same window.

    I guess the confusion is from zotero open in only one place - a naive user may expect different behaviour. But it also makes sense to have the same behaviour when only one zotero tab is open (for consistency - otherwise even more confusion ensues!)

    Perhaps a note should be added to the FAQ? At least one other has had this confusion, and likely many more.
Sign In or Register to comment.