Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Testing wanted
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  20 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Simon  
View profile  
 More options Feb 8, 5:43 pm
From: Simon <si...@simonster.com>
Date: Wed, 8 Feb 2012 14:43:22 -0800 (PST)
Local: Wed, Feb 8 2012 5:43 pm
Subject: Testing wanted
Hi Zoterons,

We're getting ready to release Zotero 3.0.2 in the next few days.
Since I've restructured some word processor integration-related code,
it would be great to get some testing prior to release to ensure that
there aren't any major issues. The dev XPI is available at:

http://www.zotero.org/support/dev_builds#zotero_30_branch

We're also preparing for the release of a new, completely rewritten
Zotero MacWord Integration plugin. The new plugin uses js-ctypes
combined with Scripting Bridge to interface with Word. This replaces
the old appscript/PythonExt-based plugin. The sweeping architectural
change was necessary for two reasons. First, Firefox 11 lacks the
ability to create custom module loaders, which broke PyXPCOM and thus
PythonExt. Additionally, appscript relied on APIs that have been
deprecated in Mac OS X 10.7, and has been discontinued.

The new plugin does not work with Firefox 3.6, but it should be
forward-compatible with future Firefox versions without changes. It
also restores support for Mac OS X 10.5. The XPI is available at:

http://www.zotero.org/support/dev_builds#trunk

Thanks for your help in testing these upcoming releases.

Simon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rönkkö Mikko  
View profile  
 More options Feb 9, 2:57 pm
From: Rönkkö Mikko <mikko.ron...@aalto.fi>
Date: Thu, 9 Feb 2012 19:57:43 +0000
Local: Thurs, Feb 9 2012 2:57 pm
Subject: Re: Testing wanted

On Feb 9, 2012, at 00:43, Simon wrote:

> We're also preparing for the release of a new, completely rewritten
> Zotero MacWord Integration plugin. The new plugin uses js-ctypes
> combined with Scripting Bridge to interface with Word. This replaces
> the old appscript/PythonExt-based plugin. The sweeping architectural
> change was necessary for two reasons. First, Firefox 11 lacks the
> ability to create custom module loaders, which broke PyXPCOM and thus
> PythonExt. Additionally, appscript relied on APIs that have been
> deprecated in Mac OS X 10.7, and has been discontinued.

Does this new plugin publish interfaces that third party plugins could use to install scripts in the Word script directory? I introduce a script menu item in ZoteroQuickLook 1.3, but the path where it is installed is currently hard coded. Using the same installer as the MacWord plugin would enable supporting scripts in more than one location.

Mikko


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon  
View profile  
 More options Feb 10, 2:00 am
From: Simon <si...@simonster.com>
Date: Thu, 9 Feb 2012 23:00:07 -0800 (PST)
Local: Fri, Feb 10 2012 2:00 am
Subject: Re: Testing wanted
You should now be able to do:

var installer = Components.classes["@zotero.org/Zotero/integration/
installer?agent=MacWord;
1"].createInstance(Components.interfaces.nsIRunnable).wrappedJSObject;
installer.writeScript(installer.getScriptItemsDirectory()+"/My
Script.scpt", 'tell application "Finder" to activate');

Simon

On Feb 9, 2:57 pm, Rönkkö Mikko <mikko.ron...@aalto.fi> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rönkkö Mikko  
View profile  
 More options Feb 10, 2:14 am
From: Rönkkö Mikko <mikko.ron...@aalto.fi>
Date: Fri, 10 Feb 2012 07:14:28 +0000
Local: Fri, Feb 10 2012 2:14 am
Subject: Re: Testing wanted

On Feb 10, 2012, at 09:00, Simon wrote:

> You should now be able to do:

> var installer = Components.classes["@zotero.org/Zotero/integration/
> installer?agent=MacWord;
> 1"].createInstance(Components.interfaces.nsIRunnable).wrappedJSObject;
> installer.writeScript(installer.getScriptItemsDirectory()+"/My
> Script.scpt", 'tell application "Finder" to activate');

This does not seem to work

*** WARN addons.manager: Exception calling callback: TypeError: installer is undefined

The code is available here

https://github.com/mronkko/ZoteroQuickLook/blob/master/chrome/content...

Lines 104-105 are the relevant parts.

Mikko


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon  
View profile  
 More options Feb 10, 2:21 am
From: Simon <si...@simonster.com>
Date: Thu, 9 Feb 2012 23:21:22 -0800 (PST)
Local: Fri, Feb 10 2012 2:21 am
Subject: Re: Testing wanted
We just updated the XPI (before the changes were only on GitHub). Try
again.

On Feb 10, 2:14 am, Rönkkö Mikko <mikko.ron...@aalto.fi> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rönkkö Mikko  
View profile  
 More options Feb 10, 2:33 am
From: Rönkkö Mikko <mikko.ron...@aalto.fi>
Date: Fri, 10 Feb 2012 07:33:08 +0000
Local: Fri, Feb 10 2012 2:33 am
Subject: Re: Testing wanted

On Feb 10, 2012, at 09:21, Simon wrote:

> We just updated the XPI (before the changes were only on GitHub). Try
> again.

This works now just fine.

There is one small thing that I would like changed, but this is not very important. There could be an additional parameter to the writeScript method that tells the name of the product that is being installed. When I use the installer from ZoteroQuickLook I would like the dialogs that the installer may show to say that ZoteroQuickLook integration is being installed instead of MacWord integration.

Mikko


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon  
View profile  
 More options Feb 10, 3:08 am
From: Simon <si...@simonster.com>
Date: Fri, 10 Feb 2012 00:08:07 -0800 (PST)
Local: Fri, Feb 10 2012 3:08 am
Subject: Re: Testing wanted
The writeScript() method doesn't show any dialogs. It just calls
osacompile with the appropriate OS version-specific arguments. The
getScriptItemsDirectory() method potentially shows a dialog that says
"Select the Word Script Menu Items folder, usually located in
Documents/Microsoft User Data," which is agnostic.

Simon

On Feb 10, 2:33 am, Rönkkö Mikko <mikko.ron...@aalto.fi> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rönkkö Mikko  
View profile  
 More options Feb 10, 3:16 am
From: Rönkkö Mikko <mikko.ron...@aalto.fi>
Date: Fri, 10 Feb 2012 08:16:42 +0000
Local: Fri, Feb 10 2012 3:16 am
Subject: Re: Testing wanted
On Feb 10, 2012, at 10:08, Simon wrote:

> The writeScript() method doesn't show any dialogs. It just calls
> osacompile with the appropriate OS version-specific arguments. The
> getScriptItemsDirectory() method potentially shows a dialog that says
> "Select the Word Script Menu Items folder, usually located in
> Documents/Microsoft User Data," which is agnostic.

I see. It seems that I confused the installer dialog for the integration to installing the ZoteroQuickLook integration.

Is the script that generates the content of the integration scripts exposed outside the integration? I saw this in the XCode project, but do not know if it can be accessed outside he MacWord integration?

Basically, I want to generate the following script:

try
        do shell script "PIPE=\"/Users/Shared/.zoteroIntegrationPipe_$LOGNAME\";  if [ ! -e \"$PIPE\" ]; then PIPE='~/.zoteroIntegrationPipe'; fi; if [ -e \"$PIPE\" ]; then echo 'MacWord2008 quickLook '" & quoted form of POSIX path of (path to current application) & " > \"$PIPE\"; else exit 1; fi;"
on error
        display alert "Word could not communicate with Zotero. Please ensure that Firefox is open and try again." as critical
end try

The only difference between this and the integration scripts is the command that it sends to Zotero.

Mikko


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon  
View profile  
 More options Feb 10, 3:49 am
From: Simon <si...@simonster.com>
Date: Fri, 10 Feb 2012 00:49:54 -0800 (PST)
Local: Fri, Feb 10 2012 3:49 am
Subject: Re: Testing wanted
On Feb 10, 3:16 am, Rönkkö Mikko <mikko.ron...@aalto.fi> wrote:

I don't think it's worth the effort to expose the code that generates
the scripts in Cocoa to JS, since it would take significantly more
code than the script itself. (js-ctypes really sucks sometimes,
particularly when dealing with strings.)

Simon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rönkkö Mikko  
View profile  
 More options Feb 10, 4:57 am
From: Rönkkö Mikko <mikko.ron...@aalto.fi>
Date: Fri, 10 Feb 2012 09:57:31 +0000
Local: Fri, Feb 10 2012 4:57 am
Subject: Re: Testing wanted
For some reason I cannot get this to work. Installing the example script given by Simon works well, but installing a multiline script fails with an error from osacompile (compilation error: Expected expression but found unknown token. (-2741)).

var installer = Components.classes["@zotero.org/Zotero/integration/installer?agent=MacWord; 1"].createInstance(Components.interfaces.nsIRunnable).wrappedJSObject;
                        installer.writeScript(installer.getScriptItemsDirectory()+"/Zotero/ZoteroQu ickLook\\coq.scpt",
                        'try\n'+
                        'do shell script "PIPE=\"/Users/Shared/.zoteroIntegrationPipe_$LOGNAME\";  if [ ! -e \"$PIPE\" ]; then PIPE=\'~/.zoteroIntegrationPipe\'; fi; if [ -e \"$PIPE\" ]; then echo \'MacWord2008 quickLook \'" & quoted form of POSIX path of (path to current application) & " > \"$PIPE\"; else exit 1; fi;"\n'+
                        'on error\n'+
                        'display alert "Word could not communicate with Zotero. Please ensure that Firefox is open and try again." as critical\n'+
                        'end try\n');

https://github.com/mronkko/ZoteroQuickLook/blob/master/chrome/content... (lines 102-110)

Mikko

On Feb 10, 2012, at 10:49, Simon wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon  
View profile  
 More options Feb 10, 11:35 am
From: Simon <si...@simonster.com>
Date: Fri, 10 Feb 2012 08:35:15 -0800 (PST)
Local: Fri, Feb 10 2012 11:35 am
Subject: Re: Testing wanted
You need to escape your backslashes; right now that string is not
valid AppleScript. You could just copy/paste from
https://github.com/zotero/zotero-word-for-mac-integration/blob/master...
and add some + signs.

Simon

On Feb 10, 4:57 am, Rönkkö Mikko <mikko.ron...@aalto.fi> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frank Bennett  
View profile  
 More options Feb 12, 6:33 am
From: Frank Bennett <biercena...@gmail.com>
Date: Sun, 12 Feb 2012 03:33:45 -0800 (PST)
Local: Sun, Feb 12 2012 6:33 am
Subject: Re: Testing wanted
I'm able to crash the 3.0.2 release predictably under Linux.

STR:

(1) Fire up Zotero 3.0.2 with Zotero OpenOffice Integration 3.5.2
under Ubuntu 11.04 w/Gnome window manager.
(2) Fire up lowriter ver. 3.3.4.
(3) Click on Set Document Preferences in lowriter
(4) Click on (x) in window manager to cancel Set Document Preferences
popup.
(5) Firefox crashes.

I've tried to trace some values, but haven't hit anything that looks
like a cause.

Frank

On Feb 10, 4:35 pm, Simon <si...@simonster.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon  
View profile  
 More options Feb 12, 2:55 pm
From: Simon <si...@simonster.com>
Date: Sun, 12 Feb 2012 11:55:16 -0800 (PST)
Local: Sun, Feb 12 2012 2:55 pm
Subject: Re: Testing wanted
Huh, that's really weird. It's not actually crashing; it's closing on
its own, as if the last window was closed. If you have two Firefox
windows open, then it doesn't close immediately, but it does close
after you close one of the remaining windows. I'll look into the cause
of this.

On Feb 12, 6:33 am, Frank Bennett <biercena...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon  
View profile  
 More options Feb 12, 7:06 pm
From: Simon <si...@simonster.com>
Date: Sun, 12 Feb 2012 16:06:39 -0800 (PST)
Local: Sun, Feb 12 2012 7:06 pm
Subject: Re: Testing wanted
Not sure what the underlying issue was, but this should be fixed now
(via making the close button and cancel button do exactly the same
thing). It looks like it's been a problem since at least 3.0.1.

Simon

On Feb 12, 2:55 pm, Simon <si...@simonster.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frank Bennett  
View profile  
 More options Feb 12, 7:25 pm
From: Frank Bennett <biercena...@gmail.com>
Date: Sun, 12 Feb 2012 16:25:04 -0800 (PST)
Local: Sun, Feb 12 2012 7:25 pm
Subject: Re: Testing wanted
On Feb 13, 12:06 am, Simon <si...@simonster.com> wrote:

> Not sure what the underlying issue was, but this should be fixed now
> (via making the close button and cancel button do exactly the same
> thing). It looks like it's been a problem since at least 3.0.1.

> Simon

That was quick! There's a small thing with focus, I don't know whether
it's worth worrying about. When Firefox is started, followed by
lowriter, the Document Preferences come up underneath the Writer
window, and refuses to foreground. The only way to get access to it is
by reducing or moving the Writer window. After the popup is cancelled
once, it comes to foreground properly when it first appears.

Frank


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon  
View profile  
 More options Feb 12, 7:50 pm
From: Simon <si...@simonster.com>
Date: Sun, 12 Feb 2012 16:50:29 -0800 (PST)
Local: Sun, Feb 12 2012 7:50 pm
Subject: Re: Testing wanted
On Feb 12, 7:25 pm, Frank Bennett <biercena...@gmail.com> wrote:

> On Feb 13, 12:06 am, Simon <si...@simonster.com> wrote:

> > Not sure what the underlying issue was, but this should be fixed now
> > (via making the close button and cancel button do exactly the same
> > thing). It looks like it's been a problem since at least 3.0.1.

> > Simon

> That was quick! There's a small thing with focus, I don't know whether
> it's worth worrying about. When Firefox is started, followed by
> lowriter, the Document Preferences come up underneath the Writer
> window, and refuses to foreground. The only way to get access to it is
> by reducing or moving the Writer window. After the popup is cancelled
> once, it comes to foreground properly when it first appears.

Can you generate a debug ID? I'm not reproducing this on what should
be a similar config.

Simon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frank Bennett  
View profile  
 More options Feb 12, 8:45 pm
From: Frank Bennett <biercena...@gmail.com>
Date: Sun, 12 Feb 2012 17:45:10 -0800 (PST)
Local: Sun, Feb 12 2012 8:45 pm
Subject: Re: Testing wanted
On Feb 13, 12:50 am, Simon <si...@simonster.com> wrote:

It seems to play hide-and-seek only if no popup has yet been
activated; I had to use Enable After Restart to get the steps into a
debug report.

  The Debug ID is D1651152026.

The steps reflected in the report are:

- Starting lowriter
- Clicking Set Document Preferences
- Clicking the Document Preferences tab (in the running windows ribbon
at the bottom of Gnome display)
- This jumped to Firefox in a separate desktop area, so I reselected
the area with lowriter running
- Minimizing lowriter
- Cancelling the popup
- Maximizing lowriter again
- Clicking Document Preferences again, to get the popup foregrounded
over lowriter.
- Cancelling the popup again.

Frank


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon  
View profile  
 More options Feb 12, 10:45 pm
From: Simon <si...@simonster.com>
Date: Sun, 12 Feb 2012 19:45:25 -0800 (PST)
Local: Sun, Feb 12 2012 10:45 pm
Subject: Re: Testing wanted
On Feb 12, 8:45 pm, Frank Bennett <biercena...@gmail.com> wrote:

I tried these same steps and I'm not seeing any issues in my VM (with
Ubuntu 11.04, GNOME, and Metacity). Does the issue also occur if you
run Firefox and LO in the same desktop?

Simon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frank Bennett  
View profile  
 More options Feb 13, 3:01 am
From: Frank Bennett <biercena...@gmail.com>
Date: Mon, 13 Feb 2012 00:01:18 -0800 (PST)
Local: Mon, Feb 13 2012 3:01 am
Subject: Re: Testing wanted
On Feb 13, 3:45 am, Simon <si...@simonster.com> wrote:

I've done some more clicking around, and even if it's not just my
system, it's a very narrow and specific glitch.

Here are the constraints:

- The initially backgrounded DocPrefs popup will refuse to foreground
only if started on a different desktop than FF.
- The popup will start backgrounded only when LO is started from a
terminal command line, as "lowriter" (not from a launcher).
- The popup will start backgrounded only if Zotero is set to run as a
panel (not as a tab or app tab), is not showing in FF, and has not
been run since FF was started.

If any of those starting conditions vary, things work normally.

Frank


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frank Bennett  
View profile  
 More options Feb 14, 10:05 pm
From: Frank Bennett <biercena...@gmail.com>
Date: Tue, 14 Feb 2012 19:05:45 -0800 (PST)
Local: Tues, Feb 14 2012 10:05 pm
Subject: Re: Testing wanted
Found another crash condition. I think this may have been reported to
the forums as well, but here goes.

STR:

(1) Run Zotero w/LibreOffice integration.
(2) Set to use Classic integration popup by default.
(3) Run LibreOffice Writer.
(4) Click Insert Citation icon.
(5) Select a style.
(6) When the Classic dialog appears, use (x) to cancel it.
(7) Integration crashes with Java error trace, after which it is
inoperative until FF restart.

I've filed a Debug ID report covering steps (4) - (7): D1835310248

Report was done with a GitHub checkout of the current 3.0 branch.

Frank


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »