[Gambas-user] MTHeme error...

2014-07-10 Thread Stephen
   Ah, is the readfile method of MTheme failing? Am I interpreting this 
correctly? What file is it looking for and where should it be?

-- 

Kindest Regards
Stephen A. Bungay, Prop.
Smarts On Site


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MTHeme error...

2014-07-10 Thread Tobias Boege
On Thu, 10 Jul 2014, Stephen wrote:
Ah, is the readfile method of MTheme failing? Am I interpreting this 
 correctly? What file is it looking for and where should it be?
 

You already sort of found this out in your previous mail:

  Attached is the error dialogue. I dud an updatedb and locate MTheme and
  found only this...

  /home/user/Downloads/gambas3-3.5.4/app/src/gambas3/.src/MTheme.module

This points you directly to the source code of MTheme and error message

 [45] File or Directory does not exist
 MTheme.ReadFile.59

tells you what happens and which line to look.

Regards,
Tobi

-- 
There's an old saying: Don't change anything... ever! -- Mr. Monk

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MTHeme error...

2014-07-10 Thread Stephen
   Thank you Tobias.

   H... it (MTheme.ReadFile) is looking for a subdir off /tmp with 
the name of gambas. I created the subdir manually and gambas3-3.5.4 now 
starts up as it should.
   Perhaps a change to the MTheme.module is warranted, check for the 
existence of the directories referenced in sPath, create them if need 
be, then copy sPath to sTemp. Just a thought.


On 07/10/2014 07:57 AM, Tobias Boege wrote:
 On Thu, 10 Jul 2014, Stephen wrote:
 Ah, is the readfile method of MTheme failing? Am I interpreting this
 correctly? What file is it looking for and where should it be?

 You already sort of found this out in your previous mail:

   Attached is the error dialogue. I dud an updatedb and locate MTheme and
   found only this...

   /home/user/Downloads/gambas3-3.5.4/app/src/gambas3/.src/MTheme.module
 This points you directly to the source code of MTheme and error message

 [45] File or Directory does not exist
 MTheme.ReadFile.59
 tells you what happens and which line to look.

 Regards,
 Tobi



-- 
Kindest Regards
Stephen A. Bungay, Prop.
Smarts On Site


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MTHeme error...

2014-07-10 Thread Tobias Boege
On Thu, 10 Jul 2014, Stephen wrote:
Thank you Tobias.
 
H... it (MTheme.ReadFile) is looking for a subdir off /tmp with 
 the name of gambas. I created the subdir manually and gambas3-3.5.4 now 
 starts up as it should.
Perhaps a change to the MTheme.module is warranted, check for the 
 existence of the directories referenced in sPath, create them if need 
 be, then copy sPath to sTemp. Just a thought.
 

Hmm, interesting. From _init(), ReadFile(gambas) gets called, which
constructs a path theme/gambas to load the default theme which is then
copied to a temporary location, which is the famous line 59.

But the path to copy the theme file to is obtained from Temp$() so if this
directory doesn't exist, some node in the path /tmp/gambas.UID/PID/ does not
exist (which would be strange) or Temp$() is broken...

Regards,
Tobi

-- 
There's an old saying: Don't change anything... ever! -- Mr. Monk

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MTHeme error...

2014-07-10 Thread Charlie Reinl
Am Donnerstag, den 10.07.2014, 14:46 +0200 schrieb Tobias Boege:
 On Thu, 10 Jul 2014, Stephen wrote:
 Thank you Tobias.
  
 H... it (MTheme.ReadFile) is looking for a subdir off /tmp with 
  the name of gambas. I created the subdir manually and gambas3-3.5.4 now 
  starts up as it should.
 Perhaps a change to the MTheme.module is warranted, check for the 
  existence of the directories referenced in sPath, create them if need 
  be, then copy sPath to sTemp. Just a thought.
  
 
 Hmm, interesting. From _init(), ReadFile(gambas) gets called, which
 constructs a path theme/gambas to load the default theme which is then
 copied to a temporary location, which is the famous line 59.
 
 But the path to copy the theme file to is obtained from Temp$() so if this
 directory doesn't exist, some node in the path /tmp/gambas.UID/PID/ does not
 exist (which would be strange) or Temp$() is broken...
 
 Regards,
 Tobi
 

Salut,

or a rights problem, we will see after the first reboot, most dist clean
up /tmp on start up.


-- 
Amicalement
Charlie


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MTHeme error...

2014-07-10 Thread B Bruen
On Thu, 10 Jul 2014 14:46:20 +0200
Tobias Boege tabo...@gmail.com wrote:

 On Thu, 10 Jul 2014, Stephen wrote:
 Thank you Tobias.
  
 H... it (MTheme.ReadFile) is looking for a subdir off /tmp with 
  the name of gambas. I created the subdir manually and gambas3-3.5.4 now 
  starts up as it should.
 Perhaps a change to the MTheme.module is warranted, check for the 
  existence of the directories referenced in sPath, create them if need 
  be, then copy sPath to sTemp. Just a thought.
  
 
 Hmm, interesting. From _init(), ReadFile(gambas) gets called, which
 constructs a path theme/gambas to load the default theme which is then
 copied to a temporary location, which is the famous line 59.
 
 But the path to copy the theme file to is obtained from Temp$() so if this
 directory doesn't exist, some node in the path /tmp/gambas.UID/PID/ does not
 exist (which would be strange) or Temp$() is broken...
 
Guessing ...
some node in the path /tmp/gambas.UID/PID/ does not
 exist (which would be strange) 
but then wouldn't the fail occur earlier when tmp/gambas.UID/PID was created?
 Temp$() is broken...
again wouldn't that imply an earlier failure?

So something else is awry.

rgrds
Bruce

 Regards,
 Tobi
 
 -- 
 There's an old saying: Don't change anything... ever! -- Mr. Monk
 


-- 
B Bruen bbr...@paddys-hill.net

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MTHeme error...

2014-07-10 Thread Stephen
  On 07/10/2014 08:46 AM, Tobias Boege wrote:
 On Thu, 10 Jul 2014, Stephen wrote:
 Thank you Tobias.

 H... it (MTheme.ReadFile) is looking for a subdir off /tmp with
 the name of gambas. I created the subdir manually and gambas3-3.5.4 now
 starts up as it should.
 Perhaps a change to the MTheme.module is warranted, check for the
 existence of the directories referenced in sPath, create them if need
 be, then copy sPath to sTemp. Just a thought.

 Hmm, interesting. From _init(), ReadFile(gambas) gets called, which
 constructs a path theme/gambas to load the default theme which is then
 copied to a temporary location, which is the famous line 59.

 But the path to copy the theme file to is obtained from Temp$() so if this
 directory doesn't exist, some node in the path /tmp/gambas.UID/PID/ does not
 exist (which would be strange) or Temp$() is broken...

 Regards,
 Tobi

Triple(Hmmm). It was the Temp$() function in the code that sent me off 
to eye-ball the /tmp directory and resultantly discover that no 'gambas' 
subdir existed. Manually creating the directory resolved the issue, so 
it looks like the code

copy sPath to sTemp

is working fine... where sPath = theme/gambas and sTemp = /Tmp

which would mean that Temp$() is returning the correct information.
-- 

Kindest Regards
Stephen A. Bungay, Prop.
Smarts On Site


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MTHeme error...

2014-07-10 Thread Benoît Minisini
Le 10/07/2014 15:26, Stephen a écrit :
On 07/10/2014 08:46 AM, Tobias Boege wrote:
 On Thu, 10 Jul 2014, Stephen wrote:
  Thank you Tobias.

  H... it (MTheme.ReadFile) is looking for a subdir off /tmp with
 the name of gambas. I created the subdir manually and gambas3-3.5.4 now
 starts up as it should.
  Perhaps a change to the MTheme.module is warranted, check for the
 existence of the directories referenced in sPath, create them if need
 be, then copy sPath to sTemp. Just a thought.

 Hmm, interesting. From _init(), ReadFile(gambas) gets called, which
 constructs a path theme/gambas to load the default theme which is then
 copied to a temporary location, which is the famous line 59.

 But the path to copy the theme file to is obtained from Temp$() so if this
 directory doesn't exist, some node in the path /tmp/gambas.UID/PID/ does not
 exist (which would be strange) or Temp$() is broken...

 Regards,
 Tobi

 Triple(Hmmm). It was the Temp$() function in the code that sent me off
 to eye-ball the /tmp directory and resultantly discover that no 'gambas'
 subdir existed. Manually creating the directory resolved the issue, so
 it looks like the code

 copy sPath to sTemp

 is working fine... where sPath = theme/gambas and sTemp = /Tmp

 which would mean that Temp$() is returning the correct information.


At startup, a Gambas program creates a /tmp/gambas.uid/pid/ 
directory.

So if it does not exist later, then there is a problem with /tmp. 
Maybe a normal user does not have the right to create a directory in 
'/tmp' ?

-- 
Benoît Minisini

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MTHeme error...

2014-07-10 Thread Stephen
On 07/10/2014 09:35 AM, Benoît Minisini wrote:
 Le 10/07/2014 15:26, Stephen a écrit :
 On 07/10/2014 08:46 AM, Tobias Boege wrote:
 On Thu, 10 Jul 2014, Stephen wrote:
   Thank you Tobias.

   H... it (MTheme.ReadFile) is looking for a subdir off /tmp with
 the name of gambas. I created the subdir manually and gambas3-3.5.4 now
 starts up as it should.
   Perhaps a change to the MTheme.module is warranted, check for the
 existence of the directories referenced in sPath, create them if need
 be, then copy sPath to sTemp. Just a thought.

 Hmm, interesting. From _init(), ReadFile(gambas) gets called, which
 constructs a path theme/gambas to load the default theme which is then
 copied to a temporary location, which is the famous line 59.

 But the path to copy the theme file to is obtained from Temp$() so if this
 directory doesn't exist, some node in the path /tmp/gambas.UID/PID/ does not
 exist (which would be strange) or Temp$() is broken...

 Regards,
 Tobi

 Triple(Hmmm). It was the Temp$() function in the code that sent me off
 to eye-ball the /tmp directory and resultantly discover that no 'gambas'
 subdir existed. Manually creating the directory resolved the issue, so
 it looks like the code

 copy sPath to sTemp

 is working fine... where sPath = theme/gambas and sTemp = /Tmp

 which would mean that Temp$() is returning the correct information.

 At startup, a Gambas program creates a /tmp/gambas.uid/pid/
 directory.

 So if it does not exist later, then there is a problem with /tmp.
 Maybe a normal user does not have the right to create a directory in
 '/tmp' ?

Well, I'm a normal user, I went to /tmp and did a touch foo at the 
cli, which worked properly, creating file foo. There were other gambas 
directories with the uid appended to them, perhaps created when 3.5.3 
was originally install from the fedora repo? Anyway, gambas.0 and 
gambas.1000 (root and me, respectively), were present in /tmp, but no 
gambas sans uid, which is what it seems to have wanted. Do a mkdir 
gambas (no .uid extension on the name) and Bob's your uncle, it seems 
to work.
At the moment I'm doing a configure make install of the latest 
development version to try to cure another problem with list-boxes 
(mentioned in an previous post). Fingers (and eyes) crossed! :)

-- 
Kindest Regards
Stephen A. Bungay, Prop.
Smarts On Site


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user