String index out of range: 2

View: New views
4 Messages — Rating Filter:   Alert me  

String index out of range: 2

by Yves Dennebouy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

affected: Maxq-0.98 and 1.0 (windows Xp)

I test an application in which a huge bunch of parameters is used
If I try to record a test
I get the following message:

String index out of range: 2
and nothing is recorded but the proxy works fine if I don't record.



 Any clue ?

I can record the call  from my IDE if somebody can have a look at it


  best regards

Yves Dennebouy
QA managers
networkers
 Préverenges Switzerland

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: String index out of range: 2

by Oliver Bock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Yves,

Do you get a stack trace with this error?


   Oliver

--
On 16/07/2007, at 20:33, Yves Dennebouy wrote:

> affected: Maxq-0.98 and 1.0 (windows Xp)
>
> I test an application in which a huge bunch of parameters is used
> If I try to record a test
> I get the following message:
>
> String index out of range: 2
> and nothing is recorded but the proxy works fine if I don't record.
>
>
>
>  Any clue ?
>
> I can record the call  from my IDE if somebody can have a look at it
>
>
>   best regards
>
> Yves Dennebouy
> QA managers
> networkers
>  Préverenges Switzerland
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Parent Message unknown RE: String index out of range: 2

by Yves Dennebouy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

no where can I get this trace?

but I did something funny: I recorded my session with another tool and then
reran it (with the other tool) with maxq as a proxy/recorder.

And I could record it! It wasn't that big

I guess I had problem with the encoding of the cfurl

   self.get('http://lora64e.networkers.ch:9080/visu_programme', [
                 ('action', 'init'),
                 ('journalSelected', 'FRAUENFELD'),
                 ('journalSelected', 'AMRISWIL'),
                 ('month', '04'),
                 ('year', '2007'),
                 ('cfurl',
'/examen?action=init&journalSelected2=FRAUENFELD,AMRISWIL&inspecteur
Selected2='),
                 ('rnd', '0.005202727614182667'),
                 ], 200)

other recordings (direct, without the other tool) gave me cfurl looking like
that:

 ('cfurl',
'%2Fexamen%3Faction%3Dinit%26amp%3BjournalSelected2%3D%26amp%3BinspecteurSel
ected2%3D'),

Yves



-----Message d'origine-----
De : Oliver Bock [mailto:oliver@...]
Envoyé : mardi, 17. juillet 2007 12:57
À : users@...
Objet : Re: [maxq-users] String index out of range: 2


Hi Yves,

Do you get a stack trace with this error?


   Oliver

--
On 16/07/2007, at 20:33, Yves Dennebouy wrote:

> affected: Maxq-0.98 and 1.0 (windows Xp)
>
> I test an application in which a huge bunch of parameters is used
> If I try to record a test
> I get the following message:
>
> String index out of range: 2
> and nothing is recorded but the proxy works fine if I don't record.
>
>
>
>  Any clue ?
>
> I can record the call  from my IDE if somebody can have a look at it
>
>
>   best regards
>
> Yves Dennebouy
> QA managers
> networkers
>  Préverenges Switzerland
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: String index out of range: 2

by Oliver Bock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

MaxQ should output a stack trace whenever it outputs an error.  The  
only other way I can think of finding the source of your problem  
would be to add print statements to work out at what point, and under  
what conditions, the error is occurring.


    Oliver

On 18/07/2007, at 03:27, Yves Dennebouy wrote:

> no where can I get this trace?
>
> but I did something funny: I recorded my session with another tool  
> and then
> reran it (with the other tool) with maxq as a proxy/recorder.
>
> And I could record it! It wasn't that big
>
> I guess I had problem with the encoding of the cfurl
>
>    self.get('http://lora64e.networkers.ch:9080/visu_programme', [
>                  ('action', 'init'),
>                  ('journalSelected', 'FRAUENFELD'),
>                  ('journalSelected', 'AMRISWIL'),
>                  ('month', '04'),
>                  ('year', '2007'),
>                  ('cfurl',
> '/examen?
> action=init&journalSelected2=FRAUENFELD,AMRISWIL&inspecteur
> Selected2='),
>                  ('rnd', '0.005202727614182667'),
>                  ], 200)
>
> other recordings (direct, without the other tool) gave me cfurl  
> looking like
> that:
>
>  ('cfurl',
> '%2Fexamen%3Faction%3Dinit%26amp%3BjournalSelected2%3D%26amp%
> 3BinspecteurSel
> ected2%3D'),
>
> Yves
>
>
>
> -----Message d'origine-----
> De : Oliver Bock [mailto:oliver@...]
> Envoyé : mardi, 17. juillet 2007 12:57
> À : users@...
> Objet : Re: [maxq-users] String index out of range: 2
>
>
> Hi Yves,
>
> Do you get a stack trace with this error?
>
>
>    Oliver
>
> --
> On 16/07/2007, at 20:33, Yves Dennebouy wrote:
>
>> affected: Maxq-0.98 and 1.0 (windows Xp)
>>
>> I test an application in which a huge bunch of parameters is used
>> If I try to record a test
>> I get the following message:
>>
>> String index out of range: 2
>> and nothing is recorded but the proxy works fine if I don't record.
>>
>>
>>
>>  Any clue ?
>>
>> I can record the call  from my IDE if somebody can have a look at it
>>
>>
>>   best regards
>>
>> Yves Dennebouy
>> QA managers
>> networkers
>>  Préverenges Switzerland
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...