You are here

cannot access guide.xml

3 posts / 0 new
Last post
mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 8 hours
cannot access guide.xml

sometimes running webgrab on ubuntu I do get :

[  Debug ] 
[  Info  ] ( 110/130 ) FINELIVING.IT -- chan. (xmltv_id=FineLiving.it) -- mode Force
[Warning ] cannot access /home/ubuntu/desktop/webgrab/guide.xml
[Warning ] file in use by an other process!
[Warning ] will retry for 30 seconds
[Error   ] giving up writing to /home/ubuntu/desktop/webgrab/guide.xml
[Error   ] channel not updated!!
[  Debug ]    skipped  : last show, no next startime to use as stop
[  Info  ] 0.04 sec/update
[  Info  ]    Summary for update of       FineLiving.it
[  Info  ]      missing shows added       0
[  Info  ]      changed shows updated     0
[  Info  ]      new shows added           286
[  Info  ]      unchanged shows inspected 0
[  Info  ]      total after update        286

 

The strange thing is that does that, even after a reboot and run only webgrab(no other process). Do not think is insufficent memory :
root@ubuntu:~# cat /proc/meminfo
MemTotal:       65859580 kB
MemFree:        52489560 kB
MemAvailable:   64433212 kB
Buffers:         1025272 kB
Cached:         10726880 kB
SwapCached:            0 kB

also the processor is more then enough:

model           : 79
model name      : Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
stepping        : 1
microcode       : 0xb000017
cpu MHz         : 1203.382
cache size      : 25600 KB
physical id     : 0
siblings        : 20
core id         : 12
cpu cores       : 10

So what "other process is accessing that file other then webgrab? mono?

 

 

 

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 8 hours

Found out the problem, thanks to Blackbear199.

If the ini has something wrong, (in my case wrong url_index, showsplit and index_site_channel)  I guess the ini may go in kind of a loop and give that message. Fixing the ini solved the problem.

Again thanks to BlackBear199 for the fix.

 

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 8 hours

As the problem appeared again, after some testing (thanks BlackBear199 for helping) found out that if multiple site are processed and one of this ini has the channel creation enabled you may get the message " file in use by an other process ! ". This happens under linux environment.

Of course the problem has different behaviors, depending if index_url is the same or not, in which order is processed and so on, it may still grab or not and give you the file is in use message. 

Would be good if webgrab warns about attempting the channel.xml creation if enabled.

 

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl